codemode

codemode is a Claude Code mod by brianjmeier that one tool that runs a JavaScript program over Claude Code's own tools and returns only its final value.

Updated 2026-10-26

What is codemode?

codemode is a Claude Code mod by brianjmeier that one tool that runs a JavaScript program over Claude Code's own tools and returns only its final value. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorbrianjmeier
Repositorybrianjmeier/claude-codemode
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (92/100)
Rank#5,208 of 9,397 Claude Code mods; #2,201 in Interface
LicenseMIT
Last commit2026-10-26
Hooks4 events
Seesmcp__codemode__run calls
Draws onToolUse, ToolResult

Is codemode safe to install?

codemode scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.spawndrives Claude
$.clock.now
$.model.completedrives Claude
$.session.cwd
$.state.get
$.state.set
$.tool.calldrives Claude
$.tool.check
$.tool.list
$.tool.registerdrives Claude
$.ui.resolvedraws interface

How do I install codemode?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/brianjmeier/claude-codemode
    claude plugin validate ./claude-codemode/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add brianjmeier/claude-codemode && claude plugin install codemode@claude-codemode

Or ask Claude to set it up

Paste this into Claude Code and it installs codemode for you:

Install the "codemode" Claude Code mod from https://github.com/brianjmeier/claude-codemode. Run claude plugin validate on it first and show me what it can access before you enable it.