skills/beam/beam-tools/demo-documentation-generation-agent/SKILL.md
Generate comprehensive, fully-detailed documentation for Beam AI agents from graph.json files. Load when user says "document beam agent", "create agent documentation", "generate agent docs", "document this agent", "demo documentation", or provides a Beam agent graph file. Analyzes graph structure, extracts workflow, tools, integrations, descriptions, and generates complete documentation with NO placeholders.
npx skillsauth add beam-ai-team/beam-next-skills demo-documentation-generation-agentInstall 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.
Automatically generate fully-detailed, comprehensive documentation for Beam AI agents from their graph definitions - no placeholders, just complete information.
This skill automates the entire process of creating professional documentation for Beam AI agents with automatic detailed content generation:
Time saved: ~45-60 minutes of manual documentation work per agent Quality: Production-ready documentation on first generation
.env:
BEAM_API_KEY=your_beam_api_key
BEAM_WORKSPACE_ID=your_workspace_id
.env:
NOTION_API_KEY=your_notion_api_key
Dependencies: requests, python-dotenv (already installed)
# Fetch agent graph from Beam AI and generate docs
python 03-skills/beam-document-agent/scripts/document_agent.py \
--workspace-id 505d2090-2b5d-4e45-b0f4-cc3a0b299aa8 \
--agent-id 162e7c30-0d95-49ab-af99-7eef872a2d0d \
--output-dir 04-workspace/beam-agents
# Generate docs from existing graph.json file
python 03-skills/beam-document-agent/scripts/document_agent.py \
--graph-file 04-workspace/beam-agents/agent-graph-162e7c30.json \
--output-dir 04-workspace/beam-agents
# Generate docs and update Notion page (requires page access)
python 03-skills/beam-document-agent/scripts/document_agent.py \
--workspace-id 505d2090-2b5d-4e45-b0f4-cc3a0b299aa8 \
--agent-id 162e7c30-0d95-49ab-af99-7eef872a2d0d \
--notion-page-id 2df2cadf-bbbc-80e5-bbda-ffaf9e724ff2 \
--output-dir 04-workspace/beam-agents
The skill generates multiple files in the specified output directory:
agent-graph-{agent-id}.json - Raw agent graph from Beam AIagent-analysis-{agent-id}.json - Parsed analysis with extracted metadata{agent-name}-documentation.md - Complete markdown documentation{agent-name}-notion-blocks.json - Notion API blocks (if --notion flag used)The generated documentation follows this comprehensive structure:
Each scenario uses H3 toggle format: ### ▶ Scenario X – Title
| Parameter | Required | Description |
|-----------|----------|-------------|
| --workspace-id | Yes* | Beam workspace ID (UUID format) |
| --agent-id | Yes* | Beam agent ID (UUID format) |
| --graph-file | Yes* | Path to existing graph.json file |
| --output-dir | No | Output directory (default: 04-workspace/beam-agents) |
| --notion-page-id | No | Notion page ID to update with documentation |
| --format | No | Output format: markdown, notion, or both (default: both) |
| --agent-name | No | Override agent name (auto-detected from graph) |
* Either --workspace-id + --agent-id OR --graph-file is required
python 03-skills/beam-document-agent/scripts/document_agent.py \
--workspace-id 505d2090-2b5d-4e45-b0f4-cc3a0b299aa8 \
--agent-id 162e7c30-0d95-49ab-af99-7eef872a2d0d \
--agent-name "Candidate Screening Agent (Greenhouse)" \
--output-dir 04-workspace/beam-agents
# Output:
# ✅ Fetched agent graph
# ✅ Analyzed 11 nodes, 6 inputs, 6 outputs
# ✅ Identified integrations: Airtable, Workable
# ✅ Generated documentation: candidate-screening-agent-documentation.md
python 03-skills/beam-document-agent/scripts/document_agent.py \
--graph-file 04-workspace/beam-agents/my-agent-graph.json \
--format markdown
# Output:
# ✅ Loaded graph from file
# ✅ Analyzed 8 nodes
# ✅ Generated: my-agent-documentation.md
python 03-skills/beam-document-agent/scripts/document_agent.py \
--workspace-id 505d2090-2b5d-4e45-b0f4-cc3a0b299aa8 \
--agent-id 162e7c30-0d95-49ab-af99-7eef872a2d0d \
--notion-page-id 2df2cadf-bbbc-80e5-bbda-ffaf9e724ff2
# Output:
# ✅ Fetched agent graph
# ✅ Generated documentation
# ⚠️ Notion page not accessible - grant integration access
# ℹ️ Documentation saved to markdown for manual import
--workspace-id and --agent-id provided:
--graph-file provided:
--notion-page-id provided and page is accessible:
Automatically detects:
| Issue | Behavior | |-------|----------| | Invalid workspace/agent ID | Error message with ID format guidance | | API authentication failure | Check .env credentials guidance | | Graph file not found | File path validation error | | Notion page not accessible | Save to file + provide access instructions | | Missing required parameters | Parameter validation with examples | | API rate limit | Automatic retry with backoff |
04-workspace/beam-agents/
├── candidate-screening/
│ ├── agent-graph.json
│ ├── documentation.md
│ └── analysis.json
├── invoice-processing/
│ ├── agent-graph.json
│ └── documentation.md
└── README.md
Finding Workspace & Agent IDs:
https://app.beam.ai/{workspace-id}/{agent-id}Customizing Documentation:
Notion Integration:
Batch Processing:
# List all agents in workspace
python 00-system/skills/beam/beam-master/scripts/list_agents.py
# Document each one
for agent_id in agent_ids; do
python 03-skills/beam-document-agent/scripts/document_agent.py \
--workspace-id $WORKSPACE_ID \
--agent-id $agent_id \
--output-dir 04-workspace/beam-agents/$agent_id
done
# Generate docs for all agents
python 03-skills/beam-document-agent/scripts/batch_document.py \
--workspace-id 505d2090-2b5d-4e45-b0f4-cc3a0b299aa8 \
--output-dir 04-workspace/beam-agents \
--create-index
templates/documentation_template.md--template flag to specify custom template"Agent graph not found"
"Notion page not accessible"
"Invalid graph structure"
"Missing integrations in output"
beam-document-agent to demo-documentation-generation-agent### ▶ Scenario X – TitleparamDescription fieldstoolConfiguration added to node breakdownVersion: 1.2 Updated: 2026-01-06 Status: Production Ready
development
--- name: taste-skill type: skill version: '1.0' author: Leonxlnx (packaged by Zhichao Li) category: general tags: - frontend - design - anti-slop - landing-page updated: '2026-06-11' visibility: public description: Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check. license: MIT.
development
Use when communicating quantitative information in any form — Slack updates, emails, reports, decks, dashboards, landing pages, product UI, public talks. Covers two integrated layers: (1) making numbers semantically meaningful (translation, anchoring, simplification, story-pairing) and (2) showing numbers cleanly (chart vs table vs prose, chart-by-message, pre-attentive emphasis, color discipline, decluttering). Distilled and integrated from *Show Me the Numbers* (Stephen Few) and *Make Numbers Count* (Chip Heath & Karla Starr). Not for raw data analysis or statistics — this is about communication of numbers, not their derivation.
development
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
tools
Stateful multi-session tutor adapted for Beam — teach a stakeholder to understand, trust, and operate a specific agent, or teach a Solution Engineer a client's business process for delivery. Grounds every lesson in Knowledge Hub sources (real agent graphs, real tasks, transcripts, Linear) before any web resource. Also works for any general topic. Trigger on "teach me", "beam teach", "教我", "onboard <person> on <agent>", "help <stakeholder> understand the agent", "learn this client's process".