A Pattern for Running Claude Code on Overnight Unattended Sessions Without Drift

Chain Runner
Run a fixed sequence of skills for N iterations:
bin/skill-chain.py --chain dev-cycle-with-review-looped --loop 10
Each iteration: a dev skill picks the next item from docs/TODO.md, ships it (code + tests + docs in one commit), then a review skill critiques what landed and queues follow-ups in TODO. Standard agent loop made explicit.
Supervisor at Session End
After the loop finishes, a separate skill reads the run's transcripts, evaluates each skill against its stated job, and proposes rewrites to the skill prose itself. With auto-promote on, those rewrites land. Auto-promote off writes them as SKILL.patch.md sidecars for human review.
Single Handoff Contract
Every skill reads docs/SPEC.md (canonical plan) and docs/TODO.md (In flight / Just shipped / Next up) at the start, updates them in the same commit as the code change. No side channels, no second TODO format, no per-skill plan docs. The framework dogfoods this contract on its own development. The contract does most of the drift-killing work.
Additional Features
- Proprietary / transferable split: Skills under
skills/framework/are transferable; each project keeps its proprietary counterpart in.claude/skills/. A sanitization skill checks promotions across that boundary so secrets don't leak. - Schema validation:
bin/validate-frontmatter.pyagainstschema/skill-set.schema.jsonandschema/skill-chain.schema.jsoncatches malformed skills before a chain run. - Optional Telegram steering: Status messages at session start, every iteration boundary, every rate-limit pause/resume, and session end. Queue commands back via
/cmdthat the next iteration drains. - Overnight chain: Loops until failure, budget cap, or Ctrl-C, with a randomized 5min-2h inter-iteration delay so commit cadence stays human-shaped.
Repo
https://github.com/toadlyBroodle/skill-set
📖 Read the full source: r/ClaudeAI
👀 See Also

Open Source Book Genesis: 20 Claude Code Skills for Autonomous Book Writing
Book Genesis is an open-source system of 20 specialized Claude Code skills that takes a book idea and produces a complete, publish-ready manuscript through a 14-phase autonomous pipeline. It includes a 'Chaos Engine' to break AI predictability patterns and has generated a 68,000-word memoir scoring 9.0/10 on its Genesis Score.

Coordinator Server for Multi-Agent Development Prevents Overwrites
A developer built a Node.js coordinator server that manages line-range locking, line shift tracking, and real-time messaging between AI agents working on the same codebase. The system prevents agents from overwriting each other's work by using HTTP-based locking with conflict detection.

Qwen2-0.5B Fine-Tuned for Local Task Automation with llama.cpp
A developer fine-tuned Qwen2-0.5B for task automation using LoRA on ~1000 custom examples, creating a 300MB GGUF model that runs locally on CPU via llama.cpp. The model takes natural language tasks, detects task types, and generates execution plans with CLI commands and hotkeys.

Open Source Skill for Parallel AI Coding Agents with Human Gate
A markdown skill definition for running parallel Claude Code agents in separate git worktrees, with integration branch validation, smoke tests, and a hard human gate before production merge.