From anymodel
Claude Code subagents on the models you choose: name as many agents as you like, each on a model from your own providers (LM Studio, Unsloth Studio, llama.cpp, vLLM, OpenRouter, any Anthropic-compatible API), and call them like Claude's own subagents while the main session stays on Claude.
8 events · 29 calls
Ships in anymodel. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runprocess.spawnhttp.fetchfs.writefs.existsfs.readenv.getsettings.readconfig.setprompt.submitagent.spawnsession.sendengine.createEach event it registers a hook on, with the matcher when it sets one
engine.createsession.startcommand.run{command=plugin}command.run{command=anymodel}prompt.submitsession.sendturn.stepagent.offeragent.spawnEvery mods API method its source calls, by namespace
listregisterspawnscreenregisterlistsetgetexistsreadwritefetchrunspawnappendcwdidmessagessendreadgetsetgetsetchecklistasklogtoastALL_PROXYCLAUDE_CODE_CERT_STORECLAUDE_CODE_CLIENT_CERTCLAUDE_CODE_CLIENT_KEYCLAUDE_CODE_CLIENT_KEY_PASSPHRASECLAUDE_CODE_PROXY_RESOLVES_HOSTSCLAUDE_CONFIG_DIRHOMEHTTPS_PROXYHTTP_PROXYNODE_EXTRA_CA_CERTSNODE_TLS_REJECT_UNAUTHORIZEDNODE_USE_ENV_PROXYNO_PROXYSSL_CERT_DIRSSL_CERT_FILEXDG_STATE_HOMEall_proxyhttp_proxyhttps_proxyno_proxyWhere Claude Code finds the mod
hooks/hooks.jsonhooks/anymodel.js (written ./anymodel.js)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub ph3on1x/agent-plugins-skills --plugin anymodel