os-bootstrap-extend
Skill2 starsChanged 5 months agoMITView on GitHub
Add a new domain, agent, or entity guardian to an already-bootstrapped OS. Same Q&A discipline as os-bootstrap but scoped to a single addition. Triggers — "add a new domain", "instantiate a new agent", "I need a guardian for X".
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- control-plane/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- control-plane/CLAUDE.mdCLAUDE.md
- agentic-os-reference-syncSkill
- branch-cleanupSkill
- capture-triageSkill
- darwin-housekeepingSkill
- darwin-path-modeSkill
- decision-log-entrySkill
- eodSkill
- expert-interview-guideSkill
- feedback-intakeSkill
- harness-onboardingSkill
- ingest-contentSkill
- meeting-to-work-itemsSkill
- memory-consolidateSkill
- morning-briefSkill
- os-bootstrapSkill
- pr-reviewSkill
- scheduleSkill
- spec-cross-checkSkill
- ux-critiqueSkill
- weekly-retroSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Ask: *"What are you adding — a domain (with or without an agent), an entity guardian, an orchestrator, or a fallback?"*
- Very specific: line 50
Ask the operator for the agent's name (default suggestion: <slug>-advisor).
- Very specific: line 53
Create control-plane/memory/<chosen-name>/state.md from templates/agent-state-template.md.
- Very specific: line 57
Create <slug>/ folder at repo root with a stub domain.md describing scope, vocabulary, stakeholders.
- Distinctive: line 84
Update the interface agent's routing rules so the fallback is the last hop.
- Very specific: line 85
Add interface-fallback state file to Darwin's input list.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: os-bootstrap-extend
When to use
The OS is already bootstrapped (.bootstrap-pending absent, agents named, base configs resolved). The operator wants to add ONE of:
- A new domain (with optional entry agent + optional entity guardian).
- A new entity guardian for an existing structural priority.
- A new domain entry agent for an existing domain folder that doesn't have one yet.
- An orchestrator over an existing committee of specialists.
- A fallback agent (when the OS has > 5 specialists and Darwin flags coverage gaps).
NOT for:
- Initial bootstrap → use
os-bootstrap. - Renaming the interface agent or senior advisor → invasive, do via direct edits + decision-log entry.
- Removing an agent → use
git rm+ registry cleanup; if the agent has accumulated state, surface to the senior advisor first.
Preconditions
.bootstrap-pendingis NOT present (system is bootstrapped).- The operator knows what they want to add (one concrete kind: domain / guardian / orchestrator / fallback).
- Agent patterns are read or referenced:
control-plane/agent-patterns/<pattern>.md.
Sequence
Step 1 — Identify the addition kind
Ask: "What are you adding — a domain (with or without an agent), an entity guardian, an orchestrator, or a fallback?"
Each kind routes to a different sub-flow below.
Step 2 (domain) — Domain micro-loop
Same as os-bootstrap Block 3 micro-loop, scoped to one domain:
- Slug —
kebab-case. Confirm with the operator. - Entry agent? — read out the trigger signal from
agent-patterns/domain-entry-agent.md: "yes if ≥ 1 task/week or 1 decision/month and the interface agent has been simulating it inline". - If yes:
- Ask the operator for the agent's name (default suggestion:
<slug>-advisor). - Copy
control-plane/templates/agents/domain-entry.template.mdto.claude/agents/<chosen-name>.md. - Fill placeholders via Q&A (description, scope in/out, vocabulary, recurring decisions).
- Create
control-plane/memory/<chosen-name>/state.mdfromtemplates/agent-state-template.md. - Register in
control-plane/registry/agents.mdandcontrol-plane/registry/domains.md. - Add to
control-plane/config/spoke-owners.yaml.
- Ask the operator for the agent's name (default suggestion:
- Entity guardian? — same logic via
entity-guardian.template.mdif applicable. - Create
<slug>/folder at repo root with a stubdomain.mddescribing scope, vocabulary, stakeholders.
Step 3 (guardian only) — Entity guardian micro-loop
For a new entity guardian on an existing domain or cross-domain:
- What is being protected? — concrete description (the protected thing, not abstract "balance").
- What concrete observations will the guardian make? — write 3-5 example observations the guardian will reference ("hasn't slept 7h since Tuesday", "this is the Mth evening this week").
- Agent name — operator chooses (default:
<thing>-guardian). - Copy
templates/agents/entity-guardian.template.md. Fill placeholders. - Register + add to interface agent's primary-commitment checkpoint rules in
control-plane/memory/<interface-agent>/.
Step 4 (orchestrator) — Orchestrator micro-loop
For an orchestrator over an existing committee:
- Existing specialists — list the 3+ agents that already exist for this committee.
- Integration rule — explicit (weighted average / veto power / majority + minority / tie → senior advisor).
- Agent name — operator chooses.
- Copy the orchestrator template (see
agent-patterns/orchestrator.md) — Note: not yet shipped as a.template.mdfile; copy the inline template from the pattern doc. - Register.
Step 5 (fallback) — Fallback micro-loop
- Confirm Darwin has flagged ≥ 2 "interface agent did non-trivial work itself" in recent governance passes.
- Agent name — operator chooses (default:
interface-fallback). - Copy the inline template from
agent-patterns/fallback.md. - Update the interface agent's routing rules so the fallback is the last hop.
- Add
interface-fallbackstate file to Darwin's input list.
Step 6 — Log the addition
For any of the above, write a decision-log entry:
## D-NNN · YYYY-MM-DD · architecture · Added <agent-name> via os-bootstrap-extend
- **Decider:** principal
- **Context:** <one line why the addition is needed>
- **Decision:** Instantiated <pattern> as <agent-name>; registered in agents.md, domains.md (if domain), state.md created
- **Rationale:** <signal that triggered the addition — Darwin flag, recurring inline work, etc.>
- **Linked:** templates/agents/<template-used>.md, agent-patterns/<pattern>.md
- **Review (target +14d):** verify the agent has been invoked at least once; if not, re-evaluate or removeStep 7 — Validate
Run:
bash control-plane/scripts/validate-harness.shExpect: passes 10/10 (or +1 for the new agent). If the new agent fires a warning, fix the frontmatter or state.md before declaring done.
Anti-patterns
- Adding without a signal. "I might need this someday" is not a signal. Real triggers: Darwin flagged it, the interface agent has been simulating it inline, the operator hit it twice in a week.
- Skipping the decision-log entry. Future Darwin passes won't know why the agent exists.
- Forgetting to validate. A new agent without state.md will fire warnings on every session start until fixed.
- Adding more than one thing in one invocation. Each addition gets its own pass through this skill. Bundling makes the decision-log entry vague.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

