accessibility
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when…
Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for
$ npx -y skills add affaan-m/ECC --skill agent-architecture-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-architecture-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for
name: agent-architecture-audit description: Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack. metadata: origin: oh-my-agent-check tools: Read, Write, Edit, Bash, Grep, Glob
A diagnostic workflow for agent systems that hide failures behind wrapper layers, stale memory, retry loops, or transport/rendering mutations.
**MANDATORY for:**
**Especially critical when:**
**Do not use for:**
Every agent system has these layers. Any of them can corrupt the answer:
| # | Layer | What Goes Wrong | |---|-------|----------------| | 1 | System prompt | Conflicting instructions, instruction bloat | | 2 | Session history | Stale context injection from previous turns | | 3 | Long-term memory | Pollution across sessions, old topics in new conversations | | 4 | Distillation | Compressed artifacts re-entering as pseudo-facts | | 5 | Active recall | Redundant re-summary layers wasting context | | 6 | Tool selection | Wrong tool routing, model skips required tools | | 7 | Tool execution | Hallucinated execution — claims to call but doesn't | | 8 | Tool interpretation | Misread or ignored tool output | | 9 | Answer shaping | Format corruption in final response | | 10 | Platform rendering | Transport-layer mutation (UI, API, CLI mutates valid answers) | | 11 | Hidden repair loops | Silent fallback/retry agents running second LLM pass | | 12 | Persistence | Expired state or cached artifacts reused as live evidence |
The base model produces correct answers, but the wrapper layers make it worse.
**Symptoms:**
Old topics leak into new conversations through history, memory retrieval, or distillation.
**Symptoms:**
Tools are declared in the prompt but not enforced in code. The model skips them or hallucinates execution.
**Symptoms:**
The agent's internal answer is correct, but the platform layer mutates it during delivery.
**Symptoms:**
Silent repair, retry, summarization, or recall agents run without explicit contracts.
**Symptoms:**
Define what you're auditing:
Gather evidence from the codebase:
Use `rg` to search for anti-patterns:
# Tool requirements expressed only in prompt text (not code) rg "must.*tool|必须.*工具|required.*call" --type md # Tool execution without validation rg "tool_call|toolCall|tool_use" --type py --type ts # Hidden LLM calls outside main agent loop rg "completion|chat\.create|messages\.create|llm\.invoke" # Memory admission without user-correction priority rg "memory.*admit|long.*term.*update|persist.*memory" --type py --type ts # Fallback loops that run additional LLM calls rg "fallback|retry.*llm|r
Your agent can write code, but ECC gives it a coordinated engineering system and toolbox: it plans before it builds, verifies changes with tests, reviews its own work from a fresh context, remembers what matters, and turns repeated wins into reusable skills
Repo: affaan-m/ECC
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when…
Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when…
Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent's…
Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails…
Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer…
Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with…