DeepSeek Harness plugin: one goal becomes parallel task lines across sessions. Progress, artifacts and the merged report stay in one conversation, and a run resumes after the host restarts. 给一句目标,拆成并行的任务线,最后汇总成一份结果。
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/LittleChenLiya/teamleadGuides for using ai agents skills like teamlead.
See how teamlead compares with popular alternatives.
一句话说清要做什么,它拆成几条并行的任务线,交给几个子 agent 跑,最后合并成一份报告。
装不装宿主都能用:独立命令行、Claude Code / Cursor 的 MCP 工具、DeepSeek Harness 插件,三种入口共用同一套引擎。

npx -y @xiangyixie/teamlead run "把 feedback.csv 的反馈归成三类高频问题,再写一页 0.8.0 的发布说明,两份都放进 deliverables/"
它按这个顺序做事:
claude,也可以 --backend codex 或 --backend opencode)。进度和报告都写在 ~/.teamlead/state,进程被杀掉也能接着跑:
teamlead status <runId> --wait 600 # 接着等,直到结束或超时
teamlead resume <runId> # 进程被杀掉后,从记录下来的计划接着跑
teamlead report <runId> # 只打印合并报告
teamlead cancel <runId> # 停掉还在跑的
teamlead list # 最近的运行
teamlead doctor # 用的是哪个命令、状态存在哪
先跑一次 teamlead doctor,它会告诉你 claude / codex / opencode 找不找得到,找不到时用的是不是桌面版自带的那个。子 agent 用的是这些命令自己的登录状态,teamlead 不存 key。
opencode 桌面版安装包里带了一份 CLI,Windows 上 teamlead 会自动找到它,不用另外装、也不用加进 PATH:
teamlead run "把 feedback.csv 归成三类问题,写进 deliverables/" --backend opencode
它用的是 opencode run --auto --format json:--auto 让子 agent 不用等你点同意就能改文件,--format json 让 token 和花费能记下来。桌面版里登录过的账号直接生效。
如果 opencode 已经在 PATH 上(比如 npm i -g opencode-ai),用的就是 PATH 上那个。
claude、codex、opencode 是内置的三家。别的命令用 --agent-command 接,整条命令也可以放进 TEAMLEAD_AGENT_COMMAND。规则只有一条:命令从 stdin 读到 prompt,把答案写到 stdout。
teamlead run "把 README 翻译成英文" --agent-command "my-agent"
下面两行按官方文档写。我这台机器上没有这两个命令,第一次用请先拿一句话的小目标试:
| 命令 | 写法 | 说明 |
|---|---|---|
| Gemini CLI | --agent-command "gemini" |
把内容管道给它就是非交互模式,答案直接打印。要它真去改文件得加 --yolo(全自动批准),不加只给建议 |
| Qwen Code | --agent-command "qwen" |
和 Gemini CLI 同源,管道输入同样按非交互处理;-p "..." 也能用,但 prompt 得写在参数里 |
有的命令不读 stdin,只认一个放 prompt 的文件(例如 aider):把命令里的那段换成 {prompt_file},teamlead 会先把 prompt 写进临时文件,再把路径填进去,跑完删掉。
teamlead run "把 note.md 改成分步清单" --agent-command "aider --message-file {prompt_file} --yes-always"
这些命令的输出一律按纯文本读;能读出用量的只有 claude 的 JSON 和 opencode 的事件流,其余几家的 token 数记不到。没列到的命令(Cursor CLI、Crush 等)只要满足上面那一条也能接;我没装过的不替它们编参数。
Qoder、Trae、DeepSeek Harness、Codex++、ChatGPT、豆包 这些装的是图形界面,没有能从命令行调起的入口,接不上——teamlead 要的是一条能读 stdin、写 stdout 的命令。
claude / codex 被配成走宿主或公司的网关时,headless 跑会挂在那个入口上。用 --agent-env 只给这次运行换路由,不动全局配置:
teamlead run "把 README 翻译成英文" --backend codex \
--agent-env CODEX_HOME=/path/to/relay-codex \
--agent-env OPENAI_API_KEY=sk-...
那个 CODEX_HOME 里放一份只给这次运行用的 config.toml:base_url 指向支持 Responses API 的中转地址,env_key 写 OPENAI_API_KEY,key 由上面那条命令传进去。
--agent-env 可以重复,KEY=VALUE 要写成一段。它会出现在进程列表里,长期密钥优先用父进程已有的环境变量,别直接写在命令行。
--backend codex,让它在空目录里把 hello.txt 写出来:
$ teamlead run "在当前目录创建 hello.txt,内容写 teamlead ok。" --backend codex
[teamlead] 已开始 20261204T021135-aa53
20261204T021135-aa53 completed 2/2 子任务完成
- 创建文本文件:已完成,hello.txt 的内容为 teamlead ok(11 字节)。
- 核对文件内容:已确认文件存在且内容符合要求。
跑到一半把进程杀掉,第二天回来接着跑:
$ teamlead list
20261204T021325-d6ef interrupted 0/1 子任务完成 host process stopped while the run was active
$ teamlead resume 20261204T021325-d6ef
20261204T021325-d6ef completed 1/1 子任务完成
note.md 里就是这次要的内容,子任务只做了必要的那几件事。
在 MCP 配置里加一段,就能在自己的对话里直接派活:
{
"mcpServers": {
"teamlead": { "command": "npx", "args": ["-y", "@xiangyixie/teamlead", "mcp"] }
}
}
它暴露六个工具:teamlead_run、teamlead_status、teamlead_resume、teamlead_list、teamlead_report、teamlead_cancel。模型可以用 waitSeconds 等结果,也可以先拿 runId 再回来查。
不想手写上面那段配置,就把这个仓库当成插件市场装一次:装好自动挂上同一个 MCP 服务,另外多六个斜杠命令。
claude plugin marketplace add LittleChenLiya/teamlead
claude plugin install teamlead@teamlead
然后直接在自己的对话里派活:
/teamlead:run 把 feedback.csv 的反馈归成三类高频问题,写进 deliverables/
/teamlead:list
/teamlead:status 20261204T021135-aa53
/teamlead:report 20261204T021135-aa53
/teamlead:resume 20261204T021325-d6ef
/teamlead:cancel 20261204T021325-d6ef
插件里没有另一套实现,就是几个命令文件和一份 .mcp.json,服务仍然是 npx -y @xiangyixie/teamlead mcp 那一个。
装成插件后,侧边栏多一个「超级智能体」入口:每条任务线的进度、你中途补的要求、审批卡和产物都在同一条对话里,宿主重启后接着跑。
dsh plugin --profile web add @xiangyixie/teamlead
装完重启 DSH。插件跟当前会话走同一条模型路由,不用另配 key。



| 手动开多个会话 | teamlead | |
|---|---|---|
| 派活 | 逐个写 prompt、重讲项目背景 | 一句目标,它按依赖拆线路 |
| 进度 | 切窗口挨个看,自己记谁在哪一步 | 每条线的进度回到同一处 |
| 中断 | 关掉窗口、宿主重启就断 | 状态落盘,重启后接着跑 |
| 越界 | 出了事才看见 | 动手前停一次,写清来源、路径、理由 |
| 收货 | 自己复制、拼凑、写汇总 | 按本次工作目录校验产物,再出一份汇总 |
127.0.0.1,启动时生成新 token,请求要带 Authorization: Bearer,Host 头不是本机地址直接拒绝。这个项目原来叫 dsh-superagent,包名是 @xiangyixie/dsh-superagent。现在对外统一叫 teamlead,安装名是 @xiangyixie/teamlead;已装好的旧包继续可用,升级时先 remove 再 add。DSH 里的插件 id、工具名(superagent_*)和状态目录都没变,旧会话和旧状态不用迁移。
两个名字都能装:新包 @xiangyixie/teamlead 已发布,旧包在 npm 上标记为 deprecated 并指向新包。
如果它替你把多个会话之间的调度省下来了,点个 Star 让这件事继续做下去:Star
MIT License
teamlead is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LittleChenLiya. DeepSeek Harness plugin: one goal becomes parallel task lines across sessions. Progress, artifacts and the merged report stay in one conversation, and a run resumes after the host restarts. 给一句目标,拆成并行的任务线,最后汇总成一份结果。. It has 70 GitHub stars.
teamlead's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/LittleChenLiya/teamlead" and add it to your Claude Code skills directory (see the Installation section above).
teamlead is primarily written in JavaScript. It is open-source under LittleChenLiya on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh teamlead against similar tools.
No comments yet. Be the first to share your thoughts!