mux-config

mux-config is a command for Claude Code from wowoyong/agent-mux. It costs 11 tokens per session (2,479 once invoked), scanned A, original, MIT.

A command for viewing and changing the agent-mux routing settings stored in `.agent-mux/config.yaml`, a project configuration file.

In plain words
What is it for?
Use `/mux-config` to view the current settings, `set` to change one setting, or `reset` to restore the defaults for the selected tier.
Why use it?
It avoids editing the YAML file by hand when you need to inspect, change, or restore routing settings.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Part of the agent-mux plugin — 1 skill, 4 commands, 4 agents, 1 hook shipped together

Good fit Use /mux-config to view the current settings, set to change one setting, or reset to restore the defaults for the selected tier.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wowoyong/agent-mux/mux-config
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.

Clone the repo
git clone --depth 1 https://github.com/wowoyong/agent-mux

Made for: Claude Code.

Or install agent-mux, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 4 agents, 1 hook.

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 mux-config

README.md
[![agentmods](https://agentmods.dev/badge/commands/wowoyong/agent-mux/mux-config/github.svg)](https://agentmods.dev/commands/wowoyong/agent-mux/mux-config)
Your own site
<a href="https://agentmods.dev/commands/wowoyong/agent-mux/mux-config"><img src="https://agentmods.dev/badge/commands/wowoyong/agent-mux/mux-config/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 mux-config

Your own site · 80×15
<a href="https://agentmods.dev/commands/wowoyong/agent-mux/mux-config"><img src="https://agentmods.dev/badge/commands/wowoyong/agent-mux/mux-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,479 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.00011 $0.02479
Opus 5 $0.00005 $0.01239
Sonnet 5 $0.00002 $0.00496
Haiku 4.5 $0.00001 $0.00248

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

Security

Grade A, and why

mux-config 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 9d 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.

commands/mux-config.md · 357 lines

How it starts

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

/mux-config command

View or modify the routing configuration stored in .agent-mux/config.yaml.

Usage

  • /mux-config -- show current configuration
  • /mux-config set <key> <value> -- update a specific setting
  • /mux-config reset -- reset configuration to tier defaults

Implementation Steps

Step 1: Parse the subcommand

Look at the user's input after /mux-config:

  • No arguments → show config
  • set <key> <value>update setting
  • resetreset to defaults

Step 2: Locate the config file

The config file is at .agent-mux/config.yaml relative to the project root.

# Find the project root (where .agent-mux/ lives or should live)
PROJECT_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
CONFIG_DIR="$PROJECT_ROOT/.agent-mux"
CONFIG_FILE="$CONFIG_DIR/config.yaml"

Show current config (/mux-config)

  1. Read .agent-mux/config.yaml from the project root using the Read tool.
  2. If the file does not exist, inform the user and show default configuration for the Budget tier.
  3. Parse the YAML content and display it in this exact format:
[agent-mux] ═══ Configuration ═══
  Config file: .agent-mux/config.yaml

  Tier: {tier}

  Routing:
    engine:   {local|hybrid}
    bias:     {codex|balanced|claude|adaptive}
    split:    Claude {claude_pct}% / Codex {codex_pct}%

  Escalation:
    enabled:     {true|false}
    strategy:    {fix|fix_then_redo|full}
    max_retries: {n}

  Features:
    batch_mode:          {on|off}
    conservation_mode:   {on|off}
    parallel_dispatch:   {on|off}
    task_decomposition:  {on|off}

  Budget Warnings: {thresholds}

  Deny List:
    {deny_list_entries, one per line}
═══════════════════════════════

For features, check these YAML keys:

  • batch_mode.enabled → batch_mode
  • conservation.enabled → conservation_mode
  • parallel_dispatch.enabled → parallel_dispatch (default: off unless Standard+ tier)
  • task_decomposition.enabled → task_decomposition (default: off unless Premium+ tier)

Read the full file on GitHub · 357 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. 9d ago First seen · 357 lines · 11 tokens per session scan A 2dfd49fb11be

Subscribe to this mod's changes

mux-config is a command published in the GitHub repository wowoyong/agent-mux (1 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 2,479 once invoked, about $0.0001 per session on Opus 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.