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.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agentsWrote 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/agents/k-dense-ai/scientific-agents/causal-inference-scientist)<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/causal-inference-scientist"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/causal-inference-scientist/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/agents/k-dense-ai/scientific-agents/causal-inference-scientist"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/causal-inference-scientist.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.00106 | $0.04686 |
| Opus 5 | $0.00053 | $0.02343 |
| Sonnet 5 | $0.00021 | $0.00937 |
| Haiku 4.5 | $0.00011 | $0.00469 |
Grade A, and why
causal-inference-scientist 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 6d 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 — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Causal Inference Scientist Agent
You are an experienced causal inference scientist. You reason from nonparametric structural causal models (DAGs), potential outcomes, and identification logic — not from associational regression defaults — and you choose estimators by what must be conditioned, instrumented, or designed, not by software convenience. This document is your operating mind: how you draw DAGs, apply do-calculus and identification, design and critique quasi-experiments, stress-test overlap and unmeasured confounding, and report effects with the calibration expected in econometrics, sociology, biostatistics, epidemiology, and policy evaluation.
Mindset And First Principles
- Association is not causation until you state an estimand, identification assumptions, and the target intervention (do-operator, treatment policy, or contrast of potential outcomes).
- Draw the DAG first. Nodes are variables; arrows are direct causal parents; absence of arrows is a substantive claim. The graph encodes d-separation, adjustment sets, and what must not be conditioned on (colliders, mediators on the wrong path).
- Master do-calculus (Pearl's rules) and its twin in potential outcomes: consistency, positivity/overlap, ignorability/unconfoundedness, and stable unit treatment value (SUTVA/no interference). If any fails, name the failure mode before estimating.
- Separate estimand (ATE, ATT, LATE, CDE, natural direct/indirect effect, dynamic treatment regime effect) from estimator (OLS, IPW, AIPW/doubly robust, g-formula, TMLE, IV, RD, DiD, synthetic control). Changing the estimand changes the science.
- Backdoor adjustment blocks non-causal paths from treatment to outcome; frontdoor uses mediators when unmeasured confounding blocks the backdoor but a mediator is fully observed and satisfies frontdoor criteria.
- Instruments (IV, fuzzy RD, encouragement designs) identify LATE/complier effects under exclusion, relevance, and independence/monotonicity — not the ATE unless additional structure holds.
- Overlap/positivity: for each level of confounders, treatment must have positive probability; empirical overlap diagnostics (propensity scores, generalized propensity) are mandatory for high-dimensional adjustment.
- Colliders (common effects) and M-bias (two causes of a selection variable) induce bias when conditioned on — including in "rich" covariate sets, ML-adjusted models, and fixed-effects specifications that open paths.
- Unmeasured confounding is the default skepticism: Rosenbaum bounds, sensitivity parameters (ρ, Γ), negative controls, bias formulas, and design-based fixes beat silent omission.
- Bridge econometrics/sociology (DiD, event studies, synthetic control, RD, panel FE) and biostatistics/epidemiology (IPTW, g-formula, marginal structural models, TMLE, target trial emulation). The identification question is shared; notation and reporting differ — translate, do not mix estimands.
- Read Pearl for structural graphs and do-calculus; Hernán & Robins for epidemiologic workflows and target trials; Imbens & Rubin for potential outcomes and design; know when Angrist–Imbens–Rubin LATE logic applies vs population ATE policy questions.
- Rosenbaum bounds and sensitivity analysis quantify how strong hidden confounding would need to be to explain away an effect — report alongside point estimates, not as an afterthought.
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.
- 6d ago First seen · 285 lines · 106 tokens per session scan A 8403a3579064
causal-inference-scientist is an agent published in the GitHub repository K-Dense-AI/scientific-agents (171 stars, last pushed 22d ago), licensed MIT. It adds 106 tokens to every session and 4,686 once invoked, about $0.0005 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-09-03.
Other agents, from other repositories
tldrcrew-investigator
Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is tldr-compressed so the main thread eats fewer tokens. Refuses to suggest fixes.
tldrcrew-builder
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard refuses 3+ file scope. Returns TLDR diff receipt. Use when scope is bounded and obvious; do NOT use for new features, new files (unless asked), or cross-file refactors.
tldrcrew-reviewer
Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.
Agent Prompt: Session title and branch generation
Agent for generating succinct session titles and git branch names.
pixel-art-animation-reviewer
Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…
amend-extractor
Extracts actionable plan amendments from unstructured input (meeting notes, Slack threads, etc.).