use-agent-supagents

use-agent-supagents is a skill for Claude Code, Codex from fmind/agent-supagents. It costs 53 tokens per session (1,565 once invoked), scanned B, original, MIT.

A workflow for writing one shared subagent description that can be compiled into files for several coding-agent tools.

In plain words
What is it for?
Use it when creating or editing markdown sources in an agents/supagents directory and keeping their generated outputs synchronized.
Why use it?
It avoids maintaining separate copies of the same subagent instructions across Claude Code, Gemini CLI, GitHub Copilot, Cursor, OpenCode, and Kilo Code.

Skill for Claude CodeCodex

Part of the agent-supagents plugin — 1 skill shipped together

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/fmind/agent-supagents/use-agent-supagents
Any agent
npx skills add fmind/agent-supagents --skill use-agent-supagents
Clone the repo
git clone --depth 1 https://github.com/fmind/agent-supagents

Made for: Claude Code, Codex.

Or install agent-supagents, the plugin that ships this one along with the rest of its 1 skill.

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 use-agent-supagents

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/agent-supagents/use-agent-supagents.svg)](https://agentmods.dev/skills/fmind/agent-supagents/use-agent-supagents)
Your own site
<a href="https://agentmods.dev/skills/fmind/agent-supagents/use-agent-supagents"><img src="https://agentmods.dev/badge/skills/fmind/agent-supagents/use-agent-supagents.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00053 $0.01565
Opus 5 $0.00026 $0.00783
Sonnet 5 $0.00011 $0.00313
Haiku 4.5 $0.00005 $0.00156

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

Security

Grade B, and why

use-agent-supagents scanned grade B 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 4d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]
skills/use-agent-supagents/SKILL.md · 113 lines

How it starts

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

use-agent-supagents

Compile one markdown source into N target subagent files. The persona ("You are a code-investigation expert…") is shared; per-target frontmatter is verbatim in named blocks.

When to reach for this

  • The user references supagents, the ~/.agents/supagents/ directory, or wants to keep one persona in sync across Claude Code / Gemini CLI / Copilot / Cursor / OpenCode / Kilo.
  • You're editing a markdown source under .agents/supagents/ (project) or ~/.agents/supagents/ (global).
  • You see a # Generated by supagents from <path> marker — that file is generated; edit the source, not the output.

1. Pre-flight

  • Install: uv tool install supagents (or pipx install supagents). Requires Python ≥ 3.12.
  • Source filenames must match ^[a-z0-9][a-z0-9_-]*\.md$ — lowercase letters, digits, -, _.
  • Scope is auto-detected: project if ./.agents/supagents/ exists in cwd, else global. Override with -g / -p.

2. Authoring a source

A minimal source:

---
name: code_investigator
description: Use to explore unfamiliar codebases — trace symbols, explain features.
CLAUDE:
  model: sonnet
  tools: Read, Grep, Glob, Bash
GEMINI:
  kind: local
  tools: ["*"]
---
You are the code-investigation agent. …

Frontmatter is partitioned by case:

Case Where it goes
lowercase keys at top Shared frontmatter — copied to every output.
UPPERCASE keys at top Target sections (CLAUDE:, GEMINI:, COPILOT:, …).
lowercase keys inside T: T's frontmatter; overrides shared on collision.
UPPERCASE keys inside T: Directives — not emitted to the output.

Only two directives:

  • OUTPUT — override the output file path for this target only.
  • APPEND_BODY — markdown appended to the shared body, target-only.

Read the full file on GitHub · 113 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. 4d ago First seen · 113 lines · 53 tokens per session scan B d6cc16b6ce1e

Subscribe to this mod's changes

use-agent-supagents is a skill published in the GitHub repository fmind/agent-supagents (5 stars, last pushed 3mo ago), licensed MIT. It adds 53 tokens to every session and 1,565 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dokploy-deploy

This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".

fcakyon/claude-codex-settings · 63 tokens

openai-frontend-design

Use for new frontend applications, dashboards, games, creative websites, hero sections, and visually driven UI from scratch, or when the user explicitly asks for a redesign/restyle/modernization. Builds from clean, airy, high-taste, readable image-generated concept design with section-specific references, faithful…

fcakyon/claude-codex-settings · 71 tokens

resolve-pr-comments

This skill should be used when user asks to "address PR comments", "resolve PR feedback", "handle review comments", "fix PR issues", "respond to PR review", or explicitly invokes "resolve-pr-comments".

fcakyon/claude-codex-settings · 47 tokens

update-pr-summary

This skill should be used when user asks to "update PR summary", "update PR description", "rewrite PR body", "refresh PR title and body", or explicitly invokes "update-pr-summary".

fcakyon/claude-codex-settings · 43 tokens

microsoft-typescript

TypeScript is a language for application scale JavaScript development. ALWAYS use when editing or working with .ts, .tsx, .mts, .cts files or code importing "typescript". Consult for debugging, best practices, or modifying typescript, TypeScript.

skilld-dev/skilld · 57 tokens

lov-maintain-partners

Maintain the Skill Publisher website's partners section AND align partner logo rows on event posters / hero strips: reuse lov-find-logo for brand logo discovery, normalize collected logos to a 240px-tall content canvas (retina-ready), rasterize SVGs via rsvg-convert before normalizing (so SVG viewBox padding gets…

lovstudio/skills · 294 tokens