User guide¶
This section is for developers, the people who receive rules from Aegis.
You use Aegis through two things, and the installer sets up both:
- The
aegiscommand, which you run in a terminal. It asks Aegis which rules you should have and writes them into the files Claude Code reads. - The Claude Code plugin, which runs
aegis syncfor you as you work so your files stay up to date. It also adds three commands to Claude Code:/aegis:login,/aegis:initand/aegis:doctor.
Start here¶
- Install the command and the plugin.
- Log in with your Aegis address and API key.
- Let Aegis manage your machine to receive the rules for your home folder.
- Set up each repository you work in.
- Check everything works.
The Developer quickstart covers all five on one page.
What ends up on your computer¶
Aegis writes in two places:
| Where | What | When |
|---|---|---|
| Your home folder | Company-wide rules in ~/.claude/CLAUDE.md, plus settings, MCP servers, skills and agents |
After you agree with aegis manage |
| Each repository | The repository's CLAUDE.md with your teams', role's and personal notes, plus .claude/settings.json, .mcp.json, skills and agents |
After you run aegis init there |
Aegis replaces these files whole, so keep your own notes in files it doesn't write, such as
CLAUDE.local.md in a repository. If you do edit a file Aegis wrote, the next sync leaves it alone
and tells you.
In a repository, Aegis tells git to ignore every file it writes, so none of them ends up in a commit. Files the CLI writes lists them all.
If something goes wrong¶
aegis doctorchecks your setup and says what's wrong.- Troubleshooting explains each error message.
- If Aegis can't be reached, Claude Code carries on as normal. See the session hook.
Aegis works with Claude Code today. See Other clients.