A Skill is a folder containing a
This example creates a Skill for generating API documentation.
Create a directory in your user-level Skills folder. User-level Skills are available across all your projects. You can also create project-level Skills in
Every Skill needs a
New sessions load Skills at startup. If Qoder CLI is already running, use
Or use the command:
The conversation should show
Open an API route file in your project and ask a question matching the Skill's description:
Qoder CLI applies the
Skills can be loaded via command or automatically invoked by the model. The model decides which Skill to use based on request content—no explicit specification needed.
Storage location determines a Skill's availability:
When names conflict, user-level Skills override project-level Skills.
The model can automatically invoke Skills whose availability state allows it. Use
Use Skills for:
Directory structure example:
Reference auxiliary files in
Create
Frontmatter fields:
Describe your need directly. The model decides whether to invoke an available Skill:
The model recognizes and invokes the
Use
In CLI:
Through file system:
Ordinary Skills include built-in, user-level, and project-level Skills, but not plugin or enterprise-managed Skills. Their four states control what appears in the model's Skill list and who can invoke them. The table assumes the Skill itself allows the corresponding invocation.
An
Edit
Delete the Skill directory:
Each Skill should focus on one specific domain or task type.
Recommended:
The
Before sharing, ensure:
Add version history to SKILL.md:
Check file location:
Confirm SKILL.md exists with correct path.
Check YAML format:
View SKILL.md to verify frontmatter has no syntax errors (indentation, quote matching).
Check description specificity:
Use clear, specific descriptions:
Check dependency availability:
The CLI automatically installs required dependencies when needed (or requests permission).
Check script permissions:
When the CLI confuses similar Skills, use different trigger terms in descriptions to distinguish them.
Analyze log files and diagnose issues.
Directory structure:
SKILL.md:
Database migration and version management tool.
Directory structure:
SKILL.md:
SKILL.md that teaches Qoder CLI how to do something specific: reviewing PRs using your team’s standards, generating commit messages in your preferred format, or querying your company’s database schema. When you ask Qoder CLI something that matches a Skill’s purpose, Qoder CLI automatically applies it.
Key features:
- Intelligent invocation: The model autonomously decides when to use a Skill based on user requests and Skill descriptions
- Modular design: Each Skill focuses on solving a specific type of task
- Flexible extension: Supports both user-level and project-level custom Skills
Quick Start
This example creates a Skill for generating API documentation.
1. Create the Skill directory
Create a directory in your user-level Skills folder. User-level Skills are available across all your projects. You can also create project-level Skills in .qoder/skills/ to share with your team.
2. Write SKILL.md
Every Skill needs a SKILL.md file, starting with YAML metadata between --- markers that must include name and description, followed by Markdown instructions.
Create ~/.qoder/skills/api-doc-generator/SKILL.md:
3. Load and verify the Skill
New sessions load Skills at startup. If Qoder CLI is already running, use /skills reload to refresh the discovered Skills. Verify successful loading:
api-doc-generator with its description.
4. Test the Skill
Open an API route file in your project and ask a question matching the Skill's description:
api-doc-generator Skill and generates relevant API documentation. If not triggered, try rephrasing using keywords from the description.
How Skills Work
Skills can be loaded via command or automatically invoked by the model. The model decides which Skill to use based on request content—no explicit specification needed.
- Discovery: Qoder CLI discovers Skills at startup. Each Skill's availability state determines whether the model sees its name and description.
- Activation: When a request matches a Skill's description, the model requests to use that Skill and loads the full
SKILL.md. Some Skills can run without an extra confirmation; Skills that need additional capabilities may ask for approval. Write descriptions that include keywords users commonly use. - Execution: The model executes according to Skill instructions, loading referenced files or running scripts as needed.
Where Skills live
Storage location determines a Skill's availability:
| Location | Path | Scope | Use cases |
|---|---|---|---|
| User-level | ~/.qoder/skills/{skill-name}/SKILL.md | All projects for current user | Personal workflows, experimental Skills, personal tools |
| Project-level | .qoder/skills/{skill-name}/SKILL.md | Current project only | Team workflows, project-specific knowledge, shared scripts |
Skills vs Commands
The model can automatically invoke Skills whose availability state allows it. Use /command-name to run a Command explicitly.
| Feature | Skill | Command |
|---|---|---|
| Trigger method | Automatic (model-based) or manual (/skill-name) | Manual (/command-name) |
| Primary use | Domain expertise, complex workflows | Quick preset tasks |
| Storage | skills/ directory | commands/ directory |
| Permission | May require approval depending on the Skill | Not required |
Note: Internally, Skills convert to a special Command type and share the same execution mechanism.
When to Use Skills
Use Skills for:
- Complex specialized tasks: Workflows requiring domain expertise (code review, PDF processing, API design)
- Standardized processes: Tasks following fixed steps (commit conventions, deployment flows)
- Team knowledge sharing: Package best practices for sharing
- Repetitive work: Frequently executed tasks requiring specialized guidance
- Simple, quick operations
- Tasks requiring explicit user triggering
- Tasks not needing complex prompt guidance
Create a Skill
Choose Storage Location
| Location | Path | Applies to |
|---|---|---|
| User-level | ~/.qoder/skills/{skill-name}/SKILL.md | All projects for current user |
| Project-level | .qoder/skills/{skill-name}/SKILL.md | Current project only |
Tip: User-level Skills override project-level Skills with the same name.Create the directory:
Organize Directory Structure
Directory structure example:
SKILL.md for progressive disclosure:
Write SKILL.md
Create SKILL.md with YAML frontmatter and Markdown content:
| Field | Required | Description | Constraints |
|---|---|---|---|
name | Yes | Unique Skill identifier | Lowercase letters, numbers, hyphens only; max 64 chars |
description | Yes | Functional description for model to determine when to use | Max 1024 chars |
Important: The description field is critical for the model to discover when to use your Skill. Include what it does and when to use it. See "Best Practices" section for details.
Use Skills
Automatic Trigger
Describe your need directly. The model decides whether to invoke an available Skill:
log-analyzer Skill.
Manual Trigger
Use /skill-name to trigger manually:
View Available Skills
In CLI:
Manage skill availability
Ordinary Skills include built-in, user-level, and project-level Skills, but not plugin or enterprise-managed Skills. Their four states control what appears in the model's Skill list and who can invoke them. The table assumes the Skill itself allows the corresponding invocation.
| State | What the model's Skill list shows | You can run it as a slash command | The model can invoke it automatically |
|---|---|---|---|
on (default) | Name and description, within the prompt budget | Yes | Yes |
name-only | Name only | Yes | Yes |
user-invocable-only | Hidden | Yes | No |
off | Hidden | No | No |
off Skill is removed from slash command suggestions but remains in /skills; its files are not deleted. Author restrictions and permissions still apply: disable-model-invocation: true limits every non-off state to manual invocation, so State offers only user-invocable-only and off. A Skill with user-invocable: false has no user slash command, regardless of its state. Plugin and enterprise-managed Skills have their own controls.
- Run
/skills. Press Tab to switch sources and use the up and down arrows to select a Skill. Press Enter to open its details. - On State, use ← or → to switch between the available states. Each change is saved immediately to the project's local settings (
.qoder/settings.local.jsonby default) and applied to the current session. If Save locally appears, press Enter to keep the current state as a local override. - To remove the local override, select Restore Inheritance and press Enter. This removes only that Skill's local override, leaving user and project settings unchanged. The Skill uses the remaining settings or the default state; it is not forcibly set to
on.
--settings controls the state. You cannot change it or restore inheritance in /skills.
To set a state for all your projects or share it with your team, use the skillOverrides setting.
Update and Delete
Update a Skill
Edit SKILL.md directly. New sessions load the updated Skill on startup. If Qoder CLI is already running, run /skills reload to refresh the discovered Skills.
Delete a Skill
Delete the Skill directory:
Warning: Deleting a Skill directory permanently removes all files with no recovery.
Best Practices
Keep Skills Focused
Each Skill should focus on one specific domain or task type.
Recommended:
log-analyzer- Log analysissecurity-auditor- Security auditingdatabase-migrator- Database migration
coding-helper- Too broad
Write Clear Descriptions
The description should include: what the Skill does, when to use it, and key trigger words.
Comparison:
Test Before Sharing
Before sharing, ensure:
- Skill triggers in expected scenarios
- Instructions are clear
- Common edge cases are covered