·sub-agents
</>

sub-agents

shinpr/sub-agents-skills

将外部 CLI AI 作为独立的子代理执行,以实现任务委派、并行处理和上下文分离。在委派复杂的多步骤任务、运行并行调查、需要没有当前对话历史记录的新上下文或利用专门的代理定义时使用。返回带有代理输出、退出代码和执行状态的结构化 JSON。

3安装·0热度·@shinpr

安装

$npx skills add https://github.com/shinpr/sub-agents-skills --skill sub-agents

SKILL.md

Spawns external CLI AIs (claude, cursor-agent, codex, gemini) as isolated sub-agents with dedicated context.

Script Path: Use absolute path {SKILLDIR}/scripts/runsubagent.py where {SKILLDIR} is the directory containing this SKILL.md file.

| --agent | Agent name from user request (see selection rules below) | | --prompt | Task instruction part (excluding agent specification) | | --cwd | Current working directory (absolute path) |

将外部 CLI AI 作为独立的子代理执行,以实现任务委派、并行处理和上下文分离。在委派复杂的多步骤任务、运行并行调查、需要没有当前对话历史记录的新上下文或利用专门的代理定义时使用。返回带有代理输出、退出代码和执行状态的结构化 JSON。 来源:shinpr/sub-agents-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/shinpr/sub-agents-skills --skill sub-agents
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 sub-agents?

将外部 CLI AI 作为独立的子代理执行,以实现任务委派、并行处理和上下文分离。在委派复杂的多步骤任务、运行并行调查、需要没有当前对话历史记录的新上下文或利用专门的代理定义时使用。返回带有代理输出、退出代码和执行状态的结构化 JSON。 来源:shinpr/sub-agents-skills。

如何安装 sub-agents?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shinpr/sub-agents-skills --skill sub-agents 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/shinpr/sub-agents-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-05

相关 Skills

暂无