subagents

subagents is a skill for Claude Code, Codex from sybil-solutions/local-studio. It costs 55 tokens per session (556 once invoked), scanned A, original, Apache-2.0.

A way to delegate separate, self-contained tasks to independent helper agents that work in the same project. The helpers can return reports after working in parallel.

In plain words
What is it for?
Use it to research several topics, inspect separate files, review multiple areas of a codebase, or compare different implementation approaches.
Why use it?
It reduces waiting when a task naturally splits into independent investigations, reviews, or alternative solutions.

Skill for Claude CodeCodex

About the project

Local Studio is a local-first control panel for running, managing, and using self-hosted large language model backends such as vLLM, SGLang, llama.cpp, and ExLlama. It lets users launch models, monitor GPU and runtime state, chat through OpenAI-compatible endpoints, and run agent sessions from a desktop or connected mobile device. The catalogue skills and instruction support agent workflows with Local Studio and its controllers.

sybil-solutions/local-studio · 1,753 stars · on GitHub

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 skills/sybil-solutions/local-studio/subagents
Any agent
npx skills add sybil-solutions/local-studio --skill subagents
Clone the repo
git clone --depth 1 https://github.com/sybil-solutions/local-studio

Made for: Claude Code, Codex.

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 subagents

README.md
[![agentmods](https://agentmods.dev/badge/skills/sybil-solutions/local-studio/subagents.svg)](https://agentmods.dev/skills/sybil-solutions/local-studio/subagents)
Your own site
<a href="https://agentmods.dev/skills/sybil-solutions/local-studio/subagents"><img src="https://agentmods.dev/badge/skills/sybil-solutions/local-studio/subagents.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00055 $0.00556
Opus 5 $0.00028 $0.00278
Sonnet 5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

subagents scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

frontend/desktop/resources/skills/subagents/SKILL.md · 35 lines

How it starts

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

Subagents

A subagent is an independent child agent session this session spawns. It runs in the same project directory with its own fresh context, works with the same tools, and hands back one final report. It cannot see this conversation, and you cannot see its progress except through its report and subagent_status. At most 4 run at once per session, and a subagent cannot spawn its own.

Reach for subagents when work is parallelizable and self-contained: sweeping several parts of a codebase, reviewing independent files, researching separate questions, or generating alternatives to compare. Skip them for small sequential tasks — a subagent costs a session start and only communicates once.

Tools

  • subagent — spawn one child and wait for its report (up to 15 minutes; a child still working after that keeps running and stays reachable). Call it several times in one turn to fan out — the calls run concurrently.
  • subagent_list — every child this session spawned, with the run ids the other tools need.
  • subagent_status — one child's state and whatever report text it has written so far; usable mid-run.
  • subagent_stop — stop one running child and free its slot; returns its partial work.

Writing the task

The task is the child's entire world — it has no memory of this chat. Include:

  1. What to do, concretely: files, paths, names, URLs.
  2. What the finished report must contain, so the child knows when it is done.
  3. Any constraints you would otherwise have said mid-conversation (do not edit files, stay in directory X, prefer approach Y).

Give each child a short name that says what it is doing ("api auditor", "docs sweep") — the names label the progress chips the user sees.

Protocol

  1. Split the work so children do not overlap — two children editing the same file will race each other.
  2. Fan out in one turn: issue all the subagent calls together rather than one per turn.
  3. When a wait elapses with the child still working, do not respawn it — check subagent_status with its run id, and only subagent_stop it if the work is no longer needed.
  4. Synthesize the reports yourself. Each child saw only its slice; contradictions between reports are yours to resolve before answering the user.

Read the full file on GitHub · 35 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. 5d ago First seen · 35 lines · 55 tokens per session scan A 960bbe768eb6

Subscribe to this mod's changes

subagents is a skill published in the GitHub repository sybil-solutions/local-studio (1,753 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 556 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.