Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/ellierocks/lsw1-decomp/agents-mdgit clone --depth 1 https://github.com/ellierocks/lsw1-decompWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ellierocks/lsw1-decomp/agents-md)<a href="https://agentmods.dev/instructions/ellierocks/lsw1-decomp/agents-md"><img src="https://agentmods.dev/badge/instructions/ellierocks/lsw1-decomp/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01920 | $0.01920 |
| Opus 5 | $0.00960 | $0.00960 |
| Sonnet 5 | $0.00384 | $0.00384 |
| Haiku 4.5 | $0.00192 | $0.00192 |
Grade A, and why
lsw1-decomp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LSW1 Decomp Agent Guide
Matching decompilation of LEGO Star Wars: The Video Game (2005) for GameCube.
Retail target: GL5E4F. Compiler: SN Systems ProDG (GCC), driven by
tools/prodg_cc.py — not Metrowerks CodeWarrior. See
docs/code_matching_workflow.md. (Donor decomps
like CrashWOC are MWCC, so their source patterns transfer but their codegen does
not.)
Quick start
bash build.sh # full build
ninja build/GL5E4F/report.json # refresh progress
python tools/ls1_match_plan.py nuanim # see unnamed candidates
python tools/ls1_lookup_symbol.py 0x8001E76C # cross-reference
python tools/ls1_rename.py --suggest fn_8001E76C # check Mac for name ideas
python tools/ls1_rename.py fn_8001E76C NuAnimKeyLerp # apply + verify
python tools/ls1_task_pack.py NuAnimKeyLerp # generate task pack for C work
python tools/matching_progress.py # show current code matching progress
python tools/binary_mining_pipeline.py # refresh donor-binary evidence
bash build.sh # final check
Symbol sources (priority order)
- CrashWOC decomp (same Nu2 engine) —
docs/nu2_engine_reference.md,docs/symbol_donors/crashwoc_nu2_comparison.md - LSW1 Mac Demo (closest lineage) —
docs/symbol_donors/mac_lsw1_demo_symbols.tsv - LSW2 Mac (shared Nu2 engine) —
docs/symbol_donors/mac_lsw2_symbols.tsv - Struct offset analysis — match struct field access patterns against
known Nu2 structs in
src/headers
Tooling
| Command | What it does |
|---|---|
ls1_match_plan.py <module> |
Shows remaining unnamed functions with struct evidence, Mac hints. Use --show-all or --top N |
ls1_lookup_symbol.py <name-or-addr> |
Cross-references a symbol across GC symbols.txt, Mac TSVs (with demangled signatures), call graph, and neighbor functions |
ls1_rename.py <old> <new> |
Applies a rename and verifies with build. Use --check to preview, --suggest <fn> to search Mac for matching names |
ls1_task_pack.py <name-or-addr> |
Generates tasks/<Function>/ with prompt.md, context.md, asm.s, related_symbols.md, verify.sh for LLM-based decomp. Use --out-dir to set output root. Batch: ls1_task_pack.py nuanim --top 3 |
matching_progress.py [--report] [--json] |
Shows objdiff code matching progress only, without symbol naming stats |
binary_mining_pipeline.py [stage...] |
Refreshes donor-binary extraction artifacts; see docs/binary_mining_workflow.md |
sdk_symbol_source_import.py <source...> |
Normalizes CrashWOC/Dolphin map files or symbol dumps into ordered SDK TSVs |
mac_anchor_rename_queue.py |
Uses Mac debug symbol order plus GC named anchors to emit rename candidates |
sdk_island_analysis.py |
Maps likely Dolphin SDK/MSL/runtime islands for known-library matching |
sdk_anchor_rename_queue.py |
Uses local SDK symbol-order sources plus GC named anchors to emit SDK rename candidates |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 117 lines · 1,920 tokens per session scan A 07950c1d9b00
lsw1-decomp AGENTS.md is an instructions file published in the GitHub repository ellierocks/lsw1-decomp (11 stars, last pushed 2mo ago), licensed CC0-1.0. It adds 1,920 tokens to every session, about $0.0096 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
GameDesignOS AGENTS.md
Instructions for DY-2026/GameDesignOS, covering gamedesignos agent 入口, 默认接法, agent 执行规则, 什么时候用整个项目 and 每个 skill 单独怎么用.
claudemon CLAUDE.md
Instructions for zamarrowski/claudemon, covering ai agent guidelines, project shape, general guidelines, general rules and guards & defensive code.
unity-code-style-guide AGENTS.md
Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.
codex-game-studio AGENTS.md
AGENTS.md instructions for merlinhu1/codex-game-studio, covering codex game studio template, project goal, engine, commands and context bootstrap.
game-and-watch-retro-go-sd CLAUDE.md
Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.
nes-php-glfw copilot-instructions.md
Instructions for oliverearl/nes-php-glfw, covering github copilot development guidelines for nes emulator, agent document source of truth, project overview, code style & standards and documentation.