analysis-methods
Skill1.5k starsChanged 2 months agoApache-2.0View on GitHub
Teaches the analyst agent how to write correct, robust Python analysis code for FHIR clinical data using pandas, matplotlib, and scipy.
Trending
More talk lately.about the whole repository
Who's talking about NVIDIA/dgx-spark-playbooks
- CarstVaartjes/vonk-forge-recipes“Refresh needs review: gemma-4-e4b-it-nvidia-vllm-single”GitHub · Nov 3, 2026
- CarstVaartjes/vonk-forge-recipes“Refresh needs review: gemma-4-e2b-it-nvidia-vllm-single”GitHub · Nov 3, 2026
- laxshmate/genmodelfit“すべての環境で検出できるようにする(41 通りの環境の洗い出し・GB10・WSL2 の AMD/Intel・GPU 名は表でなく文法で)”GitHub · Oct 27, 2026
- CarstVaartjes/vonk-forge-recipes“Refresh qwen3-8b-nvfp4-nvidia-sglang-single to the newest upstream pins”GitHub · Oct 13, 2026
- CarstVaartjes/vonk-forge-recipes“Refresh qwen3-8b-fp8-nvidia-vllm-single to the newest upstream pins”GitHub · Oct 13, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- Nov 3, 2026Refresh needs review: gemma-4-e4b-it-nvidia-vllm-single — CarstVaartjes/vonk-forge-recipes0 reactions · 1 comment
- Nov 3, 2026Refresh needs review: gemma-4-e2b-it-nvidia-vllm-single — CarstVaartjes/vonk-forge-recipes0 reactions · 1 comment
- Oct 27, 2026すべての環境で検出できるようにする(41 通りの環境の洗い出し・GB10・WSL2 の AMD/Intel・GPU 名は表でなく文法で) — laxshmate/genmodelfit0 reactions
- Oct 13, 2026Refresh qwen3-8b-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions · 1 comment
- Oct 13, 2026Refresh qwen3-8b-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions · 1 comment
45 more on GitHub
- Oct 13, 2026Refresh qwen3-8b-fp8-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-8b-fp8-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-6-35b-a3b-mtp-q4-k-xl-nvidia-llamacpp-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-6-35b-a3b-mtp-q4-k-xl-nvidia-llamacpp-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-32b-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-32b-nvfp4-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-32b-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-30b-a3b-nvfp4-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-nvfp4-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-fp8-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen3-14b-fp8-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh qwen2-5-vl-7b-instruct-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-reasoning-plus-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-reasoning-plus-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-reasoning-plus-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-reasoning-plus-fp8-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-multimodal-instruct-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-multimodal-instruct-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh phi-4-multimodal-instruct-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions · 1 comment
- Oct 13, 2026Refresh phi-4-multimodal-instruct-fp8-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh nemotron-3-nano-omni-30b-a3b-bf16-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh nemotron-3-nano-30b-a3b-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh nemotron-3-nano-30b-a3b-bf16-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-3-70b-instruct-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-3-70b-instruct-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-3-70b-instruct-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-8b-instruct-nvfp4-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-8b-instruct-nvfp4-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-8b-instruct-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-8b-instruct-fp8-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-8b-instruct-fp8-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh llama-3-1-405b-instruct-awq-int4-nvidia-vllm-dual to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 13, 2026Refresh gpt-oss-20b-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-20b-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-20b-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-nvidia-sglang-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gpt-oss-120b-eagle3-nvidia-trtllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
- Oct 12, 2026Refresh gemma-4-e4b-it-nvidia-vllm-single to the newest upstream pins — CarstVaartjes/vonk-forge-recipes0 reactions
In this repository29 other files it gives its agents.
- nvidia/playbook-dgx-station-ai-skills/assets/AGENTS.mdAGENTS.md
- nvidia/station-ai-skills/assets/AGENTS.mdAGENTS.md
- nvidia/station-txt2kg/assets/.cursor/rules/nextjs.mdcCursor rule
- nvidia/txt2kg/assets/.cursor/rules/nextjs.mdcCursor rule
- dgx-station-diagnoseSkill
- dgx-station-inferenceSkill
- dgx-station-migSkill
- dgx-stationSkill
- analysis-methodsSkill
- case-summarySkill
- clinical-delegationSkill
- clinical-knowledgeSkill
- cohort-compareSkill
- fhir-basicsSkill
- molecular-vizSkill
- dgx-diagnoseSkill
- dgx-station-diagnoseSkill
- dgx-station-inferenceSkill
- dgx-station-migSkill
- dgx-stationSkill
- mig-configureSkill
- sglang-setupSkill
- vllm-setupSkill
- case-summarySkill
- clinical-delegationSkill
- clinical-knowledgeSkill
- cohort-compareSkill
- fhir-basicsSkill
- molecular-vizSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Cohort queries (2+ patients): Use get_latest_labs_batch() and get_all_medications_batch().
- Very specific: line 41
Single patient: Use get_latest_lab(), get_medications(), get_latest_bp().
- Very specific: line 46
Run scripts with python (NOT python3)
- Distinctive: line 47
Write a SINGLE Python script for the entire task
- Very specific: line 48
Write the script to /tmp/<name>.py, then execute it
- Very specific: line 49
All HTTP inside the sandbox must use subprocess.run(["curl", ...]) — the requests library does NOT work
- Very specific: line 86
Always use dark theme. Use save_chart_to_canvas() instead of plt.savefig() directly.
- Distinctive: line 113
Never compute statistics on fewer than 5 data points
- Distinctive: line 114
Always report sample size: "45.0% (27 out of 60)"
- Distinctive: line 116
Do not fabricate data — report what exists, flag what's missing
- Distinctive: line 117
All charts must include N annotation
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analysis Code Guidelines
FHIR Helpers Library
Always import the helpers library at the top of every analysis script:
import sys
sys.path.insert(0, '/sandbox/clinical-intelligence/skills/analysis-methods/scripts')
from fhir_helpers import *Available functions
| Function | Use for | HTTP calls |
get_patients_with_condition(snomed_code) | Find patients with a condition → list of IDs | 1-2 |
get_latest_labs_batch(loinc_code, patient_ids) | Labs for a cohort → dict: pid → (value, unit, date) | 1-2 |
get_all_medications_batch(patient_ids) | Meds for a cohort → dict: pid → [med names] | 1-2 |
build_cohort_df(patient_ids, loinc, lab_name, drug_check_fn) | Full DataFrame with labs + meds | 2-3 |
get_latest_lab(patient_id, loinc_code) | Lab for ONE patient → (value, unit, date) | 1 |
get_medications(patient_id) | Meds for ONE patient → [names] | 1 |
get_latest_bp(patient_id) | BP for ONE patient → (sys, dia, date) | 1-2 |
check_drug_class(med_list, drug_names) | Check if any med matches drug list → bool | 0 |
fhir_get(path, params) | Raw FHIR GET → parsed JSON | 1 |
get_all_pages(path, params) | Paginated FHIR GET → all entries | 1+ |
save_chart_to_canvas(fig, filename) | Save matplotlib figure to canvas directory | 0 |
Performance rules
- Cohort queries (2+ patients): Use
get_latest_labs_batch()andget_all_medications_batch(). These make 1-2 HTTP calls total regardless of patient count. - Single patient: Use
get_latest_lab(),get_medications(),get_latest_bp(). - NEVER loop over patients calling
get_latest_lab()per patient. Each HTTP call through the sandbox proxy adds 1-3s. For 48 patients = 48 calls = 2+ minutes. The batch function does it in one call.
Execution Rules
- Run scripts with
python(NOTpython3) - Write a SINGLE Python script for the entire task
- Write the script to
/tmp/<name>.py, then execute it - All HTTP inside the sandbox must use
subprocess.run(["curl", ...])— therequestslibrary does NOT work
Mandatory Workflow
STEP 1 - WRITE SCRIPT (import fhir_helpers, write analysis)
STEP 2 - VALIDATE: python /sandbox/clinical-intelligence/scripts/validate_and_run.py --validate-only /tmp/<name>.py
STEP 3 - EXECUTE: python /tmp/<name>.py
STEP 4 - INTERPRET: explain results using clinical-knowledge skillCode Structure
- Imports (always start with fhir_helpers import)
- Data collection (use batch functions)
- DataFrame construction
- Analysis (filters, aggregations)
- Visualization -- use
save_chart_to_canvas(fig, filename)(NOT plt.savefig) - Summary (print findings)
- Disclaimer
Care Gap Analysis Pattern
# Example: diabetes care gap
patients = get_patients_with_condition("44054006") # SNOMED for diabetes
df = build_cohort_df(patients, "4548-4", "HbA1c",
lambda meds: check_drug_class(meds, ["metformin", "insulin", "glipizide"]))
gap = df[(df['HbA1c'] > 9) & (~df['on_target_med'])]
denom = len(df[df['HbA1c'].notna()])
pct = f"{len(gap)/denom*100:.1f}%" if denom > 0 else "N/A (no HbA1c data)"
print(f"Care gap: {len(gap)}/{denom} ({pct})")Visualization
Always use dark theme. Use save_chart_to_canvas() instead of plt.savefig() directly.
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.style.use('dark_background')
fig, ax = plt.subplots(figsize=(10, 6))
fig.patch.set_facecolor('#1a1a1a')
ax.set_facecolor('#1a1a1a')
# Histogram with NVIDIA green
ax.hist(values, bins=15, color='#76B900', edgecolor='#1a1a1a', alpha=0.85)
ax.axvline(x=threshold, color='#ff4444', linestyle='--', linewidth=2, label=f'Threshold ({threshold})')
ax.set_title("Title", fontsize=14, fontweight='bold', color='white')
ax.legend()
ax.grid(axis='y', alpha=0.2, color='#444444')
ax.text(0.98, 0.95, f"N = {len(values)}", transform=ax.transAxes, fontsize=11, color='#888888', ha='right', va='top')
# MANDATORY: use save_chart_to_canvas (NOT plt.savefig)
save_chart_to_canvas(fig, "chart.png")
plt.close()Guardrails
- Never compute statistics on fewer than 5 data points
- Always report sample size: "45.0% (27 out of 60)"
- Flag data quality issues if >30% missing
- Do not fabricate data — report what exists, flag what's missing
- All charts must include N annotation
Output Format
End every script with:
print(f"\nDisclaimer: This analysis is for research and operational purposes.")
print("Clinical decisions should be made by qualified clinicians.")Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

