adding-model-support
Skill51 starsChanged 41 days agoMITView on GitHub
Use this skill whenever contributing model support to the `winml` CLI: an unsupported Hugging Face model or architecture, an existing family that fails in one or more commands, a missing recipe, exporter, resolver, task, dataset adapter, evaluator, or promotion handoff. It diagnoses the gap, implements the narrowest reusable fix, validates the result, opens a draft model-support PR, and captures reusable findings. Trigger even when the user asks to repair support rather than explicitly saying "add model support". Do not activate for explanation-only questions about operator coverage reports or execution-provider internals, even when they mention an unsupported operator or a crash; those require a request to implement or repair model support. Do not use it merely to run or tune an already-supported model, optimize an existing recipe, or add a new execution provider backend.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NVIDIA-NeMo/Megatron-Bridgetheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- NVIDIA-NeMo/Megatron-Bridge★ 1ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- auto-optimizeSkill
- use-winml-cliSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use this skill to take one unsupported or partially supported model from current-main diagnosis through a validated draft contribution.
- Very specific: line 29
Run from a microsoft/winml-cli checkout with Python 3.14 x64, uv, authenticated gh, and push access.
- Very specific: line 36
Run one model at a time. The orchestrator delegates every role to a fresh agent and drives all loop-backs to APPROVE, REJECT, or BLOCKED.
- Very specific: line 60
Every model-support PR targets main, remains draft, and carries model-scale-by-skill.
- Very specific: line 62
Every required (EP, device, precision) tuple retains exact PASS, blocked, or exhausted-failure evidence.
- Distinctive: line 63
Run one bounded final-SHA FP32 CPU functional smoke Eval.
- Distinctive: line 64
Treat a recipe as authoritative during recipe validation.
- Very specific: line 65
Prefer narrow metadata/config/architecture-derived shared fixes.
- Very specific: line 66
Never edit examples/recipes/README.md for recipes produced by this workflow.
- Distinctive: line 71
Read model knowledge before planning and update it only with scoped evidence after testing.
- Distinctive: line 73
Use response and trigger evals when changing this skill's behavior or description.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adding model support
Use this skill to take one unsupported or partially supported model from current-main diagnosis through a validated draft contribution. Diagnose first, freeze the Effort/Goal/Outcome target from evidence, implement the narrowest reusable fix, validate independently, and capture durable knowledge.
This is a dispatcher, not the complete procedure. Load the owning role contract under agents/ at every transition. Do not substitute this overview for those instructions.
Repository scope
This skill lives in skills/adding-model-support/ in microsoft/winml-cli. Resolve src/..., tests/..., and examples/... from the repository root. Keep methodology changes under skills/adding-model-support/** in a separate skill-only branch and PR; never mix them into a model-support PR.
Prerequisites and optional integrations
- Run from a
microsoft/winml-clicheckout with Python 3.14 x64,uv, authenticatedgh, and push access. The orchestrator verifies these before implementation. - The agent runtime must support fresh subagent delegation. Each role loads its file under
agents/; if delegation is unavailable, stop as BLOCKED rather than collapsing producer, tester, and reviewer into one agent. model-breakdownis optional. When discoverable as an installed skill, require schema1.2+; otherwise the planner builds the same profile from pinned source, config, and model-card evidence.auto-optimizeis optional and needed only for--promotion-handoff. Discover itsscripts/promotion.pythrough the installed skill location. If it is absent or incompatible, promotion mode stops as BLOCKED while normal model-support work remains available. Follow the orchestrator promotion handoff entry.
Pipeline
Run one model at a time. The orchestrator delegates every role to a fresh agent and drives all loop-backs to APPROVE, REJECT, or BLOCKED; REQUEST_CHANGES is not terminal.
| Role | Owns | Contract |
| Orchestrator | preflight, delegation, loop continuation, isolation, cleanup | orchestrator.md |
| Planner | current-main diagnosis, model profile, baseline, Effort/Goal/Outcome charter | planner.md |
| Producer | minimal code and exact-evidence recipe candidates | producer.md |
| Tester | repair loop and Goal-ladder verdicts | tester.md |
| Learner | model knowledge, methodology findings, blocker diligence | learner.md |
| Explainer | existing/new draft PR, body, label, replies, shipment | explainer.md |
| Reviewer | independent final-head verification and one opinion comment | reviewer.md |
planner -> producer -> tester -> learner -> explainer -> reviewer
^ ^ |
| +---- artifact REQUEST_CHANGES --------+
+---------------- scope/tier contradiction --------+Non-negotiable boundaries
- Model-supplied code requires the custom-code execution gate before any probe or run: reviewed immutable model/code revisions, explicit user authorization for those revisions, and verified credential-free, network-disabled isolation. A recipe, loader warning, historical finding, or invocation of this skill is not approval. Missing prerequisites mean BLOCKED, never an automatic trust-flag retry.
- Planner freezes the target only after current-main baseline evidence. If reality contradicts it, return to planner.
- Producer, tester, explainer, and reviewer remain separate agents. The reviewer starts from a fresh context after the draft PR exists.
- Every model-support PR targets
main, remains draft, and carriesmodel-scale-by-skill. Dependency ancestry never changes the live PR base. - The reviewer writes only one normal PR comment containing
APPROVE,REQUEST_CHANGES, orREJECT; these are not GitHub Review states. - Every required
(EP, device, precision)tuple retains exact PASS, blocked, or exhausted-failure evidence. Never infer one tuple from another. - Run one bounded final-SHA FP32 CPU functional smoke Eval; do not present it as representative accuracy. Keep per-tuple performance and both component-level and op-level Analyze evidence.
- Treat a recipe as authoritative during recipe validation. Semantic CLI overrides are diagnostic evidence, not proof that the recipe works.
- Prefer narrow metadata/config/architecture-derived shared fixes. Preserve existing public defaults, signatures, recipe semantics, and sibling-model behavior with regression tests.
- Never edit
examples/recipes/README.mdfor recipes produced by this workflow. - Cleanup is orchestrator-owned, manifest-driven, dry-run-first, and limited to marked run-owned regenerable state via cleanup-run-cache.ps1.
Knowledge and evaluation resources
- Read model knowledge before planning and update it only with scoped evidence after testing.
- Record reusable workflow lessons in skill methodology findings; preserve historical provenance.
- Use response and trigger evals when changing this skill's behavior or description.
Begin execution by loading the orchestrator contract.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

