skills/beam/beam-tools/beam-graph-creator/SKILL.md
Build and deploy complete Beam agent graphs with conditional branching, convergence nodes, and multi-path routing. Takes a specification document and flowchart (builds flowchart on Miro if not provided), designs all nodes/edges/params, deploys via PUT/PATCH, and validates with test data. Use when user says "create beam agent graph", "build beam graph", "deploy agent", "new beam agent", "build graph from spec", "create nodes and edges", or needs to go from a specification document to a working deployed agent on Beam.
npx skillsauth add beam-ai-team/beam-next-skills beam-graph-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build and deploy complete Beam agent graphs from a specification document and flowchart. Handles the full lifecycle: flowchart → node design → API deployment → validation.
Before deploying or modifying a Beam graph, show the target workspace, agent name or ID, node/edge count, flowchart/source spec reference, integrations involved, validation plan, and expected side effects including publish behavior. Require explicit user approval in the current turn. Reading specs, drafting flowcharts, designing node registries, and local validation artifacts do not require approval.
.env (BEAM_API_KEY, BEAM_WORKSPACE_ID)Read the specification document and extract:
If the spec is incomplete, ask the user to fill gaps before proceeding.
If flowchart exists on Miro:
If no flowchart exists:
diagram_createn# label object color), connectors (c src text tgt), clustersThe flowchart is the source of truth for graph topology. Every node and edge in the final agent must trace back to this flowchart.
From the flowchart, create a node registry table:
| Node | Name | Type | Description | Model |
|------|------|------|-------------|-------|
| N0 | Entry | Entry | Auto-created by Beam | — |
| N1 | [Name] | Processing | [What it does] | [Model] |
| ... | ... | ... | ... | ... |
For each processing node, define:
select-llm-model or user preferenceUse references/node-template.md for the node spec format.
From the flowchart, create an edge registry with conditions:
| # | From | To | Condition | Description |
|---|------|----|-----------|-------------|
| E1 | N0 | N1 | always | Entry → first processing node |
| E2 | N1 | N2 | `field == "value"` | Conditional branch |
Rules for edges:
childEdges[] AND target's parentEdges[]required: false on path-dependent inputsWrite each node's spec as a markdown file following this structure:
# [Node Number] [Node Name]
## Purpose
[One sentence]
## Input Parameters
| Param | Type | Fill Type | Source | Required |
|-------|------|-----------|--------|----------|
## Output Parameters
| Param | Type | Array | Description |
|-------|------|-------|-------------|
## Prompt
[Full LLM instruction text]
## Edges
| Target | Condition |
|--------|-----------|
Store in 04-workspace/clients/{client}/agents/{agent-name}/nodes/.
6a. Build PUT payload:
beam-api-reader → create_agent_from_prompt.pybeam-put-payload-builder to transform GET→PUT6b. Send PUT:
/agent-graphs/{agentId} with full graph payload6c. PATCH prompts, models, params:
originalTool — must PATCH each node6d. Publish:
PATCH /agent-graphs/{graphId}/publishConsult beam-agent-manager → references/api-rules.md for all API behavioral rules.
If a test dataset is available (e.g., golden dataset with ground truth):
beam-ape-optimizer for systematic prompt improvement)When a node routes to different targets based on output:
routing_decision output param that encodes the combined logicrouting_decision == "classify" → N4, routing_decision == "manual_review" → N13When multiple paths merge into one node:
required: falseFor dependencies not yet available (DB lookups, external APIs):
MOCK in the node registrybeam-ape-optimizer — Systematic prompt optimization after initial deploymentdesign-beam-agent — Simpler design-only tool for linear 3-level agents (no API deployment)tools
Build a Palantir-shape, PDF-native use-case proposal document for a sophisticated enterprise account: research-grounded use cases (each with description, challenge, impact, value), an operating-graph ontology page, a recommended PoC with a week-by-week plan, and a closing page that asks for one decision. Load when a client asks us to 'propose high-impact use cases', requests a use-case presentation/catalog for a function (finance, HR, ops), or when a technical evaluation team will review candidates to pick a PoC. NOT for single-account cold outreach (use prospect-brief), full process diagnostics (use operating-diagnostic), or priced proposals (use proposal-creation).
development
Convert Beam Figma slide designs into high-fidelity, editable HTML presentation decks. Use when Codex is asked to audit Figma slides, extract slide templates, rebuild Beam slides as HTML decks, decide whether Figma imagery should be exported or rebuilt in HTML/CSS, create Beam/Prism-compatible deck templates, or improve fidelity of existing Beam HTML slide rebuilds.
development
Use the Beam AI reusable slide library: individual HTML slide templates extracted from Beam Figma rebuilds, kept separate from deck themes and full deck templates. Load when the user asks for a slide library, specific Beam slide patterns, reusable Figma-inspired slides, Prism slide-library items, or slide-level HTML templates.
development
Use Beam AI deck and report design packs, HTML templates, and curated examples to create sales decks, customer intro decks, RPO decks, and DIN A4 use-case proposal reports. Load when the user asks for Beam-branded presentation templates, Prism-compatible deck templates, Beam report templates, customer intro decks, commercial proposals, or reusable HTML deck/report examples.