Skip to content
affaan-m avatar

Agent Architecture Audit

Full-stack diagnostic that audits twelve agent layers for regressions, memory pollution, and hidden repair loops.

CCM score
63 of 100
skills.sh installs
9.1K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the 12-layer agent stack, from system prompt and memory through tool routing, answer shaping, and rendering
  • Flags wrapper regression, memory contamination, tool discipline failures, hidden repair loops, and rendering corruption, each with symptoms
  • Ranks findings by severity (critical, high, medium, low) and maps each to a source layer with file:line evidence
  • Designed for debugging agent behavior when the failing layer is unknown, or before shipping an agent stack to production

Install

$ npx -y skills add affaan-m/ecc --skill agent-architecture-audit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Agent Architecture Audit

A diagnostic workflow for agent systems that hide failures behind wrapper layers, stale memory, retry loops, or transport/rendering mutations.

When to Activate

MANDATORY for:

  • Releasing any agent or LLM-powered application to production
  • Shipping features with tool calling, memory, or multi-step workflows
  • Agent behavior degrades after adding wrapper layers
  • User reports "the agent is getting worse" or "tools are flaky"
  • Same model works in playground but breaks inside your wrapper
  • Debugging agent behavior for more than 15 minutes without finding root cause

Especially critical when:

  • You've added new prompt layers, tool definitions, or memory systems
  • Different agents in your system behave inconsistently
  • The model was fine yesterday but is hallucinating today
  • You suspect hidden repair/retry loops silently mutating responses

Details

Repository
github.com/affaan-m/ecc
Categories
AI Agents & LLM Apps, Debugging
First seen
Jul 14, 2026

Questions

What does the agent-architecture-audit skill check in an agent system?

It audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops and rendering corruption. It returns severity-ranked findings with code-first fixes.

When should I use the agent-architecture-audit skill?

Use it when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack. It suits developers building agent applications, autonomous loops or LLM-powered features.

How do I install the agent-architecture-audit skill?

Run npx -y skills add affaan-m/ecc --skill agent-architecture-audit -y inside your project. This adds the skill from the affaan-m/ecc repository to your agent.

Where does agent-architecture-audit rank among AI agent skills?

It is in the AI Agents and LLM Apps category, where it ranks in the top 100 on the category page. Microsoft Foundry and Azure AI are among the other skills listed there.

More from affaan-m/ecc

All 257

Similar to Agent Architecture Audit

More AI Agents & LLM Apps