From brain-os
Performs non-interactive audits of decisions, plans, or code against curated principles via advisor model. Auto-selects top 3 relevant principles or uses specified; returns verdicts, findings, and logs usage.
npx claudepluginhub sonthanh/brain-os-pluginThis skill uses the workspace's default tool permissions.
One-shot audit of current context through your curated principles, verified by a stronger model (advisor). Unlike `/grill` (interactive, asks questions), `/audit` is non-interactive — it loads principles, calls advisor, and returns findings.
Performs adversarial audits of code subsystems or non-code artifacts (designs, plans, concepts) using parallel analytical lenses tailored to artifact type. Synthesizes findings and offers issue tracker filing.
Performs devil's advocate stress-testing on code, architecture, PRs, and decisions to surface hidden flaws, edge cases, and blind spots in high-stakes reviews.
Conducts devil's advocate stress-testing on code, architecture, PRs, and decisions to surface hidden flaws via structured adversarial analysis. For high-stakes reviews only.
Share bugs, ideas, or general feedback.
One-shot audit of current context through your curated principles, verified by a stronger model (advisor). Unlike /grill (interactive, asks questions), /audit is non-interactive — it loads principles, calls advisor, and returns findings.
/audit # p0: auto-pick top 3 most relevant principles
/audit p1 # audit through P1 (First Principles) only
/audit p0 # same as bare /audit
/audit p1 p5 # audit through P1 + P5
{vault}/thinking/principles/tracker.mdadvisor() — stronger model applies principles independentlyWhen no specific principle is given, pick the top 3 most relevant to what's currently being discussed. Pick order:
Single-principle audits produce the sharpest results. Default p0 to 3 but respect user's specific picks.
P3 scope check: P3 (Value Equation) requires ≥50 words of content AND structural differences between options (not phrasing-only). Skip P3 for micro-edits — it won't discriminate.
Present the advisor's findings directly. Then append a structured summary:
## Audit Summary
| Principle | Verdict | Key Finding |
|-----------|---------|-------------|
| P1 | PASS/FLAG/FAIL | one-line finding |
Logged to tracker.
Format contract: The ## Audit Summary heading and table structure (| P{N} | PASS|FLAG|FAIL |) are consumed programmatically by downstream skills (e.g. /slice audit gate). Verdict values must be exactly PASS, FLAG, or FAIL — do not alter heading, column structure, or verdict text.
After each audit, append to the Log table in {vault}/thinking/principles/tracker.md:
| {date} | {principles} | {context} | {outcome} |
Also increment the Uses count for each principle applied.
Follow skill-spec.md § 11. Append to {vault}/daily/skill-outcomes/audit.log:
{date} | audit | audit | ~/work/brain-os-plugin | thinking/principles/tracker.md | commit:N/A | {result} | args="{principles}" findings={summary}
result: pass when audit completes and produces findings (regardless of verdicts); partial if some principles couldn't be fully evaluated; fail if advisor call failed or tracker.md unreadablefindings: verdict breakdown capturing content quality separately from skill execution — e.g. 3FLAG+2PASS, 1FAIL+1FLAG+1PASSargs=: principle IDs used (e.g. p1 p5)