REA + Claude Code setup (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA registers Claude Code as client ID claude_code. Setup writes MCP access and, by default, installs REA’s bundled workflow/skills so projects opened in Claude Code can call REA. This page summarizes rea-agents 6.7.0 docs — prefer upstream when wording changes.

Minimal path

npx -y rea-agents@latest setup --client claude_code
# review + approve the plan
npx -y rea-agents@latest doctor --client claude_code --skill --json

Restart Claude Code after a successful registration.

Optional isolated profile

Upstream documents a separate Claude Code profile via CLAUDE_CONFIG_DIR so REA experiments do not touch your default settings:

CLAUDE_CONFIG_DIR=~/.claude-rea npx rea-agents setup --client claude_code
CLAUDE_CONFIG_DIR=~/.claude-rea npx rea-agents doctor --client claude_code --skill --json
CLAUDE_CONFIG_DIR=~/.claude-rea npx -y rea-agents@latest setup --client claude_code --dry-run

Use Claude Code’s own multi-account / config-dir guidance for authentication side effects.

Context-window thrash note

Client-configuration docs warn that Claude Code may thrash autocompact if it assumes the wrong context window when MCP tool lists are large. Follow upstream advice (model suffix / CLAUDE_CODE_MAX_CONTEXT_TOKENS) rather than this unofficial page’s paraphrase when debugging.

Registration success does not authorize analyzing arbitrary software. Only targets you own or may examine.

RepoRead is unofficial. Prefer docs/installation.md and client-configuration.md.

FAQ

What client ID does setup use?

claude_code (see the supported-agents table in docs/installation.md).

Where do skills land for Claude Code?

Upstream documents managed shared and Claude Code personal skill locations under ~/.claude/skills so every project can call REA after registration.

Can I isolate REA to a separate Claude Code profile?

Yes — docs show CLAUDE_CONFIG_DIR=~/.claude-rea with setup/doctor scoped to that directory.

Do I need to restart Claude Code?

Restart any agent named in the setup completion message so it reloads MCP registration.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources