Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

graph-engineering

БесплатноБез исполняемых скриптовНе проверен

Compose installed agent skills into one orchestrated multi-agent run: an agent graph where each node is a sub-agent that loads exactly one skill, edges carry…

citypaulот citypaul★ 764 звезды на GitHub

Об этом скилле

Graph Engineering

Turn a library of installed skills into a coordinated fleet. One orchestrator (you) designs a graph — nodes, edges, stages — and executes it with sub-agents, where each node is a sub-agent that loads exactly one skill and works a bounded slice of the task through only that skill's lens. The orchestrator never does the fanned-out work itself; it scouts, composes, dispatches, and synthesizes.

Terminology. Claude Code's executable form of this is a dynamic workflow (the Workflow tool: agent(), parallel(), pipeline(), phase()), and the underlying pattern is Anthropic's orchestrator-workers with an evaluator stage. The industry synonym is an agent graph (LangGraph vocabulary: nodes = callable units, edges = data flow). "Graph engineering" is the emerging umbrella term this skill adopts as its name; prefer the precise terms when talking to tools or docs.

Why skills-as-nodes works (verified in this distribution): sub-agents spawned by both the Agent tool and the Workflow tool have the Skill tool and see the full installed-skill roster, so a node prompt can say "load skill X, then do Y" and the skill's full guidance lands in that node's context. Loading a skill also pulls the global CLAUDE.md into the sub-agent, so every node carries the baseline standards alongside its assigned lens. On hosts without a Skill tool, nodes fall back to reading the skill file directly (~/.claude/skills/<name>/SKILL.md, or the project's .claude/skills/ copy).

When to Use — and When Not

Use a graph when the task genuinely decomposes into independent skill-shaped responsibilities: reviewing one diff through five architectural lenses, auditing a repo across security/performance/accessibility, researching a question from multiple angles, migrating many call sites. The payoff is parallel wall-clock, isolated contexts that keep each lens sharp, and adversarial verification between stages.

Do NOT build a graph when:

  • One skill in one context does the job — a graph of one node is ceremony.
  • The task is one chain where each step needs the previous step's full context — stay in one agent and load skills in sequence. Interdependent write work is different: when some units depend on others, the ordering is the work — model it with typed edges (references/topologies.md, Dependent-Write Graphs), don't force it into a fan-out. A fan-out is not a graph; launching N agents at one scope is scatter-gather.
  • The user has not opted into multi-agent scale. Fan-outs cost real tokens; a graph run needs explicit user intent, a skill/command invocation that implies it (like /panel-review), or a direct request. Say what the graph will roughly cost (N nodes + verification) before launching a large one.
  • You would be composing the graph to avoid deciding. A graph amplifies a clear question; it cannot rescue a vague one.

The Design Protocol

1. Fix the goal and the deliverable

One sentence for what the run must produce (a ranked findings report, a migration ledger, a synthesized answer) and one for how the user will judge it done. Every node contract derives from this.

2. Scout inline first

Discover the work-list cheaply before composing the graph: list the changed files, detect the project's traits, enumerate the targets. The orchestrator does this itself with a few tool calls — never spawn a fleet to discover what one git diff shows. The scout output decides which nodes the graph needs (hybrid orchestration: scout inline, then fan out).

3. Choose the nodes

Map responsibilities to installed skills, one skill per node. Read references/node-design.md for the node brief template, skill-resolution rules, and output contracts. Cap the roster: prefer 3–6 nodes chosen for relevance over an exhaustive sweep; scale up only when the user asked for thoroughness. Give nodes explicit, non-overlapping boundaries so two nodes never silently duplicate work.

4. Choose the topology

Pick stage patterns from references/topologies.md: fan-out/fan-in, pipeline, adversarial verify, dedup barrier, judge panel, loop-until-dry. The default review/audit shape is scout → fan-out → verify → merge → synthesize. Use a barrier only when a stage genuinely needs all prior results at once (dedup, early-exit); otherwise pipeline so fast nodes flow ahead. When nodes write, type the edges — needs (verified and integrated), informs, excludes — and schedule by frontier: writes serial by default, reads parallel freely.

5. Define the contracts

Every stage returns structured data against a schema — findings with file:line evidence, severities from a fixed taxonomy, verdicts with reasons. The evidence bar and severity vocabulary live in references/node-design.md. Contracts are what make the graph a graph instead of a pile of prose reports.

Set an explicit per-node response limit and aggregate fan-i

Полный SKILL.md на GitHub

Установить graph-engineering в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/execution.mdreferences/model-policy.mdreferences/node-design.mdreferences/topologies.md

FAQ

Что делает скилл graph-engineering?

Compose installed agent skills into one orchestrated multi-agent run: an agent graph where each node is a sub-agent that loads exactly one skill, edges carry structured data, and stages fan work out, adversarially verify it, and synthesize one deliverable. Claude Code calls the executable form a dynamic workflow; the pattern is Anthropic's orchestrator-workers. Use when a task needs several skills applied in parallel (multi-lens review, multi-angle audit or research, migration sweeps), when the user says graph engineering, agent graph, fan out sub-agents, or orchestrate skills, or when designing any workflow where sub-agents each own one skill. For PR review specifically use panel-review (an instance of this skill); for a single second opinion on finished work use double-check; do not use for tasks one skill handles in one context.

Как установить скилл graph-engineering?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл graph-engineering запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить graph-engineering с