/alive:build-extensionsfrom alive
Guides creation of custom skills, rules, and hooks for the ALIVE Context System. Validates compatibility, avoids plugin cache, and suggests when repeated work should become a skill.
Ships in alive. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build custom capabilities that integrate cleanly with the ALIVE Context System.
Not about adjusting preferences or voice (that's alive:settings). Extend is about creating NEW things — skills, rules, hooks — that make the system do something it couldn't before.
| Type | What it is | Where it lives |
|---|---|---|
| Skill | Repeatable workflow with instructions | .alive/skills/{skill-name}/SKILL.md |
| Rule | Behavioral constraint or guide | .alive/rules/{rule-name}.md |
| Hook | Automated trigger on system events | .alive/hooks/ (scripts + hooks.json) |
| Plugin | Distributable package of skills + rules + hooks | Hands off to contributor@alivecontext |
"I want to automatically tag emails by walnut" "Every time I save, it should update my project board" "I keep doing this manually every session — can we automate it?"
The squirrel determines: is this a skill (process), a rule (constraint), a hook (automation), or a combination?
> **squirrel that sounds like a hook — an automated trigger that fires on save.**
> Want me to build it?
>
> It would:
> - Fire after every alive:save
> - Read the routed stash items
> - Update your project board via API
>
> > Build it / Tell me more / Not now
Before writing anything:
plugin.jsonNEVER write to the plugin cache. Plugin cache (~/.claude/plugins/) gets overwritten on update. Custom capabilities live in the human's own space:
$WORLD_ROOT/.alive/skills/{skill-name}/SKILL.md$WORLD_ROOT/.alive/rules/{rule-name}.md$WORLD_ROOT/.alive/hooks/ (scripts + .claude/hooks.json additions)These persist across plugin updates. They're the human's own.
Create directories first — they may not exist yet:
mkdir -p "$WORLD_ROOT/.alive/skills/{skill-name}" # for skills
mkdir -p "$WORLD_ROOT/.alive/rules" # for rules
mkdir -p "$WORLD_ROOT/.alive/hooks" # for hooks
Claude Code only discovers skills in ~/.claude/skills/. After writing a custom skill to .alive/skills/, always create the symlink:
mkdir -p ~/.claude/skills/{skill-name}
ln -sf "$WORLD_ROOT/.alive/skills/{skill-name}/SKILL.md" "$HOME/.claude/skills/{skill-name}/SKILL.md"
The session-new hook auto-syncs these on every startup, but creating the symlink immediately means the skill is available in the current session without restart.
This is mandatory. A skill without its symlink is invisible to Claude Code.
After writing:
> **squirrel built: auto-tag-emails**
> Type: hook (PostToolUse)
> Location: .alive/hooks/auto-tag-emails.sh
> Fires: after every email capture via alive:capture-context
> Does: reads email sender, matches against person walnuts, tags accordingly
>
> Test it now?
A custom skill follows the same format as core skills:
.alive/skills/{skill-name}/
SKILL.md # Instructions (same format as plugin skills)
heavy-revive.md # Optional sub-docs loaded on demand
templates/ # Optional templates used by the skill
The SKILL.md frontmatter:
---
name: {skill-name}
description: "What this skill does — one sentence"
user-invocable: true
---
---
type: rule
name: {rule-name}
version: 1.0
scope: world | walnut:{name} | session
---
# {Rule Name}
[What this rule constrains or guides, when it applies, what behavior it enforces]
Hook scripts in .alive/hooks/ with corresponding entries in .claude/hooks.json:
{
"hooks": [
{
"type": "PostToolUse",
"matcher": "Write|Edit",
"command": ".alive/hooks/my-custom-hook.sh"
}
]
}
When a custom skill is polished and battle-tested:
> **squirrel this skill could work for other builders**
> Want to package it for the marketplace?
>
> > Next step?
> 1. Package for marketplace (needs contributor plugin)
> 2. Keep it personal
> 3. Tell me more about the marketplace
Contributor plugin handoff: For marketplace packaging, PII stripping, testing, and publishing -> suggest installing contributor@alivecontext. This is a SEPARATE plugin, not part of the alive core. The extend skill's job ends at building working custom capabilities. The contributor plugin handles everything from packaging to publishing.
> **squirrel to publish this skill:**
> 1. Install the contributor plugin:
> claude plugin install contributor@alivecontext
>
> 2. Run: alive:contribute {skill-name}
> It handles: PII check, packaging, testing, submission
>
> > Install contributor plugin now?
alive:settings — tune adjusts preferences and config. Extend creates new capabilities.Tune adjusts the dials. Extend adds new dials.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/bundleCreate, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation./capture-contextUse when external content arrives in the session — emails, transcripts, screenshots, documents, files, or in-session research worth keeping. Also use when there's nothing obvious to capture — the skill checks 03_Inbox/ for unrouted files and enters inbox scan mode. Stores raw content, routes to bundles, extracts tasks and insights into the stash./create-walnutSomething new is emerging. A venture, an experiment, a person entering the orbit, a life area getting serious. It needs its own walnut — its own identity, history, and future. Scaffolds the full structure, maps existing context sources, and optionally migrates files across.npx claudepluginhub alivecontext/alive --plugin aliveOther plugins' skills for the same job