Codemode
PLUGINCode-as-Orchestration: the model writes one JavaScript snippet that calls your MCP tools (plus web_search/web_extract) in a QuickJS sandbox, loops and filters there.
by junbo-hh · v0.2.0
What it does
Code-as-Orchestration: the model writes one JavaScript snippet that calls your MCP tools (plus web_search/web_extract) in a QuickJS sandbox, loops and filters there, and returns only the answer. Tool schemas are found on demand with BM25 searchTools.
Tools it adds
The tools an agent gets once this plugin is installed.
- codemode
How to set it up
Disclosure — every run starts a short-lived local Python child process hosting QuickJS (minimal env, no API keys, no fs/network access, killed on finish or timeout); scripts can call every connected MCP tool plus web_search/web_extract (more via the setting) through ctx.dispatch_tool, which keeps per-tool approvals such as MCP trust prompts and spend limits but does not run other plugins' pre_tool_call hooks or tool middleware on those inner calls and does not apply per-platform toolset limits to them; no network calls of its own, no telemetry, no stored credentials.
extra_tools
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve