Atlas Guardrails CLI
npm install atlas-guardrailsutils/date.ts when lib/time.ts already exists.
bash
gemini extensions install https://github.com/marcusgoll/atlas-guardrails
`
If installation fails, add it as a manual MCP extension:
`bash
gemini mcp add atlas -- command npx -y atlas-guardrails mcp
`
Capabilities added: atlas_index, atlas_pack, atlas_find_duplicates.
bash
claude extensions install https://github.com/marcusgoll/atlas-guardrails
`
Claude will automatically utilize SKILL.md and CLAUDE.md context to manage your repo entropy.
- Type: command
- Command: npx -y atlas-guardrails mcp
:
`json
{
"mcpServers": {
"atlas": {
"command": "npx",
"args": ["-y", "atlas-guardrails", "mcp"]
}
}
}
`
command):
`bash
npm install -g atlas-guardrails
`
Note: If you are on a version < 1.0.15, run this one last time to enable auto-updates.
Keep Atlas current with:
`bash
atlas update
`
to build/update the symbol graph.
2. Gather Context: Agent calls atlas_pack with your task description. It receives a token-optimized pack of relevant files and their dependency trails.
3. Prevent Duplication: Before the agent writes a new helper, it calls atlas_find_duplicates to see if the code already exists.
4. Enforce Guardrails: Agent runs atlas check (or you run it in CI) to ensure no public API drift occurred.
---
Documentation & Specs
* INTEGRATION.md - Full MCP & API Schema.
* CLAUDE.md - Instruction set for Claude.
* GEMINI.md - Instruction set for Gemini.
* API Documentation - TypeDoc output.
Contributing
We aim for >80% test coverage to keep the guardrails stable.
1. Fork & Clone.
2. npm install
3. npm test`