config

config is a command for Claude Code from Everyone-Needs-A-Copilot/claude-copilot. It costs 0 tokens per session (2,303 once invoked), scanned A, original, MIT.

A command for viewing and changing Claude Copilot settings, including ecomode, model-selection thresholds, and usage-cost tracking. It can also reset settings to their defaults.

In plain words
What is it for?
Showing current settings, enabling or disabling ecomode, viewing thresholds and cost tracking, and restoring defaults.
Why use it?
It gives one place to inspect or adjust framework behavior instead of editing configuration details manually.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Part of the claude-copilot plugin — 72 skills, 17 commands, 17 agents, 4 hooks shipped together

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 commands/everyone-needs-a-copilot/claude-copilot/config
Clone the repo
git clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilot

Made for: Claude Code.

Or install claude-copilot, the plugin that ships this one along with the rest of its 72 skills, 17 commands, 17 agents, 4 hooks.

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 config

README.md
[![agentmods](https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/config.svg)](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/config)
Your own site
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/config"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/config.svg" alt="Measured on agentmods" height="20"></a>
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 2,303 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.1 $0.00000 $0.02303
Opus 5 $0.00000 $0.01151
Sonnet 5 $0.00000 $0.00461
Haiku 4.5 $0.00000 $0.00230

Measured yesterday against content hash e43f7a610854, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

.claude/commands/config.md · 339 lines

How it starts

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

Configuration Dashboard

Display and manage Claude Copilot configuration settings, including ecomode thresholds, cost tracking preferences, and other framework settings.

Step 1: Detect Intent

Parse user input to determine action:

Pattern Action
/config (no args) Show current configuration
/config ecomode enable Enable ecomode
/config ecomode disable Disable ecomode
/config ecomode thresholds Show/update thresholds
/config ecomode cost Show cost tracking settings
/config reset Reset to defaults

Step 2: Load Current Configuration

Configuration is stored in Memory Copilot metadata. Use these tools:

  1. Get ecomode configuration from memory:

    cc memory list --tags ecomode_config
    
  2. If no config exists, use defaults:

    • enabled: false (ecomode off by default)
    • thresholds.low: 0.3 (haiku below 0.3)
    • thresholds.medium: 0.7 (sonnet below 0.7)
    • cost.displayInMemory: true (show in /memory)
    • cost.trackUsage: true (track model usage)

Step 3: Display Configuration

Show Current Configuration

Format as clean dashboard:

## Claude Copilot Configuration

### Ecomode

**Status:** [Enabled / Disabled]

**Model Routing Thresholds:**
- Low complexity (haiku): < 0.3 (default: 0.3)
- Medium complexity (sonnet): < 0.7 (default: 0.7)
- High complexity (opus): >= 0.7

**Cost Tracking:**
- Display in /memory: [Yes / No]
- Track usage: [Yes / No]

**How it works:**
- Tasks are scored 0.0-1.0 based on complexity (keywords, file count, agent type)
- Scores below 0.3 → haiku (fast, low cost)
- Scores 0.3-0.7 → sonnet (balanced)
- Scores 0.7+ → opus (complex work)
- Override anytime with keywords: `eco:`, `fast:`, `max:`, `opus:`, `sonnet:`, `haiku:`

**Current Session Cost Summary:**
Per-session cost summary is not currently available — no cost-tracking backend is wired into the framework. Cost figures shown in examples below are illustrative only.

### Configuration File

Configuration is stored in Memory Copilot at:
- Location: ~/.claude/memory/[workspace-id]/memory.db
- Tags: ecomode_config
- Type: context

To modify settings, use `/config ecomode [command]`

Read the full file on GitHub · 339 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. yesterday First seen · 339 lines · 0 tokens per session scan A e43f7a610854

Subscribe to this mod's changes

config is a command published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (13 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,303 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-09-04.