models

models is a skill for Claude Code from mudler/LocalAI. It costs 44 tokens per session (1,396 once invoked), scanned A, original, MIT.

A guide to finding, installing, and configuring models for a LocalAI server. A model consists of a YAML settings file and the model data it names; LocalAI is software that runs models through a local server.

In plain words
What is it for?
It helps list installed models, search the model gallery, install model data, follow installation jobs, change settings, and add aliases.
Why use it?
It avoids reinstalling models that are already present and provides a consistent way to find suitable gallery entries, track installation, and update settings.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the localai plugin — 3 skills, 1 command shipped together

Good fit It helps list installed models, search the model gallery, install model data, follow installation jobs, change settings, and add aliases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mudler/localai/models
About the project

LocalAI is an inference server that runs language, vision, voice, image, and video models through compatible APIs on local hardware. It is used to operate models privately across different hardware, including CPU-only systems, and supports applications, agents, and multi-user services. The catalogue contains instructions for using LocalAI.

mudler/LocalAI · 50,617 stars · on GitHub · localai.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mudler/LocalAI --skill models
Clone the repo
git clone --depth 1 https://github.com/mudler/LocalAI

Made for: Claude Code.

Or install localai, the plugin that ships this one along with the rest of its 3 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for models

README.md
[![agentmods](https://agentmods.dev/badge/skills/mudler/localai/models/github.svg)](https://agentmods.dev/skills/mudler/localai/models)
Your own site
<a href="https://agentmods.dev/skills/mudler/localai/models"><img src="https://agentmods.dev/badge/skills/mudler/localai/models/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for models

Your own site · 80×15
<a href="https://agentmods.dev/skills/mudler/localai/models"><img src="https://agentmods.dev/badge/skills/mudler/localai/models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,396 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01396
Opus 5.5 $0.00018 $0.00558
Sonnet 5.5 $0.00009 $0.00279
Haiku 4.5 $0.00004 $0.00140

Measured 2d ago against content hash b1a638804c9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

models scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s $LOCALAI/v1/models -H "$AUTH" | jq -r '.data[].id'
plugins/localai/skills/models/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Find, install and configure LocalAI models

A model in LocalAI is a YAML configuration file in the models folder, plus the weights it names. The model gallery lists ready-made configurations. Installing a gallery entry downloads the weights and writes the YAML.

Full docs: https://localai.io/docs/models/ and https://localai.io/docs/models/setting-up-models/

These steps use the admin API. With API keys on, send an administrator key:

LOCALAI=http://localhost:8080
AUTH="Authorization: Bearer $LOCALAI_API_KEY"

1. See what is installed

curl -s $LOCALAI/v1/models -H "$AUTH" | jq -r '.data[].id'

If the model is in the list, you are done. Do not install it again.

GET /models/available returns every gallery entry. It is a long list: filter it with jq.

curl -s $LOCALAI/models/available -H "$AUTH" \
  | jq -r '.[] | select(.name | test("qwen"; "i")) | "\(.gallery.name)@\(.name)  \(.size // "")"'

Search by tag (for example llm, embeddings, tts, stt, image):

curl -s $LOCALAI/models/available -H "$AUTH" \
  | jq -r '.[] | select((.tags // []) | index("embeddings")) | .name'

Pick one name. Prefer a small model when the user did not ask for a size. If several names match, show the user the short list and ask.

The web UI has the same list on the Models page. Browse the gallery file: https://github.com/mudler/LocalAI/blob/master/gallery/index.yaml

3. Install it

curl -s $LOCALAI/models/apply -H "$AUTH" \
  -H "Content-Type: application/json" \
  -d '{"id": "localai@gemma-4-e2b-it-qat-q4_0"}'
  • id is <gallery>@<name>. The gallery part is optional; without it, the first gallery that has the name wins.
  • Add "name": "my-name" to install it under another name.
  • Some entries have several builds (variants). LocalAI picks the best one that this machine can run. To force one, add "variant": "<variant name>".
  • Add "overrides": {"context_size": 8192} to change fields of the YAML at install time.

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 156 lines · 44 tokens per session scan A b1a638804c9a

Subscribe to this mod's changes

models is a skill published in the GitHub repository mudler/LocalAI (50,617 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,396 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

models compared with skills from other repositories

models next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modelsmudler/LocalAISkill51ktodayMITA44Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
sglang-diffusion-performancesgl-project/sglangSkill39ktodayApache-2.0A29Claude Code, Codex
sglang-diffusion-cache-ditsgl-project/sglangSkill39ktodayApache-2.0A161Claude Code
sglang-diffusion-modelopt-quantsgl-project/sglangSkill39ktodayApache-2.0A49Claude Code, Codex
add-diffusion-modelsgl-project/sglangSkill39ktodayApache-2.0A30Claude Code, Codex
gemini-api-devoyi77/1ai-skillsSkill19todayMITA52Claude Code