بنقرة واحدة
multi-ai-audit
Interactive orchestrator for multi-AI consensus audits with any-format input support
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Interactive orchestrator for multi-AI consensus audits with any-format input support
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run a single-session AI optimization audit on the codebase
Run a single-session code review audit on the codebase
Run a single-session engineering productivity audit on the codebase
Run a comprehensive enhancement audit across the entire project - code, product, UX, content, workflows, infrastructure, external services, and meta-tooling.
Run a single-session performance audit on the codebase
Run a comprehensive multi-stage automation audit with parallel agents
| name | multi-ai-audit |
| description | Interactive orchestrator for multi-AI consensus audits with any-format input support |
Document Version: 1.5 Last Updated: 2026-02-16 Status: ACTIVE
/multi-ai-auditSingle-entry-point skill that orchestrates the entire multi-AI audit workflow with:
Invocation: /multi-ai-audit
This skill is invoked via /multi-ai-audit. Follow the workflow state machine
below step-by-step. Do not skip phases or summarize template output.
START -> Check Session -> [No Session] -> Create New Session -> Select Category
-> [Has Session] -> Offer Resume
Select Category -> Output Template -> Await Findings
Await Findings -> [User: "add <source>"] -> Prompt for Paste -> Process Findings -> Await Findings
-> [User: "done"] -> Aggregate Category -> Select Next Category
-> [User: "skip"] -> Select Next Category
-> [User: "finish"] -> Unify All Categories -> Interactive Review -> TDMS Intake -> Roadmap Integration -> COMPLETE
-> [User: "status"] -> Show Status -> Await Findings
On skill invocation, execute these steps:
Read the state file:
// Read: .claude/multi-ai-audit/session-state.json
If session exists and status !== "complete":
Present to user:
Found incomplete session: [session_id]
Created: [date]
Current category: [category or "none"]
Completed: [list of completed categories]
Pending: [list of pending categories]
Options:
1. Resume this session
2. Start fresh (new session)
Wait for user choice before proceeding.
If no session or user chooses fresh:
node scripts/multi-ai/state-manager.js create
This creates:
maa-YYYY-MM-DD-<random6>docs/audits/multi-ai/<session-id>/
raw/ - For user-pasted findingscanon/ - For aggregated findingsfinal/ - For unified output.claude/multi-ai-audit/session-state.jsonAfter session creation (or when starting a fresh session), present scope options:
=== Multi-AI Audit: [session_id] ===
Audit scope:
a. All categories (full 9-category sweep)
b. Select specific categories
c. Single category
Enter choice:
Option "a" (all): Set all 9 categories to pending. Proceed to first category.
Option "b" (select): Display numbered list:
Available categories:
1. code-quality
2. security
3. performance
4. refactoring
5. documentation
6. process
7. engineering-productivity
8. enhancements
9. ai-optimization
Enter category numbers (comma-separated, e.g., 1,3,7):
Set selected categories to "pending", all others to "skipped". Proceed to first selected category.
Option "c" (single): Display same numbered list, user picks exactly one.
Update state file with selected categories:
node scripts/multi-ai/state-manager.js update <session-id> selected_categories='["security","performance"]'
=== Multi-AI Audit: [session_id] ===
Select a category to audit:
1. code - Code quality, hygiene, types, testing
2. security - Rate limiting, auth, input validation, OWASP
3. performance - Bundle, rendering, memory, vitals
4. refactoring - Duplication, architecture, boundaries
5. documentation - Links, staleness, coverage, tiers
6. process - CI/CD, hooks, scripts, triggers
7. engineering-productivity - Golden path, debugging, DX
8. enhancements - Feature gaps, UX improvements, nice-to-haves
9. ai-optimization - Token waste, skill overlap, hook latency
Enter category name or number (or "status" to see progress):
Read
.claude/skills/multi-ai-audit/templates.mdfor template code blocks, example prompts, JSONL schema examples, and detailed phase instructions covering:
- Phase 2: Template output (reading, placeholder filling, full output)
- Phase 3: Collecting findings (paste handling, normalize/fix pipeline)
- Phase 4: Category aggregation (dedup, consensus, CANON IDs)
- Phase 5: Cross-category unification
- Phase 6: Interactive review (mandatory before TDMS intake)
- Phase 7: TDMS intake (dry-run, execute, report)
- Phase 8: Roadmap integration (placement analysis, severity rules)
- Phase 9: Final summary and session completion
When user says "status" at any point:
=== Session Status: [session_id] ===
Created: [date]
Phase: [collecting|aggregating|unifying|intake|roadmap|complete]
Current category: [category or none]
Category Progress:
[check] code - 34 findings from 3 sources
[check] security - 28 findings from 2 sources
[o] performance - collecting (1 source so far)
[-] refactoring - pending
[-] documentation - pending
[-] process - pending
[-] engineering-productivity - pending
[-] enhancements - pending
[-] ai-optimization - pending
Legend: [check] complete, [o] in progress, [-] pending
Commands:
- Select category: Enter name or number (1-9)
- Add findings: "add <source>"
- Aggregate: "done"
- Skip: "skip"
- Finish: "finish"
If the skill is invoked after context compaction:
.claude/multi-ai-audit/session-state.jsondocs/audits/multi-ai/<session>/state.jsonIf normalize-format.js encounters issues:
Schema fixer never rejects findings - it always produces output:
| Version | Date | Changes |
|---|---|---|
| 1.5 | 2026-02-16 | Added Step 1.3 (audit scope selection) for category scoping: all, select, or single category mode; renumbered category menu to Step 1.4 |
| 1.4 | 2026-02-16 | Added enhancements + ai-optimization categories (7->9), updated template mapping, output checklist, status display, roadmap integration table, and all count references |
| 1.3 | 2026-02-06 | Added per-category output checklist to Step 2.3 to prevent template summarization/truncation (recurring error) |
| 1.2 | 2026-02-17 | Added Phase 6 (Interactive Review) — mandatory user review before TDMS intake; renumbered remaining phases 7-9 |
| 1.1 | 2026-02-05 | Added TDMS intake, roadmap integration, summary phases — automates the full pipeline from unified findings through MASTER_DEBT.jsonl and roadmap track assignment |
| 1.0 | 2026-02-04 | Initial skill creation |