Agent skill
diagnose-drills
Diagnose drill problems - fuel shortages, blocked outputs, depleted resources. Use when drills aren't working or showing 0/X working status.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/diagnose-drills
SKILL.md
Diagnose and Fix Drills
Use this skill when drills are not working properly.
Quick Diagnostic
Run the diagnostic script:
pnpm --prefix /Users/golergka/Projects/factorio-agent eval:file /Users/golergka/Projects/factorio-agent/agent-workspace/lua/diagnose-and-fix-drills.lua
What the Diagnostic Checks
- status=1: Working normally
- status=21: Waiting for target (not on resource)
- status=34: No minable resources OR output full
- status=53: No fuel - needs coal!
- status=54: No power (shouldn't happen with burner drills)
Common Fixes
- No fuel (status 53): Walk to drill and add coal using safe_insert
- Output full (status 34): Clear output inventory with safe_take
- No resources: Drill is depleted, needs to be moved
Manual Fix Example
dofile("/Users/golergka/Projects/factorio-agent/agent-workspace/lua/safe-interact.lua")
local drill, msg = find_nearest("burner-mining-drill", 100)
rcon.print(msg)
if drill then
local result, err = safe_insert(drill, {name="coal", count=10})
if result then
rcon.print("Added fuel!")
else
rcon.print("Need to walk closer: " .. err)
end
end
Remember: If distance check fails, you must WALK to the drill first!
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?