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-code puts the real runner script and its prompt template side by side at .claude/skills/afk-cook/afk-cook and .claude/skills/afk-cook/slice-prompt.md.
  • The wrapper. /memo-flow writes 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" "$@"
Installs
37
GitHub Stars
3
First Seen
May 18, 2026
afk-cook — guillermomurillo/memo-flow