Route agentic-flow work across Anthropic, OpenRouter, Gemini and local ONNX models, and run the Anthropic-compatible translation proxy with its per-run token. Use when the user wants cheaper models, a non-Anthropic provider, local inference, or to point Claude Code at OpenRouter or Gemini.
84%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Set these with /plugin (configure) or in settings under pluginConfigs:
provider: anthropic (default), openrouter, gemini, onnx, requesty (sets PROVIDER)model: default model id (sets COMPLETION_MODEL); empty uses the provider's defaultopenrouter_api_key, gemini_api_key: stored in secure storageA key set in the plugin replaces the same variable from your shell for the MCP server. Left empty, the server sees an empty value, not your shell's: set the key in the plugin if you use that provider through it. ANTHROPIC_API_KEY is not a plugin setting; the server inherits it, or your Claude login, from the environment.
Never pass a key as a tool argument (anthropicApiKey, openrouterApiKey): arguments are written to the transcript, and the plugin's guard refuses such calls.
agentic_flow_agent (registered under the learning or admin profile) takes provider and model per call, overriding the defaults. Pick with the model-router agent when unsure.
agentic-flow can serve an Anthropic-compatible endpoint backed by OpenRouter or Gemini. Since 3.0.0 the proxy:
127.0.0.1 unless AGENTIC_FLOW_PROXY_HOST says otherwise, andAGENTIC_FLOW_PROXY_TOKEN if you set one).# terminal 1: the provider key stays here, in the proxy's environment
OPENROUTER_API_KEY=... npx agentic-flow proxy --provider openrouter --model deepseek/deepseek-chat
# terminal 2: use the token the proxy printed
export ANTHROPIC_BASE_URL=http://127.0.0.1:3000
export ANTHROPIC_API_KEY=<token printed by the proxy>
claudeDo not put a placeholder or dummy value in ANTHROPIC_API_KEY: the proxy rejects anything but its token. Do not bind the proxy to 0.0.0.0 on a shared network: whoever reaches the port and has the token spends your provider key.
provider: onnx runs on this machine with no key and no network for inference. Expect lower quality; use it for mechanical tasks or private text.
ruvnet/agentic-flow
fed69f4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.