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
Community mods
Install one and make it part of your workflow, or build your own and publish it here.
- HooksCommandsRenderersOfficialv0.1.1
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.
by Ahmad Awais
210 - Commands
cmd-mod-bookmarks
Save and return to labelled session points with /bookmark and /jump-bookmark. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - Commands
cmd-mod-context-meter
Show measured context use in the footer and with /context-meter. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - CommandsHooks
cmd-mod-focus
Keep work scoped with /focus, a session-persistent prompt reminder. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - Commands
cmd-mod-git-summary
Show /git-summary without spending a model call. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - Commands
cmd-mod-pr-draft
Draft a PR title and body with /pr-draft using actual Git changes. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - Commands
cmd-mod-release-notes
Write /release-notes from a base ref, separating uncommitted work. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0 - Commands
cmd-mod-review
Evidence-based /review-changes for bugs, regressions, and test gaps. Part of the cmd-mods collection; installing adds all 10 mods.
by Obaid Nadeem
—0
//Create
Start with an idea.
Copy a prompt into Command Code. It builds the mod, then you can refine it together.