capability-lifecycle
The aos capability lifecycle's front door. Use when the user asks to install, update, upgrade, remove, or customize an aos capability, mentions or shares a CAPABILITY.md or a capability directory, asks what capabilities are installed or what aos is, or asks about the manifest, the lockfile, or a harness cheat-sheet. Routes to the narrower skill that owns the job — capability-install, capability-upgrade, capability-remove, capability-onboard, capability-evolve, capability-import, capability-build, capability-contribute, capability-review — and carries the household layout, the install contract and the naming rules they all share. Do NOT use when one of those already matches the ask; this is the map, not the work.
- License 许可
- MIT
- 所属仓库
- AlmogBaku/aos
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 2
01 前言 Front Matter
- name
- capability-lifecycle
- description
- The aos capability lifecycle's front door. Use when the user asks to install, update, upgrade, remove, or customize an aos capability, mentions or shares a CAPABILITY.md or a capability directory, asks what capabilities are installed or what aos is, or asks about the manifest, the lockfile, or a harness cheat-sheet. Routes to the narrower skill that owns the job — capability-install, capability-upgrade, capability-remove, capability-onboard, capability-evolve, capability-import, capability-build, capability-contribute, capability-review — and carries the household layout, the install contract and the naming rules they all share. Do NOT use when one of those already matches the ask; this is the map, not the work.
02 资源文件 10
- 参考文档reference/contract.md17.1 KB
- 参考文档reference/harness-claude-code.md14.9 KB
- 参考文档reference/harness-codex.md7.8 KB
- 参考文档reference/harness-hermes.md18.9 KB
- 参考文档reference/harness-nanobot.md16.1 KB
- 参考文档reference/harness-nanoclaw.md15.3 KB
- 参考文档reference/harness-openclaw.md12.9 KB
- 参考文档reference/naming.md12.0 KB
- 参考文档reference/no-cheatsheet.md4.2 KB
- 参考文档reference/overlay.md9.5 KB
03 SKILL.md 正文
capability-lifecycle — the map
Capabilities are self-describing prompts; you are the installer. Judgment is yours;
bookkeeping is aos-cap's (aos-cap --help — the lockfile is its file, never edit
the YAML). Everything lives in the household <aos_home> — the aos home:
--home/AOS_HOME, else ~/aos (not your home directory): upstream/ the pristine
kit clone, personal/ the user's private repo (their MOD files and their private
capabilities — source only), rendered/ every installed capability's render, the
unversioned build output harnesses symlink to (written only to rendered/.staging/<id>/,
put live only by aos-cap swap), .aos/ machine
state (the lockfile; harness.yml, the household's harness — aos-cap harness show).
The diff gate is never optional. MOD.md states the user's personalization — what they
changed from the shipped defaults, current state, edited in place: you re-apply it, you
never overwrite it — and you never write anything to upstream (PR, issue, +1, push, fork,
remote branch) without the user's explicit approval. The full rules:
reference/contract.md. The overlay doctrine (interviews, transform, capture,
promote/retire, persist): reference/overlay.md. Naming, installed skill names, and the
uniqueness gate: reference/naming.md — read it before authoring or installing anything
that ships a skill. Names are computed, never authored: write \{{skill: <id>}} and
\{{agent: <id>}} in prose and aos-cap render substitutes the installed name. A
backslash-escaped slot stays literal, which is how this sentence survives its own render.
| Ask | Where it goes |
|---|---|
| "install <capability>" · a capability offered for install | {{skill: install}} |
| "update" / "upgrade" (kit-wide or one capability) | {{skill: upgrade}} |
| "remove/uninstall <capability>" | {{skill: remove}} |
| "run/redo my interview" · bootstrap a new user | {{skill: onboard}} |
| "wrap what I already built into a capability" | {{skill: import}} |
| something recurring/systemic to build | {{skill: build}} |
| "fix/change <capability> for everyone" · contribute upstream | {{skill: contribute}} |
| "change how <capability> behaves for me" | {{skill: evolve}} |
| "promote my tweak" / "this should be for everyone" | {{skill: evolve}} classifies, then hands to {{skill: contribute}} |
| "review/audit <capability>" · before contributing · "something looks wrong here" | {{skill: review}} — read-only, architecture first |
| "what's installed?" | aos-cap list |
| your harness's mapping | reference/harness-<harness-runtime>.md — frontmatter mapping (one row per aos concept and depends.host word) plus the harness's judgment; an aid, not a gate: loaded per operation, never standing context; none → reference/no-cheatsheet.md |
Manifest quick facts: CAPABILITY.md frontmatter is strict-typed (aos-cap manifest <dir> parses and validates it — its
errors name the field and rule); the fields are id · version · tags · summary · depends · cron · skills · skill_prefix · kb · uses
(a cron entry: id · expr · agent · prompt_ref · exec · degraded), x-* reserved for
extensions; the prose below the frontmatter is the installer's briefing, never runtime context. A skill's id is capability-local — the name it installs
under is aos-cap skills <dir>'s answer, and it is single-owner across the whole harness;
an agent's works the same way, from the same prefix, via aos-cap agents <dir>
(reference/naming.md).
Experience
Every lifecycle interaction is warm + expert: concept before mechanics, explain-then-act. Before doing anything visible, say what is about to happen and what it buys the user — then proceed; the diff gate is the safety net, not repeated consent prompts. Batch questions; if you can infer it, don't ask. Set expectations before slow steps ("installing the tool takes a minute"). Show the gate as a payoff: each artifact → what it does for you. Close with a specific, celebratory summary — what was installed, where, which cron jobs, any degraded modes — never a vague "done." User-facing lines are warm prose; your internal steps stay silent.
04 同仓库更多 Skills
wt-update
Updates an existing commitment when the user reports progress: completion, a new deadline, a stall, or abandonment. Use when the user says "I did that", "finished X", "still waiting on Y", "push that to next week", "I started it", or "forget it, I'm not doing X". Finds the matching open action, applies the change, and routes any knowledge the report carries to the knowledge base. Do NOT use to file a new commitment (that is wt-capture) or to find time for one (wt-schedule).
wt-steward
Maintains an existing commitments backlog: overdue, about to expire, stalled, and repeatedly-rescheduled commitments, and someday items gone cold. Use when the nightly cron job fires or the user asks to review or tidy their backlog ('review my backlog', 'what's gone stale on my list'). Does not capture or schedule new work — that happens when the user speaks, through wt-capture and wt-schedule.
wt-schedule
Estimates a commitment, links it to its project, and blocks time for it on the user's calendar. Use when the user asks to find time for something — "when can I do this?", "find me two hours for the CFP", "block time for that tomorrow", "I want to work on it today" — and immediately after wt-capture files a commitment that needs real hours. Do NOT use for a commitment that needs only a deadline or a reminder, and do NOT use to change what the user committed to — that is wt-update.
wt-capture
Records something the user has said they must do themselves: classifies the commitment as next, waiting, someday or trivial, writes it as an action page in their commitments base, and hands off to wt-schedule when it needs real hours. Use when the user commits to work of their own — "I need to find time to…", "I have to…", "remind me to…", "help me remember…", "put that on my list", "I should … at some point". Do NOT use when the user asks the assistant to do the work ("write the CFP", "research X", "email Sam") — that is a request to act now, not a commitment to track. Do NOT use for thoughts, facts or notes carrying no commitment; those are knowledge and belong to kb-capture.
work-tracker
Answers questions about the user's own commitments by querying their commitments base, explains the four statuses (next, waiting, someday, done), routes a request to the right work-tracker skill, and states who may change what without asking. Use when the user asks what they should be working on, what is overdue, what they are waiting on, or how their task tracking works, and no narrower work-tracker skill matches. Do NOT use to file a commitment the user just made (that is wt-capture), to find time for one (wt-schedule), or to report progress on one (wt-update).
kb
Explains how the user's knowledge bases are laid out and which kb skill handles a given job — the tree, the one queue, expiry, links, base health, maintenance. Use when the user asks how their knowledge base works, what state a base is in, why something was or was not kept, or wants base maintenance run, and no narrower kb skill matches. Do NOT use to file something the user just said (that is kb-capture), to answer a question from stored knowledge (that is kb-recall), or to pick a destination base for a write already in hand (that is kb-route).