# Fac Connect

> Build a validated run of transport-belt, pipe, or electric poles between two Factorio positions — the construction macro. Pathfinds around obstacles and places every segment. Use dry_run first to check feasibility and cost.

- Skill: `bdambrosio/fac-connect` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add bdambrosio/fac-connect`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bdambrosio/fac-connect/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bdambrosio (https://skillmd.com/u/bdambrosio)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/bdambrosio/fac-connect

---


# fac-connect

The transactional construction macro (cribbed from FLE's
connect_entities): one call builds the whole run or fails as a unit.

## Behavior

- `dry_run: true` reports feasibility and how many segments the run
  needs — your "check my plan" affordance. Use it before committing.
- The real run consumes segments from your inventory (fac-inventory).
- Positions are ground positions. Belts do not connect INTO machines —
  furnaces and chests need an inserter between belt and machine
  (fac-place a burner-inserter).
- Failure carries the standard deviation report (world_changed /
  stale_model / infeasible).

```json
{"thought": "check the belt run cost first", "tool": "fac-connect", "args": {"from_x": 48, "from_y": 66, "to_x": 60, "to_y": 66, "dry_run": true}}
```

