skill-to-subagent

skill-to-subagent is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 93 tokens per session (1,934 once invoked), scanned A, original, MIT.

A procedure for turning an existing pi skill into an isolated subagent, a separate worker with its own context that returns a report.

In plain words
What is it for?
Evaluating a skill, creating the connecting agent, choosing its model and context, and adding it to an implementation workflow.
Why use it?
It helps decide whether separating a skill will reduce context load without losing important decisions or consistency.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Evaluating a skill, creating the connecting agent, choosing its model and context, and adding it to an implementation workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent
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.

Any agent
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

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 skill-to-subagent

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent/github.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent/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 skill-to-subagent

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/skill-to-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00093 $0.01934
Opus 5 $0.00046 $0.00967
Sonnet 5 $0.00019 $0.00387
Haiku 4.5 $0.00009 $0.00193

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

Security

Grade A, and why

skill-to-subagent 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 11d 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.

packages/authoring-toolkit/.pi/skills/skill-to-subagent/SKILL.md · 135 lines

How it starts

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

Skill → Subagent

Overview

A skill is instructions loaded into the main agent's context (progressive disclosure: name+description always present, body on trigger). A subagent is a worker spawned beside the main agent in an isolated context window that returns a distilled report, then burns its context. They are orthogonal.

Converting a skill to a subagent is worth it when the skill's work is read-heavy or write-light, self-contained, and returns a distilled artifact — because running it inline would bloat the parent's context and degrade its reasoning. It is harmful when the work is coherence-critical (decisions later steps depend on), because a subagent only sees a compressed snapshot and can make conflicting assumptions.

This skill is the repeatable procedure for that conversion, plus wiring the result into a project's implementation loop. It is tech-stack independent (the target project can be any language) but pi-platform-specific.

When to Use

  • You have a skill whose work would bloat the main context if run inline
  • A phase of an implementation loop is read-heavy (audit, lookup, summarize) or write-light (docs) and self-contained
  • You are designing which parts of a pipeline should run isolated vs inline
  • Triggers: "wrap this skill as a subagent", "subagentize this", "should this be a subagent"

When NOT to use:

  • Authoring a brand-new skill from scratch → skill-creator
  • The work is coherence-critical (the builder/decider, review+fix, anything whose choices later steps depend on) → keep it an inline skill
  • A one-shot trivial task where spawn overhead > benefit

Step 1 — DECIDE: subagent or inline skill?

Apply the discriminator first. It is the whole game.

   Does the phase need shared coherence with the surrounding work?
   (i.e. do later steps depend on decisions made here?)

     YES ──▶ INLINE SKILL   (full context; review, fix, decide, mutate)
     NO, and it is read-heavy / write-light and returns a distilled
         artifact ──▶ SUBAGENT   (isolated, ≤2KB report)

Read the full file on GitHub · 135 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. 11d ago First seen · 135 lines · 93 tokens per session scan A d9d329e83d6f

Subscribe to this mod's changes

skill-to-subagent is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (278 stars, last pushed yesterday), licensed MIT. It adds 93 tokens to every session and 1,934 once invoked, about $0.0005 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.