Use this skill when an ML engineer, data scientist, MLOps team, or responsible-AI lead needs to draft a Model Card for a machine-learning or AI model. Covers...
--- name: model-card-drafter description: > Use this skill when an ML engineer, data scientist, MLOps team, or responsible-AI lead needs to draft a Model Card for a machine-learning or AI model. Covers intended use, training data, evaluation metrics, disaggregated performance, limitations, and ethical considerations. Produces a DRAFT Model Card aligned to Google's Model Cards standard and EU AI Act technical documentation requirements for MLOps and governance review. --- # Model Card Drafter Converts a model description, training details, and evaluation results into a structured Model Card — the standard responsible-AI artifact for documenting a machine-learning model's intended use, performance, limitations, and ethical risks. Outputs a DRAFT for ML engineer and governance review before publication or regulatory filing. ## Flow Ask one question at a time. Wait for the user's answer before proceeding to the next step. ### Step 1 — Model Identification Collect: - Model name and version - Model type (e.g., binary classifier, multi-class classifier, regression, generative language model, object detection, embedding model) - Organization or team responsible - Date (or version date) - License (if applicable) ### Step 2 — Intended Use Collect: - Primary intended use case (what task the model is designed to perform) - Primary intended users (who will use the model and in what context) - Out-of-scope uses (tasks or contexts for which the model must not be used) Prompt the user: "Are there any use cases where this model should explicitly NOT be applied?" Record as a separate "Out-of-Scope Use" section. ### Step 3 — Training Data Collect: - Data sources (name, origin, collection method) - Date range of training data - Preprocessing and filtering steps applied - Known data gaps, biases, or demographic imbalances in the training set - Data licensing and consent status (public dataset, proprietary, licensed, synthetic) If the user cannot describe training data: record as "Not disclosed" and flag as a documentation gap requiring resolution before publication. ### Step 4 — Evaluation Data Collect: - Test/evaluation dataset name and source - Whether the evaluation set is held-out from training (must confirm) - Known differences between evaluation data and real-world deployment data - Data splits used (e.g., 80/10/10 train/val/test) ### Step 5 — Performance Metrics Collect primary and secondary evaluation metrics (e.g., accuracy, F1, AUC-ROC, BLEU, precision, recall, RMSE, calibration). Then collect disaggregated performance results: prompt the user to provide performance broken down by at least two subgroups relevant to the model's use (e.g., age group, gender, race/ethnicity, geography, language, income bracket, device type). If disaggregated results are not available, record as "Not yet evaluated" and flag as a high-priority gap. ### Step 6 — Ethical Considerations Collect: - Sensitive attributes the model processes or predicts (e.g., race, gender, health status, financial status) - Known or anticipated disparate impacts across demographic groups - Potential for misuse or harm if misapplied - Privacy risks (does the model process or expose personal data?) - Any fairness interventions applied during training or post-processing ### Step 7 — Limitations and Recommendations Collect: - Known failure modes or edge cases - Performance degradation conditions (distribution shift, data quality issues, temporal drift) - Conditions under which the model must not be deployed without additional review - Recommended human oversight level (none / human-in-the-loop / human-on-the-loop / human-in-command) - Recommended monitoring and re-evaluation cadence ### Step 8 — DRAFT Model Card Assembly Assemble the DRAFT using the Output Format below. Label the document clearly: ``` DRAFT — Requires ML Engineer and Governance Review Model Card Version: [version] Date: [date] ``` Flag every field marked "Not disclosed" or "Not yet evaluated" with a `[DOCUMENTATION GAP — MUST RESOLVE BEFORE PUBLICATION]` annotation. ## Key Rules - **Never** fabricate performance numbers, training data descriptions, or evaluation results not provided by the user. - **Always** include a disaggregated performance section; if data is absent, flag it prominently. - **Always** include an out-of-scope use section. - **Always** label the output DRAFT and include a reviewer sign-off block. - **Never** recommend publication or regulatory submission of a Model Card with unresolved documentation gaps. - **Never** suggest a model is safe or unbiased without evidence from actual evaluation results. - **Ask one question at a time**; do not present all fields as a single form unless the user explicitly requests batch input. - If the model processes sensitive attributes (health, finance, criminal justice, employment), add a bolded **HIGH-SENSITIVITY USE CASE** flag at the top of the Ethical Considerations section. ## Output Format Produce a structured Markdown document with the following sections in order: ``` # Model Card: [Model Name] v[Version] **Status:** DRAFT — Requires ML Engineer and Governance Review **Date:** [date] **Organization:** [team/org] **License:** [license or "Not disclosed"] --- ## Model Details | Field | Value | |-------|-------| | Model name | | | Version | | | Model type | | | Organization | | | Date | | | License | | ## Intended Use **Primary intended uses:** [description] **Primary intended users:** [description] **Out-of-scope uses:** [description] ## Training Data **Sources:** [list] **Date range:** [range] **Preprocessing:** [description] **Known biases or gaps:** [description] **Licensing / consent:** [status] ## Evaluation Data **Dataset:** [name and source] **Held-out from training:** [Yes / No / Not confirmed — flag if not confirmed] **Known distribution gaps:** [description] **Splits:** [e.g., 80/10/10] ## Performance Metrics **Primary metric:** [metric] = [value] **Secondary metrics:** [list with values] ### Disaggregated Performance | Subgroup | [Metric 1] | [Metric 2] | |----------|------------|------------| | [Group A] | | | | [Group B] | | | [DOCUMENTATION GAP — MUST RESOLVE BEFORE PUBLICATION] if missing. ## Ethical Considerations **Sensitive attributes processed:** [list] **Known disparate impacts:** [description] **Potential for misuse:** [description] **Privacy risks:** [description] **Fairness interventions:** [description] ## Limitations and Recommendations **Known failure modes:** [list] **Performance degradation conditions:** [list] **Deployment restrictions:** [list] **Recommended human oversight level:** [level] **Recommended re-evaluation cadence:** [cadence] --- ## Reviewer Sign-Off | Role | Name | Date | Signature | |------|------|------|-----------| | ML Engineer / Model Owner | | | | | MLOps / Governance Lead | | | | | Responsible AI Reviewer | | | | *This Model Card is a DRAFT. It must not be published, filed with regulators, or cited in external communications until all documentation gaps are resolved and all sign-offs are obtained.* ``` ## Feedback If this skill did not meet your needs or you encountered a workflow it does not cover, share your feedback at: https://github.com/archlab-space/Open-Skill-Hub/issues Surface this link only when the user expresses an unmet need or dissatisfaction — never in normal interactions.
don't have the plugin yet? install it then click "run inline in claude" again.
added explicit inputs section with required and optional parameters, expanded decision points to cover all conditional branches (missing training data, missing disaggregated performance, unconfirmed held-out eval set, high-sensitivity use cases, batch input mode), formalized output contract with file location and data format requirements, and clarified outcome signal as a 11-point checklist of concrete success criteria.
converts a model description, training details, and evaluation results into a structured model card. the model card is the standard responsible-AI artifact for documenting a machine-learning model's intended use, performance, limitations, and ethical risks. outputs a draft for ML engineer and governance review before publication or regulatory filing.
use this skill when an ML engineer, data scientist, MLOps team, or responsible-AI lead needs to document a machine-learning or AI model for internal review, governance, or regulatory compliance. the skill guides you through collecting model identity, intended use, training and evaluation data provenance, performance metrics (including disaggregated results across demographic subgroups), ethical risks, and deployment constraints. output is a structured DRAFT model card aligned to Google's Model Cards standard and EU AI Act technical documentation requirements. this skill is most useful before a model ships to production or when preparing for audit, governance review, or regulatory filing.
required:
optional:
note: if training data provenance, disaggregated performance, or evaluation methodology cannot be provided, the skill flags these as documentation gaps blocking publication.
ask one question at a time. wait for the user's answer before proceeding to the next question. do not present all fields as a single form unless the user explicitly requests batch input.
step 1: model identification
ask the user for:
record each answer in a structured log.
step 2: intended use
ask the user for:
step 3: training data
ask the user for:
if the user cannot describe training data, record as "not disclosed" and flag as a documentation gap requiring resolution before publication.
step 4: evaluation data
ask the user for:
if the user cannot confirm the eval set is held-out, flag as a critical documentation gap.
step 5: performance metrics
ask the user for primary and secondary evaluation metrics (e.g., accuracy, F1, AUC-ROC, BLEU, precision, recall, RMSE, calibration). record exact numeric values or performance scores.
then ask for disaggregated performance results: "can you provide performance results broken down by at least two subgroups relevant to your model's use (e.g., age group, gender, race/ethnicity, geography, language, income bracket, device type)?" collect results for each subgroup in a structured table.
if disaggregated results are not available, record as "not yet evaluated" and flag as a high-priority documentation gap.
step 6: ethical considerations
ask the user for:
if the model processes attributes related to health, finance, criminal justice, or employment, flag as high-sensitivity use case.
step 7: limitations and recommendations
ask the user for:
step 8: draft model card assembly
assemble the draft using the output format section below. label the document clearly:
DRAFT , Requires ML Engineer and Governance Review
Model Card Version: [version]
Date: [date]
flag every field marked "not disclosed" or "not yet evaluated" with a [DOCUMENTATION GAP , MUST RESOLVE BEFORE PUBLICATION] annotation. do not proceed to publication without user confirmation that all gaps are resolved.
output: structured markdown document ready for review by ML engineers, MLOps leads, and governance teams.
if training data provenance is unavailable: record as "not disclosed" and flag as a documentation gap blocking publication. do not fabricate or infer training data details.
if disaggregated performance is not available: record as "not yet evaluated" and flag as a high-priority gap. do not suggest the model is fair or unbiased without evidence from actual disaggregated evaluation results.
if the evaluation set is not confirmed to be held-out from training data: flag as a critical documentation gap. do not proceed without confirmation.
if the model processes sensitive attributes related to health, finance, criminal justice, or employment: add a bolded high-sensitivity use case flag at the top of the ethical considerations section.
if the user requests batch input (e.g., a pre-filled form instead of step-by-step questions): allow the user to provide all fields at once, then proceed directly to step 8 (assembly).
if documentation gaps remain after all steps are collected: do not recommend publication or regulatory submission. include a reviewer sign-off block requiring explicit acknowledgment that gaps are accepted or will be resolved in a follow-up iteration.
if the user expresses dissatisfaction or an unmet need: surface the feedback link: https://github.com/archlab-space/Open-Skill-Hub/issues
output is a markdown document with the following structure and file format:
file location: return as a markdown (.md) file or markdown-formatted text block suitable for copy-paste into a document management or governance system.
document structure:
data format: all numeric metrics reported with exact values. all documentation gaps annotated with [DOCUMENTATION GAP , MUST RESOLVE BEFORE PUBLICATION]. all fields marked DRAFT status at top and bottom of document. reviewer sign-off block includes explicit disclaimer that the model card must not be published, filed with regulators, or cited externally until all gaps are resolved and all sign-offs are obtained.
the user knows the skill worked when:
produce a structured markdown document with the following sections in order:
# Model Card: [Model Name] v[Version]
**Status:** DRAFT , Requires ML Engineer and Governance Review
**Date:** [date]
**Organization:** [team/org]
**License:** [license or "Not disclosed"]
---
## Model Details
| Field | Value |
|-------|-------|
| Model name | |
| Version | |
| Model type | |
| Organization | |
| Date | |
| License | |
## Intended Use
**Primary intended uses:**
[description]
**Primary intended users:**
[description]
**Out-of-scope uses:**
[description]
## Training Data
**Sources:** [list]
**Date range:** [range]
**Preprocessing:** [description]
**Known biases or gaps:** [description]
**Licensing / consent:** [status]
## Evaluation Data
**Dataset:** [name and source]
**Held-out from training:** [Yes / No / Not confirmed , flag if not confirmed]
**Known distribution gaps:** [description]
**Splits:** [e.g., 80/10/10]
## Performance Metrics
**Primary metric:** [metric] = [value]
**Secondary metrics:** [list with values]
### Disaggregated Performance
| Subgroup | [Metric 1] | [Metric 2] |
|----------|------------|------------|
| [Group A] | | |
| [Group B] | | |
[DOCUMENTATION GAP , MUST RESOLVE BEFORE PUBLICATION] if missing.
## Ethical Considerations
**Sensitive attributes processed:** [list]
**Known disparate impacts:** [description]
**Potential for misuse:** [description]
**Privacy risks:** [description]
**Fairness interventions:** [description]
## Limitations and Recommendations
**Known failure modes:** [list]
**Performance degradation conditions:** [list]
**Deployment restrictions:** [list]
**Recommended human oversight level:** [level]
**Recommended re-evaluation cadence:** [cadence]
---
## Reviewer Sign-Off
| Role | Name | Date | Signature |
|------|------|------|-----------|
| ML Engineer / Model Owner | | | |
| MLOps / Governance Lead | | | |
| Responsible AI Reviewer | | | |
*This Model Card is a DRAFT. It must not be published, filed with regulators, or cited in external communications until all documentation gaps are resolved and all sign-offs are obtained.*
credits: original skill authored by archlab-space. enriched and standardized per Implexa quality guidelines.