Disease stratifier
Skill EthanYoQ/Skill-hub/skills/10-business-industry/disease-stratifier
Reusable AI agent skills for Codex, Claude Code etc. — AI coding workflows, SKILL.md templates, and automation practices. 面向 Codex、Claude Code等agents 的可复用 AI Agent Skill 技能库:AI 编程工作流、SKILL.md 模板与自动化实践。
npx -y skills add EthanYoQ/Skill-hub --skill disease-stratifierAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Phase 2 of disease-market-sizing-orchestration. Discovers disease-specific stratification dimensions by citing guideline sections from sources/guidelines/. ALWAYS uses cite-based discovery — NEVER built-in stratification templates. Output: .cache/<slug>/staging.json. Use AFTER contract-elicitor and AFTER A1' guidelines fetch.
The file declares its own license as Cite-or-Block strict (P0 iron law, see ../../CLAUDE.md). That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.0 KB, as published. Nobody here has run it
Disease Stratifier (Phase 2)
P0 守门 — strict prohibitions
- 禁止内置
KNOWN_STAGING_TEMPLATESdict - 禁止
if disease == "X": stratify_by("Y")类硬编码 - 禁止凭 LLM 训练记忆生成"标准分期"
- 所有分层维度必须从 sources/guidelines/ 实际抓回的原文 cite
CI watchdog (scripts/p0_watchdog.py) scans this skill's source for disease names + staging templates and blocks merge on hit.
Functions
stratify(slug_dir, ask_llm) -> staging.json path
Schema
schemas/staging.schema.json — every dimension MUST have name + citation_anchor + sub_cohorts (≥1).