precision-medicine-mcp: Skill for Claude Code

.claude/skills/doc-audit/SKILL.md

precision-medicine-doc-audit is a skill for Claude Code from lynnlangit/precision-medicine-mcp. It costs 187 tokens per session (2,522 once invoked), scanned A, original, Apache-2.0.

A documentation checker for the Precision Medicine MCP repository, which is a code project that connects medical-data tools to AI. It checks Markdown files against six stated documentation rules.

In plain words
What is it for?
Use it to test the audit checks themselves and inspect the repository documentation for consistency with the server code and registry.
Why use it?
It helps catch outdated counts, missing patient references, and inconsistent repeated information after a platform update.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code.

This is lynnlangit/precision-medicine-mcp's own configuration. It tells Claude Code how to work on precision-medicine-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything precision-medicine-mcp configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is > For PAT001 findings see [Patient Outcomes Reference](../reference/shared/patient-outcomes.md#pat001)..

Reuse

Borrowing it

Nothing to install: this file belongs to lynnlangit/precision-medicine-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lynnlangit/precision-medicine-mcp/main/.claude/skills/doc-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lynnlangit/precision-medicine-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for precision-medicine-doc-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/doc-audit/github.svg)](https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/doc-audit)
Your own site
<a href="https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/doc-audit"><img src="https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/doc-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for precision-medicine-doc-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/doc-audit"><img src="https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/doc-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 223
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 224
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00187 $0.02522
Opus 5 $0.00093 $0.01261
Sonnet 5 $0.00037 $0.00504
Haiku 4.5 $0.00019 $0.00252

Measured 11d ago against content hash e35481f232b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

precision-medicine-doc-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/audit.py, scripts/self_test.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/doc-audit/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Precision Medicine MCP — Doc Audit Skill

Purpose

After every platform version update, run this audit to catch stale numbers, missing patient references, and repeated content before they spread further. The audit has six checks (A–F) that map directly to the six canonical principles. Run them in order: A feeds B, and B+C together surface D violations.


Step 0 — Prove the checks still fire

A green audit is only meaningful if the checks are capable of going red. Three times a check in this suite reported a clean repo while being structurally unable to fail — an exemption added to quiet noise in one sub-rule, then applied to the whole check. Run this first:

python .claude/skills/doc-audit/scripts/self_test.py

It builds a small synthetic repo in a temp directory, confirms the audit reports it clean, then introduces one defect at a time and asserts the responsible check catches it. The real repo is never touched.

If any check does not fire, stop. Fix that check before reading the audit output — a check that cannot fail reports green and stops anyone looking.


Step 1 — Run the automated audit script

The bundled script does the mechanical work. Run it from the repo root:

python .claude/skills/doc-audit/scripts/audit.py 2>&1 | tee /tmp/doc-audit-report.txt

The script outputs a structured report with six sections. Read the output — it will tell you exactly which files have violations and what the correct values are.

If the script is not yet installed (first run), see Installation below.


Step 2 — Interpret the six check sections

Check A — Tool counts: code vs registry

The script greps @mcp.tool() in every servers/mcp-*/src/*/server.py and compares to the count in docs/reference/shared/server-registry.md.

A violation means: someone added or removed a tool in Python code but forgot to update the registry table. The server code is always right; update the registry.

Check B — Hardcoded counts: all MD files

Read the full file on GitHub · 248 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 248 lines · 187 tokens per session scan A e35481f232b3

Subscribe to this mod's changes

precision-medicine-doc-audit is a skill published in the GitHub repository lynnlangit/precision-medicine-mcp (24 stars, last pushed 16d ago), licensed Apache-2.0. It adds 187 tokens to every session and 2,522 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

decoupler

Use for any task involving the decoupler library — inferring biological activity/enrichment scores from omics data (bulk, single-cell, spatial). Triggers on estimating transcription factor (TF) activity, pathway activity, or gene-set enrichment from an AnnData/DataFrame; running ulm, mlm, ora, gsea, gsva, aucell…

scverse/decoupler · 220 tokens

Bulk RNAseq differential expression (DeSeq2)

Core DESeq2 workflow for RNA-seq differential expression analysis with count data.

TianGzlab/OmicsClaw · 10 tokens

Single-Cell RNA-seq Core Analysis (Seurat)

Complete workflow for single-cell RNA-seq analysis using Seurat v5. Process raw data through quality control, normalization, clustering, and cell type annotation with publication-ready visualizations.

TianGzlab/OmicsClaw · 12 tokens

single-cell

Single-cell analysis pipeline covering scRNA-seq, snRNA-seq, and CyTOF (mass cytometry) — QC, normalization, integration, clustering, annotation, differential expression, trajectory, cell communication, and TF activity inference.

inflexa-ai/inflexa · 50 tokens