squad-agents

使用 Squad 框架构建协作完成项目的 AI 代理团队。适用于需要在代理间协调多个专业角色、构建协作式 AI 工作流或在代理团队中委派复杂任务的场景。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "squad-agents":https://skillpi.com/zh/skills/deepskill-800937edbf86ca5890fc72ebecc93d0c7f5e7e157e9a61141aff83dc76c3a0ac。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 Squad 框架构建协作完成项目的 AI 代理团队。适用于需要在代理间协调多个专业角色、构建协作式 AI 工作流或在代理团队中委派复杂任务的场景。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: squad-agents
description: >-
  Build AI agent teams that collaborate on projects using Squad framework. Use when:
  orchestrating multiple specialized agents, building collaborative AI workflows,
  delegating complex tasks across agent teams.
license: MIT
compatibility: "Node.js 18+, GitHub Copilot"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: development
  tags: [agents, multi-agent, orchestration, collaboration, squad]

Squad Agents

Overview

Squad gives you an AI development team through GitHub Copilot. Describe what you're building and get a team of specialists — frontend, backend, tester, lead — that live in your repo as files. Each team member runs in its own context, reads only its own knowledge, writes back what it learned, and persists across sessions.

Instructions

Installation

npm install -g @bradygaster/squad-cli

Initialize in Your Project

cd your-project
git init  # if not already a repo
squad init

This creates .squad/team.md in your project root.

Authenticate GitHub

gh auth login
gh auth status  # verify: "Logged in to github.com"

Launch with Copilot

copilot --agent squad --yolo

Then describe your project to generate the team:

I'm starting a new project. Set up the team.
Here's what I'm building: a recipe sharing app with React and Node.

Core Commands

Command Description
squad init Scaffold Squad in the current directory
squad upgrade Update Squad-owned files; never touches team state
squad status Show active squad and status
squad triage Watch issues and auto-triage to team members
squad doctor Diagnose setup issues
squad nap Compress, prune, archive context
squad export Export squad to portable JSON snapshot
squad import <file> Import squad from export file

Inter-Agent Communication

Agents communicate through shared files in .squad/:

.squad/
├── team.md           # Team composition and roles
├── decisions/        # Shared decision log (architecture records)
├── context/          # Per-member private context
└── handoffs/         # Task handoff documents

Decision records capture architectural choices. Handoffs pass work between agents with structured context (endpoints, schemas, notes).

Context Hygiene

squad nap           # Standard compression
squad nap --deep    # Aggressive pruning
squad nap --dry-run # Preview what would change

Examples

Example 1: Full-Stack Web App Team

A developer initializes Squad for a recipe-sharing application:

cd ~/projects/recipe-app
npm init -y && git init
npm install -g @bradygaster/squad-cli
squad init
copilot --agent squad --yolo

Prompt: "Build a recipe sharing app with React frontend and Express API. I need auth, CRUD for recipes, and image uploads."

Squad creates 4 team members:

  • Chef (Lead) — architecture decisions, task breakdown, coordinates others
  • Plater (Frontend) — React components, routing, styling with Tailwind
  • Saucier (Backend) — Express routes, PostgreSQL models, auth with JWT
  • Taster (Tester) — Jest unit tests, Playwright E2E tests, edge cases

Chef breaks the project into GitHub issues and assigns them. Saucier builds the API endpoints and writes a handoff: POST /api/recipes accepts {title, ingredients[], steps[], image} with Bearer auth. Plater picks up the handoff and builds the recipe form. Taster writes tests against both.

Example 2: Research and Documentation Team

A team lead uses Squad for a technical research project:

cd ~/projects/llm-benchmark-report
git init && squad init
copilot --agent squad --yolo

Prompt: "Research and write a comprehensive report on LLM inference optimization techniques. Cover quantization, KV-cache, speculative decoding, and batching strategies."

Squad creates:

  • Scout (Researcher) — gathers papers, benchmarks, and implementations
  • Analyst — processes benchmark data, creates comparison tables
  • Scribe (Writer) — produces the report with proper citations
  • Editor (Reviewer) — fact-checks claims, ensures consistency

Scout logs a decision record: "Focus on open-weight models (Llama 3, Mistral) for reproducible benchmarks." Analyst creates comparison tables showing throughput vs. latency tradeoffs. Scribe drafts each section. Editor reviews for accuracy and flags unsupported claims. The final report lives in docs/report.md with all sources cited.

Guidelines

  • Start small with 2-3 team members and add specialists as the project grows
  • Give each agent a well-defined scope to avoid overlapping work
  • Use the decisions/ directory for architectural choices to prevent conflicts
  • Enable auto-triage with squad triage --interval 5 to keep work flowing
  • Run squad export regularly to create snapshots for backup and sharing
  • Use squad nap periodically to keep context fresh and within limits
  • Run squad doctor if GitHub integration or agent communication breaks
  • See GitHub Repository for full documentation

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供多代理协作框架,适用于复杂项目开发和研究工作流
  • 具有明确的实用价值和广泛受众,能显著提升团队协作效率
触发精准90/100

亮点

  • 触发场景描述清晰,覆盖协调代理、构建工作流、委派任务等关键用例
  • 边界定义明确,不易与其他 Skill 混淆
结构规范95/100

亮点

  • 文档结构完整,包含安装、使用、示例、最佳实践等全面内容
  • 提供了端到端示例和详细命令说明,便于用户理解和执行
执行可靠90/100

亮点

  • 工具来源明确,参数正确,流程完整
  • 覆盖了异常处理、上下文管理和备份机制,确保执行可靠性
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 27, 104 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。