src/server/skills/builtin/skill-creator/SKILL.md
Guide to create effective skills. Use when users want to create a new skill (or update an existing skill) that extends your capabilities with specialized knowledge, workflows, or tool integrations.
npx skillsauth add khoj-ai/pipali skill-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides guidance for creating effective skills.
Skills are modular, self-contained packages that extend your capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks.
The context window is a public good. Skills share the context window with everything else: system prompt, conversation history, other skills' metadata, and the user request.
Default assumption: you are already very smart. Only add context you don't already have. Challenge each piece of information: "Does this paragraph justify its token cost?"
Prefer concise examples over verbose explanations.
Match the level of specificity to the task's fragility and variability:
High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
Every skill consists of a required SKILL.md file and optional bundled resources:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter metadata (required)
│ │ ├── name: (required)
│ │ └── description: (required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ - Executable code (Python/Bash/etc.)
├── references/ - Documentation intended to be loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts, etc.)
Every SKILL.md consists of:
name and description fields. These are the only fields read to determine when the skill gets used, so be clear and comprehensive in describing what the skill does and when it should be used.scripts/)Executable code for tasks that require deterministic reliability or are repeatedly rewritten.
references/)Documentation and reference material intended to be loaded as needed into context.
assets/)Files not intended to be loaded into context, but rather used within the output.
A skill should only contain essential files. Do NOT create:
Skills use a three-level loading system to manage context efficiently:
Keep SKILL.md body under 500 lines. Split content into separate files when approaching this limit.
Key principle: When a skill supports multiple variations, keep only the core workflow in SKILL.md. Move variant-specific details into separate reference files.
To create an effective skill, understand concrete examples of how it will be used. Ask questions like:
You may ask the user if you can't infer the required information yourself.
Analyze each example by:
When creating a new skill, run the init_skill.py script:
scripts/init_skill.py <skill-name>
The script creates the skill directory in ~/.pipali/skills/ with:
scripts/, references/, and assets/When editing the skill, remember it's being created for another instance of you to use. Include information that would be beneficial and non-obvious.
Consult these guides based on your skill's needs:
Begin with the reusable resources identified in Step 2. Test any added scripts by running them.
Writing Guidelines: Always use imperative/infinitive form.
Write the YAML frontmatter with name and description:
name: The skill name (hyphen-case)description: The primary triggering mechanism. Include both what the skill does and specific triggers/contexts for when to use it.Write instructions for using the skill and its bundled resources.
After using the skill on real tasks:
tools
Always read this skill before answering questions about your capabilities, UI, settings, state including past chats/routines/skills/tools. Use to help user configure you, onboard, navigate UI and troubleshoot issues.
testing
Create and edit professional Word (.docx) and Excel (.xlsx) documents. Use to create reports, memos, proposals, financial models, invoices, or modify existing Office documents. Supports rich text, tables, lists, images, formulas, charts, and tracked changes.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------