python-ecg-analysis SKILL.md skillB

python-ecg-analysis 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-ecg-analysis@git:20260813.74ce015

Pins git:20260813.74ce015 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 18 of 19 checks passed
Kind
SKILL.md skill
Repository
kangwang42/epiagentkit
Path
skills/python-ecg-analysis/SKILL.md
Versions recorded
5
Latest version
git:20260813.74ce015, committed Aug 13, 2026
First version recorded
Aug 1, 2026
Size
7,422 bytes
Repository stars
29
License
none declared

通用 Python 心电图(ECG)分析技能,覆盖 ECG 预处理与波形质量控制、心拍/心率变异性(HRV)/表征特征、纵向或多轮 ECG 对齐、超声或临床结局连接及患者级建模。 触发场景:(1) 用 Python 处理 ECG 原始信号;(2) 做心拍、HRV、波形或表征特征;(3) 对齐同一患者多轮 ECG;(4) 连接 ECG 与超声/临床结局;(5) 构建患者级 ECG 模型。 不适用:普通 R 生物统计任务、非 ECG 的通用机器学习、仅写论文或报告。项目命令、参数和数据位置必须从项目规则、README、代码与实际 --help 读取,不得写死。 配合规则:开工前对齐 biostat-principles;实际生成统计图时使用 publication-figures。.

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 ECG 分析

本 skill 提供跨项目的 ECG 分析原则与检查要求,不保存任何项目专属路径、脚本名、参数或分析流程假设。

## 1. 先解析项目要求

按范围读取,不因 ECG 任务自动扫描整项研究:

- Q 只读取回答当前问题所需的权威项目说明、代码或方法来源,不创建文件。
- L 读取项目规则、目标脚本/配置和直接定义该输入、参数或输出的文档;只修目标并验证受影响记录、患者、轮次或结果,不强制读取全部 PROTOCOL、SAP、DECISIONS 和 `02_code/`。
- P/R 再按顺序完整读取:

1. 项目 `AGENTS.md` 与 `CLAUDE.md`,确认规则唯一来源、原始数据目录、已经确认的终点和记录标识字段。
2. 项目 `README.md`、`PROTOCOL.md`、`SAP.md` 与 `DECISIONS.md`,确认研究设计、轮次、时间窗和预设方法。
3. `02_code/` 的实际脚本与配置;先静态检查主程序、参数解析和 `if __name__ == "__main__"` 保护。只有确认 `--help` 会在业务逻辑前退出且不会写文件时,才执行 `python <script> --help`。

规则、README、代码或已经安全核验的 `--help` 不一致时先报告,不猜命令。无法确认某个程序在显示帮助信息前不会写文件时,不执行该命令,改为从源码和项目文档核对参数。原始数据位置、输出目录、导联、采样率、轮次和特征集均以项目文件中已经确认的记录为准。

P/R 开工前写明下列项目级合同;L 只记录与目标修改直接有关的输入、输出、只读边界和验证标准:

- 原始信号根及只读边界;
- 患者、记录、轮次、采集时间和导联的标识字段;
- 预处理输入输出、主要结局与连接时间窗;
- 训练、验证、测试的患者级切分单位;
- 预期记录数、患者数与验证标准。

## 2. 标识与数据来源追溯

- 原始信号只读;派生数据写入项目规定的结果目录。
- `subject_id` 及其他身份标识字段全程保持字符串,保留前导零,不从行号或文件顺序推断身份。
- 在处理前验证主要标识字段的唯一性、重复记录、同一患者轮次数、采集时间顺序和一对多关系。
- 所有 `join` 明确指定连接字段,并核对连接前后的行数、未匹配记录和重复扩增;不得按行顺序拼接。
- 每个预处理产物、特征表和结局连接表记录源文件、源记录标识、参数、生成脚本与运行时间,确保可以追溯到来源和处理步骤。
- 出现记录丢失、未知轮次、身份冲突或无法解释的缺失时停止后续建模,回到最早来源核验并向用户报告。

## 3. ECG 工作流

### 3.1 信号盘点与质量控制
…

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_jyhz52y2op3yfley/e557ebd292dde79ce4fe0546d3c64a385771f5a1c0b5385979ad609c06a76520.json

Then /plugin install python-ecg-analysis@markdownregistry-jyhz52y2op3yfley in Claude Code. It installs git:20260813.74ce015, the one graded B here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add kangwang42/epiagentkit/python-ecg-analysis@sha256:e557ebd292dde79c

The line at the top of this page pins the label git:20260813.74ce015, 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_jyhz52y2op3yfley.svg)](https://markdownregistry.com/a/art_jyhz52y2op3yfley)

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-ecg-analysis 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-ecg-analysis from somewhere else? Ask it: where did my python-ecg-analysis 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 1, 2026 and Aug 13, 2026, about one every 3 days.

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

versioncommittedcommitsizeaudit
git:20260813.74ce015 latest2026-08-13 74ce015 7,422 BB view · diff
git:20260809.b5ce6142026-08-09 b5ce614 7,422 BB view · diff
git:20260807.8e2fbd62026-08-07 8e2fbd6 7,553 BB view · diff
git:20260802.18c0b582026-08-02 18c0b58 6,744 BB view · diff
git:20260801.c2432b92026-08-01 c2432b9 6,163 BB 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

B  18 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7422 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

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

API

GET https://markdownregistry.com/api/v1/artifacts/art_jyhz52y2op3yfley
GET https://markdownregistry.com/api/v1/resolve?ref=kangwang42/epiagentkit/python-ecg-analysis
GET https://markdownregistry.com/api/v1/blob/e557ebd292dde79ce4fe0546d3c64a385771f5a1c0b5385979ad609c06a76520
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 B, or by owner.