/skynetlabs-all-claude-code:critic-loopfrom skynetlabs-all-claude-code
LLM-as-judge quality gate. Before any deliverable ships, spawn an independent critic subagent (or N critics with distinct lenses) that ADVERSARIALLY grades the artifact against an explicit rubric, returns PASS/FAIL + a prioritized fix list, and loops (build → critique → fix) until it passes or N rounds hit. The builder must NOT grade its own work. Critic defaults to FAIL on uncertainty. Output is a scorecard + prioritized fixes + a hard ship/no-ship verdict. Domain rubrics baked in for SkynetLabs work: client website, content/copy, automation/n8n, Upwork/Fiverr proposal. Generic mode takes any artifact + rubric. Multi-critic mode runs 3 lenses + majority vote (ties to fanout-ship pattern). Trigger when user says: "critic loop", "/critic-loop", "judge this", "grade this before I send", "is this good enough to ship", "quality gate", "have a critic review", "second-agent review", or before ANY billable deliverable leaves. Auto-trigger heuristic: a deliverable (site, copy, workflow, proposal, audit) is about to be sent to a client / deployed / posted, and no independent grade exists.
Trending skills
7-day visitors to each skill page
Ships in skynetlabs-all-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
LLM-as-judge quality gate. Operationalizes the "2nd agent grades/self-corrects
before you accept" lesson (claude-code-mastery, video 8). SkynetLabs only had the
manual /review; this is the automated gate that runs before a deliverable ships.
The builder never grades its own work. A model that wrote an artifact is biased toward approving it. Spawn a SEPARATE critic agent with a clean context, give it the artifact + rubric + adversarial framing, and let IT decide. Loop until PASS.
build → spawn critic (FAIL-biased) → PASS? ship : apply fixes → re-critique
↑________________________________________|
max N rounds (default 3)
USE before:
git push to productionSKIP when:
git diff main)website | copy | automation | proposal | genericgenericsingle (1 critic, default) | multi (3 lenses, majority vote)If type unclear → ASK before spawning. Wrong rubric = useless verdict.
Detect artifact type. Load the matching rubric from rubrics/<type>.md (or the
inline blocks below). For generic, demand a rubric from the user — never invent
acceptance criteria silently.
git diff <base> > .critic/round-N.diff/browse or /qa to gather live evidence (CWV, links).critic/round-N.txtCritic grades the SNAPSHOT, not a moving target.
single mode: 1 Agent call with the critic prompt.
multi mode: 3 Agent calls IN ONE MESSAGE (true parallel), each a distinct lens:
Each critic gets a CLEAN context (subagent_type: general-purpose) and the
adversarial prompt below. Critics do NOT see each other's verdicts.
single: that verdict is final.multi: majority vote. 2/3 PASS → PASS. Tie/any blocker → FAIL (default to
caution). ANY critic raising a SECURITY blocker → FAIL regardless of vote.If the artifact touches secrets / credentials / deploy / payment / PII, run
/security-review (or a dedicated Lens C security pass) as a NON-NEGOTIABLE gate
BEFORE the ship verdict, even if all critics passed. Exposed secret = auto NO-SHIP.
Each spawned critic gets THIS (vars filled):
You are an INDEPENDENT critic. You did NOT build this artifact. Your job is to
REFUTE it — find every fault, not to praise it. You are the last line before this
reaches a paying client. A miss costs the agency its reputation.
ARTIFACT TYPE: <type>
ARTIFACT: <path / url / inline text / diff>
LENS (multi-mode only): <A correctness | B craft | C adversary>
RUBRIC (grade against EACH line, cite evidence):
<rubric criteria>
RULES:
- Default to FAIL. Approve ONLY if you cannot find a real fault.
- Every claim of a fault MUST cite the exact line / element / sentence.
- Do NOT invent praise to soften. No "looks great overall."
- Severity each finding: BLOCKER (cannot ship) | MAJOR | MINOR | NIT.
- If you are UNCERTAIN whether something is correct → treat as a fault and FAIL.
- Check the artifact against the rubric ONLY. No scope creep.
OUTPUT (exactly this shape):
## Verdict: PASS | FAIL
## Score: <0-100>
## Blockers (must fix to ship)
1. [location] problem → required fix
## Major
...
## Minor / Nits
...
## Evidence checked
<what you actually inspected: ran links? viewed render? grepped secrets?>
ultrathink before grading. Be specific. Be harsh. Be fair.
Full versions in rubrics/. Summaries:
rubrics/website.md<title>, meta description, OG tags per page# dead hrefs, NO TODO commentsaction="")rubrics/copy.md/humanizer check — no AI tells (em-dash overuse, rule-of-three,
"in today's fast-paced", negative parallelisms, inflated symbolism)rubrics/automation.mdvalidate_workflow (no orphan nodes, valid expressions)rubrics/proposal.mdEmit exactly this when the loop ends:
═══ CRITIC-LOOP SCORECARD ═══
Artifact: <name/path> Type: <type> Mode: <single|multi>
Rounds run: <n>/<max> Pass bar: 0 blockers + ≥85
Round history:
R1: FAIL (score 62) — 3 blockers, 5 major
R2: FAIL (score 79) — 0 blockers, 2 major
R3: PASS (score 91) — 0 blockers, 1 nit (accepted)
Multi-critic vote (if multi): A PASS · B PASS · C PASS → 3/3 PASS
Security gate: PASS (no secrets) | N/A | FAILED
Remaining (non-blocking):
- [MINOR] <thing> — optional polish
VERDICT: ✅ SHIP | ⛔ NO-SHIP (escalate)
rubrics/website.md — full client-site rubric (responsive/links/SEO/schema/CWV/placeholder)rubrics/copy.md — content rubric (humanizer + no-fake-claims + brand voice)rubrics/automation.md — n8n rubric (error handling/secrets/idempotency/tz)rubrics/proposal.md — Upwork/Fiverr rubric (mirror JD/price/questions/CTA)rubrics/generic.md — template: how to author a one-off rubricprompts/critic.md — full adversarial critic prompt (copy-fill)prompts/lenses.md — the 3 multi-critic lens definitions (A/B/C)scripts/snapshot.sh — capture diff/text/url evidence into .critic/round-N.*scripts/spawn-block.md — copy-paste Agent call block (1 or 3 critics)scripts/tally-votes.md — majority-vote + security-veto decision logictemplates/scorecard.md — final scorecard template| Critics | Blocker raised? | Security blocker? | Verdict |
|---|---|---|---|
| 3/3 PASS | no | no | SHIP |
| 2/3 PASS | no | no | SHIP |
| 2/3 PASS | yes (1 critic) | no | FAIL — fix blocker, re-loop |
| 1/3 PASS | — | — | FAIL |
| any | — | yes | NO-SHIP (auto, overrides vote) |
| max rounds, still FAIL | — | — | NO-SHIP — escalate to human |
Default to caution: when the vote is ambiguous, FAIL.
single mode: ~1 critic agent per round × rounds. Cheap. Default for most work.multi mode: ~3 critic agents per round (parallel). Use for high-stakes / large
deliverables (flagship site, big proposal, client-facing automation).Break-even: any billable deliverable. One caught lorem-ipsum or exposed key pays for a year of critic runs.
skynet-site, flagship-build, social-stack,
upwork-proposal, aeo-daily, n8n builds — critic-loop is the gate they exit through./humanizer (copy), /qa + /browse (site), n8n-mcp
validate_workflow (automation), /security-review (secrets gate)./review (pre-landing PR) — /review is for code diffs; critic-loop
is for finished deliverables of any type.fanout-ship: fan out N builds → critic-loop each before integration.| Failure | Cause | Fix |
|---|---|---|
| Critic rubber-stamps everything | Not adversarial / builder graded itself | Use the FAIL-default prompt; spawn SEPARATE agent |
| Loop never converges | Same blocker re-introduced each round | Stop at max rounds → rebuild, don't patch |
| Critic invents fake faults | Hallucinated criteria | Pin rubric; "grade against rubric ONLY, cite evidence" |
| Passed but broke in prod | Critic didn't actually check (links/render) | Force "Evidence checked" section; run /qa /browse for real |
| Secret shipped despite PASS | No security gate | Hard gate step 6 — auto NO-SHIP on any secret |
| Multi-critic all agree wrongly | Same blind spot, same context | Give each a DISTINCT lens; one is pure adversary |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub waseemnasir2k26/skynetlabs-all-claude-code --plugin skynetlabs-all-claude-code50 skills in this plugin
/aeo-dailyLocal AEO daily content engine — FORKED VOICE + voice filter (v0.4.2). One command → today's pack across 5 BUSINESS channels by default (was 11). Travel pack on-demand via --voice flag.
BUSINESS voice (5 channels, default): LI personal, FB page, IG pro, YT pro, TikTok pro. Carousel + reels + comment-bait.
TRAVEL voice (6 channels, on-demand): FB profile, IG travel x2, TikTok travel x2, Pinterest. Daily-life narrative, no agency talk.
Pipeline writes single MASTER.html (all channels embedded as iframes + sticky TOC) at outputs/<DATE>/MASTER.html.
All saved to <repo>\outputs\YYYY-MM-DD\copy.json (forked schema, see config/copy-schema.json).
Legacy v0.3 still supported: --legacy flag falls back to single LI post + 8-slide carousel.
Voice = the author's locked LinkedIn template (contrarian hook → reframe → → arrow lines → vulnerability beat → CTA + 5-8 hashtags).
Authenticity layer required: 1 local anchor per post (named cafe / local currency / scooter / your local spot).
1 real client win referenced (a SaaS client / a real-estate client / dental flagship / a client).
Voice-linted before render via lint_voice.py — hard-fails on 60+ AI tells.
Hook-bank rotation locked: Mon test-LLMs / Tue prompt-exposure / Wed contrarian /
Thu client-proof / Fri tool-stack / Sat builder-life / Sun meta-recap.
Each day = 2 hook variants for A/B pick.
Replaces v2 n8n cloud flow. $0 infra. Runs in Claude Code.
Trigger: "/aeo-daily", "today's aeo pack", "ship today's content", "aeo daily content".
/browseFast headless browser for QA testing and site dogfooding. Navigate any URL, interact with
elements, verify page state, diff before/after actions, take annotated screenshots, check
responsive layouts, test forms and uploads, handle dialogs, and assert element states.
~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a
user flow, or file a bug with evidence.
/cavemanUltra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
/caveman-commitUltra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
/caveman-helpQuick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
/caveman-reviewUltra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.