masih-0x3/agent-skills/audit-orchestrator
Claude Code and agent skill by masih-0x3/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Orchestrate a scoped, goal-backed multi-agent audit loop from one parent thread only when the audit is large or complex enough to benefit from delegation. Use when the user asks for an audit conductor/orchestrator, scoped audit plan, UI/UX/backend/security/performance/product audit with subagents, or wants an audit plan turned into /goal and iterated until done criteria are satisfied. Do not use for small one-file reviews, narrow bug checks, or implementation-first work; use a direct audit/review instead.
Install
npx vskill@latest install masih-0x3/agent-skills/audit-orchestratorSKILL.md
The same SKILL.md was published earlier as masih-0x3/agent-skills/audit-orchestrator.
Audit Orchestrator
Purpose
Run a serious audit as a parent-thread program: define scope, turn it into a verifiable /goal contract, dispatch narrow independent audit workers, collect evidence, deduplicate findings, close coverage gaps through follow-up cycles, and produce one actionable report.
This is an audit skill. Default to read-only. Do not implement fixes unless the user explicitly switches from audit to remediation.
When Not To Use
- The task is a normal code review, single-file inspection, or small bug diagnosis.
- The user already knows the exact fix and wants implementation.
- The audit cannot be scoped to a product surface, subsystem, workflow, or risk category.
- Subagents/tools are unavailable and the audit is small enough for one agent to do directly.
- The audit can be completed well by one agent in one pass with fewer than three distinct inspection surfaces.
Required Inputs
- Target repo/path, branch, app route, host, PR, issue, or product surface.
- Audit scope, such as UI/UX, backend, security, performance, data, architecture, release readiness, or a named workflow.
- Whether the audit is read-only or may create a report artifact.
Optional Inputs
- Priority standard: launch blocker, production risk, polish, compliance, product quality, cost, performance, or maintainability.
- Surfaces to include/exclude.
- Desired report format or artifact path.
- Permission to use live authenticated surfaces, browser checks, databases, CI, or external APIs.
Complexity Gate
Before invoking subagents, decide whether orchestration will improve quality enough to justify overhead.
Use this skill fully when at least two of these are true:
- The audit spans three or more distinct surfaces, such as UI, API, database, auth, deploy, security, or performance.
- The repo/product is large enough that one broad pass is likely to miss issues.
- The user explicitly asks for a conductor, orchestrator, subagents, parallel audit, or goal-backed audit program.
- The audit needs different expert lenses, such as frontend design, security, backend contracts, release readiness, or data integrity.
- Findings must be synthesized into an evidence-backed report for implementation planning.
- There is prior context, a disconnect, or multiple worker threads to reconcile.
Use a direct single-agent audit instead when:
- The scope is one file, one component, one route, one failing behavior, or one small UI area.
- The expected output is a short answer, quick code review, or small issue list.
- Subagents would mostly inspect the same files or duplicate each other.
- The overhead of coordination would exceed the likely quality gain.
If the user explicitly asks to use this skill but the job is small, say so and run a lightweight mode: one parent-only audit, no subagents, same evidence standard.
Worker Scaling
Scale workers to the job, not to a fixed template.
0 workers: tiny or narrow audit; parent does it directly.1-2 workers: small but cross-cutting audit; use workers for independent specialist checks only.3-5 workers: normal orchestrated audit across distinct scopes.6-8 workers: large audit with clearly separable product, code, data, security, and release surfaces.9+ workers: avoid by default; only use when the repo is very large, scopes are truly independent, and the parent can still verify synthesis.
Prefer fewer, sharper workers. Add a worker only when it has a distinct evidence source, skill lens, or product surface.
Required orchestration decision receipt:
Default worker policy:
- If the user explicitly asks for an audit conductor, orchestrator, workers, subagents, or parallel audit on a multi-surface task, default to at least
1worker unless the parent states a concrete reason not to. - If the audit spans three or more independent surfaces, default to
2-5workers. - If the audit involves security, release readiness, production validation, data integrity, or authenticated browser behavior, prefer a separate specialist or validation worker when available.
- Parent-only audit is allowed for narrow scopes, but the receipt must explain why workers would not improve evidence or coverage.
- Do not dispatch broad duplicate workers. More workers are useful only when each has a distinct evidence source, skill lens, product surface, or validation responsibility.
Visible threads are not audit workers. Use workers/subagents for bounded audit coverage inside one parent-owned task. Create user-visible Codex threads only for explicit user-owned lanes, long-lived handoffs, separate worktrees, or follow-ups the user asked to manage directly. Do not use visible threads as hidden scratch space or as a generic context-limit workaround.
Orchestration Workflow
- Anchor the parent thread.
- Read
AGENTS.md, README, package scripts, relevant docs, current branch, and dirty state. - Identify repo, route/host, database, deploy platform, test commands, and the product workflow under audit.
- Preserve unrelated user work. Start read-only.
- Run the complexity gate.
- Decide direct audit, lightweight mode, or full orchestration.
- State the chosen worker count and why.
- Emit the orchestration decision receipt before collecting audit evidence.
- Include whether visible thread creation is appropriate and why.
- Include a reconsider trigger for adding workers if coverage is incomplete, evidence conflicts, or the user challenges parent-only mode.
- If full orchestration is not justified, do not dispatch workers just because the skill was invoked.
- Define the audit contract.
- Convert the user scope into a bounded audit plan with inclusion/exclusion rules.
- State evidence required for findings: file references, screenshots, tests, logs, rows, traces, build output, or live checks.
- Define severity labels and what counts as a blocker.
- Turn the plan into a goal and run the loop.
- If goal tooling is available and the user asked for an orchestrated audit run, create a compact goal contract before dispatching workers.
- The goal must include: scope, evidence standard, worker plan, read-only default, report format, anti-cheat rules, and stop conditions.
- Treat the goal as the operating ledger for the audit: record worker scopes, completed checks, unresolved gaps, blocked checks, and report status.
- After each worker cycle, compare the evidence against the goal's done criteria.
- If coverage is incomplete, dispatch a narrower follow-up cycle or inspect the gap in the parent thread.
- Continue until the audit satisfies the done criteria, the remaining gaps are explicitly out of scope, or a real blocker prevents progress.
- Do not create a goal for a tiny audit or explanation-only request.
- Decompose into workers.
- Assign one narrow duty per worker. Avoid broad duplicate prompts.
- Use parallel workers only for independent surfaces. Keep live database/API reads bounded and avoid noisy parallel production queries.
- Assign each worker a relevant skill/tool route when one exists; if none fits, state that the worker should use local repo instructions and general audit discipline.
- For browser evidence that should not interrupt the user, route the browser lane through
background-browser-operatorand keep the audit read-only.
- Dispatch worker prompts.
- Give each worker the minimum context needed: target, exact scope, read-only rule, evidence standard, output schema, and exclusions.
- Do not leak expected findings or parent conclusions.
- Tell each worker which skill(s) to load or consider for its job.
- Require exact file paths, line references, commands, screenshots, live checks, or logs for every claim.
- Synthesize results.
- Deduplicate overlapping findings.
- Resolve conflicts by checking source evidence yourself in the parent thread.
- Reject unsupported or generic best-practice findings.
- Classify each valid finding by severity, confidence, affected workflow, evidence, and recommended fix.
- Produce the audit report.
- Lead with highest-risk findings.
- Separate confirmed issues from candidates, blocked checks, and out-of-scope observations.
- Include a remediation backlog only after the audit findings are clear.
- If the next step is implementation, propose a separate implementation orchestration plan rather than silently switching modes.
Goal Loop Contract
Use /goal as the continuity mechanism for orchestrated audits. The parent thread must keep ownership of the goal from kickoff to final report.
Each loop should follow this rhythm:
Plan: state the next audit slice, worker scopes, evidence required, and stop condition.Dispatch: send narrow worker tasks only where independent evidence will improve quality.Collect: receive worker reports with exact evidence and blockers.Verify: parent checks high-risk claims and rejects unsupported findings.Gap check: compare coverage against the goal's done criteria.Continue or close: run another focused cycle, mark explicit blockers, or produce the final report.
Do not close the goal just because workers returned. Close only when the report meets the evidence standard and the original order is satisfied. If the audit cannot complete, mark the remaining blocker precisely: missing auth, missing env vars, unavailable surface, rate limit, unclear scope, or user decision required.
Every orchestrated audit should close with:
Worker Skill Routing
Each worker should use the best available skill or tool for its duty. Include the route in the worker prompt.
Examples:
- UI/UX, visual polish, responsive layout, design systems: use
frontend-design; use Magic UI only when relevant to the product type. - Performance and Core Web Vitals: use
web-perf. - Bug/incident/root-cause checks: use
root-cause-investigator. - Launch/deploy/release readiness: use
production-readiness-gate. - Code architecture, flow tracing, impact analysis: use
codegraphwhen available and indexed. - Security review: use available security skills/tools, repo security docs, and read-only evidence.
- Database/schema/RLS/data integrity: use Supabase/Postgres/data skills when applicable.
- Cloudflare/Workers/Wrangler surfaces: use Cloudflare, Workers, Durable Objects, or Wrangler skills as applicable.
- Browser evidence that should not interrupt the user: use
background-browser-operatoras a support route, paired with the audit lens that owns the finding.
Do not force a skill if it does not fit. The parent should prefer exact evidence over skill branding.
Worker Granularity
Prefer worker scopes that are small enough for one agent to do thoroughly:
- UI/UX: buttons, forms, navigation, responsive layout, typography, design system drift, accessibility, empty/error/loading states.
- Backend: API contracts, auth/session behavior, data validation, error handling, observability, rate limits.
- Data: schema drift, migrations, RLS/policies, stale/generated data, reconciliation, retention.
- Security: secrets, authz/authn, input handling, unsafe dependencies, deployment exposure, audit logs.
- Release: CI/build/test state, migrations, env vars, deploy status, live smoke, rollback.
- Architecture: module boundaries, duplication, ownership, performance hot paths, long-term maintainability.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit-orchestrator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/masih-0x3/agent-skills/audit-orchestrator)