Skip to content

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 aegis command, 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 sync for you as you work so your files stay up to date. It also adds three commands to Claude Code: /aegis:login, /aegis:init and /aegis:doctor.

Start here

  1. Install the command and the plugin.
  2. Log in with your Aegis address and API key.
  3. Let Aegis manage your machine to receive the rules for your home folder.
  4. Set up each repository you work in.
  5. 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 doctor checks 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.