code-mode
by gpavanello · ★ 7 · updated 2 days ago
0
Code mode for MCP: the model writes one JavaScript program that calls MCP tools in a sandbox, instead of one tool call per step.
Install
/plugin marketplace add gabe4coding/claude-code-mode/plugin install code-mode@claude-code-modeThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.endsession.starttool.callui.render- API calls
$.clock.now$.clock.sleep$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.mcp.call$.model.classify$.process.run$.process.spawn$.session.cwd$.session.id$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.call$.tool.check$.tool.list$.tool.register$.ui.invalidate$.ui.log$.ui.resolve- Draws
ToolResultAbovePrompt- Can see
? callsWrite callsEdit callsNotebookEdit callsBash callsevery tool call- Reach
- level 3 of 3 MCP serversruns processeswrites filesdrives Claudereads filesreads env varsreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/gabe4coding/claude-code-mode
- Path in repo
- repository root
- Source commit
d61b982the exact code the scan read- Author
- gpavanello @gabe4coding
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.