agentsclimarketplace

Langgraph subgraph

Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/langgraph-subgraph

Subgraph composition and modular workflow design for LangGraphFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill langgraph-subgraph

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.5 KB, 202 tokens by cl100k_base, as published. Nobody here has run it

LangGraph Subgraph Skill

Capabilities

  • Design modular subgraph components
  • Compose subgraphs into parent workflows
  • Handle state mapping between graphs
  • Implement subgraph reusability patterns
  • Design subgraph interfaces and contracts
  • Handle subgraph error isolation

Target Processes

  • multi-agent-system
  • langgraph-workflow-design

Implementation Details

Subgraph Patterns

  1. Compiled Subgraphs: Pre-compiled reusable components
  2. State Mapping: Input/output state transformation
  3. Nested Subgraphs: Multi-level graph composition
  4. Parallel Subgraphs: Concurrent subgraph execution

Configuration Options

  • State schema alignment
  • Input/output key mapping
  • Error propagation settings
  • Subgraph checkpoint inheritance
  • Timeout configurations

Best Practices

  • Clear subgraph interfaces
  • Minimal state coupling
  • Proper error boundaries
  • Reusable component design
  • Documentation for subgraph contracts

Dependencies

  • langgraph

What ships with it: 1 file

572 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.