project-init SKILL.md skillA
project-init from kangwang42/epiagentkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kangwang42/epiagentkit/project-init@git:20261120.2a9e6a1Pins 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/project-init/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261120.2a9e6a1, committed Nov 20, 2026
- First version recorded
- Aug 6, 2026
- Size
- 8,565 bytes
- Repository stars
- 29
- License
- none declared
按明确请求初始化分析、论文、咨询、教学或单次任务的最小项目结构。已有项目分析、简单作业和快速核验不触发;不自动启用 Git。.
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
# 项目初始化
只有用户明确要求新建项目或把空工作区初始化时执行;Q/L、已有项目分析和一次快速核验不触发。开工先遵循 `biostat-principles`。
## 1. 选择项目类型
| `profile` 参数 | 适用场景 | 初始化内容 |
| --- | --- | --- |
| `analysis` | 正式研究设计与统计分析 | 数据、代码、结果、表图、PROTOCOL、SAP、方法决策、后续待解决事项、总运行脚本和环境说明 |
| `paper` | 分析与论文在同一项目 | `analysis` 核心加 `paper/`,不预建投稿版本 |
| `consulting` | 分析完成后需要客户交付 | `analysis` 核心加 `05_reports/`,不预建空交付包或论文目录 |
| `teaching` | 教学示例或课程材料 | `data/`、`code/`、`output/` 与 README,无正式研究记录文件 |
| `oneoff` | 用户明确要求建立可保存的单次任务目录 | `input/`、`code/`、`output/` 与 README,不创建正式项目的结果文件、表图编号表或管理文件 |
选择能够完成当前任务的最小类型。后续确有需要时再增加相应目录或正式产物,不预建空模块。
## 2. 初始化
从本 skill 的 `scripts/init_project.R` 加载函数:
```r
source("<project-init>/scripts/init_project.R", encoding = "UTF-8")
init_project(
"cohort_example",
profile = "analysis",
type = 1,
language = "r",
root = ".",
git = FALSE
)
```
- `type` 支持 cohort、case_control、cross_sectional、rct、meta、rwd、methodology 的序号或名称。
- 默认使用 R;只有用户明确选择或现有主流程为 Python 时使用 `language="python"`。
- `git=TRUE` 仅在用户明确启用且 Git 已存在时初始化;生成的 `.gitignore` 忽略整个 `09_backup/`,不安装 Git,不自动 push。旧项目中已经被 Git 跟踪的备份内容不自动移除,先由用户确认迁移范围。
- 旧调用的 `mode="research"|"consulting"` 仅用于兼容已有代码;新文档和新模板统一使用 `profile` 参数。
## 3. 正式研究项目结构
…Read the whole file at its exact version.
How to install
claude plugin marketplace add https://markdownregistry.com/mp/a/art_5rgfeqffwfk6qucd/468913e986d3f7c81613f51f537d89759dc3a8c96ebe1550188cf71330adf1ef.json
Then /plugin install project-init@markdownregistry-5rgfeqffwfk6qucd 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.
mdr add kangwang42/epiagentkit/project-init@sha256:468913e986d3f7c8The 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.
[](https://markdownregistry.com/a/art_5rgfeqffwfk6qucd)
3 badge image fetches in 30 days. What the badge shows.
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry
Then ask it: what changed in kangwang42/epiagentkit/project-init 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 project-init from somewhere else? Ask it: where did my project-init 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 6, 2026 and Nov 20, 2026, about one every 26 days.
Watch this file (sign in, one email per new version)
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261120.2a9e6a1 latest | 2026-11-20 | 2a9e6a1 | 8,565 B | A | view · diff |
| git:20260930.96608bf | 2026-09-30 | 96608bf | 8,397 B | A | view · diff |
| git:20260815.4682deb | 2026-08-15 | 4682deb | 8,654 B | A | view · diff |
| git:20260810.711d612 | 2026-08-10 | 711d612 | 8,694 B | A | view · diff |
| git:20260806.cfc9c1b | 2026-08-06 | cfc9c1b | 7,838 B | A | view |
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.
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.
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.
Installed this file, say at .claude/skills/project-init/SKILL.md? Drop it here to learn which saved version you have and what changed since. Your browser works out its SHA-256 fingerprint and sends only that; the file itself never leaves your computer.
Or paste its contents
Your agent can run this same check on the agent markdown files you have installed, up to 50 in one ask. Add the registry once:
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry
Then ask it to check the files you have installed. No key and no account.
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
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8565 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
kangwang42/epiagentkit · 29 stars · license none declared · pushed 2026-11-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5rgfeqffwfk6qucd GET https://markdownregistry.com/api/v1/resolve?ref=kangwang42/epiagentkit/project-init GET https://markdownregistry.com/api/v1/blob/468913e986d3f7c81613f51f537d89759dc3a8c96ebe1550188cf71330adf1ef 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
Every file in kangwang42/epiagentkit