Skip to content
Back to skills

Dev Llm Modelcard

ASecurity

Draft a Markdown model-card for a shipped ONNX tiny-AI model by collecting hard facts (graph, sidecar, op allowlist, optional live PLCC/SROCC) and handing them to the local LLM.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
content-marketingrustrailsperformancedocumentation

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add VMAFx/vmafx --skill dev-llm-modelcard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dev Llm Modelcard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dev Llm Modelcard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vmafx-dev-llm-modelcard/badge)](https://www.skillsdirectory.com/skills/vmafx-dev-llm-modelcard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dev-llm-modelcard
description: Draft a Markdown model-card for a shipped ONNX tiny-AI model by collecting hard facts (graph, sidecar, op allowlist, optional live PLCC/SROCC) and handing them to the local LLM.
---
# /dev-llm-modelcard

## Invocation

```text
/dev-llm-modelcard <onnx-path> [--features <parquet>] [--split test|val|train|all] [--model <ollama-model>]
```

## Steps

1. Verify `vmaf-dev-llm check` = green. If not, abort -> point user
   at `ollama serve`.
2. Resolve ONNX path. Reject path outside repo unless user explicitly
   confirms (! random host file almost never intended).
3. Locate model sidecar or exporter manifest. Prefer sidecars with
   `run_provenance.schema == "ai-run-provenance-v1"`. If none exists, report
   artifact missing replay evidence before drafting card.
4. Run `vmaf-dev-llm modelcard --onnx <path> [--features <parquet>]
   [--split …] [--facts-only]` x2:
   - First with `--facts-only`: show user fact block sent to LLM = trust
     boundary; LLM cannot invent past this point.
   - If user approves, rerun without `--facts-only` -> get rendered card.
5. Show draft. Offer 3 actions:
   - **save** — write to `model/<name>.md` (beside `.onnx` / `.json`) using
     `Write` tool.
   - **copy** — print verbatim for user paste.
   - **regenerate** — rerun step 3, optionally with `--model` overridden.
6. Never save automatically; model cards = published artifacts.

## Guardrails

- Facts block = source of truth. If field missing, rendered card must say
  "not recorded", not invent value. Flag output contradicting facts block.
- Missing `run_provenance` = real documentation gap. Do not hide in prose;
  either fix producing script via `/ai-run-manifest` or mark card provenance
  as unavailable.
- Always pass `--repo-root` pointing at repo (defaults to CWD; invoke skill
  from repo root).
- If `--features` = dataset user did not train on, surface in card under
  "Measured quality" — PLCC on out-of-distribution split = useful data point,
  should not be conflated with training performance.
- Do NOT run this skill on models under `subprojects/` — vendored upstream,
  ship own documentation.

## Typical uses

- Publish model: before merge new tiny-AI model into `model/tiny/`, generate
  card, commit `.md` alongside.
- Audit shipped model: reader seeing .onnx in `model/` can run skill to get
  structured summary of provenance + contract.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.