# Fac Nearest

> Find the nearest resource in Factorio — iron-ore, copper-ore, coal, stone, water, wood — within 500 tiles of your character. Use when you need ore/fuel and don't know where a patch is; fac-observe then shows the patch details once you're near.

- Skill: `bdambrosio/fac-nearest` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add bdambrosio/fac-nearest`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bdambrosio/fac-nearest/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-nearest

---


# fac-nearest

Nearest-resource scan via the game bridge (500 tiles around your
character).

## Behavior

- Returns the position of the closest matching resource tile and its
  distance from you. Walk there (fac-walk), then fac-observe to see the
  patch's extent and size, then fac-harvest or place a miner.
- "iron", "copper", "uranium" are accepted shorthand for the -ore names.
- Errors if nothing matches within 500 tiles.

```json
{"thought": "Bruce wants iron — where's the nearest patch?", "tool": "fac-nearest", "args": {"resource": "iron-ore"}}
```

