docs: add AI skill guide with comprehensive API purpose documentation

- README.md: add summary paragraph covering 92 endpoints, screenshot/camera,
  event daemon, Mod+Python+AI architecture
- skills/oni_agent.md: complete rewrite from 42 to 480 lines:
  - Gameplay overview (survival priorities, world rules)
  - All 92 API endpoints organized in 12 categories
  - Each command annotated with: what player action it maps to,
    what AI uses it for, example output
  - Coordinate positioning methods (4 strategies)
  - Common scenario query paths (suffocating, power, research, pipes)
  - Quick reference for emergency operations
This commit is contained in:
root
2026-05-22 10:02:25 +08:00
parent 48dd1075ed
commit 6a71d42f78
2 changed files with 453 additions and 29 deletions

View File

@ -1,6 +1,6 @@
# ONI Agent — 缺氧 AI 助手工具集
[Oxygen Not Included](https://www.kleientertainment.com/games/oxygen-not-included)(《缺氧》)的 AI Agent 工具集。包含一个游戏内 Mod 作为 HTTP API 服务,以及配套的 Python 工具链,让 AI 能读取游戏状态、分析局势、并执行建造/挖掘等操作
[Oxygen Not Included](https://www.kleientertainment.com/games/oxygen-not-included)(《缺氧》)是一款高难度的太空殖民模拟游戏。**ONI Agent** 为 AI 提供了一套完整的"眼手"系统92 个 RESTful API 端点覆盖了玩家能做的全部操作(建造/挖掘/研究/管线/自动化/生物管理/覆盖层切换等),截图和视角控制让 AI 看到游戏画面,事件守护进程让 AI 实时感知游戏动态。Mod + Python 工具链 + AI 三层架构,让任何支持 Tool Use 的模型都能像人类一样操作游戏
## 整体架构