Files the CLI writes¶
Everything Aegis puts on your computer. The aegis command only writes inside your home folder
and inside repositories you run it in.
Rules it delivers¶
In your home folder, once you've agreed with aegis manage:
| File | Holds | How it's written |
|---|---|---|
~/.claude/CLAUDE.md |
Company-wide instructions | Whole file replaced |
~/.claude/settings.json |
Settings and permissions | Whole file replaced |
~/.claude.json |
MCP servers | Only the MCP servers are replaced. The rest of the file belongs to Claude Code and is kept |
~/.claude/skills/<name>/ |
Skills | One folder per skill |
~/.claude/agents/<name>.md |
Agents | One file per agent |
In each repository, after aegis init:
| File | Holds |
|---|---|
CLAUDE.md |
Repository, team, role and personal instructions, in that order |
.claude/settings.json |
Settings and permissions |
.mcp.json |
MCP servers |
.claude/skills/<name>/ |
Skills |
.claude/agents/<name>.md |
Agents |
Each of these is listed in the repository's .git/info/exclude, so git ignores it.
Aegis keeps a record of every file it wrote, with a fingerprint of its contents. That's how it notices a file you've edited, so it can leave it alone, and how it knows which files to delete when a rule is removed.
Its own settings¶
These are in ~/.config/, or wherever XDG_CONFIG_HOME points:
| File | Holds |
|---|---|
aegis.json |
Your Aegis address and where your key is kept. It holds no secrets, so it's safe to share when asking for help |
aegis/api_key |
Your API key. Only you can read it |
aegis/managed.json |
Whether you've agreed to let Aegis manage this computer |
aegis/manifest-global.json |
The record of the home-folder files Aegis wrote |
aegis/repos.json |
The repositories you've set up, so aegis uninstall can find them |
aegis/last_sync* |
When the last sync ran, so the plugin doesn't sync on every message |
aegis/update_check.json |
When Aegis last checked for a new version |
aegis/hook.log |
Errors from syncs the plugin ran, which aren't shown on screen |
In each repository, the record of what Aegis wrote is .git/info/aegis-manifest.json, inside git's
own folder, so it's never committed.
The program itself¶
| Path | What |
|---|---|
~/.local/bin/aegis |
The aegis command (%LOCALAPPDATA%\Programs\aegis on Windows) |
~/.aegis/marketplace/ |
The Claude Code plugin, which Claude Code loads from here |
aegis uninstall removes all of this, and asks separately before removing the files
it delivered.