🎮 AI agent skill that revives shut-down mobile games as fully offline memorial builds — plus a zero-token pipeline that rescues lost game data from screenshots & screen recordings. 停服手游离线化 · 录屏抽帧OCR
# Add to your Claude Code skills
git clone https://github.com/Cynthia-wlan9509/offline-game-revivalGuides for using ai agents skills like offline-game-revival.
offline-game-revival is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Cynthia-wlan9509. 🎮 AI agent skill that revives shut-down mobile games as fully offline memorial builds — plus a zero-token pipeline that rescues lost game data from screenshots & screen recordings. 停服手游离线化 · 录屏抽帧OCR. It has 131 GitHub stars.
offline-game-revival's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Cynthia-wlan9509/offline-game-revival" and add it to your Claude Code skills directory (see the Installation section above).
offline-game-revival is primarily written in Python. It is open-source under Cynthia-wlan9509 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh offline-game-revival against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
When the servers die, the game shouldn't.
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Português · Français · Deutsch · Русский · Tiếng Việt · Bahasa Indonesia
Every year, hundreds of mobile games shut down. The APK still sits on players' phones — but without the server it can't log in, can't load a save, can't do anything. Years of stories, characters and memories become unreachable.
Offline Game Revival is a battle-tested playbook packaged as an Agent Skill. Point your coding agent (Claude Code and other agents that read SKILL.md) at a dead game's APK, and it knows how to turn it into a standalone memorial edition: install the APK, play the whole game, no network, no root, no PC, no runtime injection.
Everything here is something I figured out on my own. I started out knowing nothing about game development and have never read a single tutorial; from day one I was just making wishes to AI (Claude, DeepSeek, GPT-6 Astra) and sending the work back whenever it wasn't what I wanted. So if parts of this overlap with or differ from what others say, that's perfectly normal. The judgment calls, the workflow and the pitfalls here all come from my own trial and error on multiple real games.
So far: 16 shut-down games across Unity + Lua, Unity Mono / SLua, Unity IL2CPP, HybridCLR, LayaAir, Cocos (JS / Lua / LuaJIT), Unity WebGL / H5 and native Kotlin + Live2D — story and dating games, card battlers, a xianxia game, an AI character-chat game and more. The full list is under Proven on real games.
| 🩺 Can it be saved? | Before any patch, answer three questions within half a day: are the game's rules on the phone, is the game itself inside the APK, and how much server-side data can be recovered. Story, idle and card games usually can be saved; games whose battles are computed on the server, or that download the game itself after first launch, usually can't. |
| 🔍 Recon | Unpack the APK, find the real logic layer (Lua / JS / C# transpiled), identify encryption and resource-integrity checks. |
| ⚡ Faster triage & tougher recon (new) | Answer "can it be saved?" fast: install the original APK on a rooted emulator, cut the network and cold-start. If the full login screen renders, the game and its assets are there and only the login layer is in the way. For asset bundles where only one stretch is encrypted, pin down the exact encrypted window block by block. Mini-games whose rules live entirely in the client run headless on a PC, so every level can be checked at once. See recon.md and playtest.md. |
| 🧩 Anchor-asserted patching | One build entry point. Every code replacement asserts its anchor — if the upstream package changes, the build fails loudly instead of shipping a silently broken patch. |
| 🖥️ Local fake server | Intercept the HTTP/JSON layer and answer hundreds of endpoints from a local save. A methodology for mapping every endpoint's caller and what it reads, then generating safe defaults. |
| 📦 Repack & re-sign | Recompute engine cache checksums, rebuild resource tables, zipalign, sign. Includes a reverse-engineered cache-checksum algorithm and loader patches for LayaAir native. |
| ✅ On-device acceptance | "The screen opens" ≠ "it works". State must actually change and survive a cold restart. Tutorial-driven testing: follow the game's own guide steps with real taps. |
| 🛡️ Safe releases (new) | Before shipping, install the previous public build, play a save, upgrade over it and diff the save key by key. When installing on the user's own phone, back up the save first and compare it byte for byte afterwards. Rename the package so the memorial edition installs side by side with the official app. See verify.md and patch.md (section 5). |
| 🎞️ Data rescue from screenshots & recordings (new) | Server-side numbers (shop prices, gacha rates, rewards, card stats) die with the server. scripts/harvest.py turns tens of GB of player screenshots and screen recordings into a few hundred KB of categorized text — keyframes → near-duplicate removal → local OCR → per-screen grouping — fully offline, zero tokens, then scripts/llm_structure.py batches it through DeepSeek / OpenAI / Qwen / Kimi / local Ollama into merged JSON + CSV. |
| ⏩ Time-travel tests (new) | scripts/timewarp runs your fake server in a sandbox with a virtual clock: fast-forward days, restart the app, and audit every reward — if a response says "+50 gems" but the save didn't change, it fails. Simulate 30 days of play in a second and see on which day each gate becomes reachable. Zero dependencies. |
| 🤝 Any agent, any model (new) | Works with Claude Code, Codex, Cursor, Copilot, OpenCode, Gemini CLI… via SKILL.md + AGENTS.md. Ships scout / worker / verifier sub-agent roles so an expensive model makes the calls and cheap ones do the legwork. No agent at all? Paste prompts/chat-playbook.md into DeepSeek / ChatGPT and run the commands it gives you. |
| 🚦 Kickoff → batches → independent QA (new) | For big projects that run unattended for days: a two-minute pre-authorization sheet up front, then one batch at a time with hard timeboxes (two probe rounds or 45 minutes without progress → log it and move on), and a final check run by a separate session that doesn't trust the dev line's "all green": optimistic passes downgraded, every button crawled, battles won and lost against the ledger, kill mid-transaction, 10 virtual days, then clean data + empty hot-update folder + network off, cold boot twice. Templates for the sheet, handoff, progress matrix and bug list included. |
| 🧭 Engine routes (new) | One page per architecture: Unity IL2CPP with no script layer (embedded Python loopback server in the same process), Unity Mono / ET / HybridCLR (in-package C# server), Cocos JS / Lua / LuaJIT + Protobuf (in-memory loopback, thin-shell Activity takeover), Unity WebGL / H5 micro clients (H5 first, wrap last, original DLL as a resident battle worker). |
| 🧰 Recon & guard scripts (new) | Standard-library-only Python: one-shot read-only APK recon (engine, ABI, ZIP32 limits, packers, UnityFS prefixes, manifest diff), a single-device lock with safe pushes for non-ASCII paths, a disk-budget fuse that refuses to follow junctions, a log oracle, zero-apktool INTERNET removal, an APK entry replacer that keeps stored audio stored, and an opt-in hook that blocks adb kill-server, svc wifi disable and other commands that break other projects' emulators. |
| 📚 Failure ledger | About 230 KB and nearly 300 entries of real pitfalls: symptom → root cause → fix. Crashes from start-up races, UI that silently moved off-screen, pooled XHR objects "poisoned" by fake responses, saves that never hit disk… |
The playbook was distilled from reviving 16 commercial mobile games whose servers shut down: