local-llm-setup

local-llm-setup is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 78 tokens per session (902 once invoked), scanned A, original, MIT.

A setup wizard for running the Gemma 4 12B language model on your own computer. It installs the model server, downloads the model, configures a routing service, and checks that the setup works.

In plain words
What is it for?
Use it to bootstrap a local language-model environment, switch between setup modes, and send bounded coding or architecture tasks to review personas such as security auditors and refactoring reviewers.
Why use it?
It removes the manual work of compiling or downloading the required software and connecting the parts together. It also helps verify whether the local model can accept delegated tasks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the cli-agents plugin — 14 skills, 13 agents shipped together

Good fit Use it to bootstrap a local language-model environment, switch between setup modes, and send bounded coding or architecture tasks to review personas such as security auditors and refactoring reviewers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/local-llm-setup
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 richfrem/agent-plugins-skills --skill local-llm-setup
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install cli-agents, the plugin that ships this one along with the rest of its 14 skills, 13 agents.

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 local-llm-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/local-llm-setup.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/local-llm-setup)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/local-llm-setup"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/local-llm-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 902 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00078 $0.00902
Opus 5 $0.00039 $0.00451
Sonnet 5 $0.00016 $0.00180
Haiku 4.5 $0.00008 $0.00090

Measured 4d ago against content hash 7149f8bdede3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

local-llm-setup 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 4d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/disable_global_routing.py, scripts/enable_global_routing.py, scripts/kv_cache_orchestrator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 http://localhost:8089/health # must return {"status":"ok"}
plugins/cli-agents/skills/local-llm-setup/SKILL.md · 78 lines

How it starts

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

Primary Use Case: Mode B Task Delegation

Mode B is the fast path. run_agent.py sends a lean prompt directly to llama-server — no proxy overhead, no 29K system prompt. Measured: ~2s wall clock for a typical bounded task.

# Start llama-server (required for cli=llama)
python3 scripts/run_server.py
curl http://localhost:8089/health   # must return {"status":"ok"}

# Mode B task delegation — fast path (~2s)
time python3 scripts/run_agent.py agents/refactor-expert.md target.py output.md \
  "List the top 3 issues." --cli llama

# Mode B with custom max tokens
python3 scripts/run_agent.py /dev/null /dev/null /tmp/out.md \
  "Summarize this architecture decision." --cli llama --max-tokens 300

Available agent personas (pass as PERSONA_FILE):

Persona Role
agents/refactor-expert.md Code quality — SOLID/DRY smell taxonomy
agents/security-auditor.md OWASP vulnerability audit
agents/architect-review.md C4/SOLID structural review
agents/red-team-reviewer.md Adversarial exploit analysis
agents/compliance-reviewer.md Coding standards drift detection
agents/pr-reviewer.md Diff review — ship/hold decision
agents/test-writer.md Unit test generation
agents/debate-synthesizer.md Multi-perspective synthesis
agents/output-validator.md Output guardrail / hallucination check
agents/self-critic.md Reflection loop — task-fit check
agents/performance-analyst.md Bottleneck and scale analysis

Read the full file on GitHub · 78 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. 4d ago First seen · 78 lines · 78 tokens per session scan A 7149f8bdede3

Subscribe to this mod's changes

local-llm-setup is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 902 once invoked, about $0.0004 per session on Opus 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-09-03.

Related

Other skills, from other repositories

swarm-scripts

Bulk, repeat, fan-out, or data-heavy work: write and run swarm scripts (inline script-run, named script-upsert, durable launch-script-run). Covers the script-vs-tool rubric, the authoring contract (args first, ctx second), the seed catalog, connections and secrets, dbquery, and exposing a script as an API.

desplega-ai/agent-swarm · 82 tokens

semantic-creator

A workflow for turning APIs, command-line tools, or database tables into a governed semantic layer—a shared description of data and its meaning. It uses Kimball-style dimensional modeling and can produce OKF or YAML files after review.

ontology-of-everything/SemanticSkills · 68 tokens

prompt-decompiler

This skill should be used when the user says "decompile this prompt", "reverse engineer this prompt", "analyze this prompt", "break down this prompt", "what does this prompt do", "adapt this prompt for", "simplify this prompt", "split this prompt", "migrate this prompt", "why does this prompt work", "explain this…

RadOrigin-LLC/RAD-Claude-Skills · 153 tokens

model-cli-gemini

Use when invoking Google's Gemini directly through the shared Antigravity, Gemini CLI, or agent fallback chain.

tony/skills · 27 tokens

custom-model-training

Trains a custom Ideogram model on a folder of reference images, then generates a new image with that trained model to prove it works — a real end-to-end pipeline (createdataset, uploaddatasetassets, trainmodel, poll getmodel, generateimage with custommodeluri), not just an explanation of how training works. Use…

devkindhq/ideogram-ai-toolkit · 230 tokens

ideogram-prompt

Prompting technique guide for Ideogram image generation via the connected Ideogram MCP (generateimage, describeimage, remiximage, editimage). Use whenever the user wants to generate, remix, or edit an image with Ideogram — including moodboards, style-matching a reference image, extracting a visual "recipe" from…

devkindhq/ideogram-ai-toolkit · 128 tokens