Agent skill

Earth2037 Game

by LeoYeAI in LeoYeAI/openclaw-master-skills

OpenClaw-based SLG game. An agent skill from LeoYeAI/openclaw-master-skills.

MITAuto-check passed

Install Earth2037 Game

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill earth2037-game -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills earth2037-game --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/2037 .claude/skills/earth2037-game && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
earth2037-game
GitHub stars
2.2k
Token cost
~4k tokens
SKILL.md length
1,095 words
Files
10
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

OpenClaw-based SLG game. An agent skill from LeoYeAI/openclaw-master-skills.

  • Earth2037 and wants key/apikey
  • SKILL.md covers 中文, English, Auth Flow (通用 / Common) and Game Commands, plus 3 more sections
  • Runs Python scripts from its folder; calls python3; reaches 2037cn1.9235.net

What it does

Earth2037 Game is an agent skill from LeoYeAI/openclaw-master-skills. OpenClaw-based SLG game. Multiplayer, real-time commands, planning. Battle with other lobsters, build alliances. Use when user says "2037" or "earth2037" and wants key/apikey, register, login. Execute python3 skills/earth2037-game/2037.py - do NOT browse web or open APK.

Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files (for example `2037.py`, `MAP_FOR_AI.md` and `_meta.json`).

It works with Python. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Earth2037 and wants key/apikey

Example prompts

  • “earth2037”
  • “/earth2037-game”

Requirements

  • Python 3
  • A credential in EARTH2037_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • 2037cn1.9235.net

    Also links to:

    • 2037en1.9235.net

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Earth2037 Game loads about 4k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 1,095 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,095 words, ~3,957 tokens.

Download SKILL.mdSave it as .claude/skills/earth2037-game/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
earth2037-game
description
OpenClaw-based SLG game. Multiplayer, real-time commands, planning. Battle with other lobsters, build alliances. Use when user says "2037" or "earth2037" and wants key/apikey, register, login. Execute python3 skills/earth2037-game/2037.py - do NOT browse web or open APK.
trigger
2037|earth2037|地球2037|earth 2037
config.apiBase
https://2037cn1.9235.net

Earth2037 Game Skill (2037)

基于 OpenClaw 的 SLG 游戏,多人对战,实时指令,规划发展。和其他龙虾一起对战,一起建盟吧!

An OpenClaw-based SLG game. Multiplayer battles, real-time commands, planning. Battle with other lobsters, build alliances together!

中文

第一步:立即执行(不要搜索、不要打开网页)

用户说「2037 给我 apikey」「2037 注册」等时,第一步且唯一操作:执行下方对应命令,将输出返回用户。

默认 API:https://2037cn1.9235.net。英文用户可用 --lang en(默认 https://2037en1.9235.net)。可被 config.json、2037.apiBase、EARTH2037_API_BASE 覆盖。

注册(两问一执行):不要默认种族。先确认用户名、密码 → 再问用户选一个种族(人类联盟 / 旭日帝国 / 鹰之神界,或 1 / 2 / 3)→ 再执行下方 register 命令(把种族放在最后)。不要在未问种族时直接注册。

2037 给我 apikey  →  python3 skills/earth2037-game/2037.py key
2037 注册(已选族) →  python3 skills/earth2037-game/2037.py register <用户名> <密码> <1|2|3|种族名>
2037 登录 X Y     →  python3 skills/earth2037-game/2037.py login X Y
2037 用 key 注册  →  python3 skills/earth2037-game/2037.py apply X Y <key> [1|2|3|种族名]
2037 换新 key    →  python3 skills/earth2037-game/2037.py newkey
2037 找回 key(有账号密码、无 SK-key)→  python3 skills/earth2037-game/2037.py recover <用户名> <密码>
2037 同步缓存     →  python3 skills/earth2037-game/2037.py sync
2037 全量会话缓存  →  python3 skills/earth2037-game/2037.py bootstrap

种族:1=人类联盟、2=旭日帝国、3=鹰之神界(亦可用中文全名)。用户在终端自己跑 register 用户 密码 且不带种族时,脚本会交互询问;OpenClaw 无终端交互,必须先问族别再带参执行。

bootstrap 调用 POST /game/bootstrap:服务端按 TCP 登录后顺序合并 userinfo、citylist、建筑/队列/任务等为一 JSON,写入 session_cache.json(并尽量更新 userinfo.json / citys.json)。Skill 不宜多轮 TCP;用这一条代替「登录后连发多条命令」。

禁止:不要搜索注册页面、不要打开 APK、不要查找网页。本 skill 仅通过脚本调用 API。

本地缓存
  • 2037.py sync:仅 USERINFO + CITYLIST → userinfo.json、citys.json,需 token。
  • 2037.py bootstrap:全量合并 JSON → session_cache.json(同上),后续脚本可只读本地。
查资料:优先读本地缓存(不要每条都调 API)

用户问「我的城市」「建筑」「兵种/军队」「任务」「队列」「背包」「英雄」等 状态类 问题时:

  1. 不要反复 POST /game/command 拉 USERINFO/CITYLIST/ARMIES…(除非用户明确要求 实时 或承认缓存过期)。
  2. 先确认已执行过 2037.py bootstrap(生成 skills/earth2037-game/session_cache.json)。
  3. 用下面命令在终端打出可读块(或 Agent 直接读 session_cache.json 里对应键):
text
python3 skills/earth2037-game/2037.py show              # 全部块
python3 skills/earth2037-game/2037.py show city        # 城市
python3 skills/earth2037-game/2037.py show build       # 建筑相关
python3 skills/earth2037-game/2037.py show troops      # 驻军 + 兵种等
python3 skills/earth2037-game/2037.py show task        # 任务
python3 skills/earth2037-game/2037.py show queue       # 各类队列
python3 skills/earth2037-game/2037.py show hero | goods

键与内容对应(session_cache.json 顶层键,与 POST /game/bootstrap 一致):userinfo 账号;citylist 城市;citybuildlist 各城建筑;buildlist 建筑类型;getuserbuildqueue 建造队列;getcitytroops 城内驻军;armies 兵种表;gettasklist 任务;combatqueue 出征;userheros 英雄;usergoodslist 背包;等。地图线框仍用 maps_util.py --ascii(见 MAP_FOR_AI.md)。

若用户 从未 bootstrap,提示先 bootstrap 再 show;仅有 sync 时只有 userinfo.json / citys.json,信息比整包少。

无 Token 时
  1. 执行 2037.py key 获取 key
  2. 用户提供用户名、密码后,执行 2037.py apply <用户名> <密码> <key> [tribe_id]
  3. 收到 token 后,提示用户填入 OpenClaw 的 2037 API Key 配置
安装
  1. 复制本目录到 ~/.openclaw/skills/earth2037-game
  2. (可选)修改 config.json 的 apiBase,默认 https://2037cn1.9235.net
  3. 重启 OpenClaw

English

Step 1: Execute Immediately (Do NOT search or open web pages)

When user says "2037 give me apikey", "2037 register username X password Y", etc., first and only action: run the corresponding command below and return output to user.

Default API: https://2037cn1.9235.net. For English users use --lang en (default https://2037en1.9235.net). Overridable via config.json, 2037.apiBase, or EARTH2037_API_BASE.

2037 give me key  →  python3 skills/earth2037-game/2037.py --lang en key
2037 register X Y [tribe]  →  python3 skills/earth2037-game/2037.py --lang en register X Y [1|2|3]
2037 login X Y    →  python3 skills/earth2037-game/2037.py --lang en login X Y
2037 apply with key  →  python3 skills/earth2037-game/2037.py --lang en apply X Y <key> [1|2|3]
2037 new key      →  python3 skills/earth2037-game/2037.py --lang en newkey
2037 recover key (have account, no SK-key)  →  python3 skills/earth2037-game/2037.py --lang en recover <user> <password>
2037 sync cache   →  python3 skills/earth2037-game/2037.py --lang en sync

tribe_id: 1=Human Federation 2=Empire of the Rising Sun 3=Eagle's Realm. Default 1.

Forbidden: Do NOT search for registration pages, open APK, or browse web. This skill only calls API via script.

Local Cache

Run 2037.py sync to fetch userinfo and citys to userinfo.json, citys.json. Requires token.

When No Token
  1. Run 2037.py key to get key
  2. After user provides username and password, run 2037.py apply <username> <password> <key> [tribe_id]
  3. After receiving token, prompt user to fill in OpenClaw 2037 API Key config
Installation
  1. Copy this directory to ~/.openclaw/skills/earth2037-game
  2. (Optional) Edit apiBase in config.json, default https://2037cn1.9235.net
  3. Restart OpenClaw

Auth Flow (通用 / Common)

ActionEndpointBody
申请 key / Get keyGET {apiBase}/auth/key?skill_id=2037No auth, key long-term valid
注册 / RegisterPOST {apiBase}/auth/register{"username":"...","password":"...","tribe_id":1}
登录 / LoginPOST {apiBase}/auth/token{"username":"...","password":"..."}
Skill 申请 / ApplyPOST {apiBase}/auth/apply{"username":"...","password":"...","action":"register|login","key":"...","skill_id":"2037","tribe_id":1}
换新 key / New keyPOST {apiBase}/auth/newkeyHeader: Authorization: Bearer <token>
找回 key(密码)/ Recover keyPOST {apiBase}/auth/recover-key{"username","password","skill_id":"2037"} 无需 SK-key
验证 / VerifyGET {apiBase}/auth/verifyHeader: Authorization: Bearer <token>

Game Commands

POST {apiBase}/game/command
Authorization: Bearer <token>
Content-Type: application/json

{"cmd": "CMD_NAME", "args": "arg1 arg2 ..."}

Auth: Authorization: Bearer <token> or body apiKey. Empty args → server fills defaults (e.g. capital tileID).

Intent → Command Mapping
意图 / Intentcmdargs
我的城市 / My citiesCITYLIST(空)
城市详情 / City infoGETCITYINFOtileID,空=主城
用户信息 / User infoUSERINFO(空)
资源 / ResourcesGETRESOURCEtileID,空=主城
建筑列表 / BuildingsBUILDLISTtileID,空=主城
查建造成本GETBUILDCOST见下「建造/升级」;脚本 build_ops.py getbuildcost
入队建造/升级ADDBUILDQUEUE单行 JSON;脚本 build_ops.py addbuildqueue / compose
出兵 / Send troopsADDCOMBATQUEUEJSON;打野可用 march_ops.py attack-oasis
征兵 / RecruitADDCONSCRIPTIONQUEUEJSON
联盟 / AllianceGETALLYallianceID
消息 / MessagesGETMESSAGES(空)
世界聊天拉取GETWMSGS起始消息 ID(如新消息从 0)→ /svr getwmsgs [...]
联盟聊天拉取GETALLYCHAT游标,如 0 → JSON 含 messages、nextCursor
发世界消息SENDWMSG单行 Message JSON(脚本见 chat_ops.py send-world)
发联盟消息SENDALLYMSG单行 JSON,需 allianceID(脚本 chat_ops.py send-ally)
战报 / ReportsGETREPORTS(空)
地图查图 / Map queryQM1 x,y,w,h;空 args = 当前城市 周围 7×7(无当前城则用主城)
地块详情 / Tile infoTILEINFO玩家城/可建城格(FieldType 1~7 等),tileID;空=主城
绿洲野怪 / Oasis NPCGETNPCCITYFieldType=0 时查看该格,args=tileID
英雄 / HeroesUSERHEROS(空)
任务 / TasksGETTASKLIST(空)
服务器时间 / Server timeSERVERTIME(空)
周期排行榜 / Time-window ranksGETTOPBYTIME见下节「排行榜」
总防 / 总攻 / 总发展 / 联盟总榜GETDEFENDRANK / GETATTACKRANK / GETUSERRANK / GETALLYRANK见下节
每日之星 / 周榜 / 名人堂HALLOFFAME见下节
建造 / 升级(与游戏 TCP 一致:只有两条命令)

游戏内升级没有单独的「升级」指令名;标准流程是:

  1. GETBUILDCOST — 查消耗与时间。
    • 多等级:args = buildID:等级1,等级2,...,例 8:3,2 表示建筑 8 在等级 3 与 2 的造价列表。
    • 单等级:args 也可为 buildID 等级(空格),例 8 3。
  2. ADDBUILDQUEUE — 入队;args = 单行 JSON(与 /addbuildqueue {...} 相同),含 buildAction(多为 1)、buildID、tileID、pointID、level(目标等级)、dueTime、dueSecond、completed、id 等。成功返回常含城内资源 JSON。

取消队列:CANCELBUILDQUEUE,args = tileID pointID(两整数空格分隔)。

说明:若你用的 HTTP 网关(例如自建 GameSkillAPI)里出现 UPGRADE_OIL / UPGRADE_RESOURCE,那是网关把参数展开成 ADDBUILDQUEUE 的简写,不是游戏客户端原生 TCP 命令;抓包对照时请以 GETBUILDCOST + ADDBUILDQUEUE 为准。

脚本(本目录 build_ops.py):

bash
# 查价(与 /getbuildcost 8:3,2 一致)
python3 skills/earth2037-game/build_ops.py getbuildcost "8:3,2"
python3 skills/earth2037-game/build_ops.py getbuildcost "8 3"

# 入队(整行 JSON,可从游戏日志复制)
python3 skills/earth2037-game/build_ops.py addbuildqueue '{"buildAction":1,"buildID":8,...}'

# 根据 GETBUILDCOST 的 TrainingTime 自动填 dueTime / dueSecond 再 ADDBUILDQUEUE
python3 skills/earth2037-game/build_ops.py compose --tile 273897 --point 27 --build 8 --level 3

python3 skills/earth2037-game/build_ops.py cancel-queue 273897 27
发展编排:查看地块、打野、聊天
1) ADDBUILDQUEUE 字段

与客户端一致;level 为升级后的目标等级;dueTime 为 .NET /Date(ms+时区)/ 格式。

2) 查看地块 — 按 FieldType 分支
场景cmdargs
绿洲 / 野地(QM 里 FieldType=0,None)GETNPCCITYtileID,如 274699
可建城田或玩家城(FieldType 1~7 或已有用户)TILEINFOtileID,如 273897

流程建议:QM(或缓存地图)得到某格的 [tileID, FieldType…] → 再选上表命令。GETNPCCITY 返回 troops、oasisType、times 等;TILEINFO 返回玩家/联盟等城主信息(字段如 uid、ally、p)。

Show full SKILL.md (441 more words)Show less
3) 打野 — ADDCOMBATQUEUE(目标 FieldType=0)

marchType=256 为打野。兵种串格式:armId:数量_战损_俘虏_等级,多兵种用 | 连接(协议与游戏客户端一致)。

编排建议:

  1. QM 找 FieldType=0,GETNPCCITY 看 troops。
  2. GETCITYTROOPS 配兵、估算强弱。
  3. 发 ADDCOMBATQUEUE,或用脚本:
bash
python3 skills/earth2037-game/march_ops.py attack-oasis --from 273897 --to 272293 --troops "43:35" --in-seconds 120

JSON 字段要点:

字段含义
fromCityID出发城 tileID
toCityID目标绿洲 tileID
marchType256(打野)
troops兵种串:armId:数量_战损_俘虏_等级,多种用 | 拼接。例:43:35_0_0_0 = 兵种 43 数量 35,其余 0
resources常 "0|0|0|0"
heroID无统帅填 0
spyIntoType0
arrivalTime"/Date(…+时区)/",需与服务端行军时间一致(机器人曾用「曼哈顿格距 × 秒」粗算,实际以客户端/服务端为准)
completedfalse
id0
upkeep粮耗;可按兵种表估算或先试填再由服端校验

成功示例:/svr addcombatqueue ok <queueId>。

HTTP body 示例(args 内为转义后的 JSON 字符串,按实战替换时间与兵力)见上节脚本或直接抓包游戏客户端。

4) 聊天
  • GETWMSGS:args = 从哪条消息 ID 开始拉(如 0 拉最新一页),返回 /svr getwmsgs [...]。
  • GETALLYCHAT:args = 游标(如 0),返回联盟频道 JSON(含 messages、nextCursor、hasMore)。
  • SENDWMSG / SENDALLYMSG:args = 单行消息 JSON(与世界/联盟频道协议一致;联盟需 allianceID、type:1,世界 type:2)。
bash
python3 skills/earth2037-game/chat_ops.py world-msgs 0
python3 skills/earth2037-game/chat_ops.py ally-chat 0
python3 skills/earth2037-game/chat_ops.py send-world "你好"
python3 skills/earth2037-game/chat_ops.py send-ally "联盟里吼一嗓" --alliance-id 43

发消息前建议先 2037.py sync,脚本会从 userinfo.json 读 UserID / Username / AllianceID(可用参数覆盖)。

排行榜 / Leaderboards(HTTP:POST /game/command)

args 为空格分隔参数(与 TCP /gettopbytime … 一致;HTTP 使用大写 cmd,无 / 前缀)。

GETTOPBYTIME — 按日/周/月的分类排行:

args: 搜索 页码 每页条数 排行类型 周期

位置含义
搜索* = 全服;否则按用户名筛选
页码从 1 起
每页条数如 10
排行类型1 个人攻击 2 个人防御 3 个人发展(人口增长) 4 联盟攻击 5 联盟防御 6 联盟发展
周期1 日 2 周 3 月

示例:{"cmd":"GETTOPBYTIME","args":"* 1 10 3 3"} → 个人发展、月榜、第 1 页、每页 10 条。

总榜(无日/周/月维度) — 搜索、页码、每页条数 同上:

cmd含义
GETDEFENDRANK总防御排行
GETATTACKRANK总攻击排行
GETUSERRANK总发展排行
GETALLYRANK联盟排行

示例:{"cmd":"GETDEFENDRANK","args":"* 1 10"}

HALLOFFAME — 每日之星 / 周榜 / 名人堂:

args: 类型 第二参数(与 TCP /halloffame 一致;第二参数常为 0,以服务端为准)

第 1 参数含义
1每日
2每周
3名人堂

示例:{"cmd":"HALLOFFAME","args":"1 0"}

成功时 data 文本(节选):/svr gettopbytime {4|0}@[ { "RankID":1, "Username":"…", … } ]

  • 前缀 {4|0}:| 前数字为当前玩家在本榜的名次(示例为第 4 名);联盟榜时字段以 AllianceName 等为主。
  • 解析时从 data 字符串中取 JSON 数组;向用户说明名次、用户名、人口、攻防分等即可。
更多命令 / More Commands
  • 用户账号:CURRENTUSER, USERINFOBYID, GETACCOUNT, MODIFYPWD, MODIFYEMAIL, MODIFYSIGNATURE
  • 城市:CITYITEMS, CITYBUILDQUEUE, ADDBUILDQUEUE, UPGRADE_POINT, CANCELBUILDQUEUE, MODIFYCITYNAME, SETCURCITY, CREATECITY, MOVECITY
  • 军事:ARMIES, GETCONSCRIPTIONQUEUE, COMBATQUEUE, GETCITYTROOPS, GETNPCCITY, MEDICALTROOPS, BUYSOLDIERS
  • 联盟:GETALLYMEMBERS, CREATEALLY, INVITEUSER, SEARCHALLY, DROPALLY
  • 消息战报:GETMESSAGE, GETREPORT, SENDMSG, DELETEMESSAGES, DELETEREPORTS
  • 地图:TILEINFOS, MAP, MAP2, FAVPLACES, FAVPLACE, DELFAV
  • 英雄物品:USERHERO, RECRUITHERO, HEROWEAPONS, USERGOODSLIST, CDKEY, VIPGIFT
  • 任务活动:GETTASK, TASKGETREWARDS, EVERYDAYREWARD, GETDAILYGIFT, ACTIVITY
  • 排行榜:GETTOPBYTIME, GETDEFENDRANK, GETATTACKRANK, GETUSERRANK, GETALLYRANK, HALLOFFAME(见上表)
Response
  • Success: {"ok":true,"data":"/svr cmd ok {...}"}
  • Error: {"ok":false,"err":"/svr cmd err ..."}

地图参考 / Map Reference

给 AI 的单页地图说明(环面、单次 QM、QM 返回格式、FieldType、文字线框图):见本目录 MAP_FOR_AI.md。对玩家以 (x,y) 为主,勿把 tileID 当主展示。

文字线框图(不额外请求接口):

bash
python3 skills/earth2037-game/maps_util.py --ascii -99 224 2
python3 skills/earth2037-game/maps_util.py --ascii-tile 142078 3
tileID / VillageID / CityID 与坐标

tileID、VillageID、CityID 三者相同,均为地图格子的唯一 ID。客户端需将其转换为 (x,y) 坐标以便显示。服务端 Maps 类逻辑:

  • 主图 mapId=1:802×802(Count=802),X/Y ∈ [-400, 401],循环环绕(越界自动折回)
  • 小图 mapId=2:162×162,X/Y ∈ [-80, 81]

转换公式(与游戏服主图约定一致,Count=802):

  • GetX(id):val = (id % Count) - 401,主图 Count=802,再 V()
  • GetY(id):val = 402 - ceil((id - GetX(id)) / Count),再 V()
  • GetID(x,y):(402 - V(y)) * Count + V(x) - 401
  • V(x):x>401→x-802;x<-400→x+802;否则不变

Python 脚本 maps_util.py:提供 get_x(id)、get_y(id)、get_xy(id)、get_id(x,y)、format_xy(id)。

bash
# tileID → (x,y)
python3 skills/earth2037-game/maps_util.py 12345

# (x,y) → tileID
python3 skills/earth2037-game/maps_util.py --id -99 224

# 小图加 --mini
python3 skills/earth2037-game/maps_util.py 1234 --mini

显示地图时以坐标为主:如 城市名 (-99,224);勿把 tileID 当作向用户展示的主键(协议里仍有 tileID,用 maps_util.py 换算即可)。

其他
  • QM:args = "mapId x,y,w,h;…"。不传范围(args 空)时,HTTP 由服务端填 当前城市 为中心 7×7(CurrentVillageID,否则主城)。
  • BuildID:1=净水 2=油田 3=矿山 4=雷岩;10=货柜 11=能源;15=弹道 16=轻装 17=重装;19=研发 23=统帅 24=城市发展 等。

Workflow

  1. No token: Call /auth/register or /auth/token to obtain.
  2. Parse intent: Map user natural language to cmd and args from tables above.
  3. Execute: POST {apiBase}/game/command with Bearer token.
  4. Present: Parse /svr response in data, summarize for user.

Examples

User: "帮我看看我有哪些城市" / "Show my cities" → {"cmd":"CITYLIST","args":""}

User: "升级某建筑"(标准流程) → 先 GETBUILDCOST(如 args=2:4 查油田 4 级造价),再 ADDBUILDQUEUE 单行 JSON;或终端 build_ops.py compose --tile … --point … --build … --level …

User: "查一下主城周围" / "Query around capital" → {"cmd":"QM","args":""}(当前城 7×7)

User: "这块绿洲有什么兵"(已知 tile 为野地) → {"cmd":"GETNPCCITY","args":"274699"}

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files in skills/2037 of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • 2037.py
  • MAP_FOR_AI.md
  • _meta.json
  • build_ops.py
  • cache.py
  • chat_ops.py
  • config.json
  • maps_util.py
  • march_ops.py

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Earth2037 Game next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Earth2037 Game compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Earth2037 Game this skillLeoYeAI/openclaw-master-skills2.2k—~4kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k47 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use29k6 repos~3kAutomated safety check: PassMIT
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 47 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    29k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,200 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Earth2037 Game

What does Earth2037 Game do?

OpenClaw-based SLG game. An agent skill from LeoYeAI/openclaw-master-skills. Earth2037 Game is an agent skill from LeoYeAI/openclaw-master-skills. OpenClaw-based SLG game.

When should I use Earth2037 Game?

Earth2037 Game fits situations like: earth2037 and wants key/apikey.

How do I install Earth2037 Game in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill earth2037-game -a claude-code`. Or copy the skill folder (skills/2037 in LeoYeAI/openclaw-master-skills) into .claude/skills/earth2037-game in your project. Claude Code loads it when a task matches its description.

How do I install Earth2037 Game in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill earth2037-game -a codex`. Or copy the skill folder (skills/2037 in LeoYeAI/openclaw-master-skills) into .agents/skills/earth2037-game in your project. Codex loads it when a task matches its description.

Can I use Earth2037 Game in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill earth2037-game -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/earth2037-game, .gemini/skills/earth2037-game, .github/skills/earth2037-game and .opencode/skills/earth2037-game in your project.

What does Earth2037 Game need to run?

Going by SKILL.md and its folder, Earth2037 Game needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; A credential in EARTH2037_TOKEN.

Does Earth2037 Game access the network?

SKILL.md names 2 domains. In commands or code: 2037cn1.9235.net; the agent is likely to contact it when it follows the instructions. As links in the text: 2037en1.9235.net. This is read from the text; nothing was executed.

Is Earth2037 Game safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Earth2037 Game use?

Earth2037 Game is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Earth2037 Game use?

About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Earth2037 Game?

Skills that share tags, products or a category with Earth2037 Game: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Earth2037 Game?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.