Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

synapse-manager突触管理器

Agent Skill

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

总安装

2,471

周安装

99

GitHub Stars

4

下载量

1,188
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/s-hiraoku/synapse-a2a --skill synapse-manager

简介

synapse-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于技能调度、资源分配或工作流管理等研究检索类任务场景。
  • 通过关键词、任务描述或来源线索触发检索,返回结构化候选信息供进一步核验。
  • 安装命令为 npx skills add https://github.com/s-hiraoku/synapse-a2a --skill synapse-manager。
  • 使用前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。

SKILL.md

Synapse Manager

Orchestrate multi-agent work with structured delegation, monitoring, and quality gates.

When to Use

  • Coordinating 2+ agents on related subtasks
  • Monitoring progress of delegated work
  • Verifying agent outputs (tests, file changes, integration)
  • Sending targeted feedback with error details and fix guidance
  • Orchestrating cross-review between agents
  • Implementing a multi-phase plan (3+ phases or 10+ file changes)
  • Planning agent assignment for multi-file changes

Workflow (7 Steps)

Step 1: Plan, Spec, and Setup

Prefer test-first when the scope is clear: create tests -> present/confirm spec -> then implement. For exploratory work, prototypes, or trivial fixes, writing tests after implementation is acceptable.

Edit plugins/synapse-a2a/skills/ first, then sync generated copies with sync-plugin-skills.

Check existing agents before spawning — reuse is faster (avoids startup overhead, instruction injection, and readiness wait):

synapse list --json

Review WORKING_DIR, ROLE, STATUS, TYPE. Only READY agents can accept work immediately. Other relevant statuses: SENDING_REPLY (brief outbound A2A send/reply POST; wait for the previous status to return), PROCESSING (busy), WAITING (permission prompt — use synapse approve/synapse reject), WAITING_FOR_INPUT (#538 — task paused asking for input, reply via synapse reply "<message>" or synapse reply "<message>" --to <sender_id>), RATE_LIMITED (#561 — LLM provider rate limit hit; wait for the window to reset before re-sending), DONE (demotes to READY ~10s later), SHUTTING_DOWN (do not send).

Spawn only when no existing agent can handle the task:

synapse spawn claude --worktree --name Impl --role "feature implementation"
synapse spawn gemini -w --name Tester --role "test writer"

Cross-model spawning (Claude spawns Gemini, etc.) provides diverse strengths and distributes token usage across providers, avoiding rate limits.

Wait for readiness using the helper script. Resolve it from the skill root so the command works from any working directory, whether you are in the plugin source or a synced copy:

cd plugins/synapse-a2a/skills/synapse-manager
scripts/wait_ready.sh Impl 30
scripts/wait_ready.sh Tester 30

# Synced copy example
cd .agents/skills/synapse-manager
scripts/wait_ready.sh Impl 30

See references/auto-approve-flags.md for per-CLI permission skip flags.

Step 2: Create Tests and Confirm the Spec

Assign the test/spec task and confirm scope before implementation starts:

synapse send Tester "Write the tests first and confirm the spec for auth module.
- Cover valid login, invalid credentials, token expiry, refresh flow
- Report any scope gaps before implementation starts" --attach synapse/server.py --force --wait

Use --attach to send reference files the agent should study. Use --wait while confirming tests/spec, then --silent or --notify once execution is unblocked.

Step 3: Delegate Implementation and Monitor

After tests/spec are confirmed, delegate the implementation task:

synapse send Impl "Implement auth module — tests/spec are confirmed.
- Add OAuth2 flow in synapse/auth.py
- Follow existing patterns" --attach synapse/server.py --force --silent
synapse list --json                       # AI-safe snapshot
synapse history list --agent Impl         # Completed work

Or use the aggregation script:

cd plugins/synapse-a2a/skills/synapse-manager && scripts/check_team_status.sh

If an agent stays PROCESSING >5 min, send an interrupt:

synapse interrupt Impl "Status update — what is your current progress?" --force

Step 4: Approve Plans

synapse approve <task_id>
synapse reject <task_id> --reason "Use refresh tokens instead of long-lived JWTs."

Step 5: Verify

Run the tests created in Step 2 first for fast feedback, then consider broader regression coverage if the changes touch shared modules or public interfaces:

# New tests first (fast feedback)
pytest tests/test_auth.py -v

# Full regression (catches cross-module breakage)
pytest --tb=short -q

Regression triage — distinguish new breakage from pre-existing issues:

cd plugins/synapse-a2a/skills/synapse-manager && scripts/regression_triage.sh tests/test_failing_module.py -v
  • Exit 0 = REGRESSION (your changes broke it) → proceed to Step 6
  • Exit 1 = PRE-EXISTING (already broken) → note it and continue

Step 6: Feedback

Concrete, actionable feedback saves iteration cycles:

synapse send Impl "Issues found — please fix:

1. FAILING TEST: test_token_expiry (tests/test_auth.py)
   ERROR: TypeError: cannot unpack non-iterable NoneType object
   FIX: Add None guard at the top of validate_token()

2. REGRESSION: test_existing_endpoint broke
   ERROR: expected 200, got 401
   CAUSE: auth middleware intercepts all routes
   FIX: Exclude health-check endpoints from auth" --force --silent

Save patterns for the team:

synapse memory save auth-middleware-pattern \
  "Auth middleware must exclude /status and /.well-known/* endpoints" \
  --tags auth,middleware --notify

After sending feedback, return to Step 3 (Monitor).

Step 7: Review & Wrap-up

Cross-review catches blind spots — each agent reviews the other's work:

synapse send Tester "Review implementation. Focus on: correctness, edge cases" --force \
  --attach synapse/auth.py --wait
synapse send Impl "Review test coverage. Focus on: missing cases, assertion quality" --force \
  --attach tests/test_auth.py --wait

Final verification and cleanup:

pytest --tb=short -q                      # All tests pass
synapse kill Impl -f && synapse kill Tester -f
synapse list --json                       # Verify cleanup

Killing spawned agents frees ports, memory, and PTY sessions. Orphaned agents may accidentally accept future tasks intended for other agents.

Decision Table

SituationAction
Agent stuck PROCESSING >5minsynapse interrupt <name> "Status?"
Agent in WAITING_FOR_INPUTsynapse reply <task_id> "<answer>"
Agent in RATE_LIMITEDWait for LLM provider window to reset, then re-send
Check all agents at oncesynapse broadcast "Status check" -p 4
New test failsFeedback with error + suggested fix (Step 6)
Regression test failsscripts/regression_triage.sh to classify
Agent READY but no outputCheck git diff, re-send if needed
Agent submits a plansynapse approve or synapse reject --reason "..."
Discovered a reusable patternsynapse memory save <key> "<pattern>" --notify
Cross-review finds issueSend fix request with --attach, re-verify
All tests pass, reviews cleanKill agents, report done

References

ReferenceContents
references/auto-approve-flags.mdPer-CLI permission skip flags
references/worker-guide.mdWorker agent responsibilities and communication patterns
references/features-table.mdA2A features with commands
references/commands-quick-ref.mdAll manager-relevant commands
scripts/wait_ready.shPoll until agent reaches READY status
scripts/check_team_status.shAggregate team status
scripts/regression_triage.shClassify test failure as regression or pre-existing

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.12%
按下载量换算405

Claude

32.2%
按下载量换算383

Cursor

18.85%
按下载量换算224

Gemini CLI

9.29%
按下载量换算110

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills