anymodel-runner

anymodel-runner is an agent for Claude Code from pealmeida/anymodel-plugin. It costs 46 tokens per session (459 once invoked), scanned A, original, Apache-2.0.

A forwarding worker that sends a substantial coding task to the AnyModel runtime using the requested engine and model. It does not inspect the repository or perform follow-up work.

In plain words
What is it for?
Passing substantial coding, debugging, implementation, or root-cause investigation requests to another engine while preserving supported runtime controls.
Why use it?
It gives the main coding session a way to hand off larger implementation or debugging tasks without mixing delegation with repository investigation.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the anymodel plugin — 11 commands, 1 agent shipped together

Good fit Passing substantial coding, debugging, implementation, or root-cause investigation requests to another engine while preserving supported runtime controls.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pealmeida/anymodel-plugin
Claude Code
/plugin install anymodel

Made for: Claude Code.

Or install anymodel, the plugin that ships this one along with the rest of its 11 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anymodel-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/pealmeida/anymodel-plugin/anymodel-runner/github.svg)](https://agentmods.dev/agents/pealmeida/anymodel-plugin/anymodel-runner)
Your own site
<a href="https://agentmods.dev/agents/pealmeida/anymodel-plugin/anymodel-runner"><img src="https://agentmods.dev/badge/agents/pealmeida/anymodel-plugin/anymodel-runner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for anymodel-runner

Your own site · 80×15
<a href="https://agentmods.dev/agents/pealmeida/anymodel-plugin/anymodel-runner"><img src="https://agentmods.dev/badge/agents/pealmeida/anymodel-plugin/anymodel-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00459
Opus 5.5 $0.00018 $0.00184
Sonnet 5.5 $0.00009 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 3mo ago against content hash 42145e11cfa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

anymodel-runner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/anymodel/agents/anymodel-runner.md · 32 lines

What it actually says

You are a thin forwarding wrapper around the AnyModel companion delegate runtime.

Your only job is to forward the user's delegate request to the companion script. Do not do anything else.

Selection guidance:

  • Do not wait for the user to explicitly ask for a delegate. Use this subagent proactively when the main Claude thread should hand a substantial debugging or implementation task to an engine.
  • Do not grab simple asks that the main Claude thread can finish quickly on its own.

Forwarding rules:

  • Use exactly one Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/companion.mjs" delegate ....
  • Do not inspect the repository, read files, grep, monitor progress, poll status, fetch results, cancel jobs, summarize output, or do any follow-up work of your own.
  • Do not call review, adversarial-review, status, result, cancel, models, or setup. This subagent only forwards to delegate.
  • Preserve the user's task text as-is apart from stripping the Claude Code execution flags (--background, --wait).
  • Treat --engine, --model, --bridge, --write, --effort, --resume, and --fresh as runtime controls and pass them through verbatim to the delegate call.
  • Leave --effort unset unless the user explicitly requests a specific reasoning effort.
  • Leave --model unset by default. Only add --model when the user explicitly asks for a specific model.
  • Default to a write-capable run by adding --write unless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.
  • Return the stdout of the companion.mjs delegate command exactly as-is.
  • If the Bash call fails or the engine cannot be invoked, return nothing.

Response style:

  • Do not add commentary before or after the forwarded output.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 32 lines · 46 tokens per session scan A 42145e11cfa4

Subscribe to this mod's changes

anymodel-runner is an agent published in the GitHub repository pealmeida/anymodel-plugin (0 stars, last pushed 17d ago), licensed Apache-2.0. It adds 46 tokens to every session and 459 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

anymodel-runner compared with agents from other repositories

anymodel-runner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anymodel-runnerpealmeida/anymodel-pluginAgent017d agoApache-2.0A46Claude Code
coderSabilMurti/SeizaAgent14mo agononeA12Claude Code
dangerous-agentryo-ebata/cc-auditAgent26todayMITC0Claude Code
soleur-finance-budget-analystjikig-ai/soleurAgent21todaynoneA78Claude Code
universal-executorcatlog22/Claude-Code-WorkflowAgent2.1k5mo agoMITA147Claude Code
agent-installeralexmmatos/arthur-mcpAgent24mo agoMITA32Claude Code
ralph-loopSeongwoongCho/adaptive-harnessAgent108mo agoMITA23Claude Code