ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 ahbanavi

subagent-models

一个 Claude Code 插件,在代理列表上方的提示行中显示每个正在运行的子代理实际使用的模型和推理 effort。

ahbanavi@ahbanavi

ahbanavi/claude-mods/tree/main/subagent-models

已翻译

关于这个 mod

claude-mods 的 subagent-models 插件会在代理列表上方的提示行末尾,也就是 ← for agents 后面,显示每个运行中子代理实际使用的模型和 effort。数值取自子代理发出的每个请求(turn.step),因此 effort 是请求真正携带的值(包括模型降级后的值),不是猜测;子代理发出第一个请求前只显示模型。不支持 effort 设置的模型不会显示 effort;相同代理会合并为 2× …,已结束的代理会从行中移除(被终止的代理约 5 秒内移除)。目前仅支持终端界面。安装方式:/plugin marketplace add ahbanavi/claude-mods、/plugin install subagent-models@claude-mods、/reload-plugins。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add ahbanavi/claude-mods
claude plugin install subagent-models
原文 / README

claude-mods

Claude Code mods by ahbanavi.

subagent-models

Shows the model and effort each running subagent actually uses, at the end of the ← for agents hint line, right above the agent list:

⏵⏵ auto mode on (shift+tab to cycle) · ← for agents · 2× Explore haiku-4-5 · Plan sonnet-5-5/medium · general-purpose opus-5-5/xhigh
● main
○ Explore          find the config loader
○ Explore          map the test suite
○ Plan             plan the migration
○ general-purpose  apply the fix
  • Values come from each request the subagent sends (turn.step), so the effort is the one the request really carries, after any downgrade for the model. Nothing is guessed: until a subagent's first request the entry shows its model alone.
  • Models that take no effort setting show no effort.
  • Identical agents collapse into 2× …; finished agents leave the line, killed ones within 5s.
  • Terminal only for now: other surfaces don't draw the hint line's tail yet.

Install

/plugin marketplace add ahbanavi/claude-mods
/plugin install subagent-models@claude-mods
/reload-plugins

Develop

claude plugin validate ./subagent-models
claude plugin test ./subagent-models
claude --plugin-dir ./subagent-models

其他同名作品

更多类似作品