patient-data-ops

patient-data-ops is a skill for Claude Code, Codex from lynnlangit/precision-medicine-mcp. It costs 32 tokens per session (459 once invoked), scanned A, original, Apache-2.0.

Guidelines for loading and organizing synthetic patient data and bioinformatics files such as CSV and h5ad. An h5ad file stores single-cell biology data, including cells, genes, and related metadata.

In plain words
What is it for?
Use it when loading patient datasets, preparing single-cell data for GEARS predictions, creating test data, saving reports or images, or checking that personal information is excluded.
Why use it?
It keeps data paths, preprocessing, metadata, tests, and privacy practices consistent across analyses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when loading patient datasets, preparing single-cell data for GEARS predictions, creating test data, saving reports or images, or checking that personal information is excluded.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lynnlangit/precision-medicine-mcp/patient-data-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lynnlangit/precision-medicine-mcp --skill patient-data-ops
Clone the repo
git clone --depth 1 https://github.com/lynnlangit/precision-medicine-mcp

Made for: Claude Code, Codex.

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 patient-data-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/patient-data-ops/github.svg)](https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/patient-data-ops)
Your own site
<a href="https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/patient-data-ops"><img src="https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/patient-data-ops/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 patient-data-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/lynnlangit/precision-medicine-mcp/patient-data-ops"><img src="https://agentmods.dev/badge/skills/lynnlangit/precision-medicine-mcp/patient-data-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 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.
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.00032 $0.00459
Opus 5 $0.00016 $0.00230
Sonnet 5 $0.00006 $0.00092
Haiku 4.5 $0.00003 $0.00046

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

Security

Grade A, and why

patient-data-ops 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.

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.

docs/reference/skills/patient-data-ops/SKILL.md · 51 lines

What it actually says

Patient Data Operations

This skill ensures consistent handling of synthetic patient data and bioinformatics datasets.

Data Hierarchy

Always use these standard paths:

  • data/patient-data/: Individual patient .h5ad or .csv files (e.g., PAT001-OVC-2025/)
  • data/reports/: Generated analysis reports (PDF/Markdown)
  • data/images/: Visualizations (UMAP, Heatmaps, PCA)

Handling scRNA-seq Data (.h5ad)

The perturbation server (mcp-perturbation) works with AnnData objects for GEARS predictions. When working in that context:

  1. Normalization: Ensure scanpy.pp.normalize_total and scanpy.pp.log1p are applied
  2. HVG Selection: Standardize on 7,000 Highly Variable Genes (HVG) for GEARS compatibility
  3. Metadata: Preserve cell_type and condition keys in .obs

Data Preprocessing Tools

Use these standard scripts where possible:

  • generate_synthetic_data.py: For creating test-safe patient mocks
  • data_loader.py: Use the loaders in src/mcp_[name] to ensure consistent I/O

Data Privacy & Security

  • Anonymization: Never store PII (Patient Identifiable Information) in the repo
  • Mocking: Always use synthetic data for unit tests
  • Synthetic only: This repo contains only synthetic patient data (HIPAA safe)

Data Quality Checklist

Before running simulations:

  • Check for NaN values in expression matrices
  • Verify cell-type labels match the project ontology
  • Ensure the file size fits within the 4Gi Cloud Run limit

Use this skill when:

  • Loading new patient datasets
  • Preprocessing scRNA-seq files for GEARS (perturbation server context)
  • Creating test data for bioinformatics tools
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 · 51 lines · 32 tokens per session scan A f2330155aed4

Subscribe to this mod's changes

patient-data-ops is a skill published in the GitHub repository lynnlangit/precision-medicine-mcp (24 stars, last pushed 16d ago), licensed Apache-2.0. It adds 32 tokens to every session and 459 once invoked, about $0.0002 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

torch-geometric

PyTorch Geometric (PyG) for graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torchgeometric, not for general NetworkX analytics or non-graph PyTorch models.

K-Dense-AI/scientific-agent-skills · 71 tokens

bids

Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…

K-Dense-AI/scientific-agent-skills · 80 tokens

bulk-rnaseq

End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and…

K-Dense-AI/scientific-agent-skills · 218 tokens

esm

Use when working directly with the esm Python SDK, ESM3 or ESMC model IDs, Forge/Biohub inference clients, or ESMFold2 folding workflows.

K-Dense-AI/scientific-agent-skills · 39 tokens

geniml

Use Geniml for audited local genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect model/tokenizer compatibility, and assess consensus universes.

K-Dense-AI/scientific-agent-skills · 43 tokens