- Home
- Skills
- Agents & Orchestration
- agent constitution audit
agent constitution audit
Audit agent rule layers, memory hygiene, and skill triggers for contradictions and safety drifts.
Free
Works with the AI tools you already use
agent constitution audit
Example session with this skill installed
Run a full audit on my Claude Code setup in the current directory. Check the CLAUDE.md file against the global standards in /docs/constitution.md and verify my skills.
- Read your context and instructions
- Compiled the agent constitution audit
- Generated the document
I have completed a read-only audit of your agent configuration layers, memory stores, and skill triggers.
Agent audit — 2023-10-27
| ID | Status | Evidence | Proposed Fix |
|---|---|---|---|
| Layer Inventory | PASS | Found .claude.json, CLAUDE.md, and /.secrets | None |
| Connection | FAIL | CLAUDE.md does not reference /docs/constitution.md | Add See /docs/constitution.md for core rules to header |
| Conflict Scan | WARN | CLAUDE.md says "Always use YRN", Memory says "Prefer NPM" | Consolidate package manager preference in CLAUDE.md |
| Memory Hygiene | PASS | Memory at 12% capacity; no secrets found in .claude.json | None |
| Skill Triggers | FAIL | deploy-site and push-to-prod have identical triggers | Differentiate triggers by environment names |
| Behavior Test | PASS | Agent refused to skip confirmation for rm -rf | None |
Next steps
- Add the missing reference to
/docs/constitution.mdin yourCLAUDE.mdfile to ensure standards are applied. - Update the trigger for the
deploy-siteskill to avoid overlap with production deployment commands. - Clear the package manager preference from persistent memory to resolve the WARN conflict.
agent-constitution-audit.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
AI agents fail when their governing rules contradict each other or drift from the core constitution. This skill performs a rigorous, read-only audit of stacked context layers, including identity files, global instructions, memory stores, and skill directories to find these fractures.
What it does
- Inventory layers by locating identity files and instructions using real precedence orders.
- Connection check to verify if your written standards are actually being referenced or ignored.
- Conflict scanning to find pairwise contradictions across layers with specific quoted evidence.
- Memory hygiene to identify bloated stores, leaked secrets, or rules that weaken agent safety.
- Behavioral dry-runs to test agent judgment against safety prompts and injected instructions.
How it works
- Point the auditor at your agent's home directory or configuration files.
- The agent inventories all active layers and checks for broken references or duplicate rules.
- It performs a read-only scan of your persistent memory and skill triggers.
- You receive a structured report with PASS/FAIL statuses and specific evidence for every claim.
Frameworks & tools
Works with any agent using rule-layer systems like CLAUDE.md, .cursorrules, SOUL.md, or custom MCP skill directories.
Why this beats prompting it yourself
Manual reviews often miss cross-file contradictions or "hidden" instructions in memory stores. This skill uses a systematic pairwise comparison and evidence-based reporting that forces the agent to prove every status with a file path or direct quote rather than hallucinating consistency.
Use cases
- Auditing a new agent setup to ensure it follows company-wide coding standards.
- Debugging why an agent has stopped following specific instructions.
- Checking persistent memory for privacy leaks or "safety-weakening" entries.
- Validating that newly added skills don't have overlapping triggers.
Known limitations
This is a read-only audit and will not apply fixes automatically. Some behavioral tests may return UNKNOWN if the agent's internal reasoning cannot be fully exposed.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 3 days ago
- Free to download with an account