by-causal-reasoning

by-causal-reasoning is a skill for Claude Code from 001TMF/blatant-why. It costs 6 tokens per session (6,779 once invoked), scanned A, original, MIT.

A hypothesis-building step that uses evidence from BY’s knowledge graph, a structured record of campaigns, papers, and past failures. It produces ranked explanations for why a design may succeed or fail, with traceable supporting evidence.

In plain words
What is it for?
It is for turning failure-diagnosis results and epitope information into testable mechanism ideas before choosing the next campaign settings.
Why use it?
It connects statistical patterns to possible biological causes instead of treating feature correlations as explanations.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It is for turning failure-diagnosis results and epitope information into testable mechanism ideas before choosing the next campaign settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/001tmf/blatant-why/by-causal-reasoning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 001TMF/blatant-why --skill by-causal-reasoning
Clone the repo
git clone --depth 1 https://github.com/001TMF/blatant-why

Made for: Claude Code.

Wrote 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.

agentmods badge for by-causal-reasoning

README.md
[![agentmods](https://agentmods.dev/badge/skills/001tmf/blatant-why/by-causal-reasoning/github.svg)](https://agentmods.dev/skills/001tmf/blatant-why/by-causal-reasoning)
Your own site
<a href="https://agentmods.dev/skills/001tmf/blatant-why/by-causal-reasoning"><img src="https://agentmods.dev/badge/skills/001tmf/blatant-why/by-causal-reasoning/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.

agentmods 80×15 button for by-causal-reasoning

Your own site · 80×15
<a href="https://agentmods.dev/skills/001tmf/blatant-why/by-causal-reasoning"><img src="https://agentmods.dev/badge/skills/001tmf/blatant-why/by-causal-reasoning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
  • low MCP Rug Pull · line 103
    pip install without ==version installs the latest release, which could include malicious changes.
    Fix: Pin the version: pip install package==1.2.3
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.06779
Opus 5 $0.00003 $0.03390
Sonnet 5 $0.00001 $0.01356
Haiku 4.5 $0.00001 $0.00678

Measured 12d ago against content hash 5a4b86ebe2b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

by-causal-reasoning 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_hypotheses.py, scripts/score_hypothesis_evidence.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

templates/.claude/skills/by-causal-reasoning/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BY Causal Reasoning Skill

Most "AI scientist" demos fake reasoning by chaining LLM calls and calling the chain a hypothesis. This skill does the opposite: it constrains the LLM with structured evidence retrieved from the BY knowledge graph and forces every claim to cite an existing entity with a defined evidence tier. The output is a short, ranked list of mechanistic hypotheses — each one falsifiable, each one traceable to a campaign, paper, or prior failure record.

It sits between statistical diagnosis (which says which features discriminate PASS from FAIL) and campaign optimization (which spends new compute). Without this step, the optimizer can only tweak thresholds; with it, the optimizer can target the underlying mechanism.


When to Use This Skill

Use this skill when:

  • by-failure-diagnosis has produced a discriminating-features ranking and you need to translate statistical signals into mechanistic claims before the next round.
  • by-epitope-analysis is available so structural context (topology, hotspot residues, druggability) can be merged with statistical signals.
  • You are about to call by-campaign-optimizer for round N+1 — the optimizer's parameter changes should target a named mechanism, not a vibe.
  • A campaign shows an unexpected (non-trivial) pattern — e.g. high ipSAE designs are failing at the lab stage, or pass rate dropped vs the prior round with no parameter change.
  • The user explicitly asks "why are my designs failing at this mechanism?", "what's the underlying cause?", or "rank possible explanations".
  • You have access to by-knowledge data — querying without a populated graph yields hypotheses with no evidence, which violates the skill contract.

Do NOT use this skill when:

  • As a substitute for actually running experiments. Hypotheses are pointers to experiments, not conclusions. If the user asks "is this the cause?", the answer is "the falsifiable prediction is X — run that assay to confirm", not "yes".
  • Without evidence citations. Every claim must reference at least one knowledge-graph entity (campaign_<id> or failure_<id>). A "hypothesis" with no evidence is a guess — flag it as SPECULATIVE or refuse to emit it.
  • To generate more than 5 hypotheses. Parsimony is enforced: 3-5 is the cap. More than 5 means the agent is laundering uncertainty as breadth. If the diagnosis genuinely supports more candidates, that is a signal to call by-hypothesis-debate for adversarial pruning, not to inflate the list.
  • For per-residue redesign rationale. That is structural, not statistical — use by-epitope-analysis instead.
  • When the campaign has fewer than 30 scored designs. Statistical signals are too noisy; the hypotheses will not be reliably evidenced.
  • For pre-campaign target selection. That is by-research territory; this skill explains past failures, not future opportunities.
  • When the knowledge graph is empty (0 campaigns, 0 failures recorded). The skill cannot ground hypotheses in evidence — refuse to run, ask user to populate by-knowledge first.

Read the full file on GitHub · 433 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 12d ago First seen · 433 lines · 6 tokens per session scan A 5a4b86ebe2b1

Subscribe to this mod's changes

by-causal-reasoning is a skill published in the GitHub repository 001TMF/blatant-why (114 stars, last pushed 26d ago), licensed MIT. It adds 6 tokens to every session and 6,779 once invoked, about $0.0000 per session on Opus 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-08-30.