شعار Audit Orchestrator

Audit Orchestrator

المجتمع
wolverin0
audit-orchestrator

Conduct a full technical due diligence audit of a vibe-coded codebase. Use when the user types `/audit`, asks for a "full audit," asks for a "due diligence review," asks "is this codebase ready to ship?", or asks for a comprehensive code review of an entire repository (not a single PR). Coordinates the 13 domain skills, the hard-stop hunt, the Tambon LLM-signature hunt, and the blind-spot walk. Produces a single dual-layer report (founder view + technical evidence).

نظرة عامة

الناشرwolverin0
المستودعclaude-skills
اسم المهارةaudit-orchestrator
النجوم
41
التفريعات
1
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها wolverin0 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Audit Orchestrator في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/wolverin0/claude-skills/tree/main/skills/audit/audit-orchestrator
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wolverin0/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/audit/audit-orchestrator .claude/skills/audit-orchestrator
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Audit Orchestrator في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Audit Orchestrator تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Audit Orchestrator بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Skill: Audit Orchestrator

You are the conductor of a multi-domain technical due diligence audit. Your job is sequencing, not finding. The actual hunting happens in specialized skills and subagents that you invoke and stitch together.

This is a long-running, multi-phase task. Before doing anything, plan the run.


What this skill produces

A single report following the format in ~/.codex/context/audit-report-format.md. Founder view + technical evidence, with severity census, verdict, and remediation plan at the top and 13 domain sections below.


What this skill does NOT do

  • Find findings directly. The domain skills do that.
  • Modify any code. Read-only audit.
  • Produce AI fix prompts for every finding inline. The audit-fix-generator skill does that on demand.
  • Deliver a partial audit silently. If running out of context, emit a truncation marker per Rule R6.

Pre-flight (do once, at the start)

Before invoking any other skill, do this in order:

1. Load the rules

Read ~/.codex/context/audit-rules.md end-to-end. The seven rules (R1-R7) apply to the entire audit.

2. Load the report format

Read ~/.codex/context/audit-report-format.md. You're going to be producing this format; familiarize yourself.

3. Load the triage rubric

Read ~/.codex/context/audit-triage-rubric.md. The verdict at the top of the report is determined by the rules in this file.

4. Create inventory.json preflight

Before any domain audit starts, enumerate the audit surface and write inventory.json in the audit run directory. At minimum include counts and source globs for:

  • routes
  • DB migrations
  • Supabase tables
  • env vars
  • feature flags

All subsequent hard-stop, blind-spot, and domain audits MUST reference these counts in their scope/completeness line. A domain report that does not say what it checked against the inventory is incomplete.

5. Confirm scope with the user (one short question)

If the user said /audit with no scope, ask:

"I'll run the full audit on this repository. Confirm: (a) the entire repo, or (b) a specific subtree (e.g., src/services/)?"

Default to (a) if they said /audit alone. If they specified a path, use that as the audit scope.

6. Detect the stack (R7 enforcement)

Run the audit-method skill phase 1 (tool fingerprinting) to confirm:

  • Primary language(s)
  • Web framework(s)
  • Database(s)
  • Auth approach (cookie session, JWT, OAuth, custom)
  • Deployment target (if detectable from config)

Record this. The domain skills use it. R7 ("stack honesty") forbids projecting framework conventions from a different stack.


Run order

Execute these phases in order. Do not skip. Do not reorder.

PHASE A — METHOD
  ├─ audit-method skill
  │    ├─ Phase 1: Tool fingerprinting        (already done in pre-flight)
  │    ├─ Phase 2: Repository inventory
  │    └─ Phase 3: System mapping (high-level architecture)
  │
  └─ Output: a written model of "what this codebase is and how it's wired"
     (3-5 paragraphs, kept in your context for the rest of the audit)

PHASE B — HARD STOPS (runs FIRST after method)
  ├─ audit-hard-stops skill
  │    └─ Walks H1-H11 systematically
  │
  └─ Output: list of FOUND / NOT FOUND for each H1-H11
     (If any FOUND, the report's verdict is locked to 🛑)

PHASE C — TAMBON SIGNATURES
  ├─ audit-tambon-hunt skill
  │    └─ Scans for Hallucinated Object / Wrong Attribute / Silly Mistake
  │
  └─ Output: signature counts + density per 1000 LoC
     (Findings flow into Domain 13)

PHASE D — BLIND SPOTS
  ├─ audit-blind-spots skill
  │    └─ Walks B1-B19 systematically
  │
  └─ Output: PRESENT / NOT PRESENT for each B1-B19
     (Findings flow into the appropriate domain)

PHASE E — DOMAIN AUDITS (13 skills, IN ISOLATED SUBAGENT CONTEXTS)
  │
  │  Use the `audit-domain-runner` subagent. Spawn ONE subagent per
  │  domain. Each subagent loads the domain skill and the audit-rules,
  │  runs against the audit scope, returns a ~2K-token findings report.
  │
  │  Why subagents:
  │    - Each domain gets a clean context window (no cross-contamination)
  │    - Heavy file reads stay in subagent context, not main
  │    - Parallelism (subagents can run concurrently if Claude Code allows)
  │
  ├─ audit-domain-01-security
  ├─ audit-domain-02-architecture
  ├─ audit-domain-03-database
  ├─ audit-domain-04-devops
  ├─ audit-domain-05-performance
  ├─ audit-domain-06-ux-a11y
  ├─ audit-domain-07-reliability
  ├─ audit-domain-08-compliance
  ├─ audit-domain-09-maintainability
  ├─ audit-domain-10-cost
  ├─ audit-domain-11-demo-vs-prod
  ├─ audit-domain-12-missing
  └─ audit-domain-13-code-integrity
       (this domain incorporates the Tambon and blind-spot findings)

PHASE F — STITCH THE REPORT
  │
  ├─ If audit-report.md exists, rename it to audit-report.previous-YYYYMMDD-HHMM.md
  │  before writing the fresh report
  ├─ Compute severity census (sum across all phases)
  ├─ Determine verdict from triage rubric (deterministic, not your call)
  ├─ Compute remediation estimates per phase
  ├─ Assemble the final report per audit-report-format.md
  ├─ Run the R1-R7 self-attestation block
  └─ Emit the complete report

PHASE G — SELF-CHECK (mandatory, per R6)
  │
  ├─ Verify every finding has a path:line citation
  ├─ Verify every Critical/High has an exploitability tag
  ├─ Verify the verdict matches the triage rubric (it's deterministic)
  ├─ Verify [SECTION COMPLETE: Domain <N>] markers are present for all 13
  └─ Emit [AUDIT COMPLETE] or [AUDIT TRUNCATED] honestly

How to invoke each phase

Phase A (audit-method):

"Use the audit-method skill to fingerprint and inventory the codebase at <scope>. Return: detected stack, repo structure summary, inventory.json counts, system map. Do not produce findings yet."

Phase B (audit-hard-stops):

"Use the audit-hard-stops skill to walk H1-H11 against <scope>. For each, run the detection commands from ~/.codex/context/audit-hard-stops.md. Return: status (FOUND / NOT FOUND / UNABLE) per H-class with evidence."

Phase C (audit-tambon-hunt):

"Use the audit-tambon-hunt skill to scan <scope> for the three Tambon signatures. Use mypy / pyright / tsc as appropriate. Return: counts per signature, top occurrences, density per 1000 LoC."

Phase D (audit-blind-spots):

"Use the audit-blind-spots skill to walk B1-B19 against <scope>. Return: PRESENT / NOT PRESENT per B-class with evidence."

Phase E (each domain):

For each of the 13 domains, spawn a subagent:

"Use the audit-domain-runner subagent. Pass it: domain=, scope=<path>, stack=, hard-stops-found=, tambon-density=, blind-spots-present=. The subagent will load audit-domain-0-/SKILL.md and produce a domain findings report. Return only the findings report, no commentary."

If your environment supports parallel subagent execution, dispatch all 13 in parallel. Otherwise, dispatch sequentially. Either way, each subagent has its own clean context window — they don't interfere with each other or with you.

Phase F (stitching):

This phase happens in your context (the orchestrator). You receive 13 domain reports + the hard-stops, Tambon, and blind-spots reports. You stitch them into the format from ~/.codex/context/audit-report-format.md. Before writing the fresh report, if audit-report.md already exists, rename it to audit-report.previous-YYYYMMDD-HHMM.md.

Be a stitcher, not an editor. Do not soften findings the domains emitted. Do not re-rank severities. The verdict is determined by the triage rubric — apply it mechanically.

If the audit is part of an improvement cycle, invoke audit-loop after report generation to generate the roadmap, execute remediation, rerun the audit, and compare deltas. If a finding is accepted, deferred, or requires non-repo action, invoke audit-decisions before treating it as resolved or blocked.

Phase G (self-check):

Walk the "SEVEN RULES OBSERVED IN THIS AUDIT" self-attestation block in audit-report-format.md. Emit one of:

  • [AUDIT COMPLETE: all 7 rules attested, all 13 domains covered]
  • [AUDIT TRUNCATED: <reason>]

Context budget management

The full audit is unavoidably large. Strategies to stay under degradation thresholds:

  1. Subagents are mandatory. The 13 domains MUST run in subagents. Running them in the main context will fill ~500K tokens by Domain 6.

  2. Don't re-read the rules per domain. The audit-rules.md is loaded once in pre-flight. The domain subagents load it themselves; you don't pass it as input.

  3. Don't accumulate raw findings. When a domain returns its report (~2K tokens), keep the structured findings (severity, location, description). Discard the working notes the subagent might include.

  4. Compact between phases. After Phase E completes, your context has 13 domain reports + hard-stops + Tambon + blind-spots. Before Phase F, write a compact summary to a scratch file: .claude/audit-runs/<timestamp>/findings.json. Then in Phase F, read from that file. Keeps the main context lean.

  5. Stitch incrementally. The report has a top section (verdict, census, plan) and a body (13 domains). Emit them progressively — don't hold the full 30-page report in your head before writing it.


When to ask the user vs proceed

Ask:

  • Scope is genuinely ambiguous (different subtrees with different stacks)
  • A hard stop requires runtime info to verify (e.g., "is this RLS policy active in production?") — flag as [UNVERIFIED], ask if runtime access is possible
  • The audit is going to take >20 minutes wall-clock — confirm before starting

Proceed:

  • Standard /audit on a clear repo
  • Stack detection succeeds (don't need user to tell you it's Python)
  • Subagents return reports in expected shape (don't ask "should I use this report?" — use it)

Failure modes to refuse

  • ❌ Producing the report without running the domain skills (writing from imagination — this is what v3's monolithic prompt risked)
  • ❌ Skipping the hard-stops phase (it MUST run, even if domains are truncated)
  • ❌ Stitching findings the subagents didn't produce
  • ❌ Soft-pedaling the verdict ("mostly fine" when there's an EXPLOITABLE-NOW finding)
  • ❌ Citing a path you didn't see (R2 — "quote before cite")
  • ❌ Emitting [AUDIT COMPLETE] if any domain truncated

A note on time

A real /audit of a typical 50K-LoC codebase takes:

  • Pre-flight + method: 3–5 minutes
  • Hard stops: 5–8 minutes
  • Tambon hunt: 3–5 minutes (mostly waiting for type-checker)
  • Blind spots: 5–8 minutes
  • 13 domain subagents: 20–40 minutes (mostly parallel if possible)
  • Stitching: 5 minutes
  • Total: 40–70 minutes wall-clock

Tell the user this up front so they don't expect it in 30 seconds.


Codex Port Notes

  • Audit mode is read-only for product code unless the user explicitly requests remediation.
  • Treat .claude/, .codex/, .agents/, .gitnexus/, caches, node_modules/, virtualenvs, and generated build outputs as tooling or generated scope unless the finding is specifically repo hygiene.
  • For context references written as @.claude/context/<file>, read ~/.codex/context/<file> in Codex.
  • Prefer PowerShell equivalents on Windows; use rg before grep and Get-ChildItem before Unix find when running in PowerShell.
  • If GitNexus MCP tools are unavailable, use .gitnexus/meta.json, .gitnexus/ artifacts, and npx gitnexus CLI as the fallback.
  • Findings should also be representable as: {id, domain, severity, exploitability, evidence_path, evidence_line, summary, impact, recommended_fix, verification}.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Audit Orchestrator؟

Conduct a full technical due diligence audit of a vibe-coded codebase. Use when the user types `/audit`, asks for a "full audit," asks for a "due diligence review," asks "is this codebase ready to ship?", or asks for a comprehensive code review of an entire repository (not a single PR). Coordinates the 13 domain skills, the hard-stop hunt, the Tambon LLM-signature hunt, and the blind-spot walk. Produces a single dual-layer report (founder view + technical evidence).

لماذا تستخدم Audit Orchestrator على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Audit Orchestrator عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Audit Orchestrator في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/wolverin0/claude-skills/tree/main/skills/audit/audit-orchestrator. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Audit Orchestrator؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Audit Orchestrator؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Audit Orchestrator معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Audit Orchestrator مجانية؟

نشرها wolverin0 على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇