claw-semantic-sim
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
Skill by Manuel Corpas
Chalk Labs
Need help deploying claw-semantic-sim?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawbio-claw-semantic-sim
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/claw-semantic-sim
What's inside
- Skill name
claw-semantic-sim- Description
- Semantic Similarity Index for disease research literature using PubMedBERT embeddings
- License
- MIT
- Metadata
- author: Manuel Corpas · version: 0.1.0
- Instructions
- 104 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 🦖 Semantic Similarity Index Measure how isolated or connected disease research is across the global biomedical literature, using PubMedBERT embeddings on PubMed abstracts spanning 175 GBD diseases. ## What it does 1. Takes a disease list (GBD taxonomy) as input 2. Retrieves PubMed abstracts (2000-2025) for each disease with quality filtering 3. Generates 768-dimensional PubMedBERT embeddings for every abstract 4. Computes four semantic equity metrics per disease: - **Semantic Isolation Index (SII)**: average cosine distance to k-nearest disease neighbours; higher = more isolated, less connected research - **Knowledge Transfer Potential (KTP)**: cross-disease centroid similarity; higher = more potential for research spillover - **Research Clustering Coefficient (RCC)**: within-disease embedding variance; higher = more diverse research approaches - **Temporal Semantic Drift**: cosine distance between yearly centroids; measures how research focus evolves 5. Generates publication-quality multi-panel figures: - **Panel A**: Semantic isolation by disease category (boxplot) - **Panel B**: Top 20 most semantically isolated diseases (bar chart, NTD/Global South colour-coded) - **Panel C**: Semantic isolation vs research volume (scatter with regression) - **Panel D**: NTD vs non-NTD significance test (Welch's t-test, Cohen's d) 6. Produces a markdown report with all metrics, rankings, and reproducibility bundle ## Why this exists If you ask ChatGPT to "measure research neglect for diseases," it will: - Not know which embedding model to use for biomedical text - Hallucinate metrics that sound plausible but have no methodological grounding - Skip quality filtering (year coverage, abstract coverage, minimum papers) - Not handle MPS acceleration or checkpointed batch processing - Produce a single scatter plot with no disease classification This skill encodes the correct methodological decisions: - Uses PubMedBERT (the gold-standard biomedical language model) - Fetches from PubMed with exponential backoff and NCBI rate limiting - Quality filters: year coverage >= 70%, abstract coverage >= 95%, minimum 50 papers - Batch embedding with Apple MPS acceleration and CPU fallback - Checkpointed processing (resume after interruption) - HDF5 storage with gzip compression and SHA-256 checksums - Classification against WHO NTD list and Global South priority diseases - Statistical significance testing (Welch's t-test, Cohen's d) ## Key Finding Neglected tropical diseases (NTDs) are significantly more semantically isolated than other conditions (P < 0.001, Cohen's d = 0.8+). They exist in knowledge silos with limited cross-disciplinary research bridges. The 25 most isolated diseases are disproportionately Global South priority conditions. ## Pipeline ``` 05-00-heim-sem-setup.py # Validate environment, create directories 05-01-heim-sem-fetch.py # Retrieve PubMed abstracts (checkpointed) 05-02-heim-sem-embed.py # Generate PubMedBERT embeddings (MPS/CPU) 05-03-heim-sem-compute.py # Compute SII, KTP, RCC, temporal drift 05-04-heim-sem-figures.py # Generate publication figures 05-05-heim-sem-integrate.py # Merge with biobank + clinical trial dimensions ``` ## Status **Not yet implemented.** `semantic_sim.py` and the `05-00..05-05` pipeline scripts described above are not present in this repository yet; there is no runnable demo. ## Example Output ``` Semantic Similarity Index ========================= Diseases analysed: 175 Total PubMed abstracts: 13,100,000 Embedding model: PubMedBERT (768-dim) Metric Ranges: SII: 0.0412 - 0.1893 KTP: 0.6234 - 0.9187 RCC: 0.0891 - 0.3421 Key Finding: NTDs show +38% higher semantic isolation P < 0.0001, Cohen's d = 0.84 14/25 most isolated diseases are Global South priority Figures saved to: demo_report/ Fig5_Semantic_Structure.png (300 dpi) Fig5_Semantic_Structure.pdf (vector) Reproducibility: commands.sh | environment.yml | checksums.sha256 ``` ## Interpretation Guide - **High SII**: Disease research exists in a knowledge silo; limited cross-disciplinary bridges - **Low KTP**: Research on this disease has few methodological overlaps with others - **High RCC**: Diverse research approaches within the disease (many subtopics) - **High Temporal Drift**: Research focus has shifted significantly over time - NTDs shown in **red**, Global South diseases in **orange**, others in **grey** - The scatter plot (Panel C) reveals the inverse relationship between research volume and isolation ## Citation If you use this skill in a publication, please cite: - Corpas, M. et al. (2026). HEIM: Health Equity Index for Measuring structural bias in biomedical research. Under review. - Corpas, M. (2026). ClawBio. https://github.com/ClawBio/ClawBio
From ClawBio/ClawBio, MIT.
More from ClawBio/ClawBio
- 0.825score
polars-bio
ClawBio (adapted from K-Dense scientific-agent-skills/polars-bio)
Fast genomic interval operations (overlap, nearest, merge, coverage, cluster, complement, subtract, count-overlaps), multi-format bioinformatics I/O…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gi-expression
ClawBio + Genomic Intelligence
Predict tissue / cell-type expression (log TPM + TPM) from 9,198–500,000 bp of DNA around a TSS, at least 4,599 bp each side (anything but exactly 9,198 bp…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ukb-ppp-region-fetch
ClawBio
Fetch a regional slice of plasma pQTL summary statistics from the UK Biobank Pharma Proteomics Project (UKB-PPP; Sun 2023 Nature) for a specific (protein…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
eqtl-catalogue-region-fetch
ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
protocols-io
ClawBio Contributors
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gwas-sumstats-harmonize
AlsammanAlsamman
Harmonize GWAS summary statistics from any common format (GWAS-Catalog SSF, PLINK 1.9/2, REGENIE, METAL, BOLT, SAIGE) to one canonical table (SNP CHR BP EA…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
prs-applicability-gate
Rinat Rizvanov
Deterministic gate for ONE already-computed polygenic score result and ONE person: returns SUPPORTED (raw score, standardised score and reference percentile…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
wgs-prs
David de Lorenzo
End-to-end WGS to polygenic risk score pipeline.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
biostudies-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
SkillAFreshness: A★ 1.2KClaude Code +9
Signals
- Stars
- 1,166
- Forks
- 288
- Open issues
- 27
- Last commit (this folder)
- Aug 22, 2026 (2 months ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- MIT
- Repository
- github.com/ClawBio/ClawBio
- Website
- clawbio.github.io/ClawBio/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.283score
claw-semantic-sim
aAAaqwq
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
SkillBFreshness: B★ 111Claude Code +9 - 0.281score
claw-semantic-sim
MubasherMohammed
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
SkillCFreshness: CClaude Code +9
More from Manuel Corpas
- 0.819score
rare-high-impact-variants
Manuel Corpas
Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.819score
profile-report
Manuel Corpas
Unified personal genomic profile report — reads a PatientProfile JSON and synthesizes all skill results into a single "Your Genomic Profile" document.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.815score
genome-compare
Manuel Corpas
Compare your genome to George Church (PGP-1) and estimate ancestry composition via IBS and EM admixture
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.815score
pharmgx-reporter
Manuel Corpas
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA) — 12 genes, 31 SNPs, 51 drugs
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.815score
claw-ancestry-pca
Manuel Corpas
Ancestry decomposition PCA against the Simons Genome Diversity Project
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.815score
archaic-introgression
Manuel Corpas
Detect Neanderthal and Denisovan introgression segments from modern human genomes
SkillAFreshness: A★ 1.2KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get claw-semantic-sim running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
claw-semantic-sim skill. Agent Mart. https://agentmart.dev/skills/clawbio-claw-semantic-sim (last updated 2026-10-24)