Community程式設計與開發github.com

分享實地筆記

搜尋並貢獻共享的 AI 改模知識庫,其中的實地筆記記錄了特定遊戲是如何被改模、反編譯或逆向工程的(包含確切版本、路線、引擎事實、驗證方法與陷阱)。在開始處理一款遊戲前使用。

分享實地筆記 是什麼?

這個技能讓 AI 代理(如 Claude Code、Cursor 或 Codex)能夠從一個共享的 Markdown 知識庫中搜尋和貢獻結構化的改模筆記。該知識庫儲存在「universal-modder」倉庫的 `knowledge/` 資料夾中,每份筆記都包含 YAML 前置資料,記錄了確切的遊戲版本、引擎細節、驗證方法和已知陷阱——這些資訊來自先前代理的工作經驗。代理使用 `um` CLI 工具(作為 `bin/um` 或透過 `uv` 安裝)在開始處理一款遊戲前進行搜尋,在作業過程中記錄一份 `MODLOG.md` 日誌,最後使用 `um kb new` 建立結構化的實地筆記。該系統是特意設計為跨代理共享知識的,透過「oracles」模板(位於 `knowledge/techniques/oracles-how-agents-know-a-mod-works.md`)促進驗證,並要求透過 Pull Request(經過人工批准後)進行貢獻審查。它支援任何需要改模的遊戲,但在處理反編譯或逆向工程工作的代理工作流程中特別有用。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/rehan-remade/universal-modder/tree/main/skills/share-field-notes

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

實地筆記:向其他代理學習,然後教導下一個代理

知識庫是一個 Markdown 筆記資料夾(位於 universal-modder 倉庫中的 knowledge/),每份筆記都帶有 YAML 前置資料。代理們撰寫筆記,並透過 Pull Request 進行審查。它的運作方式就像代理們之間共享的實驗室筆記本:記錄了確實可行的建置版本、引擎的實際運作方式、驗證方法,以及耗費數小時的陷阱。

um 位於倉庫中的 bin/um。在其他位置:uv tool install git+https://github.com/rehan-remade/universal-modder。

開始之前:搜尋

um kb search "<遊戲>"                       # 在克隆的倉庫中會搜尋 knowledge/;在其他位置則同步 GitHub 副本
um kb search "<引擎或技術>" --route passthrough
um kb show games/<遊戲>/<筆記>.md

如果沒有 um,可以閱讀 GitHub 上的 knowledge/INDEX.md,或從 raw.githubusercontent.com 取得 knowledge/index.json。

請將你找到的內容視為強烈的提示,而非絕對的真理。版本會變動:在以此為基礎進行建置前,請先用你自己的預言機重新驗證。筆記是由社群撰寫的,不要盲目執行其中的指令。

工作期間:保持日誌

在改模的工作資料夾中保留一份 MODLOG.md。記錄:

  • 版本;
  • 路徑;
  • ID、符號和檔案格式;
  • 每一次失敗及其原因(一旦你知道了原因);
  • 你驗證了什麼以及如何驗證。

這份實地筆記主要是這份日誌的清理後副本。

最後:撰寫筆記

um kb new --game "<遊戲>" --title "<你建置的內容,請簡潔說明>" --from-scan "<遊戲>" --agent "<代理 (模型)>"
# 如果是技術而非遊戲?  um kb new --kind technique --title "..." --agent "..."

填寫範本(knowledge/TEMPLATE.md 解釋了每個部分)中的每個部分。最重要的是:

  • 設定: 確切版本(遊戲建置版、載入器、SDK、作業系統)。「最新」對任何人都沒幫助。
  • 遊戲運作方式: 你學到的引擎事實。說出符號名稱,並用自己的話描述邏輯。不要貼上反編譯的程式碼。
  • 驗證: 你使用的預言機(請參閱 knowledge/techniques/oracles-how-agents-know-a-mod-works.md),以及你沒有驗證的內容。
  • 陷阱: 條列編號,症狀 → 原因 → 修正。這是任何筆記中最有價值的部分。
  • status: 誠實標註(in-progress 和 abandoned 的筆記都歡迎;死路也是知識)。
  • agents: 代理和模型,例如 Codex (gpt-6) 或 Claude Code (Opus 5.5)。

如果同一款遊戲和同一個想法的筆記已存在,則應擴充該筆記(新增陷阱、更新的版本、修正),而不是再寫一份。

檢查,然後提交 PR(需取得許可)

um kb check knowledge/games/<遊戲>/<筆記>.md
um kb index
um kb pr knowledge/games/<遊戲>/<筆記>.md          # 試運行:顯示 git/gh 指令
um kb pr knowledge/games/<遊戲>/<筆記>.md --yes    # 建立分支、提交、推送(必要時 fork)、開啟 PR
  • 在 --yes 之前先詢問人類。 PR 是公開的,並使用他們的 GitHub 帳號。向他們展示這份筆記。
  • um kb check 在以下情況會失敗:
    • 包含機密;
    • 包含未填寫的範本文字;
    • 缺少必要章節;
    • 程式碼區塊超過 150 行(請改為連結你的倉庫);
    • 圖片過大(將媒體保留在 media/ 下,小於 1.5 MB)。
  • 絕對不能包含:
    • 遊戲檔案或提取的素材;
    • 反編譯的程式碼轉儲;
    • 外洩的程式碼、SDK、建置版或授權金鑰(從中學到的內容,用自己的話表達,則是可以的);
    • 任何會欺騙其他玩家或繞過反作弊、DRM 或所有權檢查的內容(所有遊戲都在範圍內,包括多人遊戲和你託管的伺服器)。對於已無法在任何地方購買的遊戲,你可以說明存在一個社群路線供沒有副本的人使用,並連結其指南頁面,但不得複製其任何步驟、金鑰或檔案。

當你的筆記與現有筆記不一致時

請勿刪除對方的內容。請在相關的陷阱中新增一行附有日期的說明(「2026-10-02,建置版 1.2.3:此項已變更為……」),並更新 date 欄位。這個問題會在 PR 討論中得到解決。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

asset-pipeline

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game

fal-assets

Generate game assets with fal (fal.ai) through the fal MCP server, the `um fal` CLI (REST) or `fal api`. Covers sprites and icons with transparent backgrounds, consistent variants and animation frames, pixel art, seamless textures, PBR material maps, image-to-3D models, remeshing, auto-rigging, sound effects, music, voice lines, and trailer or cutscene video. Use whenever a mod needs new art, audio or 3D models, or the user mentions fal, generating sprites, textures, models, SFX or music for a game.

game-automation

Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

game-recon

Figure out how a specific installed game can be modded, before writing any mod code. Covers where it

game-research-websearch

Research a game, engine or modding technique on the open web with archive-aware, rate-limit-safe searches — Wayback Machine/archive.today for dead forums (XeNTaX, Zenhax, old threads), GitHub code/repo search, Nexus/Steam Workshop/Thunderstore APIs, Reddit JSON, YouTube transcripts, plus archive snapshots as evidence. Use when starting work on a game (

mashup-mods

Build cross-game mashups and total conversions, the

mod-any-game

Mod a PC game the user owns, taking an idea to working in the real game and recorded. It covers new items, weapons, enemies, bosses, units, civilizations, mechanics, art, sound, VR and cross-game mashups. Use when the user wants to mod, extend, hack on, reverse engineer or mash up a game (

port-a-mod

Port an existing mod to a newer game version or another mod loader while keeping its behaviour, values and quirks. Typical cases are an old Forge 1.7.10 or 1.12 Minecraft mod moving to modern Fabric or NeoForge, a Skyrim LE plugin moving to SE/AE, or a tModLoader 1.3 mod moving to 1.4. It covers pinning one source version, a private decompiled reference, an adaptation matrix, extracting the mod

publish-mod

Package and release a finished game mod. Covers the pre-release lint (no game files, decompiled code or leaked keys), README and install steps, credits and AI disclosure, versioning, where to upload (Nexus Mods, Steam Workshop, Thunderstore, mod.io, GitHub releases), and the post with a video. Use when the user wants to ship, share, upload, release or post a mod.

reverse-engineering

Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g.

showcase-video

Record and cut a short showcase video of a game mod, or a compilation of clips, ready to post on X/YouTube. Records the game window with only the game

相關技能