pi-subagent
by wangyu · ★ 1 · updated 23 days ago
0
让 Claude Code 的原生子代理用 pi 跑第三方模型(DeepSeek、GLM、Qwen、Gemini…),主代理可纠偏、续接、定期监督
Install
/plugin marketplace add yu1745/claude-code-pi-subagent/plugin install pi-subagent@claude-code-pi-subagentThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.starttool.describetool.callagent.spawnsession.appendturn.startturn.completeturn.stepui.render- API calls
$.clock.after$.clock.every$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.process.run$.process.spawn$.prompt.submit$.session.append$.session.root$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePromptUserMessageToolResultToolGroup- Can see
Agent callssubagent spawnsSendMessage callsmcp__pi-subagent__subagent_activity callsmcp__pi-subagent__watch_subagent 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/yu1745/claude-code-pi-subagent
- Path in repo
- repository root
- Source commit
ba75137the exact code the scan read- Author
- wangyu @yu1745
- 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.