Multi specialist doc audit

From CarlosCaPe/octorato · View interactive version

Multi specialist doc audit is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Audit a long technical document for hallucinations and uncited claims by dispatching N specialist agents in parallel, each scoped to a domain. Each returns a severity-tiered table; the orchestrator consolidates and decides surgical-fix vs full-rebuild.

How to use this skill

Skill file

Multi-Specialist Doc Audit

What

A workflow for auditing a long technical document (proposal, RFC, evaluation, RAG output) for hallucinations and unsourced claims. Instead of one agent re-reading the whole thing, dispatch N specialist agents in parallel — each scoped to its domain — and consolidate their findings into one severity-tiered audit report.

Why

A single-agent audit on a 1000+ line document either:

A multi-specialist parallel audit:

When to Use

Do NOT use for:

Workflow

1. Map domains to specialists

Identify the 3–6 distinct claim domains in the doc. Common pattern:

| Domain in the doc | Specialist agent (from the brain registry) |

|---|---|

| Cross-domain / overall narrative / metrics | Reality Checker (default-to-finding-issues) |

| Compliance, regulatory, BAA, encryption | Compliance Auditor |

| Vendor pricing, capabilities, market position | Market Research Analyst |

| OAuth, scopes, Conditional Access, infra security | Security Engineer |

| AI / ML / database / vector store / embedding claims | AI Engineer |

| Code architecture / technical correctness | Code Reviewer or Backend Architect |

Do not dispatch a specialist for a domain the doc doesn't actually cover. One unnecessary agent dilutes the consolidated report.

2. Brief each specialist with three things

Each agent gets:

  1. Scope — exactly which sections / claim types they own (and which they should NOT verify)
  2. Sources of truth — list of [KB] paths, [vendor:URL]s, captured artifacts, git log, etc.
  3. Output format — the severity table (below)

Keep prompts under ~600 words each. Specialists do better with focus than with context.

3. Severity tier table (mandatory output format)

Every specialist returns a table:

| Section | Claim | Source verification | Severity | Recommended fix |

|---|---|---|---|---|

Severity values are exactly four:

| Tier | Meaning |

|---|---|

| HALLUCINATION | Claim contradicts known truth or has zero source. Must fix. |

| UNCITED | Claim plausible but no evidence in any source. Must cite or remove. |

| ASSUMPTION | Claim explicitly hedged but presented confidently. Label or hedge. |

| VERIFIED | Claim fully backed by a citable source. No fix needed. |

Add NARRATIVE for retrospective/framing sections that aren't falsifiable but acceptable as labeled narrative.

4. Dispatch in parallel

Make all specialist calls in a single tool-use round so they run concurrently. The wall-clock cost is one agent's time, not N agents serialized.

5. Consolidate

The orchestrator receives N reports and produces:

  1. A unified severity table (worst first), grouped by tier
  2. A count: X HALLUCINATION / Y UNCITED / Z ASSUMPTION / W VERIFIED
  3. A recommendation:

6. Present and confirm

Show the consolidated table to the user. Recommend a path. Wait for user confirmation before applying fixes.

Anti-patterns

| Anti-pattern | Why it fails |

|---|---|

| One agent for the whole doc | Misses domain-specific defects; runs out of attention |

| All specialists with identical prompts | Defeats the parallelization — same issues found N times, missing issues found 0 times |

| Skipping the severity tiers | Without HALLUCINATION/UNCITED/ASSUMPTION/VERIFIED, "issues" become unprioritized |

| Defaulting to "approve" | Specialists must enter with a NEEDS-WORK prior or they rubber-stamp the doc |

| Letting specialists silently skip uncertain claims | Specialists should mark "could not verify, flag for human review" rather than omit |

| Consolidating without showing the user | The orchestrator's job is to surface findings, not bury them in a fix |

Composability

Lessons Learned

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.