claude-copilot: Command for Claude Code

.claude/commands/setup-copilot.md

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

A setup command that detects whether a project already has Claude Copilot files and routes the request to the matching setup or update flow. It can also select a minimal setup when the request asks for one.

In plain words
What is it for?
Use it to set up Claude Copilot in a new project, update an existing project, or create a minimal memory-only setup when requested.
Why use it?
It removes the need to decide manually which setup command applies to the current folder and whether the project is new or already configured.

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/setup-copilot.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 setup-copilot

README.md
[![agentmods](https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot/github.svg)](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot)
Your own site
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot/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 setup-copilot

Your own site · 80×15
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/setup-copilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 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.00024 $0.00332
Opus 5.5 $0.00010 $0.00133
Sonnet 5.5 $0.00005 $0.00066
Haiku 4.5 $0.00002 $0.00033

Measured 1mo ago against content hash 7153a6d0a42b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-copilot 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/setup-copilot.md · 48 lines

What it actually says

Universal Setup Router

Auto-detects your context and runs the correct setup command.

Step 1: Detect Context

pwd
if [ -d .claude ] && { ls .claude/commands/*.md >/dev/null 2>&1 || ls .claude/agents/*.md >/dev/null 2>&1; }; then
  echo "PROJECT_EXISTS"
else
  echo "NEW_PROJECT"
fi
echo $HOME

Store: CURRENT_DIR, HOME_PATH, PROJECT_STATUS (PROJECT_EXISTS or NEW_PROJECT)

Check user's message for keywords: "minimal", "quick start", "memory only", "simple", "fast" If found, set MINIMAL_REQUESTED = true.

Step 2: Route

If CURRENT_DIR ends with /.claude/copilot:

Tell user: "Detected: Claude Copilot directory. Running machine setup." Follow /setup command.

Else if PROJECT_STATUS = "PROJECT_EXISTS":

Tell user: "Detected: Existing project (.claude/ framework files found). Running project update." Follow /update-project command.

Else if MINIMAL_REQUESTED:

Tell user: "Detected: New project. Running minimal (memory-only) setup." Follow /setup-project command (the minimal keywords will trigger its minimal flow).

Else:

Tell user: "Detected: New project. Running full project setup." Follow /setup-project command.

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 · 48 lines · 24 tokens per session scan A 7153a6d0a42b

Subscribe to this mod's changes

setup-copilot is a command published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (14 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 332 once invoked, about $0.0001 per session on Opus 5.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-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