zcode

A desktop coding agent named ZCode that can use a provider and model configured in CCR Desktop. It runs as an installed app rather than in the terminal.

In plain words
What is it for?
Use it to create a ZCode profile, choose its provider and model, and launch ZCode from CCR.
Why use it?
It keeps ZCode's launch and model settings in one place and provides a direct way to open the app.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/musistudio/claude-code-router/zcode
Clone the repo
git clone --depth 1 https://github.com/musistudio/claude-code-router
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 850 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00850
Opus 5 $0.00000 $0.00425
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

Measured 2d ago against content hash b80a54b138f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

zcode 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 2d 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.

docs/src/content/docs/en/configuration/agents/zcode.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Who this is for

ZCode is a coding agent that runs as a desktop app. In CCR it is App only.

Use this page to route ZCode to any CCR provider or Fusion model, or to attach an IM bot.

New to CCR? Add a provider and model first. See Add a provider and the Agent Config overview.

Prerequisites

  1. CCR Desktop is running with at least one provider + model configured.
  2. The ZCode desktop app is installed and logged in on this machine.
  3. You are on Agent Config and click Add profile.

Create the profile

  1. On Agent Config, click Add profile and choose ZCode.
  2. Enter a Config name (for example ZCode - Work).
  3. Confirm Provider ID, Provider name, and ZCode model.
  4. Adjust advanced settings only if your local setup needs them.
  5. If you use AgentClaw, bind a Bot.
  6. Save, then open ZCode from CCR with the play button.

Configuration reference

ZCode is fixed to App only, so the entry mode is not editable. The fields you configure are:

Field How to set it Effect
Agent Choose ZCode Creates a ZCode App launch entry in CCR.
Config name Free text, e.g. ZCode - Work Identifies the profile. Desktop commands use ccr-app "<name>" app; CLI commands use ccr "<name>" app.
Enabled Toggle on/off Disabled profiles are not applied and not offered as launch entries.
Effect scope Only opened from CCR / System default Keeps the profile limited to CCR launches, or makes it the system-default ZCode profile. Only one enabled system-default ZCode profile is allowed.
Provider ID Default claude-code-router Provider reference for this ZCode profile.
Provider name Free text; default Claude Code Router Display name shown in ZCode.
ZCode model A provider model or Fusion model Default model when ZCode App opens.
Config file Path Used for the system-default ZCode profile.
Environment variables Key/value rows Optional advanced overrides; leave empty for normal use.
Bot Select a saved Bot Binds an AgentClaw IM bot to the ZCode App entry.

Read the full file on GitHub · 83 lines

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. 2d ago First seen · 83 lines · 0 tokens per session scan A b80a54b138f9

Subscribe to this mod's changes

zcode is an agent published in the GitHub repository musistudio/claude-code-router (37,021 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 850 tokens. 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-30.

Related

Other agents, from other repositories

system-architect

Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…

rtk-ai/rtk · 0 tokens

model-compatibility

Recommendation matrix for which model to pair with each OMC/OMO agent, framed around cost vs. quality. This page exists so the recurring "어떤 모델을 어느 agent에 박아야 함?" question stops being tribal Discord knowledge.

Yeachan-Heo/oh-my-claudecode · 0 tokens

AGENTS

In-depth tutorials on LLMs, RAGs and real-world AI agent applications.

patchy631/ai-engineering-hub · 0 tokens

dynamic-agents

Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.

VoltAgent/voltagent · 0 tokens

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

memory

VoltAgent's Memory class stores conversation history and enables agents to maintain context across interactions. Supports persistent storage, semantic search, and working memory.

VoltAgent/voltagent · 0 tokens