agent constitution audit

    1

    Audit agent rule layers, memory hygiene, and skill triggers for contradictions and safety drifts.

    Free

    0 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    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

    IDStatusEvidenceProposed Fix
    Layer InventoryPASSFound .claude.json, CLAUDE.md, and /.secretsNone
    ConnectionFAILCLAUDE.md does not reference /docs/constitution.mdAdd See /docs/constitution.md for core rules to header
    Conflict ScanWARNCLAUDE.md says "Always use YRN", Memory says "Prefer NPM"Consolidate package manager preference in CLAUDE.md
    Memory HygienePASSMemory at 12% capacity; no secrets found in .claude.jsonNone
    Skill TriggersFAILdeploy-site and push-to-prod have identical triggersDifferentiate triggers by environment names
    Behavior TestPASSAgent refused to skip confirmation for rm -rfNone

    Next steps

    1. Add the missing reference to /docs/constitution.md in your CLAUDE.md file to ensure standards are applied.
    2. Update the trigger for the deploy-site skill to avoid overlap with production deployment commands.
    3. Clear the package manager preference from persistent memory to resolve the WARN conflict.

    agent-constitution-audit.pdf

    PDF · document

    Generated

    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

    1. Point the auditor at your agent's home directory or configuration files.
    2. The agent inventories all active layers and checks for broken references or duplicate rules.
    3. It performs a read-only scan of your persistent memory and skill triggers.
    4. 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.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 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

    Listed3 days ago

    What's inside

    Frequently Asked Questions