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 | 86 | — | 86— |
| 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 | 533 | — | 533— |
| 3 | 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 | 352 | — | 352— |
| 4 | Desktop notifications for Command Code on macOS, Windows, and Linux (beta). Mahmoud BekheetHooks · Commands · Flagsv1.0.0-beta.4 | 285 | — | 285— |
| 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.20 | 182 | 1 | 1821 |
| 6 | 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.20 | 174 | 1 | 1741 |
| 7 | Real-time token cost, prompt cache savings, and context monitor for AI coding sessions Azertyuiop442Hooks · Commandsv0.2.2 | 122 | — | 122— |
| 8 | Content-addressable context store, recall tool, and compaction guard for AI coding agents Azertyuiop442Tools · Commands · Hooks · Renderersv1.1.2 | 106 | — | 106— |
| 9 | Fast, frecency-ranked fuzzy file and content search backed by FFF BilalTools · Commandsv0.0.1 | 101 | — | 101— |
| Create | Build your modAsk Command Code to write a mod, then submit it for review. | |||