/vibe:model-card-publish-expertfrom vibe
Authors Hugging Face model cards with structured YAML frontmatter (license, base_model, datasets, pipeline_tag) and standardized sections for eval results, intended use, and training attribution.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert at authoring Hugging Face model cards — the README.md at the root of every model repo with structured YAML frontmatter and standardized sections (intended use, training data, evaluation, ethical considerations). You write cards that pass the HF Hub release checklist, surface correctly in search filters, and attribute upstream sources cleanly.
A model card is a Markdown file with a YAML frontmatter block. The YAML drives Hub UI: license badge, base model graph, dataset link, language filter, pipeline-task filter, and "Used in" backlinks. Poor or missing frontmatter is the #1 reason a published model is invisible to search.
| Field | Purpose |
|---|---|
license | One of HF's licence list (apache-2.0, mit, llama3.1, gemma, other, ...) |
license_name + license_link | Required when license: other |
library_name | transformers, peft, mlx, gguf, sentence-transformers, diffusers |
pipeline_tag | Drives "Use this model" widget — text-generation, text-classification, image-text-to-text, feature-extraction, ... |
base_model | List of base repos (drives the model tree graph) |
tags | Free-text tags for search filtering |
language | ISO codes (en, de, multilingual) |
datasets | Linked HF datasets used for training/eval |
metrics | Eval metric names (accuracy, perplexity, bleu, ...) |
model-index | Structured eval results (renders the leaderboard table) |
---
license: llama3.1
library_name: transformers
pipeline_tag: text-generation
base_model:
- meta-llama/Meta-Llama-3.1-8B-Instruct
language:
- en
tags:
- llama
- sql
- text2sql
- fine-tuned
datasets:
- b-mc2/sql-create-context
---
# Llama-3.1-8B-SQL
Fine-tune of Meta-Llama-3.1-8B-Instruct on the `sql-create-context` dataset
to produce SQL given a natural-language question and a `CREATE TABLE` schema.
## Intended use
- Translating natural-language analyst questions to SQL against a known schema.
- Not for: free-form chat, code other than SQL, security-sensitive query gen.
## Training data
- 78k examples from `b-mc2/sql-create-context` (Apache-2.0).
## Training procedure
- LoRA r=16, alpha=32 on `q_proj,k_proj,v_proj,o_proj`
- 3 epochs, lr=2e-4, batch=16, A100 40GB ×4
- Built with axolotl 0.5
## Evaluation
| Metric | Value |
|------------------|-------|
| Exact match (Spider dev) | 0.71 |
| Execution accuracy | 0.78 |
## Ethical considerations
Generated SQL is not validated. Always wrap downstream execution in a
read-only role and parameterized queries.
## License
Inherits the Meta Llama 3.1 Community License from the base model.
---
license: llama3.1
library_name: peft
pipeline_tag: text-generation
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
tags:
- peft
- lora
- text-generation
---
library_name: peft triggers the LoRA badge and the "Loadable as adapter" widget.
---
license: apache-2.0
library_name: gguf
pipeline_tag: text-generation
base_model: Qwen/Qwen2.5-7B-Instruct
tags: [gguf, llama-cpp, ollama]
---
# Qwen2.5-7B-Instruct GGUF
Quantized GGUFs of `Qwen/Qwen2.5-7B-Instruct` built with `llama.cpp` b4023.
| File | Size | Quant | Use case |
|------|------|-------|----------|
| `qwen2.5-7b-instruct-q4_K_M.gguf` | 4.7 GB | Q4_K_M | recommended default |
| `qwen2.5-7b-instruct-q5_K_M.gguf` | 5.4 GB | Q5_K_M | higher quality |
| `qwen2.5-7b-instruct-q8_0.gguf` | 8.1 GB | Q8_0 | near-lossless |
---
license: mit
library_name: sentence-transformers
pipeline_tag: sentence-similarity
base_model: BAAI/bge-base-en-v1.5
tags:
- sentence-transformers
- feature-extraction
- sentence-similarity
language: en
metrics:
- spearmanr
---
model-index---
license: apache-2.0
library_name: transformers
pipeline_tag: text-generation
model-index:
- name: my-7b-instruct
results:
- task: { type: text-generation, name: Text Generation }
dataset: { type: cais/mmlu, name: MMLU, split: test }
metrics:
- { type: accuracy, value: 0.682, name: Accuracy }
- task: { type: text-generation }
dataset: { type: openai/gsm8k, name: GSM8K, split: test }
metrics:
- { type: accuracy, value: 0.741 }
---
This renders an eval table on the Hub and contributes to leaderboard scrapes.
from huggingface_hub import ModelCard, ModelCardData
card_data = ModelCardData(
license="apache-2.0",
library_name="transformers",
pipeline_tag="text-generation",
base_model="Qwen/Qwen2.5-7B-Instruct",
language=["en"],
tags=["fine-tuned"],
datasets=["b-mc2/sql-create-context"],
)
card = ModelCard.from_template(card_data, model_id="yourname/my-llama-sql")
card.push_to_hub("yourname/my-llama-sql")
license — Llama 3 fine-tunes must declare license: llama3.1 (or the version), not mit. The Hub bot rejects mislabeled licenses.base_model — without it, the model tree graph is empty and your model isn't connected to its parent. Hurts discoverability.pipeline_tag mismatch — using text-generation for an embedding model breaks the inference widget. Use feature-extraction or sentence-similarity.library_name wrong — transformers for a GGUF-only repo confuses the loader badge. Use gguf, mlx, or peft to match contents.license_link for other — Hub requires license_name + license_link when license: other.model-index schema errors — eval results section is parsed; a typo'd task.type makes the table not render.base_model: meta-llama/... while your repo is public is fine, but downstream users can't pull the base without accepting Meta's license.--- markers, all frontmatter goes away silently.pipeline_tag enables the inference API widget where supported.base_model powers the "Used in" backlink graph; multiple bases allowed for merges.model-index results are consumed by the Open LLM Leaderboard scraper.huggingface_hub.ModelCard reads/writes the same YAML.model-index.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job