All shelves / Mods / Safety
subagent-wall
By erikdarlingdata
subagent-wall is a Claude Code safety mod by erikdarlingdata.
Holds a subagent after a time limit to git, gh, and Markdown or text writes, and nudges a code-changing subagent that has edited nothing.
Holds a command
Install
The marketplace name is erikdarling.
/plugin marketplace add erikdarlingdata/claude-plugins /plugin install subagent-wall@erikdarling
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 27
- Last change
- 2026-10-06
What it can reach
- Holds a command
- Sees tool calls
- Reads usage or context figures
The README says these mods need a Claude Code version that loads plugin hook modules. It sets a wall-clock limit for subagents. After warnMinutes, 45 by default, a subagent is told to finish up. After limitMinutes, 60, it can only run git and gh commands and write .md or .txt files, so it commits, reports, and ends instead of running on. It also nudges a code-changing subagent, of the types in codeAgentTypes, general-purpose by default, that has noEditNudgeK thousands of context tokens, 100, and no edited file, to stop exploring and make the change. The author says the main session is never limited. Set any of the three numbers to 0 to turn that check off, in /config or under pluginConfigs in settings.json.
The marketplace, erikdarling, holds eight Darling Data plugins, open-asks, subagent-fence, and usage-budget among them. Add erikdarlingdata/claude-plugins. This one installs on its own. Holding a subagent that runs too long is why this page files it under safety. subagent-fence-erikdarlingdata, by the same author, refuses a force-push, a push to a protected branch, a git command that skips hooks, and killing a process by name. usage-budget-erikdarlingdata toasts when the 5-hour or 7-day window crosses a percent, and refuses a new subagent past 95% by default. This one limits each subagent by its own clock. Its plugin.json names Erik Darling as its author. In the source, the warning and the nudge are added to a tool result as context, each once per subagent, the context it counts is each step's input with cache reads and writes, and if the wall itself fails, the call goes ahead.
Demo

What it hooks into
agent.spawnWhen a subagent startsturn.stepAt each step of a turnturn.completeWhen a turn endstool.callAround a tool call, where it can hold one
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- erikdarlingdata
- Category
- Safety
- Marketplace
- erikdarling
- Folder
- plugins/subagent-wall
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 27
- Last change
- 2026-10-06
- Language
- TypeScript
- Files
- 6