bundle
Create, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation.
Create new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache), validates against the system, and suggests when repeated work should become a skill. For marketplace-ready plugins, hands off to the contributor
$ npx -y skills add alivecontext/alive --skill build-extensions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/build-extensionsContext preview
The summary Claude sees to decide when to auto-load this skill.
Create new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache), validates against the system, and suggests when repeated work should become a skill. For marketplace-ready plugins, hands off to the contributor
name: alive:build-extensions description: "Create new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache), validates against the system, and suggests when repeated work should become a skill. For marketplace-ready plugins, hands off to the contributor plugin." user-invocable: true
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:
**NEVER write to the plugin cache.** Plugin cache (`~/.claude/plugins/`) gets overwritten on update. Custom capabilities live in the human's own space:
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 hooksClaude 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 skillThe 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?
╰─---
Repo: alivecontext/alive
Create, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation.
Use when external content arrives in the session — emails, transcripts, screenshots, documents, files, or in-session research worth keeping. Also use when…
Something 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,…
Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the…
Report a bug, request a feature, or send general feedback to the ALIVE team. Collects safe system metadata, shows a preview, and creates a GitHub Issue.…
The human mentions a walnut to work on, asks about a specific venture/experiment/project, or wants to check status — not just explicit 'load X'. Load the brief…