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

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

Bilal

101—
3

Run linters and type checkers after every edit and feed the problems back to the agent

Bilal

91—
4

Fewer tokens on tool output: rtk command rewriting and compaction of build, test, git, lint, and search output

Bilal

85—
5

Desktop notifications and sounds when the agent finishes, fails, or needs you

Bilal

79—
6

cmd-mod-hi

Roasts you every time you greet your agent with "hi". One transformInput hook plus a renderer, and a /hi-stats command that tallies the damage.

Ahmad AwaisOfficial

28—
7

Detects compaction-summary bloat in session transcripts (stacked summaries that compound until context explodes and every request 400s) and repairs it with /compact-repair.

Ahraz Arifuddin

—
8

Command Code mod that puts cache hit ratio and decode throughput in the footer.

Mohammad Aziz

——
9

Save and return to labelled session points with /bookmark and /jump-bookmark. Part of the cmd-mods collection; installing adds all 10 mods.

Obaid Nadeem

—
Create

Build your mod

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

Start building