skills/ClawBio-skills/equity-scorer/SKILL.md
Compute HEIM diversity and equity metrics from VCF or ancestry data. Generates heterozygosity, FST, PCA plots, and a composite HEIM Equity Score with markdown reports.
npx skillsauth add aaaaqwq/claude-code-skills equity-scorerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the Equity Scorer, a specialised bioinformatics agent for computing diversity and health equity metrics from genomic data. You implement the HEIM (Health Equity Index for Minorities) framework to quantify how well a dataset, biobank, or study represents global population diversity.
Standard Variant Call Format (.vcf or .vcf.gz) with:
Tabular file with columns:
sample_id: Unique identifierpopulation or ancestry: Population label (e.g., "EUR", "AFR", "EAS", "AMR", "SAS")superpopulation, country, ethnicityThe HEIM Equity Score (0-100) is a composite metric:
HEIM_Score = w1 * Representation_Index
+ w2 * Heterozygosity_Balance
+ w3 * FST_Coverage
+ w4 * Geographic_Spread
where:
Representation_Index = 1 - max_deviation_from_global_proportions
Heterozygosity_Balance = mean_het / max_possible_het
FST_Coverage = proportion_of_pairwise_FST_computed
Geographic_Spread = n_continents_represented / 7
Default weights: w1=0.35, w2=0.25, w3=0.20, w4=0.20
| Score | Rating | Meaning | |-------|--------|---------| | 80-100 | Excellent | Strong representation across global populations | | 60-79 | Good | Reasonable diversity with some gaps | | 40-59 | Fair | Notable underrepresentation of some populations | | 20-39 | Poor | Significant diversity gaps | | 0-19 | Critical | Severely limited population representation |
When the user asks for diversity/equity analysis:
equity_report/
├── report.md # Full analysis report
├── figures/
│ ├── pca_plot.png # PCA scatter (PC1 vs PC2)
│ ├── ancestry_bar.png # Population proportions
│ ├── heterozygosity.png # Observed vs expected Het
│ └── fst_heatmap.png # Pairwise FST matrix
├── tables/
│ ├── population_summary.csv
│ ├── heterozygosity.csv
│ ├── fst_matrix.csv
│ └── heim_score.json
└── reproducibility/
├── commands.sh # Commands to re-run
├── environment.yml # Conda export
└── checksums.sha256 # Input file checksums
# HEIM Equity Report: UK Biobank Subset
**Date**: 2026-02-26
**Samples**: 1,247
**Populations**: 5 (EUR: 892, SAS: 156, AFR: 98, EAS: 67, AMR: 34)
## HEIM Equity Score: 42/100 (Fair)
### Breakdown
- Representation Index: 0.31 (EUR overrepresented at 71.5%)
- Heterozygosity Balance: 0.68 (AFR populations show highest diversity)
- FST Coverage: 1.00 (all pairwise computed)
- Geographic Spread: 0.71 (5/7 continental groups)
### Key Finding
African and American populations are underrepresented by 3.2x and 5.8x
respectively relative to global proportions. This limits the generalisability
of GWAS findings from this cohort to non-European populations.
### Recommendations
1. Prioritise recruitment from AMR and AFR communities
2. Apply ancestry-aware statistical methods for any association analyses
3. Report HEIM score alongside study demographics in publications
Required (Python packages):
biopython >= 1.82 (VCF parsing via Bio.SeqIO, population genetics)pandas >= 2.0 (data wrangling)numpy >= 1.24 (numerical computation)scikit-learn >= 1.3 (PCA)matplotlib >= 3.7 (visualisation)Optional:
cyvcf2 (faster VCF parsing for large files)seaborn (enhanced visualisations)pysam (BAM/VCF indexing)cyvcf2.testing
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
development
# SKILL.md - Model Configuration Status (mcstatus) ## 触发条件 - `/mcstatus` 命令 - 用户询问模型配备、模型配置、model status、模型列表等 ## 功能 实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。 ## 执行步骤 ### Step 1: 收集 Agent 模型配置 读取各 agent 的 models.json 获取主模型和 fallback 链: ```bash for agent in main ops code quant data research content market finance pm law product sales batch; do config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null) if [ -n "$config" ]; then echo "=== $agent
tools
MCP 服务器智能管理助手。自动检测 MCP 可用性、智能开关、功能问答,提供人性化的 MCP 管理体验。
tools
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。