Skip to content
Back to skills

Flow Network Builder

ASecurity

Model optimization problems as network flow problems

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsgonodebackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill flow-network-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flow Network Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flow Network Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-flow-network-builder-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-flow-network-builder-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flow-network-builder
description: Model optimization problems as network flow problems
allowed-tools:
  - Read
  - Write
  - Grep
  - Glob
graph:
  domains: [domain:computer-science]
  specializations: [specialization:algorithms-optimization]
  skillAreas: [skill-area:graph-algorithms]
  roles: [role:backend-engineer, role:computational-scientist]
---

# Flow Network Builder Skill

## 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

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

## Output Schema

```json
{
  "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"]
}
```

Files in this skill

  • README.md622 B
  • SKILL.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.