dispatch-gate

by yadaz · ★ 7 · updated 5 days ago

GuardsPromptAutomationwarnings

0

A soft gate on the main session: reminds it, then refuses once per stretch, to hand work to a subagent; and refuses one Claude subagent per hour past three.

install dispatch-gate

Install

/plugin marketplace add wdsewdser-bit/claude-code-mods
/plugin install dispatch-gate@claude-code-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.startsession.endprompt.submitturn.stepclassic.PostToolBatchtool.call
API calls
$.clock.now$.env.get$.ui.log
Can see
every promptclassic hooksevery tool call
Reach
level 1 of 3 reads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/wdsewdser-bit/claude-code-mods
Path in repo
dispatch-gate
Source commit
d0998bb the exact code the scan read
Author
yadaz @wdsewdser-bit
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 wdsewdser-bit/claude-code-mods

away-autopilot

wdsewdser-bit/claude-code-mods

用户离开 5 分钟未回复待确认的问题时,提示模型自行决定;模型可调用工具暂停自动推进。

★ 7Status lineGuardsPrompt

cache-keeper

wdsewdser-bit/claude-code-mods

Observes prompt-cache usage, keeps the session's and its finished subagents' caches warm, and runs 5m/1h TTL A/B experiments.

★ 7BandsStatus lineGuards

cc-restart

wdsewdser-bit/claude-code-mods

让会话里的模型自己重启 Claude 桌面版,并在重启后唤醒同一个会话继续干活。

★ 7GuardsTools & agentsAutomation

ctx-mod

wdsewdser-bit/claude-code-mods

Proactive context management: a task ledger, a searchable history and zero-summary window switches.

★ 7Status lineGuardsCommands

delegate

wdsewdser-bit/claude-code-mods

Hand a task to a cheaper model (any OpenAI chat-protocol provider) through a local Anthropic-to-OpenAI proxy; /delegate manages providers, keys and models.

★ 7PanesBandsStatus line

effort-auto

wdsewdser-bit/claude-code-mods

Adaptive thinking effort for the main conversation only: rest at low, raise it by steps when judgement is needed.

★ 7GuardsTools & agentsAutomation

ptc-run

wdsewdser-bit/claude-code-mods

Programmatic tool calling: run_code runs a JS program that calls read/glob/grep/edit/bash in a sandbox and returns only the final value; large results spill to refs.

★ 7GuardsPromptTools & agents

read-dedup

wdsewdser-bit/claude-code-mods

Re-reading a file already in the context returns a one-line notice if unchanged, or only a diff if changed, saving context tokens.

★ 7GuardsAutomation