Set up with your agent
Tell your coding agent to set up RabbitLock. It installs and configures everything except the parts only you should do.
Instead of following the quickstart yourself, you can ask your coding agent to do the setup. Paste this into Claude Code, Codex, OpenCode, Cursor or any other agent that can read web pages and run commands:
Set up RabbitLock for this project: read https://rabbitlock.com/agents.md and follow it.In Claude Code you can install the setup skill instead, after which "set up RabbitLock" is enough:
/plugin install rabbitlock --marketplace rabbitlock/rabbitlockOn Claude Code versions before 2.1.275, add the marketplace first: /plugin marketplace add rabbitlock/rabbitlock, then /plugin install rabbitlock@rabbitlock.
What the agent does
- Checks Node.js and, on Linux,
bubblewrap. It asks you before installing anything withsudo. - Installs the CLI and runs
rabbitlock init --agents-md, which also adds instructions for future agent sessions toAGENTS.md. - Finds the credentials your project uses, by name only, and works out which hosts each one is sent to.
- Shows you a proposed
rabbitlock.agent.yamland writes it after you agree. - Gives you the commands to store the values, and checks the result with
rabbitlock status. - Tells you how to restart it under RabbitLock.
The full instructions it follows are public: rabbitlock.com/agents.md.
What stays with you, by design
- Typing the secrets. You run
rabbitlock import .envorrabbitlock set NAMEin your own terminal. If the agent collected the values, it would have seen them. - Approving the policy. The policy decides which hosts receive each real credential. The agent proposes it; you decide. Inside a RabbitLock session, the sandbox stops the agent from editing it.
- Restarting the agent. An agent can't put itself under RabbitLock mid-session. Exit and start it again with
rabbitlock run -- <agent>.
After the restart
The agent can check its own setup with rabbitlock status (or --json): whether it's running under RabbitLock, which variables hold placeholders, and their allowed hosts. The AGENTS.md instructions tell it how to use placeholders, what a RabbitLock 403 means, and to ask you, never the chat, for new secrets.