Install
openclaw skills install hepha-skillRuns autonomous iterative delivery loops for coding tasks using plan -> execute -> check -> review -> commit. Use when the user asks for hepha mode, autopilot loop execution, unattended small-step implementation, continuous self-planning, automated commits, tech-option research via web/GitHub, and browser-based validation with MCP or Playwright.
openclaw skills install hepha-skillRun each requirement as multiple small, autonomous loops:
plan -> execute -> check -> review -> commit
Keep looping with minimal user intervention until the backlog is done or a stop condition is hit.
Activate only when the user explicitly asks for:
If the user did not explicitly request hepha, do not force this mode.
.autopilot/.Create and maintain these files in the project's .autopilot/ directory:
.autopilot/backlog.md - task graph and states (todo, doing, blocked, done).autopilot/progress.md - per-loop execution log and evidence.autopilot/decision-log.md - research and technical decisionsTemplates: Use the template files from templates/ in this skill directory as starting points:
templates/backlog.mdtemplates/progress.mdtemplates/decision-log.mdIf working files do not exist, copy from templates or create them before the first loop.
Execute the following phases in order for each loop.
Goal: pick exactly one ready sub-task from the backlog.
Steps:
Step 0.5 - Schema Validation (execute every PLAN):
Verify each task in backlog.md contains:
id (format: TASK-XXX or numeric)title (action statement)state (todo|doing|blocked|done)depends_on (array, can be empty)acceptance (testable pass conditions)risk (low|medium|high)files_hint (expected files, optional)Missing fields → complete before continuing Circular dependencies → detect and report error
Step 0 - Auto-Decomposition (if backlog.md missing or empty):
references/decomposition-patterns.md):
.autopilot/backlog.mdStep 1 - Normalize and Build Task Graph:
.autopilot/progress.md:
Goal: make informed decisions with live evidence.
Decision Matrix - Research Required?
| Scenario Category | Specific Situation | Research Required |
|---|---|---|
| New Technology | Using library/framework not in project | ✅ Yes |
| Architecture Change | Affects module boundaries or data flow | ✅ Yes |
| Implementation Uncertainty | 2+ viable options with >30% difference | ✅ Yes |
| Tool Selection | MCP/Playwright/Puppeteer/etc. choice | ✅ Yes |
| CRUD Operations | Standard CRUD | ❌ No |
| Bug Fixes | Clear error fix | ❌ No |
| Style Adjustments | CSS/style class modifications | ❌ No |
Research Quality Requirements:
Record in .autopilot/decision-log.md:
Goal: implement the chosen sub-task with minimal blast radius.
Rules:
Goal: verify engineering quality.
Run all relevant project checks (examples):
If any check fails:
.autopilot/progress.md.Goal: verify behavior from a user perspective, not only compile success.
For UI/interaction changes, use MCP browser tools and/or Playwright to validate:
Attach review evidence to .autopilot/progress.md:
Commit only when:
Commit policy:
Update task status in .autopilot/backlog.md to done and append commit hash in progress log.
Trigger re-plan when:
Re-plan behavior:
Stop loop and report clearly if any condition is met:
When stopped, provide:
Consider a large requirement complete only when:
done.Then generate a final completion summary:
Use this starter format to begin a run:
references/planning_task-decomposition.mdreferences/validation_quality-gates.mdreferences/decomposition-patterns.mdreferences/progress-template.mdtemplates/backlog.md, templates/progress.md, templates/decision-log.md