workflow-audit
Skill0 starsChanged 9 months agoMITView on GitHub
Periodic self-audit of the workflow system. Reviews rule effectiveness, model performance, error patterns, and stale configuration. Use monthly or when the user says "audit workflow", "review the system", "check workflow health".
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Mark393295827/third-brain-v7-skillstheir own version, first seen May 22, 2026
- jamestexas/agentstheir own version, first seen May 16, 2026
- phntm7/skillstheir own version, first seen May 13, 2026
- bcorfman/gui-workflow-guardrailstheir own version, first seen May 2, 2026
- nickstellarstreamai/ai-opportunity-findertheir own version, first seen Mar 3, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Mark393295827/third-brain-v7-skills★ 141same name
- nickstellarstreamai/ai-opportunity-finder★ 11same name
- jamestexas/agents★ 2same name
- phntm7/skills★ 1same name
- bcorfman/gui-workflow-guardrails★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- compoundSkill
- plan-build-testSkill
- planSkill
- playwright-stealthSkill
- ship-test-ensureSkill
- update-docsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
If yes → the fix isn't being applied automatically.
- Very specific: line 58
If first_try_success_rate < 70% → propose upgrade
- Very specific: line 59
If first_try_success_rate > 90% → propose downgrade to save cost
- Distinctive: line 76
Conflict check: Do any rules contradict each other?
- Distinctive: line 87
Change provenance: Do all changes have a "Why" and "Source"?
- Distinctive: line 155
Ask user: approve / defer / reject
- Distinctive: line 156
If approved: make the change directly (update CLAUDE.md, skill, hook, or agent file)
- Distinctive: line 164
All recommendations must cite specific data from evolution files
- Distinctive: line 165
Never auto-apply changes — always ask user first
- Distinctive: line 166
Run this monthly or after 10+ sessions, whichever comes first
- Distinctive: line 167
If evolution data is empty (new system), report that and suggest running /compound after the next few tasks to build up data
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workflow Audit — Periodic System Self-Review
Audit the workflow system for effectiveness, staleness, and optimization opportunities.
This skill reads from the evolution data (~/.claude/evolution/) and evaluates whether
the system is improving, stagnating, or accumulating dead weight.
Step 1: Load Evolution Data
Read these files:
~/.claude/evolution/error-registry.json— cross-project error patterns~/.claude/evolution/model-performance.json— model success rates~/.claude/evolution/workflow-changelog.md— recent system changes~/.claude/evolution/session-postmortems/— recent session reports~/.claude/CLAUDE.md— current system rules~/.claude/projects/-root/memory/MEMORY.md— cross-project memory index
Step 2: Error Pattern Analysis
From error-registry.json:
- Frequency report: Which error categories occur most? (ENV, LOGIC, CONFIG, etc.)
- Recurrence check: Are there errors that keep recurring despite having a fix documented?
- If yes → the fix isn't being applied automatically. Propose a hook or rule change.
- Resolution effectiveness: What percentage of registered errors have
auto_preventable: true?- Target: >80% of registered errors should be auto-preventable after the fix is documented.
- Cross-project patterns: Which errors appear in 3+ projects?
- These are candidates for CLAUDE.md rules or hooks.
Step 3: Model Performance Analysis
From model-performance.json:
- Success rate table:
| Model | Task Type | Attempts | 1st Try Success | Rate | Recommendation | |--------|------------------|----------|-----------------|-------|----------------| | sonnet | implementation | 25 | 20 | 80% | Keep | | sonnet | bug_fix | 12 | 7 | 58% | Upgrade→opus | | haiku | simple_fixes | 30 | 28 | 93% | Keep | - Adaptation proposals (only if min_samples threshold met):
- If
first_try_success_rate < 70%→ propose upgrade - If
first_try_success_rate > 90%→ propose downgrade to save cost - Present proposals to user with data, don't auto-apply
- If
- Cost estimate: Based on approximate token costs per model, estimate monthly savings from proposed downgrades.
Step 4: Rule Staleness Check
From CLAUDE.md and memory files:
- List all rules (scan for imperative language: "MUST", "NEVER", "ALWAYS", etc.)
- Cross-reference with error-registry: Is each rule backed by a real error that occurred?
- Rules without backing evidence may be speculative — flag for review
- Recency check: Are there rules that were added >90 days ago and never triggered?
- These may be dead weight — propose removal or archiving
- Conflict check: Do any rules contradict each other?
Step 5: Workflow Changelog Review
From workflow-changelog.md:
- Change velocity: How many changes in the last 30 days?
- Too few (0) → system isn't learning
- Too many (>10) → system may be thrashing
- Change provenance: Do all changes have a "Why" and "Source"?
- Changes without provenance can't be evaluated for effectiveness
- Regression check: Were any changes reverted? What caused the revert?
Step 6: Session Postmortem Analysis
From session-postmortems/:
- Aggregate metrics across recent sessions:
- Average retries per session
- Most common blocked phases
- Average Phase 5 duration
- Compound completion rate (was /compound run?)
- Trend detection:
- Are retries increasing? (system getting fragile)
- Are new error categories appearing? (new problem domain)
- Is compound completion rate declining? (fatigue)
Step 7: Generate Audit Report
Present findings as a structured report:
## Workflow Audit Report — [date]
### Health Score: [1-10]
### Error Patterns
- Total registered: N
- Recurring (not auto-prevented): N — ACTION NEEDED
- Top 3 categories: [list]
### Model Performance
- Upgrade candidates: [list with data]
- Downgrade candidates (cost savings): [list with data]
- Estimated monthly token savings: $X
### Rule Health
- Total rules: N
- Rules with evidence: N
- Potentially stale (>90 days, never triggered): N — REVIEW
- Conflicts found: N
### Evolution Velocity
- Changes last 30 days: N
- Assessment: [healthy / stagnating / thrashing]
### Session Trends
- Compound completion rate: N%
- Average retries: N
- Most blocked phase: [phase]
### Recommendations (prioritized)
1. [action] — [evidence] — [expected impact]
2. ...Step 8: Apply Recommendations (with user approval)
For each recommendation:
- Present the change with evidence
- Ask user: approve / defer / reject
- If approved: make the change directly (update CLAUDE.md, skill, hook, or agent file)
- Log the change in
workflow-changelog.md
Standards
- This skill is READ-HEAVY — mostly analysis, minimal writes
- All recommendations must cite specific data from evolution files
- Never auto-apply changes — always ask user first
- Run this monthly or after 10+ sessions, whichever comes first
- If evolution data is empty (new system), report that and suggest running /compound after the next few tasks to build up data
- CRITICAL: Do NOT recommend removing rules just because error-registry has no matching entries. Rules may exist from user experience, security best practices, or prior incidents not captured in the registry. Only flag rules as "potentially stale" if they have been in place >90 days AND the error-registry has sufficient data (20+ entries) to establish that the rule's error pattern has never occurred.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

