跳到正文
cccskills
免费在 GitHub 公开

agent-graph-orchestration

Design and scaffold multi-agent squads/swarms using the graph orchestration pattern (nodes = agents, edges = dependencies/data flow). USE FOR: designing a coordination topology for a multi-agent squad (sequential pipeline, parallel fan-out/aggregation, branching, feedback loop, cyclic); building an orchestrator agent that delegates to specialist agents; setting up an adversarial/tribunal code or document review with independent reviewers; scaffolding a squad's agent files for a target coding-agent harness (e.g. Copilot CLI or Claude Code custom agents). DO NOT USE FOR: authoring a single agent's frontmatter/prompt body (use copilot-cli-custom-agents, claude-code-custom-agents, or the target harness's own skill); SKILL.md authoring (use create-skill); ad-hoc multi-agent chat with no explicit topology.

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics星标 36(GitHub 36 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(6)

  • SKILL.md11.8 KB
  • references/graph-concepts.md2.5 KB
  • references/harness-implementation.md7.7 KB
  • references/model-selection.md6.3 KB
  • references/scaffolding-workflow.md16.0 KB
  • references/topologies.md9.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Agent Graph Orchestration

A graph-pattern multi-agent system is a directed graph where nodes are agents (or nested graphs/swarms) and edges are dependencies and data flow. Execution follows edge order — output from one node becomes input for its dependents. This skill designs that graph and delegates each node's actual authoring to the target harness's own agent-authoring skill; it never hand-writes agent files itself.

Anatomy

ConceptRole
NodeAn agent, a deterministic custom step, or a nested graph/swarm
Edge[source, target] dependency, optionally with a condition for dynamic routing
SourceEntry node(s) receiving the original task; auto-detected as nodes with no incoming edges
TopologyOverall shape — sequential, parallel+aggregate, branching, feedback loop, cyclic

A project can host more than one squad: prefix every node ID, display name, and any shared resource the squad declares (custom MCP-server keys, shared session files) with a project-unique <squad> string. Keep only the orchestrator user-selectable wherever the harness supports that distinction (e.g. user-invocable: false on Copilot CLI); the exact mechanism — and its limits — is harness-specific → references/harness-implementation.md.

Mandatory squad shape

Every squad this skill scaffolds — whatever topology its implementation stages take below — must include three roles: an orchestrator, a planner (decomposes the task into the stage-specific nodes/edges before any implementation work runs), and an adversarial review stage (the tribunal pattern, not a single reviewer agent). The stage between planner and reviewer may be one implementer agent or several; dispatch independent implementer subtasks in parallel rather than serially (see Core topologies (quick reference) below), only serializing them when one genuinely depends on another's output. A quality gate node is optional but common: when present it runs between the last implementation node and the adversarial reviewer and validates deterministically — executing tools (tests, linters, schema/build checks) that spend no model tokens — while the adversarial reviewer validates by reasoning over the artifact, which does spend tokens. Gate regressions loop through bounded repairs, but exhausting that bound must forward the artifact and unresolved evidence to the mandatory tribunal rather than terminate before review. A publisher node is also optional: when present it runs only after gate and review approval and acts on the approved artifact rather than validating it — opening a pull request, updating a tracking ticket (Jira, GitHub Issues, ...), publishing/deploying to an environment, or a combination. Full baseline shape and the gate/reviewer/publisher distinctions → references/topologies.md.

Core topologies (quick reference)

TopologyShapeUse when
Sequential pipelineA → B → CEach stage strictly needs the prior stage's output
Parallel fan-out + aggregationCoordinator → {W1, W2, W3} → AggregatorIndependent subtasks can run concurrently, then merge (AND/OR join semantics vary by SDK — always require AND explicitly)
BranchingClassifier → conditional edge → {branch A, branch B}Routing depends on runtime content; branches must be exhaustive or the graph stalls with no fired successor
Feedback loopWriter ↔ Reviewer → PublisherIterative refinement; must bound iterations (cycle limit)
Tribunal reviewImplementer → review-orchestrator → {Reviewer A, Reviewer B} → merged findingsA review step needs adversarial, cross-provider independence instead of a single reviewer agent
Quality gate + adversarial reviewImplementer → Quality Gate (deterministic, no tokens) → Tribunal Review (reasoning, tokens) → PublisherAn implementation node's output needs cheap mechanical checks (tests/lint/build) run before spending reasoning tokens on adversarial review

Full topology diagrams, conditional-edge semantics, and cycle-safety rules → references/topologies.md.

Workflow

  1. Interview the user before designing or scaffolding anything — never assume any of these from the current session's own tool or from what seems "obvious" for the task; ask them in order and wait for real answers:
  2. Propose a graph design from the answers, then stop and get explicit approval before proceeding further — start from the mandatory orchestrator + planner + adversarial-review baseline shape, include (or omit) the quality gate/publisher exactly per the user's answers, then layer in the task-specific nodes, edges, topology, entry points, and cycle bounds; present the proposed graph (nodes, edges, which optional roles are included and what they do) back to the user and wait for their confirmation — do not move on to harness-execution strategy, scaffolding, or model selection until they approve or request changes → references/topologies.md
  3. Ground planning/coordination tradeoffs in agent-coordination-graph (ACG) and task-dependency-graph (TDG) theory when the topology isn't obvious → references/graph-concepts.md
  4. Pick how the graph executes for the answered harness — native Graph construct vs. orchestrator + delegation → references/harness-implementation.md
  5. Realize every node per the step-4 answer: for a native-graph harness (Strands Agents SDK, LangGraph), write each node directly as code (Agent/AgentBase instances or callables) — there is no agent-authoring skill to delegate to and no .agent.md-style file to scaffold; for a no-native-graph harness (Copilot CLI, Claude Code, VS Code custom agents, or another chat-first harness), scaffold every node by delegating, never hand-authoring: Copilot CLI nodes → invoke copilot-cli-custom-agents for each .agent.md; Claude Code nodes → invoke claude-code-custom-agents for each .claude/agents/*.md subagent; other harnesses → their own agent-authoring skill if one exists, otherwise say so explicitly rather than reusing a mismatched one (e.g. VS Code custom agents share the .agent.md extension with Copilot CLI but are a distinct target with no dedicated skill yet). Either way, prefix with the squad's name, keep least-privilege tools:, and hide internal nodes from users as best the harness allows (user-invocable: false on Copilot CLI; convention-only on Claude Code). The mandatory planner is authored the same way as any other specialist, and so is an optional publisher node (open a PR, update a tracking ticket, publish/deploy) when the design includes one. A quality gate node is the one exception on any harness — it's a deterministic tool-execution step, not an LLM agent, so don't delegate reasoning/prompt content for it → references/scaffolding-workflow.md
  6. Pick each node's model — mandatory for every node, not an optional optimization: use the model-selection skill for the generic mechanics (capability tier, call cadence vs. provider prompt-cache TTL, cost-tier ranking, per-harness field syntax and fallback-list support), then apply this squad's own overlay — the orchestrator's model is the squad's cost ceiling (Copilot CLI: no other node's cost tier may exceed it) and tribunal reviewers need cross-provider diversity → references/model-selection.md
  7. Validate: every squad includes an orchestrator, a planner, and an adversarial (tribunal) review stage; any quality gate present runs deterministically (no reasoning/tokens) before, not instead of, the adversarial reviewer, with bounded repair loops that still reach review carrying unresolved evidence; any publisher present only runs after the quality gate and adversarial review both approve; every node has an explicit, harness-appropriate model: (on Copilot CLI, no node's cost tier exceeds the orchestrator's, aside from a deliberately surfaced tribunal-diversity exception); graph is acyclic unless a feedback loop is intentional (and bounded); every conditional edge's branches are exhaustive; every delegation prompt is self-contained since subagents start with empty context; tribunal reviewers resolve to genuinely different providers (or model families, on harnesses locked to one vendor); only the orchestrator is user-selectable to whatever degree the harness allows it (e.g. absent from Copilot CLI's /agent picker); no resource name collides with another squad in the project
  8. Run markdown-best-practices over every generated Markdown artifact (shared plan files, design notes) before finishing — the delegated agent files are already covered by their own harness skill's workflow

Reference Files

FileLoad When
references/graph-concepts.mdGrounding a topology choice in agent-coordination-graph (ACG) / task-dependency-graph (TDG) theory, or explaining why the graph pattern helps planning, execution, memory, or coordination
references/topologies.mdDesigning nodes/edges, entry points, conditional routing, AND/OR dependency semantics, bounding a cyclic graph, modeling a review node as an adversarial tribunal, or confirming the mandatory orchestrator + planner + adversarial-review baseline shape and where an optional deterministic quality gate or optional publisher node fits
references/harness-implementation.mdConfirming which harness to target before doing anything else, or deciding how the designed graph actually executes for that harness (native SDK Graph vs. orchestrator + task delegation)
references/scaffolding-workflow.mdTurning a graph design into concrete agent files by delegating to copilot-cli-custom-agents or claude-code-custom-agents (or another harness's agent-authoring skill); scaffolding the mandatory planner node, an optional deterministic quality gate node, or an optional publisher node (PR/ticket/deploy actions); applying the squad naming prefix and least-privilege/visibility rules
references/model-selection.mdThe squad-specific overlay on top of the model-selection skill: mapping node roles (orchestrator, worker, reviewer-in-loop, rare branch) to call cadence, assigning cross-provider diversity across tribunal reviewers, and applying the Copilot CLI cost ceiling relative to the orchestrator

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Abstract math for 3D rotation representations and conversions. USE FOR: understanding axis-angle representation; Euler angles (yaw/pitch/roll, convention choices); rotation matrices (SO(3)); quaternion-based rotation; converting between representations; identifying and avoiding gimbal lock; composing rotations; half-angle formula; right-hand rule. DO NOT USE FOR: quaternion arithmetic details (use quaternion-algebra); slerp/lerp interpolation (use interpolation-on-manifolds); coordinate system definitions (use coordinate-system-conversions).

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

Find, inspect, query, redact, and troubleshoot logs, transcripts, sessions, and OpenTelemetry data from coding-agent harnesses on Windows, macOS, Linux, and WSL. USE FOR: GitHub Copilot in VS Code; Copilot CLI; Claude Code; OpenAI Codex; Gemini CLI; OpenCode; Cursor, Windsurf, Kiro, or other VS Code-family editors; locating log files; diagnosing tool or model failures; correlating turns, subagents, and tool calls; querying JSONL, plaintext, or SQLite without spending model tokens; preparing sanitized diagnostics. DO NOT USE FOR: application logs unrelated to coding agents; uploading raw logs; treating unstable transcript schemas as public APIs.

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

agents-md

免费

Author and maintain AGENTS.md files — the open, tool-agnostic format for giving coding agents project context. Use when: creating AGENTS.md; writing an agent instructions file; root or nested AGENTS.md for monorepos; migrating CLAUDE.md, AGENT.md, .cursor/rules, or copilot-instructions.md to AGENTS.md; greenfield project setup before code exists; brownfield onboarding for an existing codebase; documenting build/test/lint commands, code style, PR/commit conventions, and security considerations for agents; AGENTS.md discovery and precedence rules. Works for any language, framework, or project size. DO NOT USE FOR: authoring SKILL.md skill files (use create-skill); APM package/plugin authoring (use apm-producer); language-specific style rules (use language skills e.g. csharp-best-practices).

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

Abstract math for angle measurement, unit systems, and circular arithmetic. USE FOR: implementing angle types; converting between degrees/radians/gradians/revolutions; reducing angles to canonical range [0, Full); computing reference angles and quadrants; implementing safe modular arithmetic with negative inputs; angle addition and subtraction; classifying angles by sign and size. DO NOT USE FOR: trigonometric functions (use trigonometric-functions); coordinate conversions (use coordinate-system-conversions); interpolation (use interpolation-on-manifolds).

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

Create and maintain Claude Code custom subagents (.claude/agents/*.md files). USE FOR: authoring project (.claude/agents/) or user (~/.claude/agents/) subagent files; frontmatter fields (name, description, tools, disallowedTools, model, permissionMode, maxTurns, skills, mcpServers, hooks, memory, background, effort, isolation, color, initialPrompt); writing descriptions that drive automatic delegation and 'use proactively' phrasing; invoking subagents via natural language, @-mention, session-wide --agent, or the Agent tool; restricting which subagent types a coordinator can spawn with Agent(name1, name2); nested subagents and depth limits; built-in subagents (Explore, Plan, general-purpose, claude); troubleshooting a subagent that won't load or isn't invoked. DO NOT USE FOR: GitHub Copilot CLI custom agents (use copilot-cli-custom-agents); agent teams/teammates (a different, session-spanning feature); MCP server authoring; SKILL.md authoring (use create-skill).

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

Install, verify, and integrate codebase-memory-mcp (CBM) — a local C binary indexing a codebase into a persistent knowledge graph (functions, classes, call chains, routes) queryable via 15 tools. USE FOR: creating or editing any agent/skill/prompt/subagent that reads, searches, or reasons about a codebase — CBM's CLI must replace grep/ripgrep/glob-and-read exploration for structural questions (who calls X, dead code, architecture overview, diff impact, Cypher queries); checking whether `codebase-memory-mcp` is installed; installing/updating it; checking whether a project's index is fresh/in sync (`index_status`); choosing CLI vs MCP (always prefer the CLI, far fewer tokens per call than MCP); picking the right CBM tool per workflow stage (discovery, verification, implementation, review). DO NOT USE FOR: semantic/business-logic code review; non-code repos with nothing to index.

中文简介正在准备中。当前显示原文说明。

NetFabric/NetFabric.Numerics362026年8月10日 更新

查看 NetFabric 的全部技能

报告此技能的问题