rlpatrao/claude_harness_forge/model-card
Claude Code and agent skill by rlpatrao/claude_harness_forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Generate a model card by extracting model metadata, metrics, dataset info, and bias analysis from training and evaluation code.
Install
npx vskill@latest install rlpatrao/claude_harness_forge/model-cardSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as rlpatrao/claude_harness_forge/model-card.
Model Card Skill
Generate a comprehensive model card by introspecting the project's ML training, evaluation, and data loading code.
Usage
Also invoked post-build for ML projects.
Prerequisites
- ML training code exists in the project.
- Evaluation code with metrics exists.
project-manifest.jsonexists withml_modelssection (if applicable).
Step 1 — Read Training Code
Extract from training scripts:
- Model type and architecture (e.g., XGBoost, BERT fine-tune, CNN)
- Framework (PyTorch, TensorFlow, scikit-learn, Hugging Face)
- Hyperparameters (learning rate, epochs, batch size, optimizer)
- Training infrastructure (GPU type, training duration)
- Loss function and optimization objective
Step 2 — Read Evaluation Code
Extract from evaluation scripts:
- Performance metrics (accuracy, F1, AUC-ROC, RMSE, etc.)
- Evaluation dataset description
- Cross-validation strategy
- Confidence intervals or variance across runs
Step 3 — Read Data Loading Code
Extract from data pipelines:
- Dataset name and source
- Dataset size (rows, features)
- Feature descriptions and types
- Train/val/test split ratios
- Preprocessing and augmentation steps
- Known data quality issues or exclusions
Step 4 — Read Fairness Tests
Extract from fairness/bias evaluation:
- Protected attributes evaluated (race, gender, age, etc.)
- Subgroup performance breakdowns
- Disparate impact ratios
- Fairness metric results (demographic parity, equalized odds)
- Identified biases and mitigations
Step 5 — Fill Model Card Template
Read .claude/templates/model-card.template.md and fill all sections:
- Model details (type, version, framework, date)
- Intended use and out-of-scope uses
- Training data summary
- Evaluation metrics with subgroup breakdowns
- Ethical considerations and limitations
- Recommendations for deployment
Step 6 — Present for Human Review
Display the completed model card for human review before writing. Highlight:
- Any sections with incomplete data (could not be extracted)
- Subgroup performance gaps above threshold
- Missing fairness evaluations
Outputs
| File | Description | |
|---|---|---|
docs/model-card.md | Completed model card |
Template
.claude/templates/model-card.template.md
Gate Behavior
- BLOCK if any template section still contains
{{PLACEHOLDER}}markers - BLOCK if performance metrics do not include subgroup breakdowns
- WARN if fairness tests were not found in the codebase
- WARN if training data source is not documented
Gotchas
- No placeholders in output. Every
{{PLACEHOLDER}}must be filled or explicitly marked as "Not available — [reason]". - Subgroup breakdowns are required. Aggregate metrics alone are insufficient. If fairness tests don't exist, flag this prominently.
- Model cards are living documents. Include a "Last updated" date and version number.
- Don't fabricate metrics. If a metric cannot be extracted from code, state that it was not found rather than guessing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/model-card/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rlpatrao/claude_harness_forge/model-card)