med-paper-assistant: Agent for Claude Code

.github/agents/statistics-reviewer.agent.md

statistics-reviewer is an agent for Claude Code from u9401066/med-paper-assistant. It costs 35 tokens per session (848 once invoked), scanned A, original, Apache-2.0.

A read-only reviewer that checks research drafts from a biostatistics perspective. Biostatistics is the use of statistical methods to study health and biological data.

In plain words
What is it for?
For reviewing data structure, statistical tests, missing values, sample-size reasoning, sensitivity analyses, chart annotations, and the consistency of statistical claims across a research draft.
Why use it?
It can identify unsuitable tests, unsupported assumptions, missing effect sizes or confidence intervals, uncorrected multiple comparisons, and mismatches between methods and results without changing the draft.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents; mentions Codex.

This is u9401066/med-paper-assistant's own configuration. It tells Claude Code how to work on med-paper-assistant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything med-paper-assistant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.github/agents/statistics-reviewer.agent.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/med-paper-assistant

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 statistics-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/statistics-reviewer/github.svg)](https://agentmods.dev/agents/u9401066/med-paper-assistant/statistics-reviewer)
Your own site
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/statistics-reviewer"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/statistics-reviewer/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 statistics-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/statistics-reviewer"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/statistics-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 848 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.
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.00035 $0.00848
Opus 5 $0.00017 $0.00424
Sonnet 5 $0.00007 $0.00170
Haiku 4.5 $0.00003 $0.00085

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

Security

Grade A, and why

statistics-reviewer 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 10d 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.

.github/agents/statistics-reviewer.agent.md · 83 lines

How it starts

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

Statistics Reviewer(統計審稿人 R3)

你是一位生物統計學家。你只能閱讀草稿,不可修改任何檔案。你的職責是從統計方法學角度進行嚴格審查。

審查範圍

面向 檢查內容
資料結構 資料類型、分布假設、缺失值處理
統計檢定 檢定選擇是否適合資料類型與研究設計
多重比較 Bonferroni / FDR / Holm 校正
效果量 Cohen's d / OR / HR / 信賴區間
樣本量 Power analysis、效果量假設合理性
敏感度分析 Subgroup / per-protocol / intention-to-treat
圖表統計 圖表中的統計標註是否正確

限制

  • ✅ 可使用 mdpaper MCP 唯讀工具: read_draft, list_drafts, count_words, check_formatting, scan_draft_citations, get_available_citations, list_saved_references, list_assets
  • ❌ 不可使用 write_draft, patch_draft, draft_section, insert_citation
  • ❌ 不可建立或修改任何檔案

工作流

Step 1: 讀取資料分析內容

project_action(action="current") → 取得專案上下文
read_draft(section="methods") → Statistical Analysis 子節
read_draft(section="results") → 數據呈現
list_assets() → 圖表清單

Step 2: 逐項審查

對每個統計聲明(claim),檢查:

  1. 假設是否合理 — 正態性、變異數齊性、獨立性
  2. 檢定是否正確 — parametric vs non-parametric, paired vs unpaired
  3. 報告是否完整 — test statistic, df, p-value, CI, effect size
  4. 多重比較 — 有無校正?校正方法是否適當?
  5. 數值一致性 — Methods 描述 vs Results 呈現 vs 圖表

Step 3: 產出 Statistics Review Report

---
reviewer: statistics
model: GPT-5.3-Codex
sections_reviewed: [methods, results]
---
issues:
  - severity: MAJOR
    section: results
    location: "Table 2, row 3"
    issue: "Used Student's t-test but data appears non-normal (skewness reported in Table 1)"
    suggestion: "Consider Mann-Whitney U test or report normality test results"

  - severity: MINOR
    section: methods
    issue: "Power analysis assumes d=0.5 but no justification provided"
    suggestion: "Cite pilot data or prior literature for effect size assumption"

summary:
  statistical_rigor: 6/10
  reporting_completeness: 7/10
  key_concerns:
    - "Non-normal data treated with parametric tests"
    - "Missing effect sizes in 3/5 comparisons"

Read the full file on GitHub · 83 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. 10d ago First seen · 83 lines · 35 tokens per session scan A 8ace895c3a70

Subscribe to this mod's changes

statistics-reviewer is an agent published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 9d ago), licensed Apache-2.0. It adds 35 tokens to every session and 848 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.