delegate

by yadaz · ★ 7 · updated 5 days ago

PanesBandsStatus lineReskinsGuardsCommandsTools & agentswarnings

0

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.

install delegate

Install

/plugin marketplace add wdsewdser-bit/claude-code-mods
/plugin install delegate@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.startcommand.runtool.callui.render
API calls
$.clock.after$.clock.every$.clock.sleep$.command.register$.env.get$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.process.spawn$.prompt.submit$.session.cwd$.session.id$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.register$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status
Draws
ToolUsePaneAbovePrompt
Can see
? callsmcp__delegate__delegate_list callsmcp__delegate__delegate_status callsmcp__delegate__delegate_cancel callsmcp__delegate__delegate_send callsmcp__delegate__delegate_agy callsmcp__delegate__delegate_gpt calls
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod statepersists statedraws

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
delegate
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

dispatch-gate

wdsewdser-bit/claude-code-mods

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.

★ 7GuardsPromptAutomation

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