programs.claude-code.skills
Home-Manager option
Custom skills for Claude Code. The attribute name becomes the skill filename or directory name, and the value is either: Inline content as a string (creates .claude/skills/<name>.md) A path to a file (creates .claude/skills/<name>.md) A path to a directory (creates .claude/skills/<name>/ with all files)
type: attribute set of (strings concatenated with “\n” or absolute path)Default
{ }Example
declared in: <home-manager/modules/programs/claude-code.nix>source unavailable{ xlsx = ./skills/xlsx.md; data-analysis = ./skills/data-analysis; pdf-processing = '' --- name: pdf-processing description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction. --- # PDF Processing ## Quick start Use pdfplumber to extract text from PDFs: ```python import pdfplumber with pdfplumber.open("document.pdf") as pdf: text = pdf.pages[0].extract_text() ``` ''; }