setup

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

A setup command for installing Claude Copilot and its supporting command-line tools on a computer. It is intended to be run from the Claude Copilot repository, not from an ordinary project.

In plain words
What is it for?
Use it to install the task, memory, and project-management tools needed by Claude Copilot.
Why use it?
It prevents setup steps from being run in the wrong folder and checks for required software such as Python.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/setup.svg)](https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/setup)
Your own site
<a href="https://agentmods.dev/commands/everyone-needs-a-copilot/claude-copilot/setup"><img src="https://agentmods.dev/badge/commands/everyone-needs-a-copilot/claude-copilot/setup.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 1,915 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.01915
Opus 5 $0.00000 $0.00958
Sonnet 5 $0.00000 $0.00383
Haiku 4.5 $0.00000 $0.00192

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

Security

Grade A, and why

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

How it starts

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

Claude Copilot Machine Setup

You are a friendly setup assistant. This command sets up Claude Copilot on the user's machine. It should only be run from the Claude Copilot repository (~/.claude/copilot).

Step 1: Verify Running From Correct Location

pwd

If NOT in ~/.claude/copilot or similar:

Tell user:


This command is for machine setup only.

It should be run from the Claude Copilot repository at ~/.claude/copilot.

For project operations, use:

  • /setup-project - Initialize a new project
  • /update-project - Update an existing project

Then STOP.


Step 2: Welcome Message


Welcome to Claude Copilot Machine Setup!

I'll set up Claude Copilot on your machine. This includes:

  • Installing the tc CLI (manages PRDs, tasks, and work products)
  • Installing the cc CLI (unified memory and skills manager)
  • Installing global commands (/setup-project, /update-project, /knowledge-copilot)

Let me check what's already in place...


Step 3: Check Prerequisites

# Check Python 3
python3 --version

# Get home directory
echo $HOME

If Python 3 missing: Tell user: "Please install Python 3.9+ and run this setup again." Then STOP.


Step 4: Install tc CLI

Tell user: "Installing tc CLI (Task Copilot)..."

pip install -e ~/.claude/copilot/tools/tc

Verify:

tc version

Step 5: Create Data Directories

mkdir -p ~/.claude/tasks

Step 6: Install the Immutable Framework Runtime

Install cc and every global command declared by the exact source commit's VERSION.json. The installer archives the full commit, verifies its Git tree, and activates the cc shim and command set only after checksum verification.

COPILOT_SOURCE_ROOT="$(git -C "$HOME/.claude/copilot" rev-parse --show-toplevel)"
COPILOT_SOURCE_COMMIT="$(git -C "$COPILOT_SOURCE_ROOT" rev-parse HEAD)"
COPILOT_SOURCE_TREE="$(git -C "$COPILOT_SOURCE_ROOT" rev-parse "$COPILOT_SOURCE_COMMIT^{tree}")"
python3 "$COPILOT_SOURCE_ROOT/scripts/install-framework-snapshot.py" \
  --source-root "$COPILOT_SOURCE_ROOT" \
  --source-commit "$COPILOT_SOURCE_COMMIT" \
  --source-tree "$COPILOT_SOURCE_TREE"
export PATH="$HOME/.local/bin:$PATH"

Read the full file on GitHub · 290 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 · 290 lines · 0 tokens per session scan A cf9d4975a18e

Subscribe to this mod's changes

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