Skip to main content
skill CX Codex

local-llm-router — Claude Code skill: what it does, how to install

local-llm-router routes coding prompts to local language models inside air-gapped setups. Employs Serena MCP for codebase context without cloud access.

no license ★ 301 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hoodini/ai-agents-skills --skill local-llm-router -a claude-code
Open on GitHub

What local-llm-router does

This skill directs programming tasks to local runtimes such as Ollama, LM Studio, or Jan. Before passing prompts to any neural network, it invokes Serena MCP. The server inspects code structure via LSP primitives, extracting symbol definitions and references instead of dumping raw file trees.

The routine classifies incoming tasks into code generation, reasoning, analysis, or documentation. It scans local endpoints (11434, 1234, or 1337), selects the relevant model, and executes the request offline.

Without an active Serena MCP instance and at least one local server running, the router fails immediately. The entire workflow stays strictly on your machine.

What it helps with

  • write code with AI assistance inside an air-gapped network
  • dispatch requests between Ollama, LM Studio, and Jan
  • gather semantic AST context through Serena MCP without string matching

Example prompts for the agent

  • Route this refactoring request to local Ollama using Serena context
  • Send the call hierarchy analysis to LM Studio
  • Generate unit tests for this parser using the active Jan model

How to install local-llm-router

1Skills CLI (Vercel)

npx skills add hoodini/ai-agents-skills --skill local-llm-router -a claude-code

2Manually: put the files in place

~/.claude/skills/local-llm-router/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/local-llm-router/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about local-llm-router

How to install local-llm-router in Claude Code?

Run npx skills add hoodini/ai-agents-skills --skill local-llm-router -a claude-code in your terminal. The configuration is stored at ~/.claude/skills/local-llm-router/SKILL.md.

What does local-llm-router do?

It identifies reachable local model servers, gathers semantic code context using Serena MCP, and dispatches the task to the right offline engine.

What dependencies must run beforehand?

You need Serena MCP running alongside an active backend listening on http://localhost:11434, http://localhost:1234, or http://localhost:1337.

Similar skills

All skills for AI and ML →

From the same set34

The whole set →
image-master The image-master skill structures prompts for realistic still images and checks them for common visual artifacts. Use it when generated faces, hands, or skin look distorted or artificial. CX Codex +1 ★ 301repo stars aws-harness aws-harness — a skill for Claude Code that creates a new AI agent or wraps an existing one and deploys it to AWS Bedrock AgentCore, with tools, cross-session memory, and sandboxed execution. CX Codex +1 ★ 301repo stars yuv-pilot yuv-pilot routes complex YUV.AI brand deliverables to dedicated presentation, design, and video skills. CX Codex +1 ★ 301repo stars yuv-decks yuv-decks builds React slide decks with @open-slide/core, shaping the story and visual style along the way. Use it for a talk or presentation that needs a clear narrative arc. CX Codex +1 ★ 301repo stars meta-ads meta-ads runs Meta campaigns end to end: pixel, launch, reading the numbers, fixing what leaks. Pulls and changes your ad account through the Marketing API. CX Codex +1 ★ 301repo stars cinematic-scrub-landing cinematic-scrub-landing builds a cinematic landing page featuring a mouse-scrubbed hero video backdrop and a five-beat narrative layout. CX Codex +1 ★ 301repo stars yuv-viral-video yuv-viral-video — a Claude Code skill that turns a selfie recording or screen capture into a viral short in YUV.AI's house style. It outputs both 9:16 and 16:9 and saves every render with a _V<N> suffix so no version gets overwritten. CX Codex +1 ★ 301repo stars yuv-design-system yuv-design-system — a Claude Code skill that previously held the “Fly High” design system — a purple-and-yellow palette with PurpleBar and FlightHUD components. CX Codex +1 ★ 301repo stars

Project sponsors

Companies that keep this analytics open