Set up with a coding agent
Install garage and connect a coding agent to your account.
Install the garage CLI and the garage skill. Then connect the agent to your account.
Install the CLI
Install the CLI:
npm install --global @thegarage/cli
Add the garage skill
For Claude Code, save the published skill in the project:
mkdir -p .claude/skills/garage
curl -fsSL https://thegarage.sh/skill.md \
--output .claude/skills/garage/SKILL.md
For another client with a skill system, save the same SKILL.md in the
location that client reads.
Connect the agent
Choose the flow that matches the location of the agent.
Sign in on the agent’s machine
If you can complete a browser sign-in on the agent’s machine, run:
garage setup
garage auth status --json
Have the agent start signup
Use this flow when a coding agent sets up garage for you. Also use it when the agent cannot open your browser.
-
Agent: start signup
garage agent register --email you@example.com --yesReplace the email address with yours. The command displays a claim link and a six-digit code. It then waits for your approval.
--yesskips the prompt on the agent’s machine. You must still approve in a browser. -
You: create or sign in to your account
Open the link that the agent displays. Create a garage account with the same email address, or sign in with it. Then enter the six-digit code to connect the agent.
-
Agent: verify the connection
After approval, the registration command stores the credential and prints
Agent connected. Verify the active identity:garage auth status --json
Manage the connection
List agents connected to the account:
garage agent list
Renew an expired agent credential:
garage agent refresh
Disconnect an agent and revoke the API keys issued through its registration:
garage agent revoke <registration-id> --yes
See Machine-readable documentation for the available documentation endpoints.