- Home
- Skills
- Agents & Orchestration
- agent constitution audit
agent constitution audit
by Dontfeed
Audit agent rule layers, memory hygiene, and skill triggers for contradictions and safety drifts.
Free
Works with the AI Agents 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
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.
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.
Read-only mode by default. Behavioral tests may return UNKNOWN if internal reasoning is opaque. Requires access to local configuration files and memory stores.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
3 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 2 months ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.