LittleChenLiya

Teamlead — Productivity skill for Claude Code

Productivity community

DeepSeek Harness plugin: one goal becomes parallel task lines across sessions.

How to install Teamlead

This entry records only its repository, not the path inside it, so there is no exact command to give. Open LittleChenLiya/teamlead and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Teamlead does

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. 给一句目标,拆成并行的任务线,最后汇总成一份结果。

Alternatives in Productivity

  • Claude Hud — A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progr 14k ★
  • Actor — You operate an iPhone through a mouse pointer, one step at a time until the goal is reached 5.2k ★
  • Grow A Product — Workflow recipe — turn a growth goal into a funnel diagnosis, experiment backlog, retention loop, and lifecycl 1.3k ★

README

[English](README.en.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md)

teamlead

一句话说清要做什么,它拆成几条并行的任务线,交给几个子 agent 跑,最后合并成一份报告。

装不装宿主都能用:独立命令行、Claude Code / Cursor 的 MCP 工具、DeepSeek Harness 插件,三种入口共用同一套引擎。

[![npm](https://img.shields.io/npm/v/@xiangyixie/teamlead.svg)](https://www.npmjs.com/package/@xiangyixie/teamlead) [![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)](https://awesome-dsh-plugin.com)

![终端里一次真实运行:一句话开跑,子 agent 并行干活,最后打印合并报告](https://raw.githubusercontent.com/LittleChenLiya/teamlead/main/docs/images/demo.gif)

一条命令

npx -y @xiangyixie/teamlead run "把 feedback.csv 的反馈归成三类高频问题,再写一页 0.8.0 的发布说明,两份都放进 deliverables/"

它按这个顺序做事:

  1. 读一遍工作目录,把目标拆成能并行的子任务。
  2. 用你机器上已经装好、已经登录的 agent 命令跑子任务(默认 claude,也可以 --backend codex 或 --backend opencode)。
  3. 盯每条线的进度;失败的留下原因,不假装成功。
  4. 合并成一份报告,直接打印出来。

进度和报告都写在 `~/.teamlead/state`,进程被杀掉也能接着跑:

teamlead status  --wait 600   # 接着等,直到结束或超时
teamlead resume               # 进程被杀掉后,从记录下来的计划接着跑
teamlead report               # 只打印合并报告
teamlead cancel               # 停掉还在跑的
teamlead list                        # 最近的运行
teamlead doctor                      # 用的是哪个命令、状态存在哪

先跑一次 `teamlead doctor`,它会告诉你 `claude` / `codex` / `opencode` 找不找得到,找不到时用的是不是桌面版自带的那个。子 agent 用的是这些命令自己的登录状态,teamlead 不存 key。

OpenCode:装了桌面版就能用

`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 上那个。

换别的 agent 命令

`claude`、`codex`、`opencode` 是内置的三家。别的命令用 `--agent-command` 接,整条命令也可以放进 `TEAMLEAD_AGENT_COMMAND`。规则只有一条:命令从 stdin 读到 prompt,把答案写到 stdout。

teamlead run "把 README 翻译成英文" --agent-command "my-agent"

下面两行按官方文档写。我这台机器上没有这两个命令,第一次用请先拿一句话的小目标试:

| 命令 | 写法 |