subagent-cap

by Plagemes · ★ 8 · updated 15 Oct 2026

Status lineGuardswarnings

0

Caps how many subagents can run at the same time.

install subagent-cap

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install subagent-cap@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callagent.spawnturn.complete
API calls
$.agent.list$.clock.after$.clock.every$.fs.read$.mods.hello$.mods.mode$.mods.publish$.mods.read$.mods.registerTab$.ui.log$.ui.status$.ui.toast
Can see
/"^(?:Agent|Task)$"/ callssubagent spawns
Reach
level 1 of 3 reads filesdrawsother: $.mods.helloother: $.mods.modeother: $.mods.publishother: $.mods.readother: $.mods.registerTab

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/subagent-cap
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Plagemes/claude-mods

subagent-monitor

Plagemes/claude-mods

Watch running subagents live: type, status, duration and last activity.

★ 8PanesStatus lineGuards

task-queue

Plagemes/claude-mods

/queue lines up prompts that run one after another whenever Claude is free.

★ 8PanesStatus lineCommands

team-hub

Plagemes/claude-mods

A shared panel of team conventions, recommended mods, budgets and rules, synced through the repo.

★ 8PanesCommandsPrompt

telegram-bridge

Plagemes/claude-mods

Progress, questions and remote control over a Telegram bot, through the mods-hub channel system.

★ 8PanesGuardsCommands

terraform-plan-pane

Plagemes/claude-mods

Shows terraform plan as a clear pane of resources to create, change and destroy.

★ 8PanesStatus lineGuards

test-first

Plagemes/claude-mods

A TDD mode: no production code changes until a test has been written or changed.

★ 8BandsGuardsCommands

test-watch

Plagemes/claude-mods

Runs the tests related to what changed and shows pass/fail in the status line.

★ 8PanesStatus lineGuards

ticket-linker

Plagemes/claude-mods

Turns ticket references like ABC-123 or #42 into links and context for Claude.

★ 8Prompt

todo-pane

Plagemes/claude-mods

A live pane of Claude's current task list with progress.

★ 8PanesGuardsCommands

todo-tracker

Plagemes/claude-mods

Notices every TODO, FIXME and HACK Claude adds and lists them at turn end.

★ 8ToastsGuardsCommands

token-budget

Plagemes/claude-mods

Set a token or dollar budget per session; get warned at 80% and stopped at 100%.

★ 8BandsCommandsPrompt

token-sparkline

Plagemes/claude-mods

A sparkline of tokens per turn right above the prompt.

★ 8BandsCommands

Other mods in Status line, close to this one by stars.