llm-swarm-router: Skill for Claude Code

.agents/skills/netllm-connect-editor/SKILL.md

netllm-connect-editor is a skill for Claude Code from matthewdcage/llm-swarm-router. It costs 113 tokens per session (1,398 once invoked), scanned A, original, MIT.

A setup guide for connecting coding editors and AI coding tools to a running netllm agent, which serves local language models on your computer.

In plain words
What is it for?
Use it when connecting Cursor, Claude Code, Codex, VS Code Copilot, Honcho, or Hermes Agent to netllm and choosing a local model.
Why use it?
It removes the guesswork from configuring each editor to use netllm. It checks whether the local agent is available and provides settings you can copy.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is matthewdcage/llm-swarm-router's own configuration. It tells Claude Code how to work on llm-swarm-router itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llm-swarm-router configures →

Reuse

Borrowing it

Nothing to install: this file belongs to matthewdcage/llm-swarm-router. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/matthewdcage/llm-swarm-router/main/.agents/skills/netllm-connect-editor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/matthewdcage/llm-swarm-router

Made for: Claude Code.

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 netllm-connect-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/matthewdcage/llm-swarm-router/netllm-connect-editor/github.svg)](https://agentmods.dev/skills/matthewdcage/llm-swarm-router/netllm-connect-editor)
Your own site
<a href="https://agentmods.dev/skills/matthewdcage/llm-swarm-router/netllm-connect-editor"><img src="https://agentmods.dev/badge/skills/matthewdcage/llm-swarm-router/netllm-connect-editor/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 netllm-connect-editor

Your own site · 80×15
<a href="https://agentmods.dev/skills/matthewdcage/llm-swarm-router/netllm-connect-editor"><img src="https://agentmods.dev/badge/skills/matthewdcage/llm-swarm-router/netllm-connect-editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,398 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.00113 $0.01398
Opus 5 $0.00056 $0.00699
Sonnet 5 $0.00023 $0.00280
Haiku 4.5 $0.00011 $0.00140

Measured 12d ago against content hash 11dcf0b9f5e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

netllm-connect-editor 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 12d 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.

- netllm agent running: `curl -sf http://127.0.0.1:11400/health`
.agents/skills/netllm-connect-editor/SKILL.md · 121 lines

How it starts

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

netllm connect editor

When to use this skill

  • User wants Cursor, Claude Code, Codex, Honcho, or Hermes Agent to use local models via netllm
  • After /netllm-setup or when agent is already running
  • User invokes /netllm-connect

Prerequisites

  • netllm agent running: curl -sf http://127.0.0.1:11400/health
  • Model ID from ./netllm models (exact string required in most editors)

Load detailed per-editor steps from references/editor-settings.md when needed.

Workflow

  1. Quick path — when the user names a harness, run ./netllm connect <id> (or ./netllm connect <id> --json for agents). It checks agent health, prints copy-paste env wiring, optional Codex TOML or Hermes config.yaml, and suggests ./netllm sources toggle <id>. Use --toggle only when the user wants registration in config.toml; never auto-edit editor configs.

  2. Confirm agent is up

    curl -sf http://127.0.0.1:11400/health && echo ok
    ./netllm models
    curl -sf http://127.0.0.1:11400/netllm/v1/harnesses
    

    Pick a model ID from output; note it for the user. The last call 404s on an agent older than the harness-detection feature — that's fine, just fall back to step 3's static instructions unchanged.

  3. Ask which editor, Cursor, Claude Code, Codex, VS Code Copilot, Honcho, or Hermes Agent. If user already named one, skip.

  4. Apply editor-specific config, follow references/editor-settings.md. Never auto-edit settings.json without explicit user consent; show copy-paste instructions instead.

    If step 1's /netllm/v1/harnesses call succeeded, tailor this step with the matching entry (match by id: claude-code, codex, cursor, gemini-cli, honcho, hermes-agent; Copilot has no registry entry, use the static flow):

    • "detected": true, "enabled": false (or no matching entry at all) — the CLI is on PATH but not registered as a source. After finishing the env wiring below, mention ./netllm sources toggle <id> as an optional way to give this harness its own durable routing/policy — not required for basic connectivity.
    • "detected": false — surface that harness's install_hint as a copy-paste command. Never run it yourself; the user installs it, then re-runs this skill to pick up the change.
    • "detected": true, "enabled": true — already registered; nothing extra to say here, proceed straight to env wiring.

Read the full file on GitHub · 121 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 121 lines · 113 tokens per session scan A 11dcf0b9f5e6

Subscribe to this mod's changes

netllm-connect-editor is a skill published in the GitHub repository matthewdcage/llm-swarm-router (25 stars, last pushed 10d ago), licensed MIT. It adds 113 tokens to every session and 1,398 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

tiktok-video

A workflow for making vertical short videos for TikTok or Douyin from a written request. It creates a storyboard, voiceover, word-timed karaoke captions, background music, and a 1080×1920 MP4 video.

Fangyuan025/Chaty · 59 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

firebase-cloud-functions

Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.

evanca/flutter-ai-rules · 36 tokens

excalidraw-architect

Choose and compose the right Excalidraw diagram - architecture, flowchart, sequence, state, ER, swimlane, process, timeline, quadrant, pyramid, venn, loop, gantt, bar, line, scatter, and more - using the excalidraw-architect-mcp server. Use whenever a reader would learn more from a picture than from prose, or when…

BV-Venky/excalidraw-architect-mcp · 101 tokens

lilbee-mcp

Search and manage the user's local lilbee knowledge base over MCP. Use whenever the user has indexed code, docs, PDFs, or web pages into lilbee and you need cited answers, or whenever they ask you to ingest content, swap models, or tune retrieval against their library. Every fact returned cites file and line.…

tobocop2/lilbee · 95 tokens