Install
openclaw skills install agent-os-zhelunProvides file-based protocols to enable audit trails, shared context, mission control, flight recording, and seamless handoff in multi-agent collaboration.
openclaw skills install agent-os-zhelunMake agent collaboration depend on auditable file protocols, not long chat logs.
This skill activates when any of these triggers appear:
Agent OS provides a minimal file protocol (<project>/.agent-os/) that lets multiple agents share:
| Layer | Purpose | File |
|---|---|---|
| Audit Findings | Track issues through a status lifecycle | findings.jsonl |
| Context Packs | Give each agent run a compact starting context | context-packs/*.md |
| Mission Control | One-page health view for the human | mission-control/*.md |
| Flight Recorder | Replay agent decisions after the fact | flight-recorder/*.jsonl |
| Decision Briefs | Compress human todos into 1-3 real decisions | embedded in Mission Control |
| Experience Log | Classify learnings as rule/test/gate/prompt/doc | experience-log.jsonl |
All Agent OS data lives under <project-root>/.agent-os/:
.agent-os/
├── findings.jsonl # Audit finding registry
├── experience-log.jsonl # Promoted learnings
├── context-packs/
│ └── YYYY-MM-DD-<label>.md # Task-scoped context summaries
├── mission-control/
│ └── YYYY-MM-DD.md # Daily one-page health view
└── flight-recorder/
└── YYYY-MM-DD.jsonl # Agent run records
Agents MUST NOT require other directories. This is the only protocol root.
compile context packGenerate a compact context summary before an agent run.
Script: scripts/compile_context_pack.py
Reads workspace state (open findings, recent memory, repo status) and writes a context pack to .agent-os/context-packs/.
The primary agent should invoke this at session start or before handing off to another agent.
upsert findingCreate or update an audit finding in the registry.
Script: scripts/upsert_finding.py
Findings follow a status lifecycle: open → accepted → fixed → verified → closed. Alternate paths: deferred, false_positive.
summarize mission controlGenerate a one-page project health view.
Script: scripts/mission_control.py
Aggregates open findings, active repos, stale items, and human decision items into a single Markdown file the human can scan in seconds.
record flightRecord an agent run's inputs, decisions, changes, and verification results.
MVP scope: Implemented as a workflow/template in references/templates.md. Script planned for v0.2.0.
compress decisionsFilter human-actionable items and compress them into 1-3 decision briefs.
MVP scope: Implemented as a workflow in references/workflows.md. Script planned for v0.2.0.
promote learningClassify a learning as rule, test, gate, prompt, or doc.
MVP scope: Implemented as a workflow in references/workflows.md. Script planned for v0.2.0.
A new agent joining the workspace MUST:
.agent-os/context-packs/).agent-os/findings.jsonl where status is open).agent-os/mission-control/)Minimal onboarding declaration (optional, for agent registries):
{
"agent": "<name>",
"domain": "<scope>",
"inputs": ["context-pack", "mission-control"],
"outputs": ["handoff", "finding-update", "flight-record"]
}
Agent OS explicitly does NOT:
Three scripts ship with v0.1.0 (Python 3.10+, zero external dependencies):
| Script | Purpose |
|---|---|
scripts/upsert_finding.py | Create / update findings in .agent-os/findings.jsonl |
scripts/compile_context_pack.py | Generate context packs from workspace state |
scripts/mission_control.py | Generate one-page health view |
All scripts support --help and --dry-run.
| File | Content |
|---|---|
references/schemas.md | JSON/Markdown schemas for all data files |
references/workflows.md | Daily check, weekly review, and upgrade workflows |
references/templates.md | Copy-paste templates for each file type |