Skills
A skill is a Markdown instruction pack. It adds reusable guidance — house style, a checklist, a domain procedure — to an agent without editing prompts.
Where skills come from
Section titled “Where skills come from”Tapplack discovers skills from disk and from the config. Later sources override earlier ones:
~/.tapplack/skills/<id>/SKILL.md(user-level)<cwd>/.tapplack/skills/<id>/SKILL.md(project-level)<workspace>/.tapplack/skills/<id>/SKILL.md(workspace-level)skills.<id>entries in the config (inline or file-backed)
A broken skill file is skipped, not fatal, so one bad third-party pack cannot take the CLI down. Instructions are capped at 40,000 characters.
The SKILL.md format
Section titled “The SKILL.md format”Create a directory named after the skill id, containing SKILL.md:
~/.tapplack/skills/pdf/ SKILL.md# pdf
Use this skill when the task involves reading or writing PDF files.
- Prefer `pdftotext` for extraction.- Never rasterize unless asked.- Report page counts explicitly.The id must match ^[a-z][a-z0-9_-]*$. The directory name is the id.
Skill modes
Section titled “Skill modes”Each agent has a skillMode:
| Mode | Behavior | Trade-off |
|---|---|---|
off |
No skills loaded. | Cleanest, cheapest. |
manual |
Only pinned skills are preloaded into the prompt. | Predictable and cheap. Setting this also sets autoApply: false. |
auto |
The model sees a catalogue and calls a use_skill tool on demand. |
Convenient, but each load is an extra tool round and may cost more. Setting this also sets autoApply: true. |
The coupling is deliberate:
- manual means a human curates what the agent knows up front, and side effects wait for a human to apply them.
- auto means the agent chooses skills itself, so it is also trusted to apply actions itself.
You can override autoApply after setting the mode if you need a different combination.
Managing skills from the CLI
Section titled “Managing skills from the CLI”Top-level commands:
tapplack skills # list skills and bindingstapplack skills show <id> # print instructionstapplack skills attach <agent> <id> # pin to an agenttapplack skills detach <agent> <id> # unpintapplack skills mode <agent> <mode> # off | manual | autotapplack skills add <id> --path <p> # register a file/dirtapplack skills remove <id> # remove a declared skillInside a session the same operations are available as /skills .... See
Slash commands.
Registering a skill in config
Section titled “Registering a skill in config”Inline:
{ "skills": { "commit": { "description": "Conventional commit messages", "instructions": "Use conventional commits. Subject in imperative mood, <= 72 chars.", "enabled": true } }}File-backed:
{ "skills": { "pdf": { "description": "PDF handling rules", "path": "~/.tapplack/skills/pdf", "enabled": true } }}path may point at a SKILL.md file or a directory containing one.
Binding skills to an agent
Section titled “Binding skills to an agent”Pinning puts the skill ids on the agent and sets skillMode to manual (turning autoApply off):
tapplack skills attach assistant pdftapplack skills attach assistant commitOr edit the JSON:
{ "agents": { "assistant": { "skills": ["pdf", "commit"], "skillMode": "manual" } }}In manual mode, every pinned skill’s instructions are preloaded. Keep the list short and relevant; large packs consume context on every call.
Auto mode
Section titled “Auto mode”tapplack skills mode assistant autoIn auto mode the agent sees a catalogue of available skills and loads one with the use_skill tool
when it decides it is relevant. This is flexible, but it costs extra rounds and can be less
predictable. It is a good fit when an agent faces varied tasks and you do not want to pin a large
set.
Inspecting the result
Section titled “Inspecting the result”tapplack skills # table of skills, modes, and pinstapplack skills show pdf # exact instructions the agent seestapplack config show # masked config, including agents' skill bindingsThe skills table marks each agent’s mode and pinned skills, so you can confirm the effective setup before a run.
Sharing skills
Section titled “Sharing skills”Skills are plain Markdown, so they review and version like code. For team use, commit them under
<project>/.tapplack/skills/ so everyone gets the same packs. For personal use, keep them in
~/.tapplack/skills/.
Avoid putting secrets in a skill; its content is sent to the provider as part of the prompt.
- Agents — where skills are bound.
- Configuration — the JSON workflow.
- Human approval — the manual/auto coupling in practice.