python-biostats SKILL.md skillA

python-biostats from kangwang42/epiagentkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kangwang42/epiagentkit/python-biostats@git:20261120.2a9e6a1

Pins git:20261120.2a9e6a1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
kangwang42/epiagentkit
Path
skills/python-biostats/SKILL.md
Versions recorded
5
Latest version
git:20261120.2a9e6a1, committed Nov 20, 2026
First version recorded
Aug 15, 2026
Size
4,080 bytes
Repository stars
29
License
none declared

用 Python 完成生物统计清洗、描述、回归、生存、预测验证、统计表和代码修复。仅在用户明确选 Python 或项目已有 Python 主流程时使用;不因 R 依赖缺失触发。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Python 生物统计执行

仅在用户明确选择 Python 或既有项目以 Python 为主流程时执行;Python 运行时缺失时先询问是否安装,用户不安装则评估现有 R 环境中的经核验等价实现。不存在等价实现时说明差异并等待选择,不静默切换,也不重写可工作的 R 主流程。

## 1. 输入与方法

1. 读取本轮必要输入;项目执行或正式发布时,再读取项目规则、PROTOCOL、SAP、配置、方法决定与尚未解决且需要后续处理的事项。
2. 确认分析集、暴露或干预、终点、比较、时间零点、协变量和主要方法。多个合理口径会改变答案时先确认。
3. 从最早输入核对字段、类型、键、重复、缺失、范围和逐步样本量。
4. 方法匹配 estimand、研究设计、结局类型、时间结构和抽样设计,优先采用本领域同类研究的常规实用方法,按样本量与事件数克制模型复杂度,不自动追加未要求的高参数附表模型、逐步调整或未改变结论的例行诊断替换;量表阈值优先按原量表标准确定,不按库的便利性替代研究问题。

可沿用项目已有的 pandas、polars、scipy、statsmodels、scikit-learn、lifelines 或 scikit-survival;这些是可能实现,不是强制依赖。统计图转 `publication-figures`。

## 2. 实现与运行

- 新增、修改或重构 Python 代码前先读 [代码风格](references/code-style.md),按其组织分析主线、读入类型、连接防错和结果提取;项目已有规范时沿用项目规范。
- 沿用项目风格,按代码风格细则判断函数边界与检查位置;原始数据只读。
- 只有随机抽样、模拟、重采样、数据拆分或随机算法固定并记录种子。
- 普通 Python 包缺失时按 `biostat-principles` 的依赖政策在项目隔离环境补齐;失败不得静默换包、换方法或换语言。
- 多行分析写入 `.py`。局部任务运行目标脚本;项目执行和正式发布通过 `run_pipeline.py` 调用项目现有且版本兼容的 Python,启动独立进程并按已确认顺序运行全部相关脚本。
- 非机械修改 `.py` 后,先用项目现有 Python 执行 `python -m py_compile <受影响脚本>`,通过后再运行受影响的最小入口或总运行脚本。编译通过只是一道即时门禁,不能替代实跑和科学结果检查。
- 核对完整 stdout/stderr、样本量链、缺失、估计范围、区间、收敛、适用的模型假设和预期文件;warning、traceback、failed、nan 不得略过。

异常可能改变口径或结论时回到最早来源并停下报告,不通过删记录、改模型或捕获异常掩盖。

## 3. 结果与完成
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_ezuolnnylzyr7gkk/d7feb6ba8aca9f6f9dfd9c85641651f7d75740226333b296c47766bec94abaf0.json

Then /plugin install python-biostats@markdownregistry-ezuolnnylzyr7gkk in Claude Code. It installs git:20261120.2a9e6a1, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add kangwang42/epiagentkit/python-biostats@sha256:d7feb6ba8aca9f6f

The line at the top of this page pins the label git:20261120.2a9e6a1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ezuolnnylzyr7gkk.svg)](https://markdownregistry.com/a/art_ezuolnnylzyr7gkk)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in kangwang42/epiagentkit/python-biostats since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of python-biostats from somewhere else? Ask it: where did my python-biostats come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Aug 15, 2026 and Nov 20, 2026, about one every 24 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261120.2a9e6a1 latest2026-11-20 2a9e6a1 4,080 BA view · diff
git:20261028.30504e52026-10-28 30504e5 3,825 BA view · diff
git:20261001.d100a5b2026-10-01 d100a5b 3,804 BA view · diff
git:20260930.96608bf2026-09-30 96608bf 3,596 BA view · diff
git:20260815.4682deb2026-08-15 4682deb 3,896 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4080 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kangwang42/epiagentkit · 29 stars · license none declared · pushed 2026-11-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ezuolnnylzyr7gkk
GET https://markdownregistry.com/api/v1/resolve?ref=kangwang42/epiagentkit/python-biostats
GET https://markdownregistry.com/api/v1/blob/d7feb6ba8aca9f6f9dfd9c85641651f7d75740226333b296c47766bec94abaf0
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kangwang42/epiagentkit

AGENTS.md AGENTS.md file
kangwang42/epiagentkit · AGENTS.md
git:20261120.8b3ca48 · audit A · 29 stars
CLAUDE.md CLAUDE.md file
kangwang42/epiagentkit · CLAUDE.md
git:20261120.2a9e6a1 · audit A · 29 stars
academic-humanizer SKILL.md skill
kangwang42/epiagentkit · skills/academic-humanizer/SKILL.md · 编辑、压缩或终审已有中英文学术文本、研究报告、基金申请和投稿往来,保持事实、数字与引文。论文从零起草或章节级结构性重写使用 academic-publishing。
git:20261105.0a917a8 · audit A · 29 stars
academic-ppt SKILL.md skill
kangwang42/epiagentkit · skills/academic-ppt/SKILL.md · 新建或结构性重做组会、文献分享、方法讲解、开题、中期和答辩等学术 PPT。明确中山大学模板时使用 sysu-ppt;已有 PPTX 的局部文件修改只用 pptx。
git:20261120.2a9e6a1 · audit A · 29 stars
academic-publishing SKILL.md skill
kangwang42/epiagentkit · skills/academic-publishing/SKILL.md · 起草或结构性重写论文、学位论文部件和投稿材料,完成投稿或返修提交前核对。已有文字的局部润色使用 academic-humanizer;开题报告使用 graduate-opening-report。
git:20261109.9f84578 · audit A · 29 stars
biostat-principles SKILL.md skill
kangwang42/epiagentkit · skills/biostat-principles/SKILL.md · 研究设计、生物统计分析、科研写作、咨询交付和项目审查的共同执行原则。口径争议、结果不一致或试新方法时使用;轻量任务保持原范围。
git:20261120.2a9e6a1 · audit A · 29 stars
build-web-ui SKILL.md skill
kangwang42/epiagentkit · skills/build-web-ui/SKILL.md · 创建、改版、修复或美化真实网页与 Web UI,完成响应式布局、交互和浏览器验收。适用于静态站、Quarto 和 Web 应用;不用于单独后端、原生应用或独立图片。
git:20261120.2a9e6a1 · audit A · 29 stars
chatgpt-web-collaboration SKILL.md skill
kangwang42/epiagentkit · skills/chatgpt-web-collaboration/SKILL.md · 在当前 Claude Code、Codex 或 Antigravity 会话中启用、使用或停止 ChatGPT 网页协作,辅助文献线索、文字审查和独立检查。只操作 chatgpt.com;不用于普通浏览或直接核验研究证据。
git:20261120.8b3ca48 · audit A · 29 stars
consulting-delivery SKILL.md skill
kangwang42/epiagentkit · skills/consulting-delivery/SKILL.md · 把已完成并验证的 R/Python 分析整理为可阅读、可复现且可追溯的客户交付包。用于正式结果打包或外发准备;不用于未完成分析、内部预览或单张表。
git:20261001.d961a63 · audit A · 29 stars
docx SKILL.md skill
kangwang42/epiagentkit · skills/docx/SKILL.md · Read, create, edit, render or validate Word .docx files, including comments and tracked changes. Use for actual Word…
git:20261105.f368a82 · audit A · 29 stars
epi-project-audit SKILL.md skill
kangwang42/epiagentkit · skills/epi-project-audit/SKILL.md · 审查流行病学项目的数据、代码、结果、表图、正文与交付一致性,判定正式发布条件。用于项目复核或全面质控;单个文件或局部格式检查使用对应技能。
git:20261001.329fd90 · audit A · 29 stars
epi-study-design SKILL.md skill
kangwang42/epiagentkit · skills/epi-study-design/SKILL.md · 制定或审查流行病学研究设计、estimand、终点、纳排、偏倚控制、样本量/精度、PROTOCOL 和 SAP。不用于目录初始化、模型实跑或论文结果写作。
git:20261013.f284d1a · audit A · 29 stars

Every file in kangwang42/epiagentkit

Browse by kind, by grade A, or by owner.