Agent skill · luongnv89

ollama-optimizer

Optimize Ollama configuration for the current machine's hardware. Use when asked to speed up Ollama, tune local LLM performance, or pick models that fit available GPU/RAM. Don't use for LM Studio, llama.cpp, vLLM, or hosted-API LLM providers.

What it needs

About 5k tokens when loaded.

What this skill does

Ollama Optimizer Optimize Ollama configuration based on system hardware analysis. When to Use Use this skill when the user asks to optimize Ollama, configure Ollama, speed up Ollama, fix Ollama running slow, set up a local LLM, tune inference speed, reduce memory usage, or select models that fit their GPU/RAM. The skill analyzes hardware (GPU, VRAM, RAM, CPU) and produces tailored recommendations. Do not use for LM Studio, llama.cpp, vLLM, or hosted-API LLM providers (OpenAI, Anthropic) — those use different runtimes and tuning surfaces. Workflow Fast path (opt-in only): only skip full hardware analysis if the user explicitly asks to. Otherwise always run Phases 1-4 and follow the tier-based recommendation — do not apply shortcuts by default, and do not let them override a tier decision already made. For the per-platform shortcut commands and env vars, see Platform-Specific Setup and Environment Variables. Phase 1: System Detection Run the detection script to gather hardware information: Parse the JSON output to identify: OS and version CPU model and core count Total RAM / unified memory GPU type, VRAM, and driver version Current Ollama installation and environment variables hardwaretier — the script's computed category, maxmodelsize, and recommendedquant Phase 2: Analyze and Recommend Use hardwaretier from Phase 1 as the tier decision. Do not re-derive it; the table below explains what each tier means and which optimizations it implies. Override the script only with an explicit reason (e.g. VRAM shared with a display), and state that reason in the report. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills luongnv89/ollama-optimizer

View the source on GitHub

Browse the @skills marketplace