Borrowing it
Nothing to install: this file belongs to georgepok/local-llm-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/georgepok/local-llm-mcp-server/main/.claude/skills/causal-experiment-controls/SKILL.mdgit clone --depth 1 https://github.com/georgepok/local-llm-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/georgepok/local-llm-mcp-server/causal-experiment-controls)<a href="https://agentmods.dev/skills/georgepok/local-llm-mcp-server/causal-experiment-controls"><img src="https://agentmods.dev/badge/skills/georgepok/local-llm-mcp-server/causal-experiment-controls/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/georgepok/local-llm-mcp-server/causal-experiment-controls"><img src="https://agentmods.dev/badge/skills/georgepok/local-llm-mcp-server/causal-experiment-controls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01629 |
| Opus 5.5 | $0.00045 | $0.00652 |
| Sonnet 5.5 | $0.00023 | $0.00326 |
| Haiku 4.5 | $0.00011 | $0.00163 |
Grade A, and why
causal-experiment-controls scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Causal Experiment Controls
A raw accuracy/loss number almost never answers "does the mechanism do X". Design the metric so an artifact CANNOT produce a positive. Bake these controls into the eval report from the first run — not after a surprising result.
Canonical diagnostic order (run every time, in this order)
- Artifact hypothesis first (see
artifact-first-analysis) — do not interpret yet. - Constant-baseline check — majority-class / modal-token accuracy + intervention-OFF acc.
- Correct-vs-wrong state check —
Δ = acc(correct) − acc(scrambled), and how many predictions change when the state is swapped. - Raw prediction histogram — unique-count + top-k tokens (mode-collapse detector).
- Label distribution comparison — prediction distribution vs true label distribution.
- Only then mechanistic interpretation — minimal, scoped, laddered. The report block below emits steps 2–5 in one line so you can never skip them.
The five mandatory controls
-
Content-sensitivity ablation (the core one). Run the model with the REAL input to the mechanism and with a SCRAMBLED input (wrong instance's value, shuffled, or noise), same everything else. The real metric is
Δ = acc(real) − acc(scrambled).Δ≈0⇒ the mechanism's content is causally inert, no matter how highacc(real)looks. Distinguish two effects and report BOTH:- presence-effect: does turning the intervention ON vs OFF change outputs?
- content-effect: does changing WHAT the intervention carries change outputs? Presence without content = a constant bias, not information use.
-
Label-frequency / majority baseline. Compute
max_class_freqand the accuracy of "always predict the modal token/label". If your metric ≈ this, you have learned nothing. Report the baseline NEXT TO the metric, always. -
Mode-collapse detection. Report the number of UNIQUE predictions across the eval set and the top-k prediction histogram.
uniq_pred==1(or dominated by one token) ⇒ collapse; the accuracy is just that token's label frequency.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 108 lines · 113 tokens per session scan A fb02770f033d
causal-experiment-controls is a skill published in the GitHub repository georgepok/local-llm-mcp-server (0 stars, last pushed 3mo ago), licensed MIT. It adds 113 tokens to every session and 1,629 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
causal-experiment-controls compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| causal-experiment-controlsgeorgepok/local-llm-mcp-server | Skill | 0 | 3mo ago | MIT | A | 113 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 65 | Claude Code, Codex |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 19k | 3d ago | MIT | A | 35 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 30 | Claude Code |
| finetuningmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 132 | Claude Code |