codemode

codemode is a Claude Code mod by ejklock that one codemode tool: the model writes a script that calls the session's tools, and only the script's output returns.

Updated 2026-10-13

What is codemode?

codemode is a Claude Code mod by ejklock that one codemode tool: the model writes a script that calls the session's tools, and only the script's output returns. It is listed under Interface and has 2 GitHub stars.

TypeClaude code mod
Authorejklock
Repositoryejklock/claude-code-mode
Popularity2 GitHub stars
CategoryInterface
SecurityLow risk (80/100)
Rank#1,154 of 5,272 Claude Code mods; #441 in Interface
LicenseMIT
Last commit2026-10-13
Stars this week+1
Hooks8 events
Sees? calls
Draws onToolUse, ToolResult

Is codemode safe to install?

codemode scores 80/100 on the MCPMods security check: Low risk. Things to review: sends data over the network. It passed 5 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
Sends data over the networkReview
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
$.clock.now
$.clock.sleep
$.http.fetchnetwork requests
$.process.spawn
$.state.get
$.state.set
$.tool.calldrives Claude
$.tool.list
$.tool.registerdrives Claude
$.ui.invalidatedraws interface
$.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/ejklock/claude-code-mode
    claude plugin validate ./claude-code-mode/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add ejklock/claude-code-mode && claude plugin install codemode@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/ejklock/claude-code-mode. Run claude plugin validate on it first and show me what it can access before you enable it.