Shadowgate — AI skill for Claude Code
Confidence-gated LLM cascades that measure how often the cheap tier is wrong on the cases it answers alone.
How to install Shadowgate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open h-a-forster/shadowgate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Shadowgate does
Confidence-gated LLM cascades that measure how often the cheap tier is wrong on the cases it answers alone.
Alternatives in AI
- PDF Proof — Trust, but check 76 ★
- Opencues — Turn any text field into a two-way LLM channel: it reads what you write and fills what you ask 43 ★
- Synthetic Market Research — Agent skill for fast, cheap market research using LLM synthetic surveys + Semantic Similarity Rating (SSR) 37 ★
README
shadowgate
Confidence-gated LLM cascades that measure how often the cheap tier is wrong on the cases it answers alone.
[Guide](https://github.com/h-a-forster/shadowgate/blob/main/docs/guide.md) | [Results](https://github.com/h-a-forster/shadowgate/blob/main/docs/results.md) | [CLI](https://github.com/h-a-forster/shadowgate/blob/main/docs/cli.md) | [Configuration](https://github.com/h-a-forster/shadowgate/blob/main/docs/configuration.md)
Findings
Numbers are for Claude Haiku 5.5 in front of Claude Opus 5.5 or Sonnet 5.5 on 1680 MMLU-Pro questions at threshold 0.80, graded against gold labels. Gold labels are noisy and costs are notional; see [Results](#results) and the [limitations](https://github.com/h-a-forster/shadowgate/blob/main/docs/results.md#limitations).
- A shadow audit against a stronger model measures disagreement, not error. Haiku's error on the cases it served alone was 9.3% against gold labels, but its disagreement with Opus on those cases was 6.1%, and the audit-only estimate was 5.1% (3.8-7.1). 44% of Haiku's errors were shared by Opus (61% for Sonnet) and are invisible to the audit (details).
- A weaker reference makes the cheap tier look better. Against Sonnet, disagreement was 4.5% and audit-only 4.1% (2.9-5.9) for the same 9.3% gold-graded error. Re-drawn 5000 times, the audit's interval covered the gold-graded error 15.3% of the time with Opus and 0.08% with Sonnet, but covered the true disagreement about 97% (coverage check).
- The cascade trades a little accuracy for a large cost saving. Haiku -> Opus scored 88.1% against 91.2% for Opus alone and 83.0% for Haiku alone, saving 72% serving cost and 45% once the audit is paid for; Haiku -> Sonnet saved 69% and 41% ([accuracy and cost](ht
Related Skills
Evidence First Trading
Evidence-graded day-trading decision-support agent skill. Tier A-D setup catalog with citations, cost-gated ex
Answer Standing
Agent skill: measure how AI assistants (ChatGPT, Claude, Gemini, DeepSeek, Doubao...) describe your product wi
Aftersales Agent
AI-first aftersales agent for an electric motorcycle brand: answers riders and dealers, flags telemetry issues
Nmem
Give your AI agents a brain that gets smarter over time. 6-tier memory hierarchy with hybrid search, backgroun
Tsubasa
Your engineering captain: a repo-resident AI persona with a knowledge graph stored in git. Agents cite inciden
Apex Verify
Catch AI code changes that pass your tests but are wrong. A different model writes the missing checks, proves
Related Agents
Eval Task Auditor
Audits eval task files for the problems that most often break real benchmarks: ambiguous success criteria, wro
Health Checker
Code health dashboard agent - structured 3-phase methodology (detect, measure, prescribe) with weighted 0-10 s
Measure Agent
Stage 5. Ingests replies and reports response rate and response quality per angle with confidence intervals an