Agents

Connect your agent

Connect Claude Code, Cursor, Codex, VS Code, Copilot CLI, Windsurf, Kiro, OpenCode, Hermes, Claude.ai or ChatGPT to Repowise with one prompt or one command.

Your coding agent sets Repowise up for you. Paste one line into it and it installs the CLI, indexes the repository, wires its own MCP client and asks one question to confirm the tools answer.

Set up with one prompt

For the open-source engine on your machine, with no account and no API key:

Paste into Claude Code, Codex, Cursor or any MCP agent

Read https://docs.repowise.dev/setup.md and set up Repowise in this repository.

For Repowise Hosted, which indexes on every push and serves your team, the PR bot, Claude.ai and ChatGPT from one index:

Paste into Claude Code, Codex, Cursor or any MCP agent

Set up Repowise for this repository. Follow https://docs.repowise.dev/hosted/setup.md

Each link is a runbook written for agents: local and hosted. Paste the same prompt again any time to check the setup and finish what is missing.

Every host

repowise init wires every agent it detects. repowise agents add --target=<id> wires one later, and repowise agents add --hosted writes the hosted entry instead of the local one.

HostPageTarget idLocalHosted
Claude CodeClaude Codeclaude-codeYesYes, OAuth
Claude.ai and Claude desktopClaude connectornoneNoYes, custom connector
ChatGPTClaude connectornoneNoYes, custom MCP app
CursorCursorcursorYesYes, plugin or OAuth
Codex CLICodexcodexYesYes, OAuth
VS Code (Copilot Chat)VS Code and CopilotvscodeYesYes, OAuth
GitHub Copilot CLICopilot CLIcopilotYesBy hand, API key
WindsurfWindsurfwindsurfYesYes, OAuth
KiroKirokiroYesBy hand, API key
OpenCodeOpenCodeopencodeYesYes, OAuth
HermesHermeshermesYesBy hand, API key

Any other MCP client works too. Print the local server entry and paste it into the config the host reads:

bash
repowise agents print-config claude-code

Or point the client at repowise mcp /path/to/your/project over stdio. For hosted, any client that speaks Streamable HTTP takes the URL and an Authorization: Bearer header (API keys).

Support tiers

repowise agents lists each host with a tier derived from what repowise can do there:

TierHostsWhat the agent gets
FullClaude Code, Codex CLIMCP tools, a managed instructions file, hooks on tool calls, and transcript reading for hook stats and savings
GoodCursor, VS Code, OpenCode, Hermes, GitHub Copilot CLI, KiroMCP tools and a managed instructions file (Cursor also gets a command-rewrite hook)
BasicWindsurfMCP tools

What the agent gets

  • Ten MCP tools. get_overview, get_answer, get_context, get_symbol, search_codebase, get_risk, get_why, get_health, get_dead_code and get_change_risk. Claude Code lists all ten. Clients that send every schema on every turn list five by default; one setting lists all ten (Tool profiles).
  • Hooks. In Claude Code and Codex, context arrives without a tool call: index freshness at session start, graph context on searches, decisions at edit time, and noisy commands compressed through distill. See Hooks.
  • Skills. The Claude Code and Codex plugins add seven skills that pick the right tool at the right moment; the Cursor plugin adds one.
  • A managed instructions block. CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .cursor/rules/repowise.mdc or .kiro/steering/repowise.md, holding about 250 tokens: call a Repowise tool first, and one line per moment (before a rename, before editing, before finishing). It names only the tools that client lists.

What an unattended run needs to know

BehaviorWhy it matters to an agent
init never requires an API keyWithout a provider it builds the documentation from code and exits 0.
--yes takes every defaultWith a provider key in the environment, init --yes writes documentation with a model and accepts the cost. init --yes --no-prose makes no model calls whatever keys are set.
Exit codes carry the outcome0 ready, 2 finished with gaps (the last line names the command that fills them), 130 interrupted (repowise init --resume).
--progress json is for parsingOne JSON event per line on stdout, ending on a summary line with status, mode, spend and next. See Driving init from an agent.
No prompt without a TTYNothing waits for input. A spend over the cost threshold with no terminal and no --yes stops with an error naming --yes.

Docs in Markdown

EndpointWhat you get
docs.repowise.dev/setup.mdThe local setup runbook
Any page URL plus .mdThat page as Markdown, for example docs.repowise.dev/cli/indexing.md
Any page URL with Accept: text/markdownThe same Markdown from the page's own URL
docs.repowise.dev/llms.txtEvery docs page, titled and linked
docs.repowise.dev/llms-full.txtEvery docs page as Markdown in one document

Next

Hosted

Indexed on every push, with nothing to install.

Start free
Was this page helpful?
Report a problem with this pageUpdated