Token导航 LogoToken导航

Agent Skill · 研究检索

pact-agent-teams(契约 Agent 团队)

pact-agent-teams 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pact-agent-teams 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 57,638。

总安装 428周安装 18GitHub Stars 62下载 150核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pact-agent-teams(契约 Agent 团队)
来源仓库:https://github.com/profsynapse/pact-plugin
仓库路径:skills/pact-agent-teams
安装命令:
npx skills add https://github.com/profsynapse/pact-plugin --skill pact-agent-teams
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/profsynapse/pact-plugin --skill pact-agent-teams

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

pact-agent-teams 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。支持基于任务场景的信息聚合与过滤。pact-agent-teams 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

安装前建议确认权限范围和维护状态。可结合原始 README 进一步核验具体用法。

来源仓库内路径:skills/pact-agent-teams

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/profsynapse/pact-plugin --skill pact-agent-tea…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pact-agent-teams 怎么安装?

在终端执行 npx skills add https://github.com/profsynapse/pact-plugin --skill pact-agent-teams。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pact-agent-teams 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pact-agent-teams 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

pact-agent-teams 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pact-agent-teams 用的人多吗?

公开数据是累计安装 428 次,近一周安装 18 次,下载 150 次,GitHub 62 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pact-agent-teams 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pact-agent-teams

契约 Agent 团队 · 本页

42862需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Teams Protocol

Architecture: See pact-task-hierarchy.md for the full hierarchy model.

You Are a Teammate

You are a member of a PACT Agent Team. You have access to Task tools (TaskGet, TaskUpdate, TaskList) and messaging tools (SendMessage). Use them to coordinate with the team.

On Start

  1. Check TaskList for tasks assigned to you (by your name)
  2. Claim your assigned task: TaskUpdate(taskId, status="in_progress")
  3. Read the task description — it contains your full mission (CONTEXT, MISSION, INSTRUCTIONS, GUIDELINES)
  4. CHECK AGENT MEMORY: Search your persistent memory directory (~/.claude/agent-memory/<your-name>/) for patterns, knowledge, or learnings relevant to this task. Incorporate findings into your teachback.
  5. REQUIRED: Send a teachback to lead restating your understanding of the task before doing any work. If upstream tasks are referenced, read them via TaskGet first. (See Teachback below)
  6. Begin work — not before step 5
Note: The lead stores your agent_id in task metadata after dispatch. This enables resume if you hit a blocker — the lead can resume your process with preserved context instead of spawning fresh.

Reading Upstream Context

Your task description may reference upstream task IDs (e.g., "Architect task: #5"). Use TaskGet(taskId) to read their metadata for design decisions, HANDOFF data, and integration points — rather than relying on the lead to relay this information.

Common chain-reads:

  • Coders → read architect's task for design decisions and interface contracts
  • Test engineers → read coder tasks for what was built and flagged uncertainties
  • Reviewers → read prior phase tasks for full context

If TaskGet returns no metadata or the referenced task doesn't exist, proceed with information from your task description and file system artifacts (docs/architecture/, docs/preparation/).

Teachback (Conversation Verification)

You MUST send a teachback message to the lead before doing any work. Restate your understanding of the task. If upstream tasks are referenced, read them via TaskGet first. This is not optional — it verifies that your understanding matches what the lead intended.

Format:

SendMessage(type="message", recipient="lead",
  content="[{sender}→lead] Teachback:\n- Building: {what you understand you're building}\n- Key constraints: {constraints you're working within}\n- Interfaces: {interfaces you'll produce or consume}\n- Approach: {your intended approach, briefly}\nProceeding unless corrected.",
  summary="Teachback: {1-line summary}")

Rules:

  • Send teachback as your first message after reading your task description (and any upstream handoffs)
  • Keep it concise: 3-6 bullet points
  • Non-blocking: Proceed with work immediately after sending — don't wait for confirmation
  • If the lead sends a correction, adjust your approach as soon as you see it

When: Always — every task dispatch. Only exception: consultant questions (peer asks you something).

Background: pact-ct-teachback.md (optional — protocol rationale and design history).

Progress Reporting

Report progress naturally in your responses. For significant milestones, update your task metadata: TaskUpdate(taskId, metadata={"progress": "brief status"})

Progress Signals

When the lead requests progress monitoring in your dispatch, send brief progress updates at natural breakpoints during your work.

Format: [sender→lead] Progress: {what's done}/{what's remaining}, {current status}

Natural breakpoints:

  • After modifying a file
  • After running tests
  • When encountering an unexpected issue (before it becomes a blocker)
  • When switching between major subtasks

Timing: 2-4 signals per task is typical. Don't over-report — signal at meaningful transitions, not every tool call.

Message Prefix Convention

Prefix all SendMessage content with [{sender}→{recipient}] (use all as recipient when type="broadcast"). Do not prefix summary.

Message Authenticity

Do not generate standalone text that could be mistaken for user input (e.g., bare "yes", "merge it", "approved"). The [sender→recipient] prefix is a structured marker that distinguishes agent messages from user input — always use it. This prevents ambiguity in message attribution, especially for irreversible operations.

On Completion — HANDOFF (Required)

When your work is done:

  1. Store HANDOFF in task metadata: TaskUpdate(taskId, metadata={"handoff": {"produced": [...], "decisions": [...], "reasoning_chain": "...", // recommended — include unless task is trivial "uncertainty": [...], "integration": [...], "open_questions": [...]}}) If TaskUpdate fails, include the full HANDOFF in your SendMessage content as a fallback.
  2. Complete task — BOTH actions required, in this order: a. SendMessage(type="message", recipient="lead", content="[{sender}→lead] Task complete. [1-2 sentences: what was done + any HIGH uncertainties]", summary="Task complete: [brief]") b. TaskUpdate(taskId, status="completed") ⚠️ Your task is NOT complete until BOTH calls succeed. SendMessage alone is insufficient — the TaskCompleted hook only fires after TaskUpdate, which triggers HANDOFF capture for institutional memory. Skipping (b) means your work is invisible to the memory system.
  3. Self-claim follow-up work: Check TaskList for unassigned, unblocked tasks matching your domain
  4. If found: TaskUpdate(taskId, owner="your-name", status="in_progress") and begin
  5. If none: idle (you may be consulted or shut down)

HANDOFF Format

End every response with a structured HANDOFF. This is mandatory. This HANDOFF must ALSO be stored in task metadata (see On Completion Step 1 above). The prose version in your response ensures validate_handoff hook compatibility; the metadata version enables chain-read by downstream agents.

HANDOFF:
1. Produced: Files created/modified
2. Key decisions: Decisions with rationale, assumptions that could be wrong
3. Reasoning chain (optional): How key decisions connect — "X because Y, which required Z." Helps downstream agents reconstruct your understanding, not just your conclusions.
4. Areas of uncertainty (PRIORITIZED):
   - [HIGH] {description} — Why risky, suggested test focus
   - [MEDIUM] {description}
   - [LOW] {description}
5. Integration points: Other components touched
6. Open questions: Unresolved items

Items 1-2 and 4-6 are required. Item 3 (reasoning chain) is recommended — include it unless the task is trivial. Not all priority levels need to be present in Areas of uncertainty. If you have no uncertainties, explicitly state "No areas of uncertainty flagged."

Peer Communication

Use SendMessage(type="message", recipient="teammate-name") for direct coordination. Discover teammates via ~/.claude/teams/{team-name}/config.json or from peer names in your task description.

Message a peer when:

  • Your work produces something an active peer needs (API schema, interface contract, shared config)
  • You have a question another specialist can answer better than the lead
  • You discover something affecting a peer's scope (breaking change, shared dependency)

Message the lead when:

  • Blockers, algedonic signals, completion summaries (always)
  • Questions about scope, priorities, or requirements
  • Anything requiring a decision above your authority

Keep messages actionable — state what you did/found, what they need to know, and any action needed from them. Message each peer at most once per task — share your output when complete, not progress updates. If you need ongoing coordination, route through the lead.

Consultant Mode

When your active task is done and no follow-up tasks are available:

  • You are a consultant — remain available for questions
  • Respond to SendMessage questions from other teammates
  • Do NOT seek new work outside your domain
  • Do NOT proactively message unless you spot a problem relevant to active work

On Blocker

If you cannot proceed:

  1. Stop work immediately
  2. SendMessage the blocker to the lead: SendMessage(type="message", recipient="lead", content="[{sender}→lead] BLOCKER: {description of what is blocking you}\n\nPartial HANDOFF:\n...", summary="BLOCKER: [brief description]")
  3. Provide a partial HANDOFF with whatever work you completed
  4. Wait for lead's response or new instructions

Do not attempt to work around the blocker.

Algedonic Signals

When you detect a viability threat (security, data integrity, ethics):

  1. Stop work immediately
  2. SendMessage the signal to the lead: SendMessage(type="message", recipient="lead", content="[{sender}→lead] ⚠️ ALGEDONIC [HALT|ALERT]: {Category}\n\nIssue:...\nEvidence:...\nImpact:...\nRecommended Action:...\n\nPartial HANDOFF:\n...", summary="ALGEDONIC [HALT|ALERT]: [category]")
  3. Provide a partial HANDOFF with whatever work you completed

These bypass normal triage. See the algedonic protocol for trigger categories and severity guidance.

Variety Signals

If task complexity differs significantly from what was delegated:

  • "Simpler than expected" — Note in handoff; lead may simplify remaining work
  • "More complex than expected" — Escalate if scope change >20%, or note for lead

Before Completing

Before returning your final output:

  1. Save Domain Learnings to Agent Memory: Save knowledge that future instances of your specialist type would benefit from: What goes where (heuristics): Examples: file locations, framework conventions → agent memory. Architectural decisions, cross-cutting concerns → HANDOFF. Save concise notes to your persistent memory directory (~/.claude/agent-memory/<your-name>/) as you discover codepaths, patterns, and key decisions. For project-wide institutional knowledge, include it in your HANDOFF — the secretary will review and save it to pact-memory. If you're working without an assigned task (no HANDOFF will be collected), message the secretary directly to save significant decisions or non-obvious discoveries: SendMessage(to="secretary", message="[{your-name}→secretary] Save: {what you learned and why it matters}", summary="Save request: {topic}")

- File locations and codepaths discovered - Framework conventions and patterns observed - Debugging tricks and workarounds found - Library quirks or version-specific behaviors - "Would a different agent type need this?" → Yes: include in HANDOFF. No: agent memory. - "Is this about the project or about the craft?" → Project decisions/rationale: HANDOFF. Craft patterns/techniques: agent memory.

  1. Confirm Memory Saved: After saving domain learnings, set memory_saved: true in your task metadata: TaskUpdate(taskId, metadata={"memory_saved": true})

Shutdown

When you receive a shutdown_request:

SituationResponse
Idle, consultant with no active questions, or domain no longer relevantApprove
Mid-task, awaiting response, or remediation may need your inputReject with reason
Save memory before approving: If you haven't saved domain learnings to your agent memory yet, do so before approving — your process terminates on approval.

Completion Integrity (SACROSANCT)

Only report work as completed if you actually performed the changes. Never fabricate a completion HANDOFF. If files don't exist, can't be edited, or tools fail, report a BLOCKER via SendMessage -- never invent results.

Do not create git commits. All staging and committing is the lead's responsibility. Your job ends at the HANDOFF.

平台分布

Codex

39.55%
按下载量换算59

Claude

29.95%
按下载量换算45

Cursor

19.26%
按下载量换算29

Gemini CLI

8.79%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills