Coach Claw
An open-source coaching layer for Claude Code that reads local transcripts, learns developer habits, and ships ambient tips, XP, streaks, and level-ups.
System
Coach Claw is a coaching layer for Claude Code. It reads local Claude Code transcripts on a schedule, learns working habits, and surfaces ambient tips, XP rewards, streaks, and level-up banners while the developer works. The daily pass is deterministic, local-only, and LLM-free — the repo contains no networking import at all. An optional weekly pass triggers Claude Code’s own insights command to refresh local sidecar files, then aggregates those deterministically; Coach itself uploads nothing.
Constraint
AI coding assistants can generate code, but they do not usually help developers improve their own operating habits over time. Useful coaching has to be specific to the developer, run quietly in the background, avoid uploading sensitive transcripts, and stay cheap enough to run every day.
Contribution
Built a local-first coaching system around 31 Python modules: a deterministic insights pass, a profile that promotes, decays, graduates, and retires tracked habits on its own, and an XP ladder of 50 levels rendered as a chess-style rating. SessionStart and UserPromptSubmit hooks inject a watch-list and pre-computed reward attribution, and Claude renders the nudge in its own voice. The engine ships twice — as an npm CLI and as a Claude Code plugin through its own marketplace — sharing one state directory with explicit coexistence handoff.
Architecture
Input
System
Outcome
Verified
v1.0.24 on npm; Claude Code plugin at v0.1.28
MIT licensed
Zero network calls on the daily path
13 behavior patterns detected from tool-use structure alone
20 credential shapes stripped before analysis
Capabilities
Stack
Next
Want the architecture behind this, or something like it built for your team?
Start a conversation→