document-creator
Create and edit professional Word (.docx) and Excel (.xlsx) documents. Use to create reports, memos, proposals, financial models,…
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 -y skills add khoj-ai/pipali --skill skill-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-creatorContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: skill-creator description: 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.
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.
1. Specialized workflows - Multi-step procedures for specific domains 2. Tool integrations - Instructions for working with specific file formats or APIs 3. Domain expertise - Company-specific knowledge, schemas, business logic 4. Bundled resources - Scripts, references, and assets for complex and repetitive 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:
Executable code for tasks that require deterministic reliability or are repeatedly rewritten.
Documentation and reference material intended to be loaded as needed into context.
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:
1. **Metadata (name + description)** - Always in context (~100 words) 2. **SKILL.md body** - When skill triggers (<5k words) 3. **Bundled resources** - As needed (unlimited)
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.
1. Understand the skill with concrete examples 2. Plan reusable skill contents (scripts, references, assets) 3. Initialize the skill (run init_skill.py) 4. Edit the skill (implement resources and write SKILL.md) 5. Iterate based on real usage
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: 1. Considering how to execute the example from scratch 2. Identifying what scripts, references, and assets would help when executing repeatedly
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:
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.
##
An AI co-worker on your computer that can safely interact with files + the web to finish real work. Research across your docs and the web Create docs, spreadsheets, email, events and personal apps Automate routine workflows
Create and edit professional Word (.docx) and Excel (.xlsx) documents. Use to create reports, memos, proposals, financial models,…
Always read this skill before answering questions about your capabilities, UI, settings, state including past…
Procedure for periodic memory dream consolidation. Run by the "Memory Dream" routine.