AI & ML Engineering
local-model-sizing
Verdict: Provisional: one recorded run beat having no skill. One run is not a measurement.
Works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization (FP16 down to Q2_K), a fit verdic…
- What it does: The agent collects the machine (VRAM, RAM, bandwidth, OS), the model (parameters, and layers, KV heads and head dimension when known) and the target context.
- Use it when: Works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization…
- Written and reviewed by Skill Almanac
- Licence: Apache-2.0
- Updated 2026-11-21
- Install check passed: Claude Code 2.1.330, 2026-11-23
Platform Score
Scored · Method v0.2 · How we scoreProvisional: one recorded run beat having no skill. One run is not a measurement. Efficacy earned 21 of 35 points. See the evidence
Published: the task count, pass rates with and without the skill and the interval (see evidence details), and a recorded demo. Not published: the executor outputs and grading folders, so a third party cannot yet re-run the comparison from this page.
Our assessment, method v0.2, scored 2026-11-21. See the breakdown
User Score
No reviews yet
A future average requires 5 installation-verified reviews; verification is not available yet. Read reviews
What it does
The agent collects the machine (VRAM, RAM, bandwidth, OS), the model (parameters, and layers, KV heads and head dimension when known) and the target context. It writes a small JSON spec and runs scripts/size_model.py, which computes weight memory, KV-cache memory (2 x layers x kv_heads x head_dim x context x bytes per element), an activation allowance and a 10 percent headroom, then gives a verdict per quantization from FP16 to Q2_K: fits fully, partial offload, CPU only, or does not fit. It also gives the largest context that fits and a tokens-per-second ceiling from memory bandwidth. Warnings cover context past the trained limit, a quantized KV cache, mixture-of-experts models, several GPUs without a confirmed split, and a missing architecture.
When to use it
Works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization (FP16 down to Q2_K), a fit verdict per machine, the largest context that fits, and a tokens-per-second ceiling from memory bandwidth. Use when the user asks will this model run on my GPU, how much VRAM or RAM do I need, which quant to pick for Ollama, llama.cpp or LM Studio, or why a local LLM is slow or out of memory.
When not to use it
Do not use for cloud API pricing, training or fine-tuning memory, picking a model by quality, or installing runtimes.
Summary reviewed 2026-11-22 by Kobi Eliraz (founder, Skill Almanac).
Demo video
local-model-sizing: how to use this skill. Recorded on Claude Code, 2026-11-23.
AI-narrated demonstration based on recorded agent outputs. The task and transcript explain what is shown; evaluation evidence and limitations are on the skill page.
Transcript
- 0:00 The finished result Will this model fit your GPU? Check the memory math before downloading.
- The result of the demonstration run
- 0:05 The prompt You ask your agent.
- The prompt: My question: will this model run on my GPU? The machine details are in machine.txt and the model notes are in model.txt.
- 0:08 What it is and how to run it It reads the skill, writes spec.json, runs size_model.py, picks a quant.
- Reading the skill instructions.
- Reading the spec format, the user's machine and model files.
- Writing spec.json from the machine and model notes.
- Running the sizing script on spec.json.
- The script ran cleanly with no warnings. Writing sizing.md to the output folder.
- Yes, Example-14B runs fully on your 12 GB GPU at Q4_K_M with an 8192-token context. The sizing script exited cleanly with no warnings.
- 0:15 Before and after The result.
- From the agent's own report
- 0:21 install To use it, clone the public repo and copy the skill folder.
- git clone --depth 1 https://github.com/kobilyricsweb/skillalmanac-skills.git
- cd skillalmanac-skills
- mkdir -p ~/.claude/skills
- cp -r skills/local-model-sizing ~/.claude/skills/
- # Claude Code (Codex CLI, Cursor and Gemini CLI directories are listed in the repo README)
- github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/local-model-sizing
- 0:28 The skill page Find it at skillalmanac dot com.
- Local Model Sizing
- https://skillalmanac.com/skills/skill-almanac/local-model-sizing
Install
To use these commands, you need Git and a computer running Claude Code. They copy the skill into your Claude Code skills folder (use .claude/skills inside a project for project-only installation). Check the package requirements for any extra runtime, such as Python or Node.js, before running its scripts.
Skill Almanac is free to browse. Your AI tool or model provider may charge for a subscription or usage; see Claude Code costs.
Source version: 5f9a43d4303d8cd4f566e322b16a52b579699293 (pinned commit).
macOS and Linux (Terminal)
git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git &&
cd skillalmanac-skills &&
git fetch --depth 1 origin 5f9a43d4303d8cd4f566e322b16a52b579699293 &&
git checkout --detach FETCH_HEAD &&
git sparse-checkout set -- skills/local-model-sizing &&
test -f skills/local-model-sizing/SKILL.md &&
mkdir -p ~/.claude/skills &&
if [ -e ~/.claude/skills/local-model-sizing ]; then printf '%s\n' 'Already installed: review the existing folder before updating.' >&2; false; else cp -r ./skills/local-model-sizing ~/.claude/skills/; fiWindows (PowerShell)
git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
Set-Location -LiteralPath 'skillalmanac-skills' -ErrorAction Stop
git fetch --depth 1 origin 5f9a43d4303d8cd4f566e322b16a52b579699293
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git checkout --detach FETCH_HEAD
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git sparse-checkout set -- skills/local-model-sizing
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
if (-not (Test-Path -LiteralPath 'skills/local-model-sizing/SKILL.md' -PathType Leaf)) { throw 'The selected version does not contain this skill.' }
$skillDestination = Join-Path $HOME '.claude/skills/local-model-sizing'
if (Test-Path -LiteralPath $skillDestination) { throw 'Already installed: review the existing folder before updating.' }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $skillDestination) -ErrorAction Stop | Out-Null
Copy-Item -LiteralPath 'skills/local-model-sizing' -Destination $skillDestination -Recurse -ErrorAction StopThese commands avoid replacing an existing skill. Required tools and scripts may differ by operating system; check this skill’s dependencies before running it. For platform steps and the scope of our tests, see the installation guide. For another agent, use the Codex skills guide, Cursor skills guide, or Gemini CLI tool page, together with the package README. Read the source before you install.
Source: kobilyricsweb/skillalmanac-skills on GitHub
How we tested the install
Claude Code
The check we ran, on Claude Code 2.1.330 on 2026-11-23, pinned to commit 5f9a43d. This is our test harness, not the install command.
claude -p "The user asks will this model run on my GPU, how much VRAM or RAM do I need, which quant to pick for Ollama, llama.cpp or LM Studio. Use the local-model-sizing skill for this; say which skill you used and stop." --model claude-haiku-5-5 --output-format stream-json --verbose --max-turns 6 (cwd with .claude/skills/local-model-sizing/)Not tested on: Codex, Gemini CLI, Cursor, GitHub Copilot.
Platform Score
57 out of 100 · Provisional: efficacy from a single run
Merit 57 × safety factor 1.00 = 57. Provisional: no letter grade until measured. Efficacy rests on a single run and the other judged items are not measured, so the top grade is out of reach until the skill is fully tested.
- Scored
- 2026-11-21
- Method
- Version 0.2. How this is calculated
- Evaluated by
- Skill Almanac static rules v0 plus an external static security scan (Semgrep, Gitleaks, an instruction-indirection detector), every finding triaged. No human review. Everything else that cannot be checked earns nothing and is listed under Not tested.
Score breakdown: seven dimensions, safety factor and rubric items
Merit: seven dimensions
Safety factor: file review
Security 25 of 25 points gives a safety factor of 1.00. Security does not add points; it multiplies merit, so a risky skill loses up to half its score.
| Item | Points | What we found |
|---|---|---|
| S2 Remote code execution surface | 6 / 6 | Nothing that downloads, installs or runs remote code applies; no findings. (measured, scan of 2026-11-22.) |
| S3 Instruction indirection | 5 / 5 | No instruction that fetches or follows content from outside the reviewed files applies; no findings. (measured, scan of 2026-11-22.) |
| S4 Secrets and credentials | 4 / 4 | No credential use or committed secret applies; no findings. (measured, scan of 2026-11-22.) |
| S5 Data egress and telemetry | 4 / 4 | No data egress applies; no findings. (measured, scan of 2026-11-22.) |
| S6 Agent-behaviour integrity | 3 / 3 | No steering, hidden or auto-approve wording applies; no findings. (measured, scan of 2026-11-22.) |
| S7 Bundled executable hygiene | 3 / 3 | Bundled scripts are readable source and nothing in them applies; no findings. (measured, scan of 2026-11-22.) |
Not tested
- Efficacy: only a single run per configuration exists (blind grader), not the 30-run measured procedure; credit is capped at 21 of 35 and consistency is not measurable.
- Trigger precision: description rubric only; T3 (specific trigger terms) needs a judge. No trigger test was run.
- Instruction quality: Q2, Q3 and Q6 need a judge and earn nothing; Q4 and Q7 get half credit.
- Security: measured by a static external scan. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). Every finding was triaged by the scanning session, not by a human. No runtime behaviour check was run: nothing was installed or executed.
- Portability: P4 (multi-agent support) was not tested on any other tool.
- Maintenance: new package with no commit history or public repository.
What would raise this score
- Run the measured procedure (6 to 12 held-out tasks, with and without the skill, blind grading in both orders): efficacy can earn up to 35 points. (up to +14 points)
- A judge pass over Q2, Q3 and Q6 would score the instruction quality that is not measured yet. (up to +16.3 points)
- A runtime behaviour check (running the scripts in a sandbox) and a human review of the triage would be the next security evidence. (up to +0 points)
This score is our assessment under a published method. It is not a guarantee of safety or fitness. To dispute this score, use the corrections page; we reply within 10 business days.
Evidence and rubric details (for reviewers)
Evidence and provenance
House skill from the Claude pipeline (batch_05_sonnet). Drafted by claude-sonnet-5-5. Human review: not done yet. Source package: 01_skill_production/batch_05_sonnet/local-model-sizing (not public).
Declared compatibility (the author's statement, not an install test): The script needs Python 3.9 or newer, standard library only. No network access is used. Without Python, use the formulas in the body by hand.
Efficacy: LIFT (single-run)
. 3 tasks, one run per configuration. Blind preference: with skill 3, without skill 0, tie 0. Assertions passed: 17 with the skill, 7 without.
Read with care: Provisional and single-run: 1 run per configuration, claude-sonnet-5-5 as executor and claude-sonnet-5-5 as blind grader. It is not the measured 30-run procedure of the Platform Score, so a LIFT earns efficacy credit capped at 60% of the dimension, any other verdict earns none, and it does not support a claim of general improvement.
Details
- t1-dense-two-machines: with_skill (score 9 with skill, 4 without)
- t2-moe-mac: with_skill (score 9 with skill, 5 without)
- t3-unknown-shape: with_skill (score 9 with skill, 4 without)
Record: efficacy_runs/results/local-model-sizing.json (claude pipeline)
Static lint and own-rules scan · PASS
. Agent Skills spec lint passed (0 failures, 0 warnings). Own-rules security scan: 0 findings.
Read with care: Spec lint and own-rules text rules only; the security result is the separate external scan record below. Nothing was installed or run.
Details
- Ea Ships evals for the skill itself: 5/5. An evals/ folder is bundled.
- Eb Deterministic helper or verify step: 5/5. Bundled scripts validate or do the work.
- Es Single-run with/without comparison: 21/21. LIFT on 2026-11-21, one run per configuration. Credit capped at 60% of the dimension (21 of 35); replaces the proxy when higher.
- T1 Says what the skill does: 1/1. Description of at least 30 characters.
- T2 Says when to use it: 2/2. A "use when" statement is present.
- T3 Specific trigger terms: 0/2. Not measured: needs a judge.
- T4 Within spec length: 1/1. 604 characters.
- T5 Distinct, not over-broad: 1/1. Checked for over-broad wording by pattern.
- T6 No coercive wording: 1/1. Checked for coercive wording by pattern.
- Q1 Valid per the Agent Skills spec: 2/2. No hard lint rule failed.
- Q2 Actionable workflow: 0/4. Not measured: needs a judge.
- Q3 Specific non-obvious knowledge: 0/4. Not measured: needs a judge.
- Q4 Concrete examples: 1/2. Code blocks or an example heading exist (half credit: quality not judged).
- Q5 Progressive disclosure: 2/2. Body is 87 lines.
- Q6 Verification and failure handling: 0/3. Not measured: needs a judge.
- Q7 Prerequisites declared: 1/2. A compatibility field exists (half credit: contents not judged).
- Q8 Version or changelog: 1/1. metadata.version 0.1.0.
- P1 Frontmatter: 2/2. Open-spec fields only.
- P2 Agent-specific tools in the body: 3/3. None named.
- P3 Runtime dependencies: 2/2. None, or standard library only.
- P4 Multi-agent support: 0/1. Not measured: no cross-tool run exists.
- M1 Recent change: 3/3. Last commit touching the skill directory 2026-11-22.
- M3 Repository and publisher: 1/2. kobilyricsweb/skillalmanac-skills is not archived and was pushed 2026-11-23. The established-publisher half earns nothing: the publisher is not verified.
- L1 Licence: 3/3. Apache-2.0 with LICENSE file.
- L2 Provenance: 1/2. Original house package; publisher not verified by the claim flow.
- K2 Activation cost: 3/3. About 1770 body tokens (characters / 4).
- K3 On-demand structure: 1/1. References are split out, or the skill is small.
Record: 01_skill_production/batch_05_sonnet/local-model-sizing/SKILL.md
External security scan · PASS
. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). 7 files scanned; No dependency manifest is bundled, so there was nothing to audit.
Read with care: Static scan only: nothing was installed or executed. Each finding was triaged by the scanning session (an AI), not by a human reviewer. evals/ test fixtures (deliberate fake keys and injection strings) are excluded by design. Not a security certification.
Details
- Tool: Semgrep 1.186.0 (registry p/default (fetched 2026-11-22) + custom agent-skill rules (rules/agent-skill-risks.yml, 13 rules, tested))
- Tool: Gitleaks 8.30.1 (built-in default ruleset, --redact)
- Tool: Skill Almanac own-rules 0.1.0 (StaticRuleScanner text rules)
- Tool: S3 instruction-indirection detector 1.0.0 (tools/s3_indirection_scan.py (15 positive and negative self-tests))
- Tool: npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 (manifests found inside packages only)
Record: 01_skill_production/security_scan/results/local-model-sizing.json
Authoring record
. Drafted by claude-sonnet-5-5; the editorial summary (what it does, when to use, when not to use, limits) was reviewed and signed off by Kobi Eliraz on 2026-11-22. The package itself and its tests were not re-run by a human.
Read with care: Self-reported by the authoring pipeline. Not independently audited.
Record: 01_skill_production/batch_05_sonnet/local-model-sizing/VERIFICATION.md
Public repository
. Published in kobilyricsweb/skillalmanac-skills: 1 commit on this skill, first 2026-11-22, last 2026-11-22; 0 open issues in the repository.
Read with care: Read from the GitHub API on the date shown, at catalogue build time. The repository is new and unverified: its history earns only the points the published method assigns to it.
Record: https://github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/local-model-sizing
User Score
No reviews yet. A User Score is planned to use only reviews from people with a verified install. Installation verification is not available yet. An average requires 5 verified reviews.
Examples
No before-and-after examples yet. They are added from our evaluation runs.
Limits and known failures
No detailed limitations are documented here yet. The evidence section shows the available tests and their scope.
Security
| Scanner | Version | Date | Result |
|---|---|---|---|
| External scan (Semgrep, Gitleaks, instruction-indirection detector, own rules) | Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 | 2026-11-22 | No issues found |
A scan is not a guarantee. Read what a skill does before you install it.
Reviews
No reviews yet.
Write a review
Questions and answers
No questions yet.
Ask a question
Discussion
Recommended by 0 people. A recommendation is not a rating and is not part of either score.
Comments (0)
No comments yet.
Add a comment
Versions
| Commit | Date | Change | Platform Score |
|---|---|---|---|
5f9a43d | 2026-11-22 | First and only published version: the package as committed to kobilyricsweb/skillalmanac-skills. No later change has been made, so there is no change log yet. Scored and scanned as source package 88307cf56601; the published folder omits internal metadata and VERIFICATION.md. | 57 (current) |
Licence
Apache-2.0
Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.
Publisher
- Name
- Skill Almanac
- Verification
- Not verified. Nobody has claimed this listing yet.
- Profile
- No public profile yet
Other skills from this publisher
- cited-deep-research 62/100 · grade CScored · Method v0.2 · How we score
- coding-agent-guardrails 60/100 · grade CScored · Method v0.2 · How we score
- notes-vault-organizer 67/100 · grade CScored · Method v0.2 · How we score
- session-handoff-notes 63/100 · grade CScored · Method v0.2 · How we score
- word-document-builder 62/100 · grade CScored · Method v0.2 · How we score
- agency-client-onboarding-checklist 50/100 · grade DScored · Method v0.2 · How we score
- bank-statement-reconcile 54/100 · grade DScored · Method v0.2 · How we score
- candidate-scorecard-builder 63/100 · grade CScored · Method v0.2 · How we score
Similar skills
- terse-output-mode by Skill Almanac 46/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- openai-docs by OpenAI 28/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- threat-model-stride-worksheet by Skill Almanac 38/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- pseudo-localization-tester by Skill Almanac 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
Category: AI & ML Engineering (assignment not yet confirmed by an editor)
Terms this skill is an example of
This item is a worked example in the AI glossary for:
- AI model
- AI PC
- AnythingLLM
- AWQ quantization
- Backpropagation
- Beam search
- Cerebras
- ComfyUI
- CUDA
- Deep learning
- DeepSeek
- Distillation
- Edge AI
- FlashAttention
- FLOPS (floating-point operations per second)
- Gemma
- GGUF
- GLM (Zhipu)
- GPT4All
- GPTQ
- GPU for AI
- HuggingChat
- Hunyuan (Tencent)
- IBM watsonx
- Inference
- Jan (local AI app)
- Kimi (Moonshot)
- KoboldCpp
- KV cache
- Language model
- Latent space
- Liquid neural network
- Llama (Meta)
- llama.cpp
- llamafile
- LM Studio
- LocalAI
- LoRA (low-rank adaptation)
- Machine learning model
- Matryoshka embeddings
- Mistral (models)
- Mixed-precision training
- Mixture of experts (MoE)
- MLX (Apple)
- Model weights
- Nemotron
- Neural network
- Neural processing unit (NPU)
- Neuromorphic computing
- NVIDIA NIM
- Ollama
- On-device AI
- ONNX (Open Neural Network Exchange)
- Open-weights model
- OpenRouter
- Phi (Microsoft)
- Positional encoding
- Pretraining
- PyTorch
- Quantization
- Qwen
- Recurrent neural network (RNN)
- RunPod
- Safetensors
- SambaNova
- Self-hosted LLM
- Serverless GPU
- SGLang
- Small language model (SLM)
- Sovereign AI
- Speculative decoding
- Spiking neural network (SNN)
- Tensor (machine learning)
- TensorRT
- Text generation web UI
- Together AI
- Transformers library (Hugging Face)
- Triton Inference Server
- vLLM
Common questions
What is the Platform Score of local-model-sizing?
57 out of 100 under method v0.2, scored on 2026-11-21. It is provisional because efficacy rests on a single run, not the full measured procedure.
Has local-model-sizing been tested for effectiveness?
Partly. One with/without comparison (one run per configuration, blind grader) is on record; read its date and caveat in the evidence section. It is not the full measured procedure.
Which tools has the install been checked on?
Install check passed on: Claude Code 2.1.330, 2026-11-23. It says the files install, not that the skill works.
What licence does it use?
Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.
When was this page last updated?
2026-11-21.
Cite this entry
Skill Almanac. local-model-sizing. Updated 2026-11-21. Platform Score 57/100 (provisional, method v0.2), scored 2026-11-21. https://skillalmanac.com/skills/skill-almanac/local-model-sizing
This citation identifies our entry and assessment. The original skill belongs to its publisher.
SKILL.md
The skill text is not mirrored here. Read it in the source repository.
Report or claim this listing
Report a problem with this listing (malicious content, wrong licence, impersonation, copyright). Publishers can add their own skills through Submit a skill; claiming an existing listing is not available yet.
Index status: not offered to search engines yet. Markdown version of this page
Why this page is not offered to search engines yet
- This page is not in the first set of pages offered to search engines.
What to do next
- Install it with the pinned command above, then try it on one real task.
- Compare other AI & ML Engineering skills, ranked by Platform Score.
- Read Self-Hosting an AI Agent: What You Take On.
- Compare it with another skill.
- Unsure what a score means? How we score.