360 Secure SkillHub
360 安全技能中心

TeamPilot

该 Skill 指导从零搭建并运行 TeamPilot 多智能体运行时:检查 git/Node/npm,克隆仓库、安装依赖并启动本地服务,通过 Web UI 创建任务,支持自动/手动模式、REST API 更新任务、回放运行轨迹和常见故障排查;仓库地址为占位符。

moolean
moolean
热度 52.77
最近更新 2026-05-11 17:29:08
分类:开发依赖:代码执行 / 读写文件 / 联网浏览搜索 / 第三方 API应用场景:DevOps / 工作流 / 任务管理 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add team-pilot
Metadata
name
team-pilot
description
Set up and operate TeamPilot from zero on a clean machine. Use when cloning the TeamPilot repository, installing dependencies, starting the multi-agent runtime, driving missions in auto/manual mode, replaying runs in web UI, and troubleshooting first-run issues.

Bootstrap and run TeamPilot end-to-end.

Zero-to-run setup (clean environment)

  1. Ensure prerequisites:
    • git --version
    • node --version (recommend Node 20+)
    • npm --version
  2. Clone repository:
    • git clone <TEAM_PILOT_REPO_URL> team-pilot
    • cd team-pilot
  3. Install dependencies:
    • npm install
  4. Start service:
    • npm run up
  5. Open web UI:
    • http://localhost:3333

If EADDRINUSE appears, stop the process occupying port 3333 or start with another port:

  • PORT=3334 npm run up
  • then open http://localhost:3334

First mission (recommended flow)

  1. In Mission Control, select a template.
  2. Set execution mode:
    • auto for smoke tests
    • manual for deterministic demos and controlled outputs
  3. Fill mission goal and launch.
  4. Confirm graph starts changing (agent lane → task lane → result lane).

Manual mode operation standard

For each task, update in two steps:

  1. task_started (status=running, progress around 20-60)
  2. task_done (status=done, progress=100, complete output)

Endpoint:

  • POST /api/tasks/:taskId/update

Suggested payload fields:

  • status, progress, output, score, eventType, assignee

Replay workflow

  1. Switch to Replay mode.
  2. Load a run with frames > 1.
  3. Scrub slider to inspect each frame.
  4. Open node detail to verify input/output at each step.

Minimal API checklist

  • POST /api/missions (create mission)
  • GET /api/state (live state)
  • POST /api/tasks/:taskId/update (manual updates)
  • GET /api/runs (list traces)
  • GET /api/runs/:missionId (load replay trace)
  • POST /api/missions/:missionId/mode (auto/manual switch)

Troubleshooting

  • UI opens but no updates:
    • verify server log has no crash
    • verify WebSocket /ws is connected
  • Replay seems flat:
    • ensure selected run has frames > 1
    • ensure task updates were posted to /api/tasks/:taskId/update
  • Mission stuck queued:
    • check dependency chain and assignee spelling
    • in manual mode, ensure leader is sending task updates

Output quality bar (content pipelines)

  • PLAN: goal, structure, acceptance criteria
  • RESEARCH: sources, extracted facts, citations
  • VERIFY: confidence, risks, uncertainty
  • BUILD: complete final draft
  • DELIVER: publish-ready summary + readiness note