skills/skill-create/SKILL.md
Use when asked to create a new skill, write a SKILL.md, add a capability, build a skill, or make a new prompt-based tool. Also use when importing or adapting an external skill. Keywords: create skill, new skill, SKILL.md, build skill, add capability, write skill, make skill, import skill, adapt skill
npx skillsauth add avifenesh/cairn skill-createInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide for creating skills that extend your own capabilities. Skills are prompt instructions in markdown files that teach you how to accomplish tasks.
skills/{skill-name}/
├── SKILL.md # Required — YAML frontmatter + instructions
└── reference.md # Optional — overflow content (>300 lines)
Directory name must match the name frontmatter field. Lowercase with hyphens.
Before writing, clarify:
---
name: my-skill
description: "Use when asked to... Keywords: x, y, z"
allowed-tools: "cairn.shell"
inclusion: on-demand
---
| Field | Rule |
|-------|------|
| name | Lowercase + hyphens, max 64 chars, matches directory |
| description | Must start with "Use when..." + include keyword list. Be pushy with synonyms |
| allowed-tools | Always set — minimum tools needed. Use cairn.shell not bare Bash |
| inclusion | on-demand unless core infrastructure (rarely always) |
| disable-model-invocation | Set true ONLY for skills that: push/merge to main, send email, or delete email |
Use imperative form. Structure with numbered steps.
# Skill Title
Brief what and when.
## Steps
### 1. Gather data
Call `cairn.shell` to run: `command here`
### 2. Process
Parse the output and extract key fields.
## Output Format
Present as markdown table or structured text.
reference.mdUse cairn.shell to create the directory and write the file:
mkdir -p skills/my-skill
cat > skills/my-skill/SKILL.md << 'SKILL_EOF'
---
name: my-skill
description: "Use when..."
allowed-tools: "cairn.shell"
inclusion: on-demand
---
# My Skill
...
SKILL_EOF
Run the skill-enhance skill to check for issues:
"enhance skill skills/my-skill/SKILL.md"
Fix all reported issues before considering the skill complete.
Try triggering the skill by asking yourself the kind of question it should handle. Verify:
This machine is your world. Internal actions are free.
Free — no approval: shell, file read/write, deploy, coding sessions, artifacts, memories, service restarts, git push to side branches, package installs
Needs approval — only these 3:
Most skills do NOT need disable-model-invocation. Only set it if the skill's primary action is one of those 3.
cairn.readFeed, cairn.getStatus, cairn.listTasks, cairn.searchMemory, cairn.listSkills, cairn.shell
cairn.shell, cairn.createMemory, cairn.compose, cairn.markRead, cairn.publishToFeed
cairn.shell — approval only for push/merge to main
cairn.shell — approval only for send/delete email
| Type | Tools | Example |
|------|-------|---------|
| Diagnostic | cairn.shell | Check system status, inspect logs |
| Report | cairn.shell,cairn.publishToFeed | Generate report, publish to feed |
| GitHub | cairn.shell,cairn.shell,cairn.shell | PR management, issue tracking |
| Google Workspace | cairn.shell,cairn.shell | Calendar, docs, email triage |
| Data query | cairn.shell | SQLite queries, API calls |
allowed-tools scoped to minimumskill-vetter firstdisable-model-invocation only for the 3 boundary actionsdata-ai
Detect agent-cairn PRs that have stalled (no activity >=90 min) and classify the failure mode to route to appropriate recovery agent.
tools
Post-install skill adaptation: read a newly installed SKILL.md, fix environment-specific references (paths, accounts, tool names), assign the skill to relevant agent types, and propose an AGENTS.md update. Triggered automatically after cairn.installSkill completes.
data-ai
Monthly self-improvement brief for Cairn. Queries error_patterns, action_exemplars, experiment_windows, and session_journal to synthesize what Cairn learned, where it failed, and 3 concrete proposals for Avi to approve. Run on the 1st of each month. Keywords: growth brief, monthly review, self-improvement, what did cairn learn, how is cairn doing, monthly report
testing
Decision support with memory-backed context. Retrieves past decisions, journal history, and relevant facts before answering questions that involve a choice or tradeoff. Keywords: should I, which is better, tradeoff, compare, decide, choose, option, alternative, pros and cons, recommend