subagent-limits

subagent-limits is a Claude Code mod by AbhiramDwivedi that keeps subagents small: tells the main agent how to size and split work, asks a growing subagent to checkpoint, and refuses its tools past a hard limit so a fresh agent takes over.

Updated 2026-10-17

What is subagent-limits?

subagent-limits is a Claude Code mod by AbhiramDwivedi that keeps subagents small: tells the main agent how to size and split work, asks a growing subagent to checkpoint, and refuses its tools past a hard limit so a fresh agent takes over. It is listed under Agents & automation and has 2 GitHub stars.

TypeClaude code mod
AuthorAbhiramDwivedi
RepositoryAbhiramDwivedi/claude-ops
Popularity2 GitHub stars
CategoryAgents & automation
SecurityLow risk (100/100)
Rank#1,068 of 5,272 Claude Code mods; #96 in Agents & automation
LicenseMIT
Last commit2026-10-17
Hooks5 events
Seesevery tool call, subagent spawns
Draws onnothing

Is subagent-limits safe to install?

subagent-limits scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.now
$.ui.toastdraws interface

How do I install subagent-limits?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/AbhiramDwivedi/claude-ops
    claude plugin validate ./claude-ops/plugins/subagent-limits
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add AbhiramDwivedi/claude-ops && claude plugin install subagent-limits@claude-ops

Or ask Claude to set it up

Paste this into Claude Code and it installs subagent-limits for you:

Install the "subagent-limits" Claude Code mod from https://github.com/AbhiramDwivedi/claude-ops/tree/main/plugins/subagent-limits. Run claude plugin validate on it first and show me what it can access before you enable it.

More from AbhiramDwivedi/claude-ops

This repository has 5 Claude Code mods on MCPMods.

  • foundry: Runs several crews of agents in parallel from the main session: each crew's lead delegates to your project's agents in i (Review before installing)
  • session-models: Shows the main model and its effort, the live agents by model and effort, named agent crews, and the working directory, (Low risk)
  • usage-limits: Keeps the 5-hour and weekly limit windows, their burn rate, a run-out projection, context fill, session cost and prompt- (Low risk)
  • worktrees: Gives every agent that can edit a git worktree of its own, runs a project's setup script with its own port range, kills (Review before installing)