Skip to main content

factory-status

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

跳到安装

来源信息

仓库
ForceInjection/domain-driven-design-skills
最近来源活动
2026年5月8日 03:07
检测到的 SKILL.md 语言
英语
星标
25
分支
7

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
factory-status
description
Get comprehensive factory status - research progress, drill status, inventory, production overview. Use when checking progress or deciding what to do next.
allowed-tools
Bash, Read
# Factory Status Check Use this skill to get an overview of your factory state. ## Quick Status ```bash pnpm --prefix /Users/golergka/Projects/factorio-agent factory:status ``` This shows: tech count, current research %, working drills. ## Detailed Status Query ```lua -- 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
在 GitHub 查看