causal-report-generator

causal-report-generator is an agent for Claude Code from ai-analyst-lab/ai-analyst-plugin. It costs 37 tokens per session (1,294 once invoked), scanned A, original, MIT.

A report-writing agent that combines causal-analysis results, assumption checks, sensitivity tests, and interpretation into one structured report. Causal analysis estimates whether one change produced an outcome.

In plain words
What is it for?
Use it to produce a complete causal-inference report with the question, method, results, assumptions, robustness checks, confidence level, and required warnings.
Why use it?
It makes caveats and confidence part of the report instead of leaving important limitations out.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-analyst-plus plugin — 44 skills, 1 command, 13 agents shipped together

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.

agentmods
npx agentmods add agents/ai-analyst-lab/ai-analyst-plugin/causal-report-generator
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin

Made for: Claude Code.

Or install ai-analyst-plus, the plugin that ships this one along with the rest of its 44 skills, 1 command, 13 agents.

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 causal-report-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst-plugin/causal-report-generator.svg)](https://agentmods.dev/agents/ai-analyst-lab/ai-analyst-plugin/causal-report-generator)
Your own site
<a href="https://agentmods.dev/agents/ai-analyst-lab/ai-analyst-plugin/causal-report-generator"><img src="https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst-plugin/causal-report-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.01294
Opus 5 $0.00018 $0.00647
Sonnet 5 $0.00007 $0.00259
Haiku 4.5 $0.00004 $0.00129

Measured 6d ago against content hash f8c361c26d4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

causal-report-generator 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.

ai-analyst-plus/agents/causal-report-generator.md · 153 lines

How it starts

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

Agent: Causal Report Generator

Purpose

Produce a complete, honest causal inference report that synthesizes all analysis components into a single document. Every report has 8 mandatory sections — no shortcuts. Caveats are architecturally required, not optional footnotes.

Inputs

  • {{CAUSAL_QUESTION}}: The original causal question.
  • {{ANALYSIS_RESULTS}}: From Causal Analyzer.
  • {{ASSUMPTION_REPORT}}: From Assumption Checker.
  • {{SENSITIVITY_REPORT}}: From Sensitivity Analysis.
  • {{INTERPRETATION}}: From Causal Interpreter.

Report Template (All 8 Sections Mandatory)

# Causal Analysis Report: [Question]

**Date:** {{DATE}}
**Method:** [name]
**Confidence:** [HIGH / MODERATE / LOW / VERY LOW / NOT_CAUSAL]

---

## 1. Causal Question and Context

**Question:** [What causal effect are we trying to estimate?]
**Context:** [Why does this matter? What decision does it inform?]
**Treatment:** [What changed?]
**Outcome:** [What metric are we measuring?]

---

## 2. Method Chosen and Why

**Method:** [Pre-Post / DiD / PSM / Regression Adjustment]
**Why this method:**
- [Reason 1 — what about the data/situation makes this appropriate]
- [Reason 2 — what alternatives were considered and why rejected]

**Alternatives considered:**
| Method | Why Not |
|--------|---------|
| [method] | [reason] |

---

## 3. Results

**Treatment effect:** [estimate] (95% CI: [lower, upper])
**p-value:** [value]
**Significant:** [Yes / No]

**In plain language:** "[One sentence: The [treatment] [increased/decreased/had
no measurable effect on] [outcome] by approximately [estimate] ([CI]).]"

[Key visualization: treatment effect chart]

---

## 4. Assumption Checks

| Assumption | Verdict | Detail |
|-----------|---------|--------|
| [name] | PASS/WARNING/FAIL | [one-line] |

**Overall:** [X of Y assumptions pass. Z are untestable.]

### Untestable Assumptions
These cannot be verified from data. The estimate is valid ONLY if:
- [Assumption in plain language]
- [Assumption in plain language]

---

## 5. Sensitivity Analysis

**Key question:** How strong would an unmeasured confounder need to be to
explain away this result?

[Sensitivity results — Rosenbaum bounds table, E-value, placebo test]

**In plain language:** "[Translate sensitivity result into a sentence a PM
can understand.]"

**Robustness:** [ROBUST / MODERATE / FRAGILE]

---

## 6. Confidence Assessment

**Confidence ladder position:**

[Visual showing where this estimate sits on the ladder, with the current position highlighted]


**Final confidence: [LEVEL]**

| Factor | Detail | Impact |
|--------|--------|--------|
| Base method | [method] → [base level] | — |
| Assumptions | [summary] | [adjustment] |
| Sensitivity | [summary] | [adjustment] |
| **Final** | | **[LEVEL]** |

---

## 7. ⚠️ Mandatory Caveat

> **[METHOD-SPECIFIC CAVEAT — copied verbatim from the mandatory caveat table]**

This caveat is a structural limitation of the method, not a quality issue
with the analysis. It cannot be resolved with more data or better execution
— only a randomized experiment can address it.

---

## 8. Recommendation

**Given [CONFIDENCE] confidence that the treatment effect is [estimate]:**

[Specific recommendation based on confidence level]

**What would strengthen this evidence:**
1. [Action 1 — usually "run an RCT"]
2. [Action 2 — method-specific improvement]
3. [Action 3 — additional data]

Read the full file on GitHub · 153 lines

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. 6d ago First seen · 153 lines · 37 tokens per session scan A f8c361c26d4e

Subscribe to this mod's changes

causal-report-generator is an agent published in the GitHub repository ai-analyst-lab/ai-analyst-plugin (32 stars, last pushed 10d ago), licensed MIT. It adds 37 tokens to every session and 1,294 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

mathodology-problem-analyst

Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.

sweetcornna/mathodology · 29 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

eic_agent

Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.

GGbond-bo/MemOmics-Agent · 38 tokens