Token导航 LogoToken导航

Agent Skill · 研究检索

delegation(delegation 工具)

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

delegation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 53,815。

总安装 523周安装 22GitHub Stars 公开资料未说明下载 183核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add s-hiraoku/synapse-a2a --skill "delegation"

这个 Skill 是做什么的

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

delegation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。发现并安装 AI 代理的技能,支持 delegation 工具相关任务。

通过 github 安装,命令为 npx skills add s-hiraoku/synapse-a2a --skill "delegation"。建议确认权限范围、维护状态及是否触发联网或文件读写操作。delegation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/delegation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add s-hiraoku/synapse-a2a --skill "delegation";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

delegation 怎么安装?

在终端执行 npx skills add s-hiraoku/synapse-a2a --skill "delegation"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

delegation 支持哪些 AI 工具?

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

delegation 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add s-hiraoku/synapse-a2a --skill "delegation" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

delegation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

delegation 用的人多吗?

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

delegation 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
delegation

delegation 工具 · 本页

523—执行命令MIT未收录

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

SKILL.md 原文

name
delegation
description
This skill configures automatic task delegation between agents in Synapse A2A. Configure delegation rules via settings files (.synapse/settings.json and .synapse/delegate.md) or the interactive config TUI (synapse config). Supports orchestrator mode (Claude coordinates) and passthrough mode (direct forwarding). Includes agent status verification, priority levels, error handling, and File Safety integration.

Delegation Skill

Configure automatic task delegation to other agents based on natural language rules.

Configuration

Delegation is configured via settings files, managed using:

  • synapse init - Create .synapse/ with template files
  • synapse config - Interactive TUI for editing settings
  • Direct file editing

Configuration Files

FilePurpose
.synapse/settings.jsonEnable/disable delegation and set A2A flow mode
.synapse/delegate.mdDefine delegation rules and agent responsibilities

Settings Structure

In .synapse/settings.json:

{
  "a2a": {
    "flow": "auto"  // "roundtrip" | "oneway" | "auto"
  },
  "delegation": {
    "enabled": true  // Enable automatic task delegation
  }
}

Delegate Rules Structure

The .synapse/delegate.md file defines delegation rules in YAML frontmatter followed by optional markdown documentation.

Schema
---
# Delegate rules configuration
version: 1  # Schema version (required)

# Agent definitions with their responsibilities
agents:
  codex:
    responsibilities:
      - "Code implementation and refactoring"
      - "File editing and creation"
      - "Bug fixes"
    default_priority: 3

  gemini:
    responsibilities:
      - "Research and web search"
      - "Documentation review"
      - "API exploration"
    default_priority: 3

  claude:
    responsibilities:
      - "Code review and analysis"
      - "Architecture planning"
      - "Complex problem solving"
    default_priority: 3

# Delegation rules (evaluated in order, first match wins)
rules:
  - name: "coding-tasks"
    description: "Route coding tasks to Codex"
    match:
      keywords: ["implement", "refactor", "fix", "edit", "create file"]
      file_patterns: ["*.py", "*.ts", "*.js"]
    target: codex
    priority: 3
    flow: roundtrip  # Wait for response

  - name: "research-tasks"
    description: "Route research to Gemini"
    match:
      keywords: ["research", "search", "find", "look up", "documentation"]
    target: gemini
    priority: 2
    flow: oneway  # Fire and forget

  - name: "review-tasks"
    description: "Route reviews to Claude"
    match:
      keywords: ["review", "analyze", "evaluate", "assess"]
    target: claude
    priority: 3
    flow: roundtrip

# Fallback behavior when no rules match
fallback:
  action: manual  # "manual" | "ask" | "default_agent"
  default_agent: claude  # Used when action is "default_agent"
---

# Delegation Rules Documentation

Additional markdown content here for human-readable documentation...
Field Reference
FieldTypeRequiredDescription
versionintegerYesSchema version (currently 1)
agentsobjectYesAgent definitions keyed by agent name
agents.<name>.responsibilitiesstring[]NoList of task types this agent handles
agents.<name>.default_priorityintegerNoDefault priority (1-5) for this agent
rulesarrayNoOrdered list of delegation rules
rules[].namestringYesUnique rule identifier
rules[].descriptionstringNoHuman-readable description
rules[].matchobjectYesConditions for rule matching
rules[].match.keywordsstring[]NoKeywords to match in task text
rules[].match.file_patternsstring[]NoGlob patterns for file-related tasks
rules[].targetstringYesTarget agent name
rules[].priorityintegerNoTask priority (1-5, default: 3)
rules[].flowstringNo"roundtrip" \"oneway" \"auto"
fallbackobjectNoBehavior when no rules match
fallback.actionstringNo"manual" \"ask" \"default_agent"
fallback.default_agentstringNoAgent to use for "default_agent" action
Rule Evaluation

Rules are evaluated in order from top to bottom. The first matching rule is applied:

  1. Keyword matching: Case-insensitive substring match against task text
  2. File pattern matching: Glob patterns matched against mentioned file paths
  3. Combined conditions: All specified conditions must match (AND logic)

If no rules match, the fallback behavior is applied.

Delegating Tasks

Use the @agent pattern to send tasks to other agents:

@codex Please refactor this function
@gemini Research the latest API changes
@claude Review this design document

For programmatic delegation (from AI agents):

# Fire and forget (default)
synapse send codex "Refactor this function" --from claude

# Wait for response (roundtrip)
synapse send gemini "Analyze this code" --response --from claude

# Urgent follow-up
synapse send gemini "Status update?" --priority 4 --from claude

# Reply to a --response request
synapse send claude "Here is the analysis..." --reply-to <task_id> --from gemini

Important: When responding to a --response request, the receiver MUST use --reply-to <task_id> to link the response.

Modes

Orchestrator Mode (Recommended)

Claude analyzes tasks, delegates to appropriate agent, waits for response, integrates results.

User → Claude (analyze) → @codex/@gemini → Claude (integrate) → User

Passthrough Mode

Direct forwarding without processing.

User → Claude (route) → @codex/@gemini → User

Manual Mode (Default)

No automatic delegation. User explicitly uses @agent patterns.

Pre-Delegation Checklist

Before delegating any task:

  1. Verify agent is READY: synapse list (Rich TUI with auto-refresh on changes)
  2. Check file locks: synapse file-safety locks (for file edits)
  3. Verify branch: git branch --show-current (for coding tasks)

Agent Status:

StatusMeaningAction
READYIdle, waiting for inputSafe to delegate
WAITINGAwaiting user inputUse terminal jump to respond
PROCESSINGBusy handling a taskWait or use --priority 5
DONETask completedWill return to READY shortly

Note: synapse list provides real-time agent monitoring with auto-refresh. Press 1-9/↑↓ to select agent, Enter/j to jump, k to kill, / to filter, ESC to clear, q to quit.

Priority Levels

PriorityUse Case
1-2Low priority, background tasks
3Normal tasks (default)
4Urgent follow-ups
5Critical/emergency tasks

Available Agents

AgentStrengthsPort Range
claudeCode review, analysis, planning8100-8109
geminiResearch, web search, documentation8110-8119
codexCoding, file editing, refactoring8120-8129
opencodeAI coding, file operations8130-8139
copilotCode suggestions, completions8140-8149

References

For detailed documentation, read:

  • references/modes.md - Delegation modes and workflows
  • references/file-safety.md - File Safety integration
  • references/examples.md - Example sessions and configurations

平台分布

Claude Code

26.93%
按下载量换算49

Gemini CLI

20.38%
按下载量换算37

windsurf

16.75%
按下载量换算31

trae

13.81%
按下载量换算25

OpenCode

7.86%
按下载量换算14

Cursor

3.59%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add s-hiraoku/synapse-a2a --skill "delegation" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills