claude-copilot: Command for Claude Code

.claude/commands/config.md

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.

This is Everyone-Needs-A-Copilot/claude-copilot's own configuration. It tells Claude Code how to work on claude-copilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-copilot configures →

Part of the claude-copilot plugin — 73 skills, 18 commands, 16 agents, 6 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to Everyone-Needs-A-Copilot/claude-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Everyone-Needs-A-Copilot/claude-copilot/main/.claude/commands/config.md
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 73 skills, 18 commands, 16 agents, 6 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/github.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/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 config

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00000 $0.02303
Opus 5.5 $0.00000 $0.00921
Sonnet 5.5 $0.00000 $0.00461
Haiku 4.5 $0.00000 $0.00230

Measured 1mo ago against content hash e43f7a610854, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.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. 1mo ago 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 (14 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.

Related

Other commands, from other repositories

rename

Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.

asgeirtj/system_prompts_leaks · 0 tokens

follow-up

Review and act on pending reminders. Bare invocation shows all reminders as an indexed list; cron-fired invocation (/follow-up due ) surfaces the specific reminder and waits for a response; /follow-up review lists stale project follow-up entries for per-item disposition (extend/close/promote/skip). Transport-aware…

damusix/atomic-claude · 0 tokens

help

Explain Ralph Wiggum technique and available commands.

travisjneuman/.claude · 9 tokens

orchestrate

Do this task as an orchestrator. The aim is the same result at a fraction of the cost: in a long session, every token in this conversation is re-read on each later request, while a subagent's reading is discarded when it returns. The plugin's subagents run on Haiku 5.5, about 40× cheaper per token than Opus 5.5.

egorfedorov/claude-context-optimizer · 0 tokens

scout-meta-review

Run an interactive Scout meta-review — a system-level audit that sits above the individual session types. Checks whether sessions are running, mistake audit is trending well, proposals are flowing, KB files are healthy, and data-source coverage is consistent across session types. Runs in the current conversation.

Raven-Scout/Scout · 61 tokens

graphify

Turn your vault into a clustered knowledge graph with HTML and JSON outputs.

mycelium-hq/ai-brain-starter · 13 tokens