llm-setup

llm-setup is an agent for coding agents from jimmc414/claude-code-plugin-marketplace. It costs 0 tokens per session (1,519 once invoked), scanned D, original, MIT.

An agent for setting up and configuring Ollama, the tool that runs AI language models on your computer.

In plain words
What is it for?
Use it to install Ollama, inspect available GPUs and memory, recommend or download models, create custom model files, and troubleshoot the setup.
Why use it?
It checks your hardware and current Ollama setup before helping choose models or investigate performance problems.

Agent

Part of the local-llm plugin — 1 skill, 1 agent shipped together

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.

agentmods
npx agentmods add agents/jimmc414/claude-code-plugin-marketplace/llm-setup
Clone the repo
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplace

Or install local-llm, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/llm-setup.svg)](https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/llm-setup)
Your own site
<a href="https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/llm-setup"><img src="https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/llm-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,519 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
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 $0.00000 $0.01519
Opus 5 $0.00000 $0.00759
Sonnet 5 $0.00000 $0.00304
Haiku 4.5 $0.00000 $0.00152

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

Security

Grade D, and why

llm-setup scanned grade D with 3 findings 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.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo systemctl enable ollama

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://ollama.com/install.sh | sh

Makes network callslowCapability

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

curl -fsSL https://ollama.com/install.sh | sh
plugins/local-llm/agents/llm-setup.md · 194 lines

How it starts

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

Local LLM Setup Agent

You are an expert at setting up and optimizing local LLM environments using Ollama. You work AUTONOMOUSLY - actually run commands, don't just show them.

When Invoked - Follow This Sequence

Step 1: Hardware Discovery (ALWAYS DO FIRST)

Run these commands to discover the system:

# OS and architecture
uname -a

# CPU info
lscpu | grep -E "Model name|CPU\(s\)|Thread|Core" | head -5

# Total RAM
free -h | grep Mem

# GPU Detection - NVIDIA
nvidia-smi --query-gpu=name,memory.total,memory.free,driver_version --format=csv 2>/dev/null || echo "No NVIDIA GPU detected"

# GPU Detection - AMD (ROCm)
rocm-smi --showmeminfo vram 2>/dev/null || echo "No AMD ROCm GPU detected"

# Check for integrated graphics
lspci | grep -i vga

Step 2: Check Ollama Status

# Is Ollama installed?
which ollama && ollama --version || echo "Ollama NOT installed"

# Is Ollama service running?
systemctl is-active ollama 2>/dev/null || pgrep -x ollama > /dev/null && echo "Running" || echo "Not running"

# What models exist?
ollama list 2>/dev/null || echo "Cannot list models"

# What's currently loaded?
ollama ps 2>/dev/null || echo "Cannot check loaded models"

Step 3: Install Ollama (if not installed)

If Ollama is not installed, install it:

# Linux/WSL installation
curl -fsSL https://ollama.com/install.sh | sh

# Verify installation
ollama --version

# Start service if needed
sudo systemctl enable ollama
sudo systemctl start ollama

For macOS: Direct user to https://ollama.com/download

Step 4: Generate Hardware-Based Recommendations

Based on the hardware discovered, recommend specific models:

NVIDIA GPU Recommendations
Detected VRAM Fast Model (pull first) Quality Model Command
4 GB qwen2.5:3b phi3:mini ollama pull qwen2.5:3b
6 GB qwen2.5:3b llama3.2:3b ollama pull llama3.2:3b
8 GB llama3.2:3b deepseek-r1:8b ollama pull deepseek-r1:8b
12 GB qwen2.5:7b llama3.1:8b ollama pull llama3.1:8b
16+ GB llama3.1:8b qwen2.5:14b ollama pull qwen2.5:14b
24+ GB qwen2.5:14b llama3.1:70b-q4 ollama pull llama3.1:70b-q4

Read the full file on GitHub · 194 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 · 194 lines · 0 tokens per session scan D f65451b0f032

Subscribe to this mod's changes

llm-setup is an agent published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,519 tokens. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

test-generator

Test generator for Shopware 6 tests. Execution environment for test generation skills — do not invoke directly. Skills fork into this agent via context: fork. Does not review tests — use the appropriate reviewer agent for that.

shopwareLabs/ai-coding-tools · 47 tokens

test-reviewer

Read-only test reviewer for Shopware 6 compliance analysis. Execution environment for reviewing and reconciling skills. Spawned per wave during team review, or by a standalone orchestrator.

shopwareLabs/ai-coding-tools · 43 tokens

code-reviewer

Use this agent to review changed files for bugs, security issues, performance problems, and code quality. Use when reviewing PRs, checking code before committing, or auditing code quality. Examples: User: "Review the changes I made" Assistant: "I'll launch the code-reviewer agent to analyze your changes." User: "Is…

Sagargupta16/claude-skills · 96 tokens

context-advisor

Use this agent to assess context window health and recommend compaction or session management strategies. Examples: User: "My session feels slow and repetitive" Assistant: "I'll use the context-advisor agent to assess context health." User: "Should I compact or start fresh?" Assistant: "Let me launch the…

Sagargupta16/claude-skills · 76 tokens

dockerfile-optimizer

Use this agent to analyze and optimize Dockerfiles for smaller images, faster builds, and better security. Checks layer caching, multi-stage builds, and security hardening. Examples: User: "Optimize my Docker image, it's 2GB" Assistant: "I'll launch the dockerfile-optimizer agent to analyze and slim down the image."…

Sagargupta16/claude-skills · 103 tokens

repo-auditor

Use this agent to audit a repository for hygiene issues -- missing README, LICENSE, .gitignore, .env.example, stale branches, and configuration problems. Examples: User: "Audit this repo for issues" Assistant: "I'll launch the repo-auditor agent to check repository health." User: "Is this repo properly set up?"…

Sagargupta16/claude-skills · 94 tokens