OpenParable
Skip to content
← Back to skills

Factory Status

Productivity
factory-status

Factory Status is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Get comprehensive factory status - research progress, drill status, inventory, production overview. Use when checking progress or deciding what to do next.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/product/factory-status/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/factory-status, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Factory Status Check

Use this skill to get an overview of your factory state.

Quick Status

pnpm --prefix /Users/golergka/Projects/factorio-agent factory:status

This shows: tech count, current research %, working drills.

Detailed Status Query

-- Get comprehensive status
local status = {}

-- Research
local research = force.current_research
status.research = research and research.name or "none"
status.research_progress = research and string.format("%.0f%%", force.research_progress * 100) or "N/A"
status.techs_researched = 0
for _, t in pairs(force.technologies) do
    if t.researched then status.techs_researched = status.techs_researched + 1 end
end

-- Buildings
local drills = surface.find_entities_filtered{force=force, name='burner-mining-drill'}
status.total_drills = #drills
status.working_drills = 0
for _, d in ipairs(drills) do
    if d.status == 1 then status.working_drills = status.working_drills + 1 end
end

local furnaces = surface.find_entities_filtered{force=force, name='stone-furnace'}
status.furnaces = #furnaces

-- Inventory highlights
status.coal = player.get_item_count('coal')
status.iron_plates = player.get_item_count('iron-plate')
status.copper_plates = player.get_item_count('copper-plate')
status.iron_ore = player.get_item_count('iron-ore')

rcon.print(serpent.line(status))

Key Metrics to Watch

  1. Working drills: Should be close to total drills
  2. Coal inventory: If low, prioritize coal mining
  3. Research progress: Keep research running
  4. Iron/copper plates: Base resources for crafting