Chu — Productivity skill for Claude Code
A nervous system for coding agents: a Rust sidecar daemon and a Claude Code mod that give the agent a sense of time and closed loops: a cgroup boundary for every command, stall detection, and executor.
How to install Chu
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RoxyPryce/chu and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Chu does
A nervous system for coding agents: a Rust sidecar daemon and a Claude Code mod that give the agent a sense of time and closed loops: a cgroup boundary for every command, stall detection, and executor subagents with write-ahead logs and resume packs. Experimental, Linux only.
Alternatives in Productivity
- Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
- Parallel Task — Parallel Task Executor 1k ★
- Agentacct — See what your coding agents did and what it cost 665 ★
README
chu (初)
A "nervous system" for coding agents: a resident sidecar daemon plus a [Claude Code](https://claude.com/claude-code) mod that give the agent the two things it lacks by default, **a sense of time** and **closed loops** around everything it starts.
The name comes from the first line of the I Ching: 初九,潜龙勿用, "Hidden dragon. Do not act." Every control component in chu starts in *shadow mode*: it records what it would have done, and only acts once the records show it can be trusted.
**Status:** experimental, built for one developer machine. Linux only for now. Milestones M0–M4 are done; M5 (leases, dead-man switches, armed rollback) is next. The design document, [`docs/architecture.md`](docs/architecture.md), is written in Chinese and is the single source of truth.
Why
- Agents don't know how much time has passed. A session from a minute ago is "yesterday"; a task that hung hours ago is still being waited on.
- Agents don't track what they start. Background processes, grandchildren and servers are
fired and forgotten, then cleaned up with
pkillby name, which regularly hits the wrong process.
The root cause: a model only wakes up on events, and **silence is not an event**. chu turns silence into events, and keeps state outside the model so any model instance can be replaced.
What it does
- Time sense. Every message you send is annotated with the wall time, how long it has been since your last message, and what happened in between: machine sleep, reboots, clock jumps, alerts, interrupted tasks ("while you were away").
- Process boundaries.
chustarts Claude Code inside a delegated systemd scope. Every Bash call runs in its own cgroup (through aCLAUDE_CODE_SHELL_PREFIXshim, so permission rules see the original command), sonohup,setsidand double-forked children are all captured. Leftover processes are reported, orphans are scanned, and a session's processes can be reclaimed when it ends. - **Sensin
Related Skills
Speedrun This
Agent skill: give your coding agent a time budget, get a prototype that fits. For hackathons and rapid prototy
Exec
Dispatch a coding task to the Devin CLI as a background or foreground executor
Temporal Check
Review the current repository for date and time semantic bugs, timezone boundary mistakes, and daylight-saving
MCP Webresearch
MCP web research server (give Claude real-time info from the web)
Time Blame
Claude Code mod: after each turn, says whether the time went to Claude, your tools or you.
Subagent Monitor
A Claude Code mod that shows your subagents in a sidebar, each with an animated pixel crab. See what every age
Related Agents
Karr Foundation Worker
karr-foundation worker — multi-board discovery, overview, agent command resolution, drain loops, per-repo lock
Layer Boundary Reviewer
审查 StockAI 三层架构(UI→Rust→Sidecar)的单向依赖、shared 单一来源原则、sidecar stdout 纯净、IPC 唯一入口纪律。审查代码变更、PR、提交前架构边界检查时使用。
Bug Hunter
Bug detection specialist. Finds logic errors, null pointers, boundary issues, race conditions, resource leaks,