cleanexpo/pi-dev-ops/afk-agent
Claude Code and agent skill by cleanexpo/pi-dev-ops
- community
Checking that the SKILL.md file is still in the repository.
Run agents unattended with stop guards and notifications. Use when running an agent unattended or overnight (AFK, walk-away, Ralph Wiggum style loops) and needing a bounded runtime, token cost and iteration cap, stop guards that block premature exit, an append-only progress file, one small feature per iteration gated on green CI, a completion sentinel token, and a completion notification.
Install
npx vskill@latest install cleanexpo/pi-dev-ops/afk-agentSKILL.md
The same SKILL.md was published earlier as cleanexpo/pi-dev-ops/afk-agent.
AFK Agent
The AFK Contract
- Bounded runtime (max N minutes)
- Bounded cost (max N tokens)
- No silent failure
- No premature exit (stop guards)
- Notification on completion
Stop Guards
Intercept exit attempts. Verify completion criteria before allowing stop.
Overnight-loop guardrails (Ralph Wiggum, Pocock 2026-07)
For unattended overnight runs, extend the AFK Contract with:
- Iteration cap: bound iterations too, not just runtime/tokens (items 1-2) — backstop against never terminating.
- Append-only progress file: each iteration appends learnings ("append", never "update") — the agent's memory across context resets.
- One small feature per iteration: never batch; output quality degrades as context fills.
- Green-CI gate: typecheck + tests pass inside each iteration before its commit — one commit per iteration localises breakage.
- Completion sentinel: emit an explicit token (e.g.
PROMISE COMPLETE); the runner greps it to exit early and fires the completion notification (item 5).
[[pocock-ralph-wiggum-overnight-loops-2026-07-14-ingest]]
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/afk-agent/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cleanexpo/pi-dev-ops/afk-agent)