Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add minchenlee/c9watch --skill c9watch-cligit clone --depth 1 https://github.com/minchenlee/c9watchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/minchenlee/c9watch/c9watch-cli)<a href="https://agentmods.dev/skills/minchenlee/c9watch/c9watch-cli"><img src="https://agentmods.dev/badge/skills/minchenlee/c9watch/c9watch-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/minchenlee/c9watch/c9watch-cli"><img src="https://agentmods.dev/badge/skills/minchenlee/c9watch/c9watch-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.03420 |
| Opus 5.5 | $0.00051 | $0.01368 |
| Sonnet 5.5 | $0.00026 | $0.00684 |
| Haiku 4.5 | $0.00013 | $0.00342 |
Grade C, and why
c9watch-cli scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://raw.githubusercontent.com/minchenlee/c9watch/main/install-cli.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://raw.githubusercontent.com/minchenlee/c9watch/main/install-cli.sh | bash How it starts
The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
c9watch CLI
c9watch is a CLI tool that lets you monitor the coding-agent sessions running on the machine: Claude Code, Codex, Cursor Agent, Pi, OpenCode, GitHub Copilot CLI (preview) and Grok Build CLI (preview). Every command outputs JSON. Use it to see what other sessions are doing, search past work, track costs, and coordinate with sibling agents.
Every session carries a provider (claudeCode, codex, cursor, pi, opencode, copilot, grokBuild) and a provider-scoped sessionKey (provider:id, e.g. pi:01a06659-...). Use the sessionKey with view whenever an ID could collide across providers.
Provider support
| Command | Claude Code | Codex | Cursor Agent | Pi | OpenCode | GitHub Copilot CLI (preview) | Grok Build CLI (preview) |
|---|---|---|---|---|---|---|---|
list, status, watch, wait |
yes | yes | yes | yes | yes | yes | yes |
tree, wait --children |
yes (subagents, teammates) | yes (threads) | yes (subagent chats) | yes (no links) | yes (child sessions) | yes (no links) | yes (no links) |
view |
yes | yes | yes | yes | yes | yes | no |
history, search |
yes | yes | yes | yes | no | no | no |
cost |
yes | yes | no | yes | no | no | no |
activity |
yes | yes | no | no | no | no | no |
tasks, stop, self |
yes | no | no | no | no | no | no |
OpenCode needs no setup. c9watch reads OpenCode 2's own database (~/.local/share/opencode/opencode.db, or under $XDG_DATA_HOME) read-only, while an opencode process runs. If C9WATCH_OPENCODE_URL is set, c9watch reads that OpenCode 1 server instead.
- OpenCode sessions show
Working,WaitingForInputorConnecting. They never showNeedsAttention: a permission wait looks likeWorking, because OpenCode does not write it to its database. - A finished session is listed for 30 minutes after its last write. A child session is a subagent of its parent. A turn with nothing written for 10 minutes shows
ConnectingwithstatusCertainty: "uncertain". - c9watch opens the database only while OpenCode runs, and never when that would create a file next to it.
- If the database is locked or has a layout c9watch does not know, it is named in
diagnostics.unreadableSourcesand no OpenCode status is shown: an empty result then does not mean no OpenCode session is running. view opencode:<session-id>reads the conversation.history,search,costandtaskshave no OpenCode data.- They cannot be opened, stopped or renamed (
pidis 0).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +71 lines · +9 tokens per session c1df3c1cb8ad
- 4d ago Changed · -12 lines 83bf9a60cf68
- 1mo ago Changed · +13 lines ebaadf8ba20f
- 1mo ago Changed 999911748951
- 3mo ago Changed · +3 lines 91c3d26ee134
- 3mo ago First seen · 141 lines · 119 tokens per session scan C 84ea4b923056
c9watch-cli is a skill published in the GitHub repository minchenlee/c9watch (139 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 3,420 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
c9watch-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| c9watch-climinchenlee/c9watch | Skill | 139 | today | MIT | C | 128 | Claude Code, Codex |
| harbofly-cleanupcarloshpdoc/Harbofly | Skill | 28 | 3d ago | GPL-3.0 | A | 99 | Claude Code, Codex |
| anti-sleepsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 22 | Claude Code |
| onlyswitch-deeplinkjacklandrin/OnlySwitch | Skill | 6.1k | yesterday | MIT | A | 85 | Claude Code, Codex |
| gmailvellum-ai/vellum-assistant | Skill | 1.5k | 4d ago | MIT | A | 20 | Claude Code, Codex |
| inbox-managementvellum-ai/vellum-assistant | Skill | 1.5k | 4d ago | MIT | A | 50 | Claude Code, Codex |
| notificationsvellum-ai/vellum-assistant | Skill | 1.5k | 4d ago | MIT | A | 9 | Claude Code, Codex |