Quickstart
Install the Carrick GitHub App, let Carrick build the index, then run carrick init so your coding agent has the hooks, skills and MCP connection.
You need TypeScript repositories hosted on GitHub, and Node 24 or newer for the CLI. If a repository uses Deno, you also need Deno 2.9.4 or newer on the path.
One person installs the GitHub App for the organisation once. Each developer then runs carrick init on their own machine.
1. Install the GitHub App
Sign in at app.carrick.tools and press Install to add the Carrick GitHub App to your repositories, which needs a workspace owner or admin.
2. Build the index
Carrick builds the index without running anything on your machine. Your repository access setting on GitHub decides what Carrick indexes:
- Only select repositories: Carrick indexes every selected repository.
- All repositories: Carrick indexes nothing until you choose repositories on the checklist in the dashboard.
The first index builds in the cloud automatically, and Carrick rebuilds it on every push to a repository’s default branch. Everyone in the workspace gets an email when the index is ready. Carrick also checks pull requests on every connected repository, with nothing to add to your repositories.
3. Each developer runs carrick init
In the folder that holds your repositories (or in a single repository), run:
npm install -g carrick
carrick init
carrick init opens your browser to sign you in to Carrick. Because Carrick builds the index for these repositories, it then asks nothing further: it lists what it will add and sets up the repositories in the folder that your Carrick workspace holds. It does this:
- Adds the Carrick MCP server to Claude Code, and to Cursor, Windsurf and VS Code when it finds them on your machine.
- Writes the Carrick hooks into
.claude/settings.json, or into.claude/settings.local.jsonwhencarrickis not on yourPATH, and into.codex/hooks.json. - Writes the five task skills into
.claude/skills/and.agents/skills/. - Adds a short section to
AGENTS.mdthat points your agent to the rules in.carrick/RULES.md. - Reads your index onto the machine, into
.carrick/, socarrick check <file>can answer locally. If Carrick has not finished building an index yet, init says so, andcarrick refreshreads it in once it is ready.
For a folder of several repositories, the hooks and skills are also written inside each repository, and kept out of git through that repository’s own exclude file.
Run carrick login first if you want to sign in before setting anything up. While your agent edits explains what the hooks do in a session.
Codex
carrick init writes the Codex hooks but does not add the MCP server to Codex. Run these two commands:
codex mcp add carrick --url https://api.carrick.tools/mcp
codex mcp login carrick
Then open codex in the folder once and choose to trust the project’s hooks. Only the Codex terminal app asks. Until you do, Codex skips the hooks without saying so.
4. Ask your agent
Open a new agent session in the folder, so it loads the MCP server and the hooks. Your agent may ask you to approve its access in the browser on its first Carrick call. Once the index is ready, ask:
Use Carrick to list every service in our project and the number of endpoints each one exposes.
Without the CLI
If you use Carrick from a chat connector or another agent that cannot run the CLI, you can add just the MCP server. That installs no hooks, skills or AGENTS.md section, so nothing prompts your agent to consult Carrick. See Connecting your agent.
Next steps
- Building the index covers what keeps the index current and how to rescan a repository.
- In your editor installs the extension for diagnostics and cross-service go to definition.
- Connecting your agent covers Codex and other MCP clients.
- CLI lists every command, including
carrick remove.