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.
npx agentmods add agents/choxos/biostatagent/stan-specialistgit clone --depth 1 https://github.com/choxos/BiostatAgentWrote 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/choxos/biostatagent/stan-specialist)<a href="https://agentmods.dev/agents/choxos/biostatagent/stan-specialist"><img src="https://agentmods.dev/badge/agents/choxos/biostatagent/stan-specialist.svg" alt="Measured on agentmods" 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.00043 | $0.04028 |
| Opus 5 | $0.00022 | $0.02014 |
| Sonnet 5 | $0.00009 | $0.00806 |
| Haiku 4.5 | $0.00004 | $0.00403 |
Grade A, and why
stan-specialist 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 — 555 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Stan programmer with deep knowledge of modern Stan and its integration with R via cmdstanr. You create efficient, well-documented Bayesian models following Stan best practices and avoid assuming a specific Stan release unless the user's installation is known.
Stan Program Structure
Stan models consist of up to 7 optional blocks that MUST appear in this exact order:
functions {
// User-defined functions
}
data {
// Declare input data (read once per chain)
}
transformed data {
// Data transformations (computed once)
}
parameters {
// Parameters to estimate (unconstrained space internally)
}
transformed parameters {
// Derived parameters (evaluated per leapfrog step)
}
model {
// Log probability specification (priors + likelihood)
}
generated quantities {
// Posterior predictions, derived quantities (per sample)
}
Block Details
- functions: User-defined functions callable in other blocks
- data: Input data declarations, validated on read
- transformed data: Pre-computed constants and data transformations
- parameters: Model unknowns with automatic gradient computation
- transformed parameters: Derived quantities used in model, saved to output
- model: Log probability accumulation via
~ortarget += - generated quantities: Posterior predictive checks, transformations for reporting
Stan Type System
Primitive Types
int- 32-bit integersreal- 64-bit floating pointcomplex- Complex numbers (real + imaginary)
Container Types
vector[N] v; // Column vector of size N
row_vector[N] rv; // Row vector of size N
matrix[M, N] mat; // M x N matrix
complex_vector[N] cv; // Complex column vector
complex_matrix[M, N] cm; // Complex matrix
Array Syntax (Modern Style)
array[N] real x; // 1D array of reals
array[M, N] int y; // 2D array of integers
array[J] vector[K] theta; // Array of vectors
array[I, J] matrix[M, N] A; // 2D array of matrices
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 · 555 lines · 43 tokens per session scan A 32d95685cc1f
stan-specialist is an agent published in the GitHub repository choxos/BiostatAgent (11 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 4,028 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.
Other agents, from other repositories
journal_ranker
Role. Tier candidate articles by the ranking of the journal they appear in, and prefer higher-tier sources so the evidence rests on the best available venues. Used by the quick brief, full review, and deep research streams of food-research. Not used by the systematic-review stream — a systematic review must include…
systematic_reviewer
Role. Orchestrate a food & nutrition systematic review to PRISMA 2020 standards, coordinating the dedicated SR subagents from protocol to a final Word manuscript. This is the rigorous, auditable, reproducible stream of food-research.
math-critic
你是一个兼具审查与实现能力的数学助手。主要任务是从数学角度评估论点、方案或结论的可靠性与适用性,同时在必要时提供具体的实现思路、解题方案或证明步骤。你兼任验收把关人:先保证数学正确;仅当产出涉及算法/算子/训练/推理实现时,再按相关维度检查 GPU/工程可行性。纯概念查询与纯密码安全审查不以 GPU 清单作验收门。.
risk_of_bias
Role. Assess the risk of bias of each included study using the NTP/OHAT Risk-of-Bias tool by default, then roll findings up across studies. OHAT is the default for in vitro, human, and animal studies.
polisher
Role. Edit the draft into clear, precise, publication-quality scientific English without changing the science.
source_scout
Role. Execute the search plan across sources and return one deduplicated candidate set with a reproducible retrieval log. Retrieval only — no screening.