afk-cook
Installation
SKILL.md
AFK runner
afk-cook is a bash for-loop that spawns one fresh claude -p invocation per GitHub issue. Each iteration starts with an empty context. State lives in the git tree, in CLAUDE.md, and in the GitHub issue body. The prompt template inlines TDD discipline so the headless invocation knows to RED, GREEN, REFACTOR, commit.
Why fresh context per slice
A single long Claude session accumulates context across slices, drifts, and eventually loses the plot. afk-cook invokes claude -p once per slice with an empty context every time. The agent reads the spec from the issue, not from memory. This is the whole reason this script is a bash for-loop and not one long-running session.
Installation
The install is a thin-wrapper model with two layers:
- The skill folder.
npx skills@latest add GuillermoMurillo/memo-flow -a claude-codeputs the real runner script and its prompt template side by side at.claude/skills/afk-cook/afk-cookand.claude/skills/afk-cook/slice-prompt.md. - The wrapper.
/memo-flowwrites exactly one file outside the skill folder — a thin wrapper at<project-root>/.claude/memo-flow/bin/afk-cook:
#!/usr/bin/env bash
exec "$(dirname "$0")/../../skills/afk-cook/afk-cook" "$@"