sync-game-assets
Sync new/changed game image assets from Android device to S3 CDN. Use after a game version update when new images may have been added.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync new/changed game image assets from Android device to S3 CDN. Use after a game version update when new images may have been added.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update game data when a new Legends of Idleon version is released. Extracts game code from Steam, processes it through WikiBot, and syncs updated data back.
Guide for live game extraction testing, writing domain tests, and validating calculations
Understanding data flow, domain patterns, cross-domain dependencies, and architectural constraints
Step-by-step guide for implementing new game features and domain logic
| name | sync-game-assets |
| description | Sync new/changed game image assets from Android device to S3 CDN. Use after a game version update when new images may have been added. |
| disable-model-invocation | true |
| user-invocable | true |
Syncs new/changed image assets from the Legends of Idleon Android APK to the S3 CDN. This requires the user's Android device and interactive input at several steps.
Ask the user to confirm they have updated Legends of Idleon to the latest version on their Android device and that wireless debugging is enabled.
Ask the user for the pairing IP:port and code from their Android device's wireless debugging screen.
adb pair <ip>:<pairing_port> <pairing_code>
Then ask for the connection IP:port (this is different from the pairing port - it's shown on the main wireless debugging screen):
adb connect <ip>:<connect_port>
Verify connection:
adb devices
If connection fails, troubleshoot:
After connecting, adb devices may show two entries for the same device (one IP-based, one mDNS-based). If so, use -s <ip>:<connect_port> on all subsequent adb commands to avoid the "more than one device/emulator" error.
adb shell pm path com.lavaflame.MMO
This returns one or more lines like package:/data/app/.../base.apk. The base APK path is what we need.
adb pull <path_from_step_3> /home/sludge/Development/idleon-efficiency/game.apk
cd /home/sludge/Development/idleon-efficiency
rm -rf apk
mkdir -p apk
cd apk && unzip ../game.apk
Verify: apk/assets/assets/data/ should contain many .png files.
Clean up the apk file:
rm /home/sludge/Development/idleon-efficiency/game.apk
cd /home/sludge/Development/idleon-efficiency/data
node image-manipulator.js
This compares images from apk/assets/assets/data/ against data/icons/assets/data/ and:
Report the output to the user - if no new/changed images are found, the remaining steps can be skipped.
Tell the user to run the login command. This opens a browser for SSO authentication:
aws sso login --profile idleon
Ask the user to confirm when login is complete.
cd /home/sludge/Development/idleon-efficiency/data/icons/assets/data
aws --profile idleon s3 sync . s3://idleon-efficiency-images/images/ --acl bucket-owner-full-control --cache-control max-age=2592000,public --expires 2044-01-01T00:00:00Z --content-type image/png
rm -rf /home/sludge/Development/idleon-efficiency/apk
Report to the user: