Mod your
agent.
Mods are TypeScript extensions for Command Code. Add tools, slash commands, and rules that change how your agent works.
1export default (cmd) => {2 cmd.hooks({3 beforeToolCall: ({input}) =>4 input.command.includes('--force')5 ? {block: true} : undefined,6 });7};//Discover
Mods
Install one and make it part of your workflow, or build your own and publish it here.
| Rank | Mod | Downloads, last month | Stars | Install |
|---|---|---|---|---|
| 1 | Agents stop too early. At every stop this mod asks Jev whether a nudge would help, and keeps the agent going when work is left. It won't nudge when the agent is waiting on you. Ahmad AwaisHooks · Flagsv0.1.0FeaturedOfficial | 75 | 22 | 7522 |
| 2 | Play chess against an LLM right in Command Code while the agent is working on your task. Zero dependencies. Vipul GuptaCommands · Renderers · Hooksv0.0.2 | 576 | 0 | 5760 |
| 3 | A guard that blocks or asks before destructive shell commands, a footer with cache hit rate, turn cost and the next lifecycle step, and a /proflow command. Can continue a stopped run up to two more turns. Toan NguyenHooks · Commands · Flagsv0.1.21 | 362 | 1 | 3621 |
| 4 | Three read only tools (explore, node, status) that query a local CodeGraph index through the codegraph CLI. They run without a permission prompt and stay available in plan mode. Needs the codegraph CLI on PATH. Toan NguyenToolsv0.1.21 | 353 | 1 | 3531 |
| 5 | A status line mod for Command Code (cmdc): model, gradient context bar, cache hit rate, session cost, output speed, sub-agent usage, session name and git state. holtwoodHooks · Commands · Flagsv0.8.0 | 342 | 9 | 3429 |
| 6 | Desktop notifications for Command Code on macOS, Windows, and Linux (beta). Mahmoud BekheetHooks · Commands · Flagsv1.0.0-beta.4 | 101 | 2 | 1012 |
| 7 | Content-addressable context store, recall tool, and compaction guard for AI coding agents Azertyuiop442Tools · Commands · Hooks · Renderersv1.1.2 | 98 | 3 | 983 |
| 8 | Pings you when a turn ends, the agent needs approval, or a run finishes or fails. Each ping is a TUI notice plus a Linux desktop notification with a short output summary. No macOS desktop alerts yet. ShanwisHooksv0.1.1 | 96 | 4 | 964 |
| 9 | Real-time token cost, prompt cache savings, and context monitor for AI coding sessions Azertyuiop442Hooks · Commandsv0.2.2 | 86 | 2 | 862 |
| Create | Build your modAsk Command Code to write a mod, then submit it for review. | |||