Flow Network Builder Skill

SkillAI & models

Model optimization problems as network flow problems

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Flow Network Builder Skill skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/algorithms-optimization/skills/flow-network-builder/SKILL.md and read by ahel’s review.

Purpose

Model optimization problems as network flow problems, constructing appropriate flow networks and selecting optimal algorithms.

Capabilities

  • Identify max-flow/min-cut modeling opportunities
  • Construct flow network from problem description
  • Select optimal flow algorithm
  • Handle min-cost flow variants
  • Bipartite matching reduction
  • Circulation problems

Target Processes

  • advanced-graph-algorithms
  • graph-modeling
  • optimization problems

Flow Problem Types

  1. Maximum Flow: Find max flow from source to sink
  2. Minimum Cut: Partition minimizing cut capacity
  3. Bipartite Matching: Maximum matching via flow
  4. Min-Cost Max-Flow: Cheapest maximum flow
  5. Circulation: Flow with lower bounds

Reduction Patterns

  • Assignment problems -> Bipartite matching
  • Scheduling -> Flow with constraints
  • Path cover -> Flow reduction
  • Edge-disjoint paths -> Unit capacity flow

Input Schema

{
  "type": "object",
  "properties": {
    "problemDescription": { "type": "string" },
    "problemType": {
      "type": "string",
      "enum": ["maxFlow", "minCut", "matching", "minCostFlow", "circulation"]
    },
    "constraints": { "type": "object" }
  },
  "required": ["problemDescription"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "networkDescription": { "type": "string" },
    "nodes": { "type": "array" },
    "edges": { "type": "array" },
    "source": { "type": "string" },
    "sink": { "type": "string" },
    "algorithm": { "type": "string" },
    "reduction": { "type": "string" }
  },
  "required": ["success"]
}

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
flow-network-builder
Source
github.com/a5c-ai/babysitter