Agent skill

Model Card

by Aperivue in Aperivue/medsci-skills

A skill your agent uses when a trained medical-imaging model needs its documentation.

MITAuto-check passedData & Analytics

Install Model Card

skills CLI
$ npx skills add Aperivue/medsci-skills --skill model-card -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Aperivue/medsci-skills model-card --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/model-card .claude/skills/model-card && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
model-card
GitHub stars
331
Token cost
~1.5k tokens
SKILL.md length
631 words
Files
12 (incl. scripts, references)
Skills in repo
54
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a trained medical-imaging model needs its documentation.

  • Works in 6 steps: Collect the facts → Fill the Model Card → Fill the Datasheet → …
  • A trained medical-imaging model needs its documentation
  • SKILL.md covers Purpose, When to use, When NOT to use and Workflow, plus 4 more sections
  • Runs Shell and Python scripts from its folder; calls python3 and bash

What it does

Model Card is an agent skill from Aperivue/medsci-skills. Use when a trained medical-imaging model needs its documentation. Fills a Model Card and a Datasheet for its dataset from facts you supply, adds a METRIC-informed data-quality pass and gates that no required section is empty. Never invents numbers, provenance or licence.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including scripts and reference files (for example `references/datasheet_template.md`, `references/metric_dimensions.md` and `references/model_card_template.md`).

It sits in Data & Analytics, covering Model hubs and datasets, Data cleaning and Clinical and healthcare research. The repository describes itself as: Agent Skills for medical research — literature search, reporting-guideline & citation checks, statistics, publication figures, submission. Works with Claude Code, Codex, Cursor &… The licence is MIT.

When your agent uses it

  • A trained medical-imaging model needs its documentation
  • Tasks that involve Model hubs and datasets
  • Tasks that involve Data cleaning

Example prompts

  • “/model-card”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Collect the facts
  2. Fill the Model Card
  3. Fill the Datasheet
  4. METRIC data-quality pass
  5. Verify completeness (deterministic gate)
  6. Hand off

What it can do on your machine

Read from SKILL.md and the folder at commit 3b14ae2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (Shell and Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Model Card loads about 1.5k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 631 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Aperivue/medsci-skills at commit 3b14ae2, republished under its MIT licence (© Aperivue). 631 words, ~1,531 tokens.

Download SKILL.mdSave it as .claude/skills/model-card/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
model-card
description
Use when a trained medical-imaging model needs its documentation. Fills a Model Card and a Datasheet for its dataset from facts you supply, adds a METRIC-informed data-quality pass and gates that no required section is empty. Never invents numbers, provenance or licence.
metadata.triggers
model card, model cards, datasheet, datasheet for datasets, dataset documentation, model documentation, hugging face card, model metadata, intended use…

Model-Card Skill

Purpose

This skill produces the documentation an engineer-built medical-imaging model must carry: a Model Card (intended use, out-of-scope use, training data, per-subgroup performance, caveats), a Datasheet for its dataset (provenance, composition, collection, labelling, consent), and a METRIC-informed data-quality pass. It fills the templates from facts the user supplies — it never invents a number, a provenance detail, a consent status, or a licence — and ships a deterministic gate that no required section is missing or left as an unfilled [NEEDS INPUT] placeholder.

It is the reporting seam of the model-engineering lane: after /model-assessment audits the design and produces the numbers, this skill records them in a portable, auditable card that /write-paper and /check-reporting consume. It mirrors /version-dataset structurally (generate + deterministic verify).

When to use

  • A trained model needs a Model Card / Datasheet for a repo, Hugging Face card, or manuscript supplement.

When NOT to use

  • Auditing the validation design / metrics → /model-assessment.
  • Versioning the dataset bytes → /version-dataset; tabular variable docs → /generate-codebook.
  • Item-by-item reporting-guideline compliance of the manuscript → /check-reporting.
  • Building / training the model → /model-scaffold.

Workflow

Phase 1 — Collect the facts

Gather, from the user / the model's developers: task + architecture + provenance + licence; intended use and out-of-scope use; training and evaluation cohorts; the reference standard and inter-reader agreement; overall and per-subgroup performance; data collection, consent, and de-identification. Anything not supplied stays [NEEDS INPUT] — never guess.

Phase 2 — Fill the Model Card

Copy ${CLAUDE_SKILL_DIR}/references/model_card_template.md to MODEL_CARD.md and fill each section from the facts. Keep the headings. Numbers come only from /model-assessment / executed results.

Phase 3 — Fill the Datasheet

Copy ${CLAUDE_SKILL_DIR}/references/datasheet_template.md to DATASHEET.md and fill the seven question groups (Motivation, Composition, Collection, Preprocessing/Labeling, Uses, Distribution, Maintenance).

Phase 4 — METRIC data-quality pass

Walk ${CLAUDE_SKILL_DIR}/references/metric_dimensions.md (completeness, correctness, consistency, representativeness, timeliness, provenance, label provenance, fairness/coverage, leakage safety) and record each finding in the Datasheet. Anything that affects the headline metric's validity is also a /model-assessment finding — cross-check there.

Phase 5 — Verify completeness (deterministic gate)
bash
python3 ${CLAUDE_SKILL_DIR}/scripts/check_model_card_complete.py \
  --card MODEL_CARD.md --datasheet DATASHEET.md --strict

MISSING_SECTION / EMPTY_REQUIRED_SECTION / UNFILLED_FIELD must be zero before the card ships. UNFILLED_FIELD names each field of a required section still left as [NEEDS INPUT] / [VERIFY] (e.g. License or subgroup performance), even when a sibling field is filled. An explicit N/A / None counts as an answer only as a field's whole value, and never in Intended Use, Training Data, Evaluation Data, Metrics or Quantitative Analyses. Only the template tokens as written ([NEEDS INPUT ...], [VERIFY], [VERIFY: ...], upper case) count; markdown link text such as [verify the protocol](https://...) or [Verify][ref], and anything inside an HTML comment or a fenced code block, is not a placeholder. Known limits: a field left as a hand-written TODO / TBD / <...> / XXXX is caught only when the whole section is unfilled; keep the template's bracketed [NEEDS INPUT] markers for open fields.

Show full SKILL.md (184 more words)Show less
Phase 6 — Hand off

Carry the card into /write-paper (the Methods / supplement reference it), /check-reporting (CLAIM 2024 / TRIPOD+AI item audit of the manuscript), and /self-review.

Anti-Hallucination

  • Never invent evaluation numbers, subgroup results, or dataset provenance. Every figure comes from /model-assessment or the user's executed results; every provenance / consent / licence statement is user-confirmed. Unknown → [NEEDS INPUT], which the gate flags.
  • Never mark a section complete without user-supplied content, and never auto-fill a placeholder to pass the gate.
  • Never assert a licence or consent status the user did not confirm.
  • The gate checks presence, not truth — a complete card can still contain a wrong number; validity is /model-assessment and the human's responsibility.

Deterministic gate

scripts/check_model_card_complete.py — verifies every required Model Card / Datasheet section is present and non-empty (stdlib, network-free). Reproducible challenge: bash ${CLAUDE_SKILL_DIR}/scripts/check_model_card_complete_challenge/verify.sh.

Note on classification

Model Cards (Mitchell et al. 2019) and Datasheets (Gebru et al. 2021) are documentation standards, not clinical reporting guidelines, so they live here as references/ templates (uncounted), not in /check-reporting's counted checklist set — the same way appraisal_tools/METRICS.md is kept separate. /check-reporting still owns the manuscript-level CLAIM 2024 / TRIPOD+AI item audit.

Boundaries

model-assessment (audit design + metrics)
  └─ model-card (this skill: Model Card + Datasheet + METRIC pass, completeness-gated)
       └─ write-paper + check-reporting (manuscript) ; version-dataset (dataset bytes)

© Aperivue, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts, references) in skills/model-card of Aperivue/medsci-skills.

  • SKILL.md
  • references/datasheet_template.md
  • references/metric_dimensions.md
  • references/model_card_template.md
  • scripts/check_model_card_complete.py
  • scripts/check_model_card_complete_challenge/fixture/complete/DATASHEET.md
  • scripts/check_model_card_complete_challenge/fixture/complete/MODEL_CARD.md
  • scripts/check_model_card_complete_challenge/fixture/incomplete/MODEL_CARD.md
  • scripts/check_model_card_complete_challenge/problem.md
  • scripts/check_model_card_complete_challenge/verify.sh
  • skill.yml
  • tests/test_model_card_complete.sh

Open the folder on GitHubat commit 3b14ae2

Compare with similar skills

Model Card next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Model Card compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Model Card this skillAperivue/medsci-skills331—~1.5kAutomated safety check: PassMIT
Statistical ReviewerRConsortium/pharma-skills119—~4.8kAutomated safety check: PassNone
Clinical Data Cleaneraipoch/medical-research-skills2k—~2.4kAutomated safety check: PassMIT
Lab Unit Harmonizationbenchflow-ai/skillsbench1.8k—~2.7kAutomated safety check: PassApache-2.0
CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw6171 repos~1.8kAutomated safety check: PassNone
Dingo VerifyMigoXLab/dingo757—~741Automated safety check: NotesApache-2.0

Similar skills

  • Statistical Reviewer

    RConsortium/pharma-skills

    Simulates an independent statistical reviewer auditing a clinical trial submission package (SDTM, ADaM, TLG/TLF, SAP, CSR).

    119 GitHub stars~4.8k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Clinical Data Cleaner

    aipoch/medical-research-skills

    A skill your agent uses when cleaning clinical trial data, preparing data for FDA/EMA submission, standardizing SDTM datasets, handling missing values in clinical studies, detecting outliers in lab…

    2k GitHub stars~2.4k tokensUpdated 22 days ago
    Data & AnalyticsAuto-check passed
  • Lab Unit Harmonization

    benchflow-ai/skillsbench

    Comprehensive clinical laboratory data harmonization for multi-source healthcare analytics.

    1.8k GitHub stars~2.7k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.

    617 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Dingo Verify

    MigoXLab/dingo

    A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.

    757 GitHub stars~741 tokensUpdated 10 days ago
    Data & AnalyticsAuto-check: notes
  • OpenMed ETL to OMOP CDM

    maziyarpanahi/openmed

    Maps OpenMed-extracted, terminology-coded conditions, drugs and measurements into OMOP CDM v5.4 tables for OHDSI and ATLAS analytics.

    5.5k GitHub stars~1.9k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from Aperivue/medsci-skills

All 54 skills in this repo
  • Obsidian Paper Vault

    Aperivue/medsci-skills

    A skill your agent uses when turning a folder of research PDFs into Obsidian notes, even if Obsidian is not named.

    331 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Clean Data

    Aperivue/medsci-skills

    A skill your agent uses when a clinical CSV/Excel dataset needs profiling and cleaning before analysis (missing values, outliers, duplicates, type mismatches).

    331 GitHub stars~2k tokensUpdated 3 days ago
    Auto-check passed
  • Design Study

    Aperivue/medsci-skills

    A skill your agent uses when checking a radiology or medical AI study design before drafting or submission.

    331 GitHub stars~3.9k tokensUpdated 3 days ago
    Auto-check passed
  • Fill Icmje Coi

    Aperivue/medsci-skills

    A skill your agent uses when each author needs an ICMJE Conflict of Interest disclosure form (coidisclosure.docx) for submission.

    331 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Fill Protocol

    Aperivue/medsci-skills

    A skill your agent uses when an institutional Word form (.doc/.docx IRB protocol, ethics application, grant template) must be filled without breaking its styles, tables, fonts or page layout.

    331 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Find Cohort Gap

    Aperivue/medsci-skills

    A skill your agent uses when looking for research topics a longitudinal cohort database can answer (NHIS, UK Biobank, an institutional EMR or registry).

    331 GitHub stars~2.9k tokensUpdated 3 days ago
    Auto-check passed

Questions about Model Card

What does Model Card do?

A skill your agent uses when a trained medical-imaging model needs its documentation. Model Card is an agent skill from Aperivue/medsci-skills. Use when a trained medical-imaging model needs its documentation.

When should I use Model Card?

Model Card fits situations like: A trained medical-imaging model needs its documentation; tasks that involve Model hubs and datasets; tasks that involve Data cleaning.

How do I install Model Card in Claude Code?

Run `npx skills add Aperivue/medsci-skills --skill model-card -a claude-code`. Or copy the skill folder (skills/model-card in Aperivue/medsci-skills) into .claude/skills/model-card in your project. Claude Code loads it when a task matches its description.

How do I install Model Card in Codex?

Run `npx skills add Aperivue/medsci-skills --skill model-card -a codex`. Or copy the skill folder (skills/model-card in Aperivue/medsci-skills) into .agents/skills/model-card in your project. Codex loads it when a task matches its description.

Can I use Model Card in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aperivue/medsci-skills --skill model-card -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/model-card, .gemini/skills/model-card, .github/skills/model-card and .opencode/skills/model-card in your project.

What does Model Card need to run?

Going by SKILL.md and its folder, Model Card needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (python3 and bash). Our summary lists: Python 3; A Bash shell.

Does Model Card access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Model Card safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Model Card use?

Model Card is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Model Card use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Model Card?

Skills that share tags, products or a category with Model Card: Statistical Reviewer (RConsortium/pharma-skills, 119 stars), Clinical Data Cleaner (aipoch/medical-research-skills, 2k stars), Lab Unit Harmonization (benchflow-ai/skillsbench, 1.8k stars) and CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Model Card?

Aperivue (a GitHub organization) maintains it in Aperivue/medsci-skills, which has 331 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 5, 2026.

Source: Aperivue/medsci-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.