setup

setup is a command for Claude Code from ruvnet/ruv-FANN. It costs 0 tokens per session (987 once invoked), scanned B, original, MIT.

A setup guide for coordinating Claude Code agents through GitHub. It covers the required GitHub connection, optional command-line tool, shared swarm settings, and task commands.

In plain words
What is it for?
Use it to configure a swarm ID and repository, authenticate GitHub, check status, find or claim issues, and update task progress.
Why use it?
It helps a group of agents share a repository, find available GitHub tasks, claim work, and report progress.

Command for Claude Code

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

Good fit Use it to configure a swarm ID and repository, authenticate GitHub, check status, find or claim issues, and update task progress.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ruvnet/ruv-fann/setup
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/ruvnet/ruv-FANN

Made for: Claude Code.

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/ruvnet/ruv-fann/setup/github.svg)](https://agentmods.dev/commands/ruvnet/ruv-fann/setup)
Your own site
<a href="https://agentmods.dev/commands/ruvnet/ruv-fann/setup"><img src="https://agentmods.dev/badge/commands/ruvnet/ruv-fann/setup/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ruvnet/ruv-fann/setup"><img src="https://agentmods.dev/badge/commands/ruvnet/ruv-fann/setup.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 987 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00987
Opus 5 $0.00000 $0.00494
Sonnet 5 $0.00000 $0.00197
Haiku 4.5 $0.00000 $0.00099

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

Security

Grade B, and why

setup scanned grade B with 1 finding 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 12d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install gh
.claude/commands/github/setup.md · 175 lines

How it starts

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

GitHub Swarm Coordination Setup

Quick setup guide for GitHub-based swarm coordination in Claude Code.

Prerequisites

  1. GitHub MCP server installed:

    claude mcp add github "npx @modelcontextprotocol/server-github"
    
  2. GitHub CLI installed (optional but recommended):

    # macOS
    brew install gh
    
    # Linux
    sudo apt install gh
    
    # Then authenticate
    gh auth login
    

Configuration

1. Set Your Swarm ID

# In your shell or .env
export CLAUDE_SWARM_ID="my-unique-swarm-id"

# Or let it auto-generate
export CLAUDE_SWARM_ID="swarm-$(date +%s)"

2. Configure Repository

# Set default repo for commands
export GITHUB_OWNER="ruvnet"
export GITHUB_REPO="ruv-FANN"

3. Add Command Aliases (Optional)

Add to your shell profile:

# Quick GitHub swarm commands
alias swarm-status="/github status"
alias swarm-tasks="/github tasks"
alias swarm-claim="/github claim"
alias swarm-update="/github update"

First Time Usage

  1. Check system status:

    /github status
    
  2. Find available work:

    /github tasks --priority high
    
  3. Claim your first task:

    /github claim <issue_number>
    
  4. Update progress:

    /github update <issue_number> "Started implementation"
    

Label Setup (For Maintainers)

Create these labels in your GitHub repo:

# Priority labels
gh label create "priority: critical" --color FF0000
gh label create "priority: high" --color FFA500  
gh label create "priority: medium" --color FFFF00
gh label create "priority: low" --color 808080

# Area labels
gh label create "area: core" --color 0052CC
gh label create "area: mcp" --color 5319E7
gh label create "area: neural" --color 206B38
gh label create "area: wasm" --color B60205
gh label create "area: docs" --color 1D76DB

# Coordination labels
gh label create "available" --color 0E8A16
gh label create "swarm-claimed" --color F9D0C4
gh label create "help-wanted" --color 008672

Read the full file on GitHub · 175 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. 12d ago First seen · 175 lines · 0 tokens per session scan B 5f357bb7449f

Subscribe to this mod's changes

setup is a command published in the GitHub repository ruvnet/ruv-FANN (380 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 987 tokens. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.