Skip to content

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.

Tapplack discovers skills from disk and from the config. Later sources override earlier ones:

  1. ~/.tapplack/skills/<id>/SKILL.md (user-level)
  2. <cwd>/.tapplack/skills/<id>/SKILL.md (project-level)
  3. <workspace>/.tapplack/skills/<id>/SKILL.md (workspace-level)
  4. 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.

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.

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.

Top-level commands:

Terminal window
tapplack skills # list skills and bindings
tapplack skills show <id> # print instructions
tapplack skills attach <agent> <id> # pin to an agent
tapplack skills detach <agent> <id> # unpin
tapplack skills mode <agent> <mode> # off | manual | auto
tapplack skills add <id> --path <p> # register a file/dir
tapplack skills remove <id> # remove a declared skill

Inside a session the same operations are available as /skills .... See Slash commands.

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.

Pinning puts the skill ids on the agent and sets skillMode to manual (turning autoApply off):

Terminal window
tapplack skills attach assistant pdf
tapplack skills attach assistant commit

Or 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.

Terminal window
tapplack skills mode assistant auto

In 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.

Terminal window
tapplack skills # table of skills, modes, and pins
tapplack skills show pdf # exact instructions the agent sees
tapplack config show # masked config, including agents' skill bindings

The skills table marks each agent’s mode and pinned skills, so you can confirm the effective setup before a run.

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.