skills/beam/beam-tools/get-beam-agent-graph/SKILL.md
Fetch and save Beam.ai agent graph JSON via API. Load when user says "get agent graph", "fetch beam graph", "download agent graph", "beam agent graph", "get graph for agent", or provides a workspace ID and agent ID to retrieve the graph structure.
npx skillsauth add beam-ai-team/beam-next-skills get-beam-agent-graphInstall 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.
Fetch agent graph JSON from Beam.ai API and save to local storage with meaningful filename.
This skill retrieves the complete agent graph structure from Beam.ai including nodes, edges, configurations, and metadata. It authenticates with the Beam API, fetches the graph for a specific agent, and stores it locally for analysis, backup, or documentation purposes.
Key Features:
04-workspace/beam-graphs/Time Estimate: 1-2 minutes
Check if BEAM_API_KEY exists in .env:
grep "BEAM_API_KEY" ../.env
If missing:
[ERROR] BEAM_API_KEY not found in .env
Please add your Beam API key to .env:
BEAM_API_KEY=your-key-here
Ask user to provide their Beam API key and add it to .env file.
Required inputs:
Ask user if not provided:
To fetch the agent graph, I need:
1. Workspace ID: <uuid>
2. Agent ID: <uuid>
Please provide both IDs.
Run the get_agent_graph.py script:
python3 03-skills/get-beam-agent-graph/scripts/get_agent_graph.py <workspace_id> <agent_id>
Optional: Specify custom output directory:
python3 03-skills/get-beam-agent-graph/scripts/get_agent_graph.py <workspace_id> <agent_id> --output ./custom/path
The script will:
/auth/access-token to get access token/agent-graphs/{agentId} to fetch graph04-workspace/beam-graphs/{filename}.jsonOn success:
[SUCCESS] Agent graph saved to: 04-workspace/beam-graphs/AgentName_162e7c30_graph_20260105_143022.json
Read the saved file to confirm:
cat 04-workspace/beam-graphs/<filename>.json | head -20
Show user:
For detailed API documentation, see references/api-reference.md.
Quick reference:
Step 1: Get Access Token
POST https://api.beamstudio.ai/auth/access-tokenx-api-key: <BEAM_API_KEY>access_tokenStep 2: Get Agent Graph
GET https://api.beamstudio.ai/agent-graphs/{agentId}Authorization: Bearer <token>, x-workspace-id: <workspace_id>Filename pattern:
{AgentName}_{agentId_first8}graph_{timestamp}.json{agentId}_graph_{timestamp}.jsonExample filenames:
TrueSearch_Scheduler_162e7c30_graph_20260105_143022.json
162e7c30-0d95-49ab-af99-7eef872a2d0d_graph_20260105_143022.json
Storage location:
04-workspace/beam-graphs/
Common errors:
| Error | Cause | Solution | |-------|-------|----------| | BEAM_API_KEY not found | Missing from .env | Add to .env file | | 401 Unauthorized | Invalid API key | Check BEAM_API_KEY value | | 404 Not Found | Invalid agent ID | Verify agent ID is correct | | 403 Forbidden | No workspace access | Check workspace ID and permissions |
For API details: See references/api-reference.md
scripts/get_agent_graph.py - Main script to fetch and save agent graphs
references/api-reference.md - Beam API documentation
About Beam API Authentication:
About Storage:
04-workspace/beam-graphs/--output flagAbout Graph Data:
testing
Audit registry.yaml against disk, validate SKILL.md frontmatter, find duplicates and orphans. Load when user says 'audit skills registry', 'validate beam-next-skills', 'registry drift', 'skills catalog audit', 'check registry yaml'.
tools
All Workable ATS operations — fetch JDs, search candidates, post assessments/reviews. Load when user says "fetch JD", "search workable", "push to workable", "post review", "rate candidate", "workable", "push assessment", "list jobs", or after interview-coach completes an evaluation. Replaces workable-fetch-jd and workable-push-assessment.
data-ai
Load when user mentions "tavily research", "market intelligence", "competitive research", "GTM research", or needs real-time market data for sales, marketing, or vertical strategy.
development
Shared resource library for Slack integration skills. DO NOT load directly - provides common references (setup, API docs, error handling, authentication) and scripts used by slack-connect and individual Slack skills.