
Agent Architecture Audit
This is a full-stack diagnostic for when your agent or LLM application works in the playground but breaks in production, or when wrapper layers somehow make the base model worse. It audits 12 layers where things go wrong: system prompts, memory pollution, tool discipline failures, hidden repair loops that silently rerun LLM calls, and rendering corruption between generation and delivery. You get severity-ranked findings with code-first fixes, not prompt tweaks. Use it when shipping agent features to production, when "the agent is getting worse" reports come in, or when you've been debugging agent behavior for more than 15 minutes without finding the root cause. The workflow searches your codebase for anti-patterns like tool requirements only in prompts instead of code, memory admission without user-correction priority, and silent output mutation layers.
- skills.sh installs
- 1.7K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill agent-architecture-audit --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Categories
- Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026
More from affaan-m/everything-claude-code
All 256- Agentic Os1.7K
- Angular Developer1.7K
- Cisco Ios Patterns1.7K
- Django Celery1.7K
- Ecc Guide1.7K
- Error Handling1.7K
- Flox Environments1.7K
- Frontend Design Direction1.7K
- Homelab Network Readiness1.7K
- Homelab Network Setup1.7K
- Ios Icon Gen1.7K
- Make Interfaces Feel Better1.7K
- Motion Advanced1.7K
- Motion Ui1.7K
- Netmiko Ssh Automation1.7K
- Network Bgp Diagnostics1.7K
- Network Config Validation1.7K
- Network Interface Health1.7K
- Plan Orchestrate1.7K
- Production Audit1.7K
- Project Guidelines Example1.7K
- Redis Patterns1.7K
- Scholar Evaluation1.7K
- Skill Stocktake1.7K