Skip to content

Skills

A skill is a Markdown document that the platform’s runtime loads when your task matches its description or triggers. Skills don’t enter the composed prompt — they live on disk and are loaded on-demand by the platform.

brainjar stores skills in the workspace and writes one <slug>/SKILL.md file per resolved skill when you run brainjar sync. This file goes to either the project scope (<repo>/.claude/skills/<slug>/SKILL.md) or user scope (~/.claude/skills/<slug>/SKILL.md), depending on the skill’s scope setting.

Skills are for capabilities that don’t belong in the prompt itself:

  • Runbooks and workflows — incident response, deployment checklists, code review procedures
  • Decision trees — debugging flowcharts, triage logic, conditional playbooks
  • Glossaries and references — domain jargon, internal APIs, tool documentation
  • Policies and guardrails — security practices, compliance templates, approval workflows

A well-written skill is self-contained and contextual. The platform decides whether to load it based on your current task. A soul defines who you are; a skill defines what you can do when you need it.

Skills have two scopes: project and user.

ScopeWhere it landsWhen to use
Project<repo>/.claude/skills/<slug>/SKILL.mdSingle project, specific workflow (code review for this codebase)
User~/.claude/skills/<slug>/SKILL.mdAcross all projects, personal system (your incident response playbook)

When you run brainjar sync, both project and user skills are emitted. The platform loads whichever ones match your task.

Create a skill with a description that tells the platform when to load it. The body comes from --content, --file, or stdin (in that precedence):

Terminal window
brainjar skill create incident-response \
--scope user \
--description "Incident response workflow: detect, contain, resolve, document" \
--file ./incident-response.md

Or pipe the body in:

Terminal window
cat ./incident-response.md | brainjar skill create incident-response \
--scope user \
--description "Incident response workflow: detect, contain, resolve, document"

Manage skills like any other layer:

Terminal window
brainjar skill list # See available skills
brainjar skill show incident-response # Inspect a skill
brainjar skill delete incident-response # Remove it

Bind a skill to a brain so it’s always loaded with that configuration:

Terminal window
brainjar brain save review \
--soul craftsman \
--persona reviewer \
--procedure code-review \
--skill review-checklist \
--skill code-quality-rubric

Or attach a skill to an existing brain:

Terminal window
brainjar skill attach review review-checklist

When you brainjar brain use review, the skills are loaded into workspace state. Run brainjar sync to emit them to disk.

Use a skill directly without attaching it to a brain:

Terminal window
brainjar skill use incident-response
brainjar sync

This adds the skill to the workspace state. Check what’s active:

Terminal window
brainjar status

Drop a skill from the workspace:

Terminal window
brainjar skill drop incident-response
brainjar sync

brainjar sync writes all active skills to disk. Force a rewrite if you edit a skill in the database:

Terminal window
brainjar skill emit

This regenerates all emitted SKILL.md files without changing the composed prompt.

Rules and skills both guide behavior, but serve different purposes:

LayerWhat it isWhere it livesWhen to use
RuleBehavioral constraint (must do, must not do)In the composed promptGuardrails, policies, non-negotiable bounds
SkillOn-demand capability the platform loadsOn disk as SKILL.mdRunbooks, workflows, decision trees, tools

A rule says “you must follow this security policy.” A skill says “here’s your incident response playbook — use it when you need it.” Rules are always active; skills are loaded contextually.

Currently, skills are supported in Claude Code. When you brainjar sync on Codex or Cursor, the operation succeeds but warns that skills are unsupported and continues. This lets you maintain a single workspace that works across platforms — platforms just ignore what they don’t support.

Future platforms may add skill support. The behavior remains: brainjar sync emits the files and the platform loads them if it knows how.

  • Brains — saved bundles of soul, persona, rules, procedure, and skills
  • Procedures — step-by-step playbooks that belong in the prompt
  • Rules — behavioral constraints