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 | 58 | — | 58— |
| 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 | 627 | — | 627— |
| 3 | Real Cherry MX Blue, Brown and Red keyboard recordings right inside your terminal. Low-latency player on macOS; on Linux and Windows clicks trail fast typing a little. Vipul GuptaCommands · Hooksv0.2.0 | 358 | — | 358— |
| 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 | 355 | — | 355— |
| 5 | 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 | 353 | — | 353— |
| 6 | 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 | 137 | — | 137— |
| 7 | Content-addressable context store, recall tool, and compaction guard for AI coding agents Azertyuiop442Tools · Commands · Hooks · Renderersv1.1.2 | 121 | — | 121— |
| 8 | Real-time token cost, prompt cache savings, and context monitor for AI coding sessions Azertyuiop442Hooks · Commandsv0.2.2 | 74 | — | 74— |
| 9 | Desktop notifications for Command Code on macOS, Windows, and Linux (beta). Mahmoud BekheetHooks · Commands · Flagsv1.0.0-beta.4 | 70 | — | 70— |
| Create | Build your modAsk Command Code to write a mod, then submit it for review. | |||