M2.1 — Skill SKILL.md
Parent: #440 (Roadmap)
Milestone: M2 — OpenClaw Skill
Depends on: M1 complete (#441-#445)
Context
An OpenClaw skill is a self-contained package that extends an agent's capabilities. The Aegis skill should let any OpenClaw agent orchestrate Claude Code sessions without knowing the API details.
SKILL.md must include
- Prerequisites check — Verify Aegis server running, MCP configured
- Core workflows:
- Create session → send prompt → wait for idle → read transcript
- Handle permission prompts (approve/reject decision tree)
- Stall detection and recovery (nudge → refine → pivot → escalate)
- Quality gate (tsc + build + test via bash tool)
- Session cleanup
- Common patterns:
- Implement a GitHub issue end-to-end
- Review a PR
- Fix a CI failure
- Batch tasks across multiple sessions
- Troubleshooting — common errors and fixes
- Configuration — env vars, auth setup
Acceptance criteria
- Skill is installable via
openclaw skill install or manual copy
- An OpenClaw agent with the skill can create and manage CC sessions
- Follows OpenClaw skill spec (concise, appropriate freedom levels)
- Zero npm dependencies (uses MCP server already present)
M2.1 — Skill SKILL.md
Parent: #440 (Roadmap)
Milestone: M2 — OpenClaw Skill
Depends on: M1 complete (#441-#445)
Context
An OpenClaw skill is a self-contained package that extends an agent's capabilities. The Aegis skill should let any OpenClaw agent orchestrate Claude Code sessions without knowing the API details.
SKILL.md must include
Acceptance criteria
openclaw skill installor manual copy