Skip to content

Abilities

Abilities are the instruction files that tell an agent what it knows, how to do things, and what rules to follow. Every ability is a markdown file installed into an agent’s workspace under agent/.

There are three types:

Skills

Domain knowledge and standards. Reference material the agent consults when doing specific work — coding conventions, API design rules, testing patterns.

Workflows

Step-by-step procedures. Multi-step task guides the agent follows end-to-end — planning a feature, reviewing code, running a security audit.

Protocols

Hard rules. Non-negotiable constraints enforced every session — security policy, scope boundaries, memory management, startup sequence.

The key distinction is how the agent uses the content:

SkillsWorkflowsProtocols
PurposeReference knowledgeTask procedureEnforced rules
When loadedOn demand, during relevant workWhen starting a specific activityEvery session, automatically
How activatedAgent recognizes relevant context, or user asksUser says “plan the feature” or triggers via slash commandStartup sequence loads them
Tone”Here are the standards""Follow these steps""You must always / never”
Can override?Agent applies judgmentAgent follows the procedureNon-negotiable
ExampleCoding StandardsPlanning WorkflowSecurity Protocol

Use this to pick the right type for a new ability:

If you need…Use a…Because…
Conventions for how code should lookSkillIt’s reference material, not a procedure
A repeatable process with ordered stepsWorkflowIt needs to be followed end-to-end
A rule that must never be violatedProtocolIt’s enforced, not optional
Domain expertise the agent should haveSkillSkills are knowledge, not instructions
A structured review or audit processWorkflowAudits have ordered phases
Boundaries on what the agent can doProtocolBoundaries are non-negotiable

Abilities come from the Bonsai catalog — a library of pre-built items embedded in the binary. During setup, you pick the ones you want:

  • bonsai init installs the Tech Lead with its default abilities
  • bonsai add installs a code agent with its defaults, then lets you customize
  • Each agent type has sensible defaults pre-selected (see Agent Types)

The interactive picker shows all compatible abilities. Some are pre-selected as defaults; some are marked as required and cannot be unchecked.

After installation, abilities are markdown files in the agent’s workspace:

station/agent/
├── Skills/ # .md files — domain knowledge
│ ├── planning-template.md
│ ├── review-checklist.md
│ └── issue-classification.md
├── Workflows/ # .md files — task procedures
│ ├── planning.md
│ ├── code-review.md
│ └── session-logging.md
└── Protocols/ # .md files — hard rules
├── memory.md
├── security.md
├── scope-boundaries.md
└── session-start.md
CommandWhat it does
bonsai catalogBrowse all available abilities with descriptions and compatibility
bonsai listShow what’s installed for each agent
bonsai addAdd a new agent with abilities, or add abilities to an existing agent
bonsai removeRemove an agent and its abilities
bonsai updateRe-render catalog abilities and detect custom files

Not every ability works with every agent type. Each ability declares which agents it supports:

  • agents: all — available to every agent type
  • agents: [backend, fullstack] — only available to those specific types

When you use the interactive picker during bonsai add, Bonsai automatically filters the list to show only compatible items.

Some abilities are marked required: all — they’re auto-installed for every agent and cannot be unchecked. All four protocols are required:

ProtocolWhat it enforces
MemoryHow to read and write working memory between sessions
Scope BoundariesWhat the agent owns and what it never touches
SecurityHard stops — secrets, credentials, dangerous operations
Session StartOrdered startup sequence — what to read and check

Four sensors are also required for all agents: session-context, scope-guard-files, context-guard, and status-bar. See Sensors for details.

After installation, you own the files. You can:

  • Edit installed abilities directly — Bonsai tracks changes via content hashes in .bonsai-lock.yaml
  • Create custom abilities — add new .md files with YAML frontmatter, then run bonsai update to track them
  • Handle conflicts on re-render — if you’ve edited a catalog file and run bonsai update, you’ll be prompted to skip, overwrite, or backup

See the Customizing Abilities guide for the full workflow.

The Bonsai catalog ships with:

  • 17 skills — from coding standards to API design to infrastructure conventions
  • 10 workflows — planning, code review, security audits, PR review, and more
  • 4 protocols — memory, security, scope boundaries, session start (all required)

Browse the full catalog:

Skills

Domain knowledge across coding, infrastructure, testing, and management. Browse skills

Workflows

Task procedures for planning, reviewing, auditing, and reporting. Browse workflows