Add Model
guoqingbao/xinfer
Adapt and port new LLM model architectures to this xinfer project.
A skill your agent uses when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping.
$ npx skills add ericrisco/rsc-harness --skill open-weights -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ericrisco/rsc-harness open-weights --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/open-weights .claude/skills/open-weights && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .claude/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weightsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ericrisco/rsc-harness --skill open-weights -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ericrisco/rsc-harness open-weights --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/open-weights .agents/skills/open-weights && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .agents/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill open-weights -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ericrisco/rsc-harness open-weights --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/open-weights .cursor/skills/open-weights && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .cursor/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ericrisco/rsc-harness.git --path skills/open-weights--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ericrisco/rsc-harness --skill open-weights -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ericrisco/rsc-harness open-weights --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/open-weights .gemini/skills/open-weights && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .gemini/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ericrisco/rsc-harness open-weightsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ericrisco/rsc-harness --skill open-weights -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/open-weights .github/skills/open-weights && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .github/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill open-weights -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ericrisco/rsc-harness open-weights --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/open-weights .opencode/skills/open-weights && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "open-weights" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/open-weights into .opencode/skills/open-weights/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-weights", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
open-weightsA skill your agent uses when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping.
Open Weights is an agent skill from ericrisco/rsc-harness. Use when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping. Owns the license-class map (OSI-open versus custom-community versus non-commercial), the always-verify-the-model-card rule, size-to-VRAM budgeting and the quant formats. This layer decides WHICH model and whether the license allows it, then hands off. NOT downloading or hosting on the Hub (that is huggingface), NOT running it locally…
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/licenses.md`).
It sits in AI & LLM Engineering, covering Model hubs and datasets, LLM inference and serving and Budgeting and forecasting. It works with Hugging Face, Ollama, vLLM and DeepSeek. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e3d5b33. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ai.google.devhuggingface.coFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Open Weights loads about 4.1k tokens when it runs, and up to ~8.3k if it reads all its reference files. Until then it costs about 159 tokens; SKILL.md has 2,087 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ericrisco/rsc-harness at commit e3d5b33, republished under its MIT licence (© ericrisco). 2,087 words, ~4,140 tokens.
.claude/skills/open-weights/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.This is the CHOICE layer. Given a task, a box, and a shipping constraint, it tells you which open model to reach for and whether the license lets you ship it. It does not download, run, serve, or fine-tune anything — it feeds the skills that do (see Related skills).
Model names and their licenses change monthly. Never state a license from memory — open the model card and confirm it, every time. This file was authored against cards live in mid-2026; by the time you read it, versions have shipped and terms have moved. So:
LICENSE / terms page for the exact model + size they intend to ship.Real, verified-mid-2026 examples of why this rule exists — all confirmed against the source, and all things that were different at my Jan-2026 cutoff:
If three of the load-bearing facts moved in one release cycle, yours have too. Check the card.
Five gates, in this order. The license gate can veto everything above it, so never fall in love with a model before you clear it.
embeddings-search.Rule of thumb: smallest model that passes your eval wins. Don't reach for 70B when a well-chosen
8B clears the bar — it's cheaper to run, faster, and fits more hardware. Prove it with agent-eval.
Families and typical size ladders below. Specific version claims are marked — [verify] at author time; the family and its rough sizing are the durable part. Full per-family notes, strengths, and license pointers in references/model-families.md.
| Family | Maker | Typical open sizes | Notes / current line [verify] |
|---|---|---|---|
| Llama | Meta | ~1B–~400B (dense + MoE) | Llama 4 (Scout/Maverick, MoE) current line; custom Community License, gated |
| Qwen | Alibaba | 0.5B–235B+ (dense + MoE), strong Coder/VL | mostly Apache-2.0 but per-size variance — check each card |
| Mistral / Mixtral | Mistral AI | 7B dense, 8x7B/8x22B MoE, "Small/Large" | open ones Apache-2.0; Codestral original = MNPL non-production |
| Gemma | ~1B–~27B, plus PaliGemma/CodeGemma/ShieldGemma | Gemma 1–3 = custom Gemma Terms; Gemma 4 = Apache-2.0 [verify] | |
| DeepSeek | DeepSeek | V3-class MoE (~600B+), R1 reasoning, distills | per-model license split — R1 MIT, original V3 custom; verify |
| Phi | Microsoft | ~3B–15B ("mini", reasoning, multimodal) | MIT across the Phi-4 family [verify] |
| gpt-oss | OpenAI | 20B and 120B (MoE, open weights) | Apache-2.0 [verify]; OpenAI's first open-weight LLMs since GPT-2 |
| Others | various | — | SmolLM, OLMo (fully-open incl. data), Falcon, Yi, Command — check card |
This is the load-bearing section. Get it wrong and you ship something you have no right to ship. Every model falls into one of three classes. Identify the class, then open the card.
| Class | Examples (class, not a promise) | What it means for shipping |
|---|---|---|
| OSI-open (Apache-2.0, MIT) | Qwen (most), Mistral open, Phi, gpt-oss, DeepSeek-R1, Gemma 4 | Commercial use, modify, redistribute — permissive. Still read the card for attribution/notice. |
| Custom / community | Llama (Meta Community), Gemma 1–3 (Gemma Terms) | Broad free use but with conditions: acceptable-use policy, attribution, sometimes a scale cap. NOT OSI-open. |
| Non-commercial / restricted | original Codestral (MNPL), any "research-only", some RAIL, some "≥$X revenue → buy a license" | You cannot ship it in a commercial product without a separate license. Fatal if missed. |
"Open weights" describes availability of the weights file — it says nothing about your legal rights. A model can be a free download and still be non-commercial. The download button is not a license.
LICENSE / terms — not a blog, not this file.Deeper class breakdown, gated-model mechanics, and the fine-tune-inheritance trap: references/licenses.md.
A selection-time budget: will this size class even fit your hardware? (Operational per-request
KV-cache math lives in ollama/vllm — this is the "before I pick it" estimate.)
weights_GB ≈ params(B) × bytes_per_param # then add KV cache + runtime overhead on top
fp16/bf16 → 2.0 (≈ 2 GB per 1B params)
8-bit → ~1.0 (≈ 1 GB per 1B params)
4-bit → ~0.6 (≈ 0.6 GB per 1B + cache + overhead; conservative ~0.5–0.6/param)What that means per hardware class (weights only — leave headroom for context/KV cache):
| Hardware | fp16 ceiling | Practical pick (4-bit) |
|---|---|---|
| 8 GB consumer GPU | ~3B | 7–8B at 4-bit (~5 GB) |
| 16 GB | ~7B | 13–14B at 4-bit |
| 24 GB (e.g. 3090/4090) | ~10B | ~32B at 4-bit (~20 GB) |
| 80 GB (A100/H100) | ~34B | 70B at 4-bit (~40 GB), or a big-MoE like gpt-oss-120b |
| Apple unified (e.g. 64 GB) | shares with the OS | budget against total unified memory |
| multi-GPU / 2×80 GB+ | 70B fp16 (~140 GB) via tensor-parallel | full-precision large models |
A 70B at fp16 is ~140 GB — it does not fit one GPU. You either quantize (4-bit ≈ ~40 GB, fits one
80 GB card) or split across GPUs with tensor parallelism (that's a vllm job). Longer context
grows the KV cache on top of weights, so keep a margin. Full derivation + KV math:
references/sizing-and-quant.md.
Quantization shrinks weights (fewer bits/param) to fit smaller hardware, trading a little quality. Which format you pick is driven by your runtime:
| Format | Where it runs | Use it for |
|---|---|---|
| GGUF | llama.cpp, Ollama, LM Studio | CPU, Apple Silicon, single-box local; the everyday local format |
| AWQ | vLLM, TGI, transformers | GPU serving — activation-aware 4-bit, strong quality/latency |
| GPTQ | vLLM, TGI, transformers | GPU serving — older, widely available 4-bit |
| bitsandbytes (NF4) | transformers | quick load-time 4/8-bit for experiments/fine-tuning |
| EXL2 | ExLlamaV2 | flexible bit-rates on consumer GPUs |
Decoding a GGUF quant tag like Q4_K_M: Q4 = ~4-bit weights; _K = a k-quant (mixed
precision — keeps the more sensitive tensors at higher bit-depth); _M = the medium size/quality
tier (_S smaller/lower, _L larger/higher). Q4_K_M is the standard default — roughly half
the memory of fp16 for a few percent quality loss. Q8_0 is near-lossless (~1 byte/param); below
Q4, quality drops off fast. Don't go sub-Q4 to force a too-big model onto a too-small box — pick a
smaller model instead. More in references/sizing-and-quant.md.
You've chosen a model and cleared its license. Now hand off — this skill stops here.
huggingface (Hub download/upload, Inference Providers,
endpoints). Also where you convert to GGUF.ollama.vllm.finetuning.agent-eval.The Hub filters (task + license + size + recent downloads) and the Ollama library are where you
actually find candidates — that mechanics lives in huggingface / ollama, not here.
huggingface — get/host: Hub download/upload, Inference Providers, endpoints, GGUF
conversion. This skill tells you which repo to pull; huggingface pulls it.ollama — run one model locally (GGUF, single box, VRAM sizing at request time). This skill
says which model + quant class fits; ollama runs it and does the KV-cache math.vllm — serve at throughput, batching, tensor-parallel for models too big for one GPU.finetuning — adapt a chosen base with LoRA/QLoRA/SFT. Choose+clear the base here first.Q4_K_M default).huggingface (get), ollama (run local), vllm (serve), finetuning (adapt).© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/open-weights of ericrisco/rsc-harness.
Open the folder on GitHubat commit e3d5b33
Open Weights next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Open Weights this skillericrisco/rsc-harness | 167 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Add Modelguoqingbao/xinfer | 333 | — | ~4.2k | Automated safety check: Notes | MIT | |
| Resolvealexziskind1/model-shelf | 130 | — | ~792 | Automated safety check: Pass | MIT | |
| SageMaker Serving Image Selectionhuggingface/skills | 11k | 1 repos | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Hugging Face LLM Trainerhuggingface/skills | 11k | 3 repos | ~7.2k | Automated safety check: Pass | Apache-2.0 | |
| Hugging Face Local Model Evalshuggingface/skills | 11k | 2 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 |
guoqingbao/xinfer
Adapt and port new LLM model architectures to this xinfer project.
alexziskind1/model-shelf
Always resolve Hugging Face models via model-shelf before any download.
huggingface/skills
Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.
huggingface/skills
Trains or fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs cloud GPUs, then converts the results to GGUF.
huggingface/skills
Runs evaluations of Hugging Face Hub models on local hardware with inspect-ai or lighteval, and helps choose between vLLM, Transformers and accelerate backends.
guoqingbao/xinfer
Check model compatibility with xinfer before loading. An agent skill from guoqingbao/xinfer.
ericrisco/rsc-harness
A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…
ericrisco/rsc-harness
A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…
ericrisco/rsc-harness
A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…
ericrisco/rsc-harness
A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…
ericrisco/rsc-harness
A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…
ericrisco/rsc-harness
A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.
Works with
Categories
A skill your agent uses when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping. Open Weights is an agent skill from ericrisco/rsc-harness. Use when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping.
Open Weights fits situations like: choosing an open-weight LLM and clearing it for use — which family and size fit the task; the hardware and the budget; above all whether the license permits shipping.
Run `npx skills add ericrisco/rsc-harness --skill open-weights -a claude-code`. Or copy the skill folder (skills/open-weights in ericrisco/rsc-harness) into .claude/skills/open-weights in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ericrisco/rsc-harness --skill open-weights -a codex`. Or copy the skill folder (skills/open-weights in ericrisco/rsc-harness) into .agents/skills/open-weights in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill open-weights -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/open-weights, .gemini/skills/open-weights, .github/skills/open-weights and .opencode/skills/open-weights in your project.
SKILL.md names no scripts, command-line tools or credentials: Open Weights is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: ai.google.dev and huggingface.co. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Open Weights is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Open Weights: Add Model (guoqingbao/xinfer, 333 stars), Resolve (alexziskind1/model-shelf, 130 stars), SageMaker Serving Image Selection (huggingface/skills, 11k stars) and Hugging Face LLM Trainer (huggingface/skills, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 167 GitHub stars. The repository holds 227 skills in this directory. The repository was last updated on October 7, 2026.
Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.