Agent skill

Lmstudio Subagents

by sundial-org in sundial-org/awesome-openclaw-skills

Reduces token usage from paid providers by offloading work to local LM Studio models.

MITAuto-check passedAgent Workflows

Install Lmstudio Subagents

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill lmstudio-subagents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills lmstudio-subagents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lmstudio-subagents .claude/skills/lmstudio-subagents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lmstudio-subagents
GitHub stars
663
Token cost
~1.2k tokens
SKILL.md length
361 words
Files
3 (incl. scripts)
Skills in repo
383
Repo updated
First seen
Licence
MIT

At a glance

Reduces token usage from paid providers by offloading work to local LM Studio models.

  • Works in 7 steps: Preflight → List Models and Check Loaded → Model Selection → …
  • Cutting costs—use local models for summarization
  • SKILL.md covers Key Terms, Prerequisites, Complete Workflow and Error Handling, plus 3 more sections
  • Runs JavaScript scripts from its folder

What it does

Lmstudio Subagents is an agent skill from sundial-org/awesome-openclaw-skills. Reduces token usage from paid providers by offloading work to local LM Studio models. Use when: (1) Cutting costs—use local models for summarization, extraction, classification, rewriting, first-pass review, brainstorming when quality suffices, (2) Avoiding paid API calls for high-volume or repetitive tasks, (3) No extra model configuration—JIT loading and REST API work with existing LM Studio setup, (4) Local-only or privacy-sensitive work. Requires LM Studio 0.4+ with server (default :1234). No CLI required.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `README.md`).

It sits in Agent Workflows, covering Brainstorming, Summarization and Subagents. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones. The licence is MIT.

When your agent uses it

  • Cutting costs—use local models for summarization
  • First-pass review
  • Brainstorming when quality suffices
  • Avoiding paid API calls for high-volume

Example prompts

  • “Use the lmstudio-subagents skill to reduce token usage from paid providers by offloading work to local LM Studio models”
  • “/lmstudio-subagents”

Requirements

  • Node.js

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Preflight
  2. List Models and Check Loaded
  3. Model Selection
  4. Load Model (optional)
  5. Verify Loaded (optional)
  6. Call API
  7. Unload (optional)

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lmstudio Subagents loads about 1.2k tokens when it runs. Until then it costs about 134 tokens; SKILL.md has 361 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~134
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sundial-org/awesome-openclaw-skills at commit b80cde2, republished under its MIT licence (© sundial-org). 361 words, ~1,171 tokens.

Download SKILL.mdSave it as .claude/skills/lmstudio-subagents/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
lmstudio-subagents
description
Reduces token usage from paid providers by offloading work to local LM Studio models. Use when: (1) Cutting costs—use local models for summarization, extraction, classification, rewriting, first-pass review, brainstorming when quality suffices, (2) Avoiding paid API calls for high-volume or repetitive tasks, (3) No extra model configuration—JIT loading and REST API work with existing LM Studio setup, (4) Local-only or privacy-sensitive work. Requires LM Studio 0.4+ with server (default :1234). No CLI required.
license
MIT

LM Studio Models

Offload tasks to local models when quality suffices; avoid web/proprietary/high-stakes.

Key Terms

  • model: From GET models key; use in chat and optional load.
  • lm_studio_api_url: Default http://127.0.0.1:1234 (paths /api/v1/...).
  • response_id / previous_response_id: Chat returns response_id; pass as previous_response_id for stateful.
  • instance_id: loaded_instances[].id or model_instance_id; for unload.

Trigger in frontmatter; below = implementation.

Prerequisites

LM Studio 0.4+, server :1234, models on disk; load/unload via API (JIT optional); Node for script (curl ok).

Complete Workflow

Step 0: Preflight

GET <base>/api/v1/models; non-200 or connection error = server not ready.

bash
exec command:"curl -s -o /dev/null -w '%{http_code}' -H 'Authorization: Bearer lmstudio' http://127.0.0.1:1234/api/v1/models"
Step 1: List Models and Check Loaded
bash
exec command:"curl -s -H 'Authorization: Bearer lmstudio' http://127.0.0.1:1234/api/v1/models"

Parse models[] (key, type, loaded_instances, max_context_length, capabilities, params_string). If a model has loaded_instances.length > 0 and fits task, skip to Step 5; else pick key for chat (and optional load). Note loaded_instances[].id for optional unload.

Step 2: Model Selection

Pick key from GET response; use as model in chat (optional load). Constraints: vision -> capabilities.vision; embedding -> type=embedding; context -> max_context_length. Prefer loaded (loaded_instances non-empty), smaller for speed/larger for reasoning; fallback primary. Optional POST load; else JIT on first chat.

Step 3: Load Model (optional)

Optional: POST /api/v1/models/load { model, context_length?, ... }. JIT: first chat loads; explicit load only for specific options.

Step 4: Verify Loaded (optional)

If explicit load: GET models, confirm loaded_instances. If JIT: no verify; first chat returns model_instance_id, stats.model_load_time_seconds.

Show full SKILL.md (152 more words)Show less
Step 5: Call API

From the skill folder: node scripts/lmstudio-api.mjs <model> '<task>' [options].

bash
exec command:"node scripts/lmstudio-api.mjs <model> '<task>' --temperature=0.7 --max-output-tokens=2000"

Stateful: add --previous-response-id=<response_id>. Curl: POST <base>/api/v1/chat, body model, input, store, temperature, max_output_tokens; optional previous_response_id. Parse: output (type message) -> content; response_id, model_instance_id, stats. Script outputs content, model_instance_id, response_id, usage.

Step 6: Unload (optional)

Optional: POST /api/v1/models/unload { instance_id }. instance_id from loaded_instances[].id or chat model_instance_id. JIT+TTL auto-unload; explicit when needed.

bash
exec command:"curl -s -X POST http://127.0.0.1:1234/api/v1/models/unload -H 'Content-Type: application/json' -H 'Authorization: Bearer lmstudio' -d '{\"instance_id\": \"<instance_id>\"}'"

Error Handling

  • Model not found -> pick another model from GET response.
  • API/server errors -> GET models, check URL.
  • Invalid output -> retry.
  • Memory -> unload or smaller model.
  • Unload fails -> instance_id must match loaded_instances[].id.

Examples

GET /api/v1/models, then script with model key and task. Optional unload per Step 6 (instance_id from response or GET).

bash
exec command:"curl -s -H 'Authorization: Bearer lmstudio' http://127.0.0.1:1234/api/v1/models"
exec command:"node scripts/lmstudio-api.mjs meta-llama-3.1-8b-instruct 'Summarize and extract 5 key points' --temperature=0.7 --max-output-tokens=2000"

LM Studio API Details

Helper/API: see Step 5. Output: content, model_instance_id, response_id, usage. Auth: Bearer lmstudio. List GET /api/v1/models. Load POST /api/v1/models/load (optional). Unload POST /api/v1/models/unload { instance_id }.

Notes

  • LM Studio 0.4+.
  • JIT (first chat loads; model_load_time_seconds in stats); stateful (response_id / previous_response_id).

© sundial-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/lmstudio-subagents of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • README.md
  • scripts/lmstudio-api.mjs

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Lmstudio Subagents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lmstudio Subagents compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lmstudio Subagents this skillsundial-org/awesome-openclaw-skills663—~1.2kAutomated safety check: PassMIT
Weekly Project Digeststhedotmack/claude-mem99k—~3.5kAutomated safety check: PassApache-2.0
BrainstormAedelon/claude-code-blueprint120—~1.1kAutomated safety check: PassCustom licence
Round TableSoul-Brews-Studio/arra-oracle-skills-cli123—~2.1kAutomated safety check: PassMIT
Ideateav/mi102—~2.8kAutomated safety check: PassNone
Context Engineeringa5c-ai/babysitter1.8k—~1.8kAutomated safety check: NotesMIT

Similar skills

  • Weekly Project Digests

    thedotmack/claude-mem

    Turns a project's claude-mem timeline into a week-by-week narrative, splitting it by ISO week and running one subagent per week that receives the prior week's carry-forward block.

    99k GitHub stars~3.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Brainstorm

    Aedelon/claude-code-blueprint

    Multi-agent brainstorming and strategic thinking on any complex topic.

    120 GitHub stars~1.1k tokensUpdated 7 mo ago
    Agent WorkflowsAuto-check passed
  • Round Table

    Soul-Brews-Studio/arra-oracle-skills-cli

    Convene a Round Table (โต๊ะกลม): 3–8 souls — persona files, Oracles, or real people's DNA — debate ONE stakes-bearing decision over exactly 4 rounds (OPEN, DEEPEN, CONVERGE, VOTE), one subagent per…

    123 GitHub stars~2.1k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Ideate

    av/mi

    Timeboxed ideation on a topic using propose-and-critique subagent pairs.

    102 GitHub stars~2.8k tokensUpdated 13 days ago
    Agent WorkflowsAuto-check passed
  • Context Engineering

    a5c-ai/babysitter

    Context window monitoring and budget management. An agent skill from a5c-ai/babysitter.

    1.8k GitHub stars~1.8k tokensUpdated 23 days ago
    Agent WorkflowsAuto-check: notes
  • Subagent Dev

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда tasks.md готов и требуется автономное параллельное выполнение субагентами (implementer + reviewer на каждую задачу).

    166 GitHub stars~551 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Questions about Lmstudio Subagents

What does Lmstudio Subagents do?

Reduces token usage from paid providers by offloading work to local LM Studio models. Lmstudio Subagents is an agent skill from sundial-org/awesome-openclaw-skills. Reduces token usage from paid providers by offloading work to local LM Studio models.

When should I use Lmstudio Subagents?

Lmstudio Subagents fits situations like: cutting costs—use local models for summarization; first-pass review; brainstorming when quality suffices; avoiding paid API calls for high-volume.

How do I install Lmstudio Subagents in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill lmstudio-subagents -a claude-code`. Or copy the skill folder (skills/lmstudio-subagents in sundial-org/awesome-openclaw-skills) into .claude/skills/lmstudio-subagents in your project. Claude Code loads it when a task matches its description.

How do I install Lmstudio Subagents in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill lmstudio-subagents -a codex`. Or copy the skill folder (skills/lmstudio-subagents in sundial-org/awesome-openclaw-skills) into .agents/skills/lmstudio-subagents in your project. Codex loads it when a task matches its description.

Can I use Lmstudio Subagents in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill lmstudio-subagents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lmstudio-subagents, .gemini/skills/lmstudio-subagents, .github/skills/lmstudio-subagents and .opencode/skills/lmstudio-subagents in your project.

What does Lmstudio Subagents need to run?

Going by SKILL.md and its folder, Lmstudio Subagents needs JavaScript for the scripts in its folder. Our summary lists: Node.js.

Does Lmstudio Subagents access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lmstudio Subagents safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Lmstudio Subagents use?

Lmstudio Subagents is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lmstudio Subagents use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lmstudio Subagents?

Skills that share tags, products or a category with Lmstudio Subagents: Weekly Project Digests (thedotmack/claude-mem, 99k stars), Brainstorm (Aedelon/claude-code-blueprint, 120 stars), Round Table (Soul-Brews-Studio/arra-oracle-skills-cli, 123 stars) and Ideate (av/mi, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lmstudio Subagents?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.