The 7 Node Types
| Node | Purpose | Example Use | Documentation |
|---|---|---|---|
| π€ Agent | Main agent configuration | System prompt, model selection, permissions | Core intelligence |
| π οΈ Skills | Agent capabilities | File operations, API calls, code execution | Tools and actions |
| π§ Memory | Persistent knowledge | Conversation history, knowledge bases, RAG | Long-term context |
| βοΈ Commands | Custom slash commands | /summarize, /review-pr, /deploy | User shortcuts |
| π MCPs | External tool integrations | Context7 docs, databases, APIs | System connections |
| πͺ Hooks | Lifecycle event handlers | PreToolUse, PostToolUse, SessionStart | Event triggers |
| π Sub-agents | Delegated specialized agents | Code reviewer, researcher, writer | Agent delegation |
Node Anatomy
Every node in ClaudeSpace has these components:Visual Appearance
[Diagram: Node structure showing icon, title, description, color]- Icon - Emoji or custom image for quick identification
- Title - Node name (editable)
- Description - Brief explanation of purpose
- Color - Category-based (Skills=red, Memory=green, etc.)
- Handles - Connection points (top/bottom/sides)
Connection Handles
Handles are small circles on node edges for creating connections. Handle Types:- Input Handle (top) - Receives connections FROM main agent
- Output Handle (bottom) - Not used (reserved for future features)
- π οΈ Red β Skills connections
- π§ Green β Memory connections
- π Blue β MCP connections
- βοΈ Purple β Command connections
- πͺ Yellow β Hook connections
- π Purple β Sub-agent connections
Configuration Panel
Clicking a node opens its configuration panel on the right side. Panel Contents:- Node-specific settings (name, description, etc.)
- Configuration options (parameters, paths, etc.)
- Connection status
- Validation errors (if any)
- Delete button
Connection Rules
Valid Connections
Only the main agent card can connect to other nodes.Connection Handles on Main Agent Card
The main agent card has specialized handles for each node type:- Right edge β Skills
- Bottom-left β Memory
- Bottom center β Sub-agents
- Top-left β Hooks
- Top-right β MCPs
- Panel config β Commands (no visual connection)
Creating Connections
Step-by-step:- Hover over main agent card
- Handles appear on edges (small circles)
- Click and drag from appropriate handle
- Drop on target node
- Connection line appears
- Each handle can have only one connection
- Must connect from main agent to other nodes
- Canβt connect nodes directly to each other
- Delete existing connection before making new one on same handle
Quick Reference: When to Use Each Node
π€ Agent (Main Card)
Always present - Every project has exactly one main agent card. Use for:- Defining agent personality and behavior
- Setting system prompt
- Choosing AI model (Opus/Sonnet/Haiku)
- Configuring permissions
- Sandbox settings
π οΈ Skills
Add capabilities - Tools and actions your agent can perform. Use when:- Agent needs to read/write files β File System skill
- Agent needs to run Python code β Code Interpreter skill
- Agent needs to call APIs β HTTP Request skill or custom
- Agent needs specific tool β Create custom skill
- File operations (read, write, delete)
- Code execution (Python, JavaScript)
- API integrations (GitHub, Slack, database)
- Data processing (CSV parser, JSON transformer)
π§ Memory
Persistent knowledge - Long-term information your agent remembers. Use when:- Agent needs domain knowledge β Add knowledge base markdown files
- Agent needs conversation context β Use prime context pattern
- Agent needs reference docs β Store as memory files
- Agent needs to recall past interactions β Enable conversation history
- Company information and policies
- Team member contacts and roles
- Product documentation
- Customer interaction history
- Technical specifications
βοΈ Commands
User shortcuts - Custom slash commands for quick actions. Use when:- Repetitive workflows β Create
/command-name - Structured inputs needed β Define parameters
- Quick access to complex prompts β Template with variables
- User-facing features β Expose as commands
/summarize- Summarize document/review-pr <number>- Review GitHub PR/deploy <env>- Deploy to environment/test <file>- Run tests on file
π MCPs (Model Context Protocol)
External integrations - Connect to databases, APIs, and external tools. Use when:- Agent needs documentation β Context7 MCP (library docs)
- Agent needs database access β PostgreSQL/MySQL MCP
- Agent needs file system β File System MCP
- Agent needs custom integration β Configure custom MCP server
- Context7 (documentation lookup)
- Database connections (PostgreSQL, MongoDB)
- Cloud services (AWS, GCP, Azure)
- Custom APIs (internal tools)
πͺ Hooks
Lifecycle events - Scripts that run at specific points in agent execution. Use when:- Need to log tool calls β PreToolUse hook
- Need to transform outputs β PostToolUse hook
- Need to initialize session β SessionStart hook
- Need to enforce policies β PermissionRequest hook
- Need to track costs β PostToolUse hook (parse metadata)
PreToolUse- Before tool executionPostToolUse- After tool executionUserPromptSubmit- On user inputPermissionRequest- On permission checkSessionStart/SessionEnd- Session lifecycleStop/SubagentStop- CancellationNotification- Status messagesPreCompact- Before conversation compaction
π Sub-agents
Specialized agents - Delegate tasks to expert agents with different configurations. Use when:- Task needs specialized expertise β Code Reviewer sub-agent
- Task needs different model β Haiku for speed, Opus for reasoning
- Task needs isolation β Separate permissions/tools
- Parallel processing β Multiple sub-agents working together
- Code Reviewer (strict code analysis)
- Researcher (web search + summarization)
- Writer (creative content generation)
- Tester (test case generation)
- Coordinator + Specialists - Main agent delegates to experts
- Pipeline - Sequential processing (planner β writer β reviewer)
- Parallel - Multiple sub-agents working simultaneously
Node Library vs. Canvas Nodes
Understanding the difference between library components and canvas instances:Node Library (Workspace-Level)
Location: Settings β Node Managers Purpose: Reusable components shared across all projects Management:- Create once, use everywhere
- Edit in one place, updates available to all projects
- Delete from library β can still exist in project canvases
- Skills (custom tools)
- MCPs (integration configs)
- Hooks (event scripts)
- Commands (slash command templates)
- Sub-agents (agent templates)
- Memory templates
Canvas Nodes (Project-Level)
Location: Project canvas Purpose: Specific instances used in individual projects Behavior:- Copy from library when added to canvas
- Customizable per project (can modify without affecting library)
- Independent - Changes donβt affect library or other projects
- Create skill in Node Library (Settings)
- Drag to canvas from left sidebar
- Configure specific parameters for this project
- Connect to main agent card
- Test agent with this skill instance
Node Categories and Organization
Sidebar Organization
Nodes in the left sidebar are organized by category:Common Patterns
Pattern 1: Basic Agent with File Access
Pattern 2: Agent with Memory
Pattern 3: Multi-Capability Agent
Pattern 4: Multi-Agent System
Pattern 5: Hooked Agent with Logging
Next Steps
Deep dive into specific node types:- π€ Agent Node - Configure main agent (system prompt, model, permissions)
- π οΈ Skills Node - Add custom capabilities and tools
- π§ Memory Node - Persistent knowledge and context
- βοΈ Commands Node - Create slash commands
- π MCPs Node - External integrations
- πͺ Hooks Node - Lifecycle event handlers
- π Sub-agents Node - Specialized agents