walk-inline
Skill0 starsChanged 5 months agoMITView on GitHub
Walk a Guide. Activate when the user asks to walk, run, execute, perform, or resume a Guide; or when they reference a multi-step workflow by name and want it driven end-to-end. Trigger phrases: "walk the X guide", "run the X guide", "execute the X workflow", "drive the X runbook", "resume the X walk".
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- walk-observerSkill
- walkSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Very specific: line 40
Run prerequisites declared in GUIDE.md before any step.
- Distinctive: line 45
When all prereqs pass:
- Very specific: line 73
When a verifier rejects or an action exits non-zero, honor the step's on_failure.strategy:
- Very specific: line 77
Only abort is supported in this Skill's capability tier.
- Distinctive: line 81
When all steps reach terminal status without failure:
- Distinctive: line 89
Never touch run files directly — only through MCP tools.
- Distinctive: line 90
One active walk per Guide: If the current-run query returns a non-terminal run id, do not start a new one without explicit user action.
- Very specific: line 91
Resume safety: When resuming, do not auto-decide steps that were running or verifying mid-walk.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Walking a Guide
You are the Guide v0.2 runtime for this session. All state mutations go through the guide MCP server tools, never through direct file I/O on run files.
This Skill is configured for in_band mode. You are the sole source of audit events — every state change goes through an explicit MCP tool call. There is no harness-side observer to reconstruct from your tool stream.
Required MCP tools
walk_current({guide_id})— check for an active run.walk_start_run({guide_root})— start a walk.walk_read_step({guide_root, step_id})— read a step's frontmatter and body.walk_update_step({run_id, step_id, status, patch?})— transition a step.walk_append_event({run_id, event})— append an audit event.eventshape:{type, timestamp, prose, step_id?, fields?}. Common types:run.start,run.succeeded,run.failed,step.start,step.reasoning,step.succeeded,step.failed,step.skipped,human.report,prereqs.checked,recovery.start,recovery.complete.walk_mark_prereqs_checked({run_id, value})— project the prereqs-passed boolean.walk_load_run({run_id})— re-read run state.walk_set_status({run_id, status})— terminal status (succeeded/failed/abandoned).walk_list_runs({guide_id})— enumerate runs (used on resume).
Prerequisites phase
Run prerequisites declared in GUIDE.md before any step. For each:
performer: agentand acheck:script provided → run viaBash.performer: human→ ask viaAskUserQuestion.
When all prereqs pass:
walk_append_event({run_id, event: {type: "prereqs.checked", ...}})walk_mark_prereqs_checked({run_id, value: true})
Prereqs are NOT steps; do not synthesize a prereqs step in the audit.
Step protocol
For each step in topological order:
walk_update_step({run_id, step_id, status: "running"}).walk_append_event({run_id, event: {type: "step.start", step_id, ...}}).- Execute the action by
action.type:- script →
Bash. Run the ABSOLUTE path fromwalk_read_step'sresolved_scripts.action(cwd-independent; the bareaction.scriptis Guide-root-relative and will fail if your shell's cwd isn't the Guide root). Honorargs+timeout_seconds. - manual / prompt → emit instructions; yield; the next user message is the report. Record it via
walk_append_event({event: {type: "human.report", ...}}).
- script →
- Apply
interactions. - Execute the verifier:
- script →
Bash(runresolved_scripts.verify, the absolute path); check exit againstsuccess_exit. - human_confirm →
AskUserQuestionwith yes/no. - none → success.
- script →
walk_update_step({run_id, step_id, status: <terminal>, patch: {verify_result?}}).walk_append_event({run_id, event: {type: "step.<terminal>", step_id, ...}}).
Failure handling
When a verifier rejects or an action exits non-zero, honor the step's on_failure.strategy:
- abort → terminate the run (mode-specific tool call below).
Only abort is supported in this Skill's capability tier. If the Guide declares retry, recover, or ask, treat them as abort and terminate the run. (Operators who need the full failure strategies should re-run guide setup with --capability full.)
Termination
When all steps reach terminal status without failure:
walk_set_status({run_id, status: "succeeded"})walk_append_event({run_id, event: {type: "run.succeeded", ...}})
Strict rules
- Never touch run files directly — only through MCP tools.
- One active walk per Guide. If the current-run query returns a non-terminal run id, do not start a new one without explicit user action.
- Resume safety. When resuming, do not auto-decide steps that were
runningorverifyingmid-walk. Always ask the user.
When NOT to use
- The user wants to author a Guide → use
/create-guide. - The user wants to validate or inspect a Guide statically → use
guide validatevia Bash. - The Guide has no human/agent judgment steps → suggest
python -m adapters.cli.runfor a fully non-interactive drive.
References
- SPEC.md — the contract.
- ARCHITECTURE.md — how the runtime composes.
- docs/adapters/claude-code.md — Claude Code specific mappings.
- .planning/decisions/010-audit-mode-tool-registration.md — why the two protocols exist.
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.

