Mod your
agent.

Mods are TypeScript extensions for Command Code. Add tools, slash commands, and rules that change how your agent works.

Your agent
> git push --force origin main
LForce-pushed to main
+
A mod~/.commandcode/mods/guard.ts
1export default (cmd) => {
2 cmd.hooks({
3 beforeToolCall: ({input}) =>
4 input.command.includes('--force')
5 ? {block: true} : undefined,
6 });
7};
=
Your agent, modded
> git push --force origin main
L✕ Blocked by guard.ts

//Discover

Mods

Install one and make it part of your workflow, or build your own and publish it here.

35 mods
Community mods, ordered by the selected sort
RankModInstall
1

cmd-mod-jev-nudge

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 AwaisFeaturedOfficial

86—
2

Play chess against an LLM right in Command Code while the agent is working on your task. Zero dependencies.

Vipul Gupta

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.

holtwood

352—
4

Desktop notifications for Command Code on macOS, Windows, and Linux (beta).

Mahmoud Bekheet

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 Nguyen

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 Nguyen

1741
7

Real-time token cost, prompt cache savings, and context monitor for AI coding sessions

Azertyuiop442

122—
8

Content-addressable context store, recall tool, and compaction guard for AI coding agents

Azertyuiop442

106—
9

Fast, frecency-ranked fuzzy file and content search backed by FFF

Bilal

101—
Create

Build your mod

Ask Command Code to write a mod, then submit it for review.

Start building