[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECEWXH8HV4GXQAE6B0DN9F":3,"skill-same:01M7ECEWXH8HV4GXQAE6B0DN9F":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7ECEWXH8HV4GXQAE6B0DN9F","ghidra-re",null,"Use for Ghidra-based reverse engineering on this machine, especially Apple Mach-O and dyld-extracted binaries. Trigger when the user wants headless Ghidra import\u002Fanalysis, to run Ghidra scripts, inspect decompilation, or export structured reversing artifacts such as functions, strings, symbols, Objective-C metadata, or xrefs. Prefer this skill over ad hoc shell commands when the task should create or reuse a Ghidra project under ~\u002Fghidra-projects. Works identically whether loaded by OpenAI Codex or Anthropic Claude Code.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ghidra-re\ndescription: Use for Ghidra-based reverse engineering on this machine, especially Apple Mach-O and dyld-extracted binaries. Trigger when the user wants headless Ghidra import\u002Fanalysis, to run Ghidra scripts, inspect decompilation, or export structured reversing artifacts such as functions, strings, symbols, Objective-C metadata, or xrefs. Prefer this skill over ad hoc shell commands when the task should create or reuse a Ghidra project under ~\u002Fghidra-projects. Works identically whether loaded by OpenAI Codex or Anthropic Claude Code.\n---\n\n# Ghidra RE\n\nUse this skill for repeatable, headless-first Ghidra work on macOS or Windows. It assumes:\n\n- Ghidra install:\n  - macOS: `\u002FApplications\u002FGhidra`\n  - Windows: `\u002Fc\u002FProgram Files\u002FGhidra`\n- JDK:\n  - macOS: `\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@21\u002Flibexec\u002Fopenjdk.jdk\u002FContents\u002FHome`\n  - Windows: `\u002Fc\u002FProgram Files\u002FEclipse Adoptium\u002Fjdk-21`\n- Workspace root: `~\u002Fghidra-projects`\n- Skill root — **resolve this first** before running any script (see below)\n\nThe skill is host-agnostic. Every script under `scripts\u002F` resolves its own root from `$BASH_SOURCE`, so there is no hardcoded install location. The unified host layer lives in `scripts\u002Flib\u002Fskill_host.sh` and is the single source of truth for Codex vs Claude Code install paths. Use `scripts\u002Finstall_skill --host auto|codex|claude|both` to copy the checkout into one or more hosts.\n\n## Resolving the Skill Root\n\nBefore running any `scripts\u002F` command, resolve `SKILL_ROOT` with this one-liner. It checks the standard install locations first, then searches Claude Code's plugin directory as a fallback — covering every load path automatically:\n\n```bash\nSKILL_ROOT=\"$(\n  for p in \\\n    \"${CODEX_HOME:-$HOME\u002F.codex}\u002Fskills\u002Fghidra-re\" \\\n    \"${CLAUDE_HOME:-$HOME\u002F.claude}\u002Fskills\u002Fghidra-re\"; do\n    [[ -f \"$p\u002FSKILL.md\" ]] && printf '%s' \"$p\" && break\n  done\n)\" ; [[ -z \"$SKILL_ROOT\" ]] && SKILL_ROOT=\"$(\n  find \"$HOME\u002FLibrary\u002FApplication Support\u002FClaude\u002Flocal-agent-mode-sessions\u002Fskills-plugin\" \\\n    -maxdepth 5 -name 'SKILL.md' -path '*\u002Fghidra-re\u002FSKILL.md' 2>\u002Fdev\u002Fnull \\\n    | head -1 | xargs -I{} dirname {}\n)\"\necho \"Skill root: $SKILL_ROOT\"\n```\n\nOnce set, prefix every `scripts\u002F` call with `\"$SKILL_ROOT\u002F\"`:\n```bash\n\"$SKILL_ROOT\u002Fscripts\u002Fbootstrap\"\n\"$SKILL_ROOT\u002Fscripts\u002Fghidra_import_analyze\" \u003Cbinary> [project_name]\n```\n\nKnown root paths (for reference — use the discovery snippet above rather than hardcoding):\n- `~\u002F.codex\u002Fskills\u002Fghidra-re` — OpenAI Codex standard install\n- `~\u002F.claude\u002Fskills\u002Fghidra-re` — Claude Code standard install via `install_skill`\n- `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Flocal-agent-mode-sessions\u002Fskills-plugin\u002F...\u002Fskills\u002Fghidra-re` — Claude Code plugin install (UUID subdirectories vary per machine)\n\nV1 is optimized for Apple Mach-O reversing and dyld-extracted binaries. It now includes a localhost GUI bridge extension for live inspection, annotation, and controlled program surgery inside open Ghidra sessions, plus mission workspaces for multi-target investigation across frameworks, daemons, and helpers.\n\nThe custom automation scripts ship as Java Ghidra scripts because that is the most reliable headless path on this machine.\nOn Windows, the public repo now also ships a native PowerShell wrapper layer in `powershell\u002F` for people who want first-class PowerShell commands instead of starting in Git Bash.\n\n## Quick Start\n\n> All `scripts\u002F` paths below are relative to `$SKILL_ROOT`. Run the discovery snippet in \"Resolving the Skill Root\" first, then prefix every command with `\"$SKILL_ROOT\u002F\"`.\n\n1. On a fresh machine, run `\"$SKILL_ROOT\u002Fscripts\u002Fbootstrap\"` once.\n2. If bootstrap cannot find Ghidra or Java 21, run `\"$SKILL_ROOT\u002Fscripts\u002Fdoctor\"`.\n3. On Windows, if the targets live in a mounted or extracted macOS image, register that source first:\n   - `scripts\u002Fghidra_source_add mac-image root=\u002Fd\u002Fmacos-root platform=macos-image copy=cache`\n4. Start a multi-target mission when the task spans more than one framework, daemon, or helper:\n   - `scripts\u002Fghidra_mission_start \u003Cmission_name> goal=... target=... [target=...] [seed=...]`\n5. Extend the mission with a seed-driven trace:\n   - `scripts\u002Fghidra_mission_trace \u003Cmission_name> seed=\u003Ckind:value>`\n6. For a more autonomous pass, let the mission keep driving its own next hops:\n   - `scripts\u002Fghidra_mission_autopilot \u003Cmission_name> [rounds=3]`\n7. Read the mission report:\n   - `scripts\u002Fghidra_mission_report \u003Cmission_name>`\n   - `scripts\u002Fghidra_mission_report \u003Cmission_name> format=casefile`\n8. Finish the mission and close its live Ghidra sessions unless you explicitly keep them open:\n   - `scripts\u002Fghidra_mission_finish \u003Cmission_name>`\n9. For a single target, import and analyze into a dedicated project:\n   - `scripts\u002Fghidra_import_analyze \u003Cbinary|source:name:\u002Fpath\u002Fin\u002Fimage> [project_name]`\n10. Export the default Apple-focused bundle:\n   - `scripts\u002Fghidra_export_apple_bundle \u003Cproject_name> \u003Cprogram_name>`\n11. For Swift-heavy Apple targets, resolve `_OUTLINED_FUNCTION_*` stubs **before** exporting or decompiling — this is essential for any dyld-extracted binary (WorkflowKit, BackgroundTaskAgent, etc.) where the Swift compiler outlined ARC\u002Fcopy\u002Fmove helpers:\n   - `\"$SKILL_ROOT\u002Fscripts\u002Fghidra_resolve_swift_outlined\" \u003Cproject_name> \u003Cprogram_name> [dry_run=true] [inline=false] [skip_stubs=true] [scan_fun_stubs=true] [second_pass=true] [build_authstub_map=true] [cache_path=\u003Cpath>]`\n   - Pass `build_authstub_map=true` to resolve auth stubs to real symbol names (e.g. `outlined$authstub$swift_retain`) using the live dyld shared cache. Requires macOS with the system cache at its default location or `cache_path=` override. Adds ~30 s for the map build step.\n   - Re-export the Apple bundle afterwards to get updated function names in the inventory.\n   - To build or refresh the map separately (e.g. before a batch run): `scripts\u002Fghidra_build_authstub_map \u003Cproject_name> \u003Cprogram_name>`\n12. Generate a surface-level report before chasing individual mangled symbols:\n   - `scripts\u002Fghidra_swift_surface_report \u003Cproject_name> \u003Cprogram_name> [query] [format=json|markdown]`\n   - `scripts\u002Fghidra_describe_swift_type \u003Cproject_name> \u003Cprogram_name> \u003CTypeName>`\n12. Export the bug-hunt bundle only when the task is explicitly bug hunting or boundary triage:\n   - `scripts\u002Fghidra_export_bug_hunt_bundle \u003Cproject_name> \u003Cprogram_name>`\n13. Generate a function dossier for a top candidate:\n   - `scripts\u002Fghidra_function_dossier \u003Cproject_name> \u003Cprogram_name> \u003Cfunction_or_address>`\n14. Apply a finding back into the project when you confirm something interesting:\n   - `scripts\u002Fghidra_apply_finding \u003Cproject_name> \u003Cprogram_name> function=... title=... comment=...`\n15. Run an extra script when needed:\n   - `scripts\u002Fghidra_run_script \u003Cproject_name> \u003Cprogram_name> \u003Cscript_name> [script args...]`\n16. Record any friction or missing-feature notes through the shared notes flow before you wrap up the session:\n   - `scripts\u002Fghidra_notes_add title=... body=... category=workflow`\n   - `scripts\u002Fghidra_notes_status`\n   - `scripts\u002Fghidra_notes_open_shared`\n17. Open the project in the GUI:\n   - `scripts\u002Fghidra_open_gui \u003Cproject_name> [program_name]`\n18. Arm or reuse the live bridge when you want an interactive RE loop:\n   - `scripts\u002Fghidra_bridge_open \u003Cproject_name> [program_name]`\n19. Use the live bridge wrappers for inspection or edits:\n   - `scripts\u002Fghidra_bridge_current_context`\n   - `scripts\u002Fghidra_bridge_snapshot`\n   - `scripts\u002Fghidra_bridge_analyze_target \u003Cquery>`\n   - `scripts\u002Fghidra_bridge_decompile_current`\n   - `scripts\u002Fghidra_bridge_functions_search \u003Cquery>`\n   - `scripts\u002Fghidra_bridge_selector_trace \u003Cselector>`\n   - `scripts\u002Fghidra_bridge_swift_search \u003Ctype_or_method>`\n   - `scripts\u002Fghidra_bridge_swift_type \u003CTypeName>`\n   - `scripts\u002Fghidra_bridge_xrefs`\n   - `scripts\u002Fghidra_bridge_rename ...`\n   - `scripts\u002Fghidra_bridge_comment ...`\n   - `scripts\u002Fghidra_bridge_patch_bytes ...`\n   - `scripts\u002Fghidra_bridge_patch_instruction ...`\n20. Use the dyld-aware macOS import helper when a framework path comes from a live system image or extracted source root:\n   - `scripts\u002Fghidra_import_macos_framework \u003C\u002FSystem\u002F...\u002FFramework.framework\u002FFramework> [project_name] [copy=cache|direct] [source=\u003Cname>]`\n21. Build a one-file macOS share bundle when you want to hand the skill and Ghidra to another desktop:\n   - `scripts\u002Fbuild_mac_desktop_share_package [output_zip]`\n22. Build a one-file Windows share bundle when you want easy installation on a Windows machine:\n   - `scripts\u002Fbuild_windows_desktop_share_package [output_zip] [--ghidra-zip \u002Fpath\u002Fto\u002Fghidra.zip]`\n23. On Windows, optionally import the native module after install:\n   - `Import-Module GhidraRe`\n   - `Get-GhidraReBridgeSessions`\n   - `Start-GhidraReMission -Name win_trace -Goal 'Trace a subsystem' -Target 'source:mac-image:\u002FSystem\u002F...\u002FWorkflowKit'`\n24. Run the explicit polish pass before serious testing or publishing:\n   - `scripts\u002Fghidra_polish_release [mode=quick|release]`\n\n## Default Workflow\n\n### 1) Import into the dedicated workspace\n- First-use bootstrap writes machine-local config to `~\u002F.config\u002Fghidra-re\u002Fconfig.env`.\n- Projects live under `~\u002Fghidra-projects\u002Fprojects\u002F\u003Cproject_name>\u002F`.\n- Exports live under `~\u002Fghidra-projects\u002Fexports\u002F\u003Cproject_name>\u002F\u003Cprogram_name>\u002F`.\n- Logs live under `~\u002Fghidra-projects\u002Flogs\u002F\u003Cproject_name>\u002F`.\n- Multi-target investigation workspaces live under `~\u002Fghidra-projects\u002Finvestigations\u002F\u003Cmission_name>\u002F`.\n- Source-backed imports are cached under `~\u002Fghidra-projects\u002Fsources\u002F\u003Csource_name>\u002F` by default when you use `source:name:\u002Fpath`.\n- Prefer explicit project names for reusable work. If omitted, the import wrapper derives one from the binary basename.\n- On Windows, the PowerShell module resolves the installed skill root automatically from `CODEX_HOME`, `CLAUDE_HOME`, `~\u002F.codex\u002Fskills\u002Fghidra-re`, or `~\u002F.claude\u002Fskills\u002Fghidra-re`, then forwards to the same script surface regardless of which host loaded the skill.\n\n### 2) Use missions for cross-target work\n- Prefer `scripts\u002Fghidra_mission_start` whenever the question spans multiple frameworks, daemons, or XPC helpers.\n- Mission workspaces keep:\n  - `mission.json`\n  - `graph.sqlite`\n  - `exports\u002F`\n  - `reports\u002Flatest.md`\n  - `reports\u002Flatest.json`\n- Mission runs are notes-only by default. They do not rename symbols, comment programs, or patch bytes unless you explicitly call the existing write wrappers outside the mission flow.\n- `scripts\u002Fghidra_mission_trace` uses the investigation graph first, then live bridge helpers like `functions\u002Fsearch`, `analyze\u002Ftarget`, and `selector-trace`.\n- `scripts\u002Fghidra_mission_autopilot` extends that loop by choosing the next seed from configured seeds, graph-derived suggestions, and recent analysis notes, then capturing a live bridge snapshot back into the mission artifacts.\n- Autopilot seed ranking now prefers higher-signal graph functions, configured seeds, current-hypothesis targets, and preferred targets that have not been explored yet.\n- `scripts\u002Fghidra_mission_finish` is the default closeout path. It renders the report, records the closeout in the mission metadata, and closes the mission's bridge-managed Ghidra sessions unless `keep_sessions_open=true`.\n- `scripts\u002Fghidra_mission_finish` can also forward a discovered workflow-friction note into the shared GitHub-backed notes backlog with `shared_note_title=...` and `shared_note_body=...`.\n- Finished missions now also emit `reports\u002Fcasefile.md` and `reports\u002Fcasefile.json` as a cleaner analyst closeout bundle.\n\n### 3) Resolve Swift outlined functions (Swift-heavy binaries only)\n- For any dyld-extracted or Swift-heavy binary, run `scripts\u002Fghidra_resolve_swift_outlined` **before** exporting or decompiling. This renames 3,000–4,000 anonymous `_OUTLINED_FUNCTION_*` stubs to descriptive names (`outlined$argshuffle$`, `outlined$pactail$swift_retain$`, `outlined$loadglobal$`, `outlined$authstub$`, etc.) and marks pure ARC helpers as inline. Without this, the decompiler output for any Swift method that calls retain\u002Frelease is dominated by opaque `_OUTLINED_FUNCTION_0()` calls that hide the real control flow.\n- Re-run `scripts\u002Fghidra_export_apple_bundle` afterwards to regenerate the function inventory with updated names.\n- The script runs in two passes by default (`second_pass=true`): the main pass renames `_OUTLINED_FUNCTION_*`, anonymous `FUN_*` auth stubs (`scan_fun_stubs=true`), and existing `outlined$misc$` stubs ≤32 bytes that the expanded classifier can now better categorize. The second pass re-resolves pactail branch-target names using the now-renamed callees. This is important for dyld-extracted binaries where the `__stubs` region is named `FUN_*` instead of `_OUTLINED_FUNCTION_*` by Ghidra.\n- Categories: `argshuffle`, `pactail` (PAC-guarded tail call — callee name embedded when resolved), `loadglobal`, `loadmov`, `compare`, `pacsign`, `authstub` (named by GOT slot address in dyld extracts, or by actual symbol name when `authstub_map.json` is present — e.g. `outlined$authstub$swift_retain`), `helper` (small 1–16 instruction ret\u002Fb helper, ≤64 bytes; marked inline), `callwrap` (single-bl wrapper with callee name embedded, e.g. `callwrap$swift_getEnumTagSinglePayload`; marked inline), and `misc` (>64 bytes or unusual terminal — genuinely complex, left as-is). Only ~12 misc remain in WorkflowKit after a full pass.\n- `authstub_map.json` is built by `scripts\u002Fghidra_build_authstub_map` (also invoked automatically when `build_authstub_map=true` is passed to `ghidra_resolve_swift_outlined`). It parses the live dyld shared cache — including all split sub-cache `.dylddata` files — decodes PAC-tagged GOT slot pointers, looks up target symbols via `dyld_info -exports`, and batch-demangling with `xcrun swift-demangle`. Achieves ~99% resolution on WorkflowKit (1899\u002F1920 stubs). The resulting file is auto-discovered by `ResolveSwiftOutlined.java` on subsequent headless runs.\n\n### 4) Use the Apple export bundle\n- Run `scripts\u002Fghidra_export_apple_bundle` after import unless the user only wants a narrow script run.\n- The bundle runs `DemangleAllScript.java` and then exports:\n  - `program_summary.json`\n  - `objc_metadata.json`\n  - `swift_metadata.json`\n  - `function_inventory.json`\n  - `symbols.json`\n  - `strings.json`\n- `objc_metadata.json` now includes interface-quality class buckets, categories, class refs, selector refs, protocol refs, selector strings, and recovered protocol names so ObjC-heavy Apple frameworks can be followed without reopening Ghidra immediately.\n- `swift_metadata.json` now includes:\n  - demangled\u002Fraw Swift symbol pairs\n  - a stable alias map\n  - metadata-section summaries for `__swift5_*` blocks\n  - async-like entries, metadata accessors, protocol conformance hints, and dispatch-thunk tagging\n- Set `GHIDRA_EXPORT_DEMANGLE=0` when you want a faster or quieter export pass without the blanket demangle step.\n- For Swift-heavy frameworks, prefer `scripts\u002Fghidra_swift_surface_report` before ad hoc `functions\u002Fsearch` calls so you start from grouped types\u002Fmethods instead of raw mangled names.\n\n### 5) Use targeted scripts for follow-up\n- Run `scripts\u002Fghidra_export_bug_hunt_bundle` when the task is bug hunting, boundary analysis, or userland trust-boundary triage.\n- Use `scripts\u002Fghidra_function_dossier` on the top-ranked candidate paths before decompiling functions ad hoc.\n- For ObjC-heavy frameworks, start with `scripts\u002Fghidra_objc_surface_report`, then drill into `scripts\u002Fghidra_describe_objc_class`, `scripts\u002Fghidra_describe_objc_protocol`, `scripts\u002Fghidra_describe_selector`, `scripts\u002Fghidra_trace_classref`, and `scripts\u002Fghidra_objc_message_flow` when you need a more useful selector-level flow view.\n- Use `scripts\u002Fghidra_apply_finding` only when you want to write comments, bookmarks, or renames back into the project.\n- Use `scripts\u002Fghidra_notes_add` whenever the workflow exposes missing features, confusing outputs, or repetitive manual steps. The GitHub-backed shared issue is now the canonical community backlog; `references\u002Fuse-case-driven-notes.md` is legacy\u002Freference-only.\n- `DecompileFunction.java` for on-demand decompilation\n- `ExportXrefs.java` for targeted xref tracing\n- `ExportAppleBundle.java` when you want the full structured export outside the convenience wrapper\n\n### 6) Use the live bridge for iterative GUI sessions\n- Prefer the live bridge whenever the target is already open or the task will involve repeated `search -> navigate -> decompile -> refs` loops.\n- Prefer headless exports for wide scans, batch bundles, or cold-start project setup; switch to the bridge once you want a tighter interactive loop.\n- `scripts\u002Fbootstrap` installs the bridge extension into the user's Ghidra settings when possible.\n- If Ghidra was already running before the install, restart it once or run `EnableCodexBridge.java` from the GUI Script Manager.\n- The bridge now keeps a real multi-session registry under `~\u002F.config\u002Fghidra-re\u002Fbridge-sessions\u002F` and a compatibility pointer at `~\u002F.config\u002Fghidra-re\u002Fbridge-current.json`.\n- `scripts\u002Fghidra_bridge_open` and `scripts\u002Fghidra_bridge_arm` write per-request files under `~\u002F.config\u002Fghidra-re\u002Fbridge-requests\u002F`, first give an already-running Ghidra session a chance to consume them, and only then launch a detached GUI session if needed.\n- Use `scripts\u002Fghidra_bridge_sessions` to list live sessions and `scripts\u002Fghidra_bridge_select` to change the default target.\n- On macOS, detached launches use a hidden `screen` keeper session so Ghidra survives after the launcher command exits and the bridge remains usable across the rest of the Codex session.\n- Cross-project arms are supported: a running `bsr_smoke` session can ignore a `workflowkit_bug_smoke` request while a newly launched WorkflowKit instance consumes the same request file and becomes another live session.\n- `scripts\u002Fghidra_bridge_call` is the raw HTTP wrapper; prefer the convenience wrappers for common tasks.\n- `scripts\u002Fghidra_bridge_open` now waits until both `\u002Fhealth` and `\u002Fsession` succeed before it returns, so a reported armed bridge is immediately queryable.\n- `scripts\u002Fghidra_bridge_snapshot` captures the current live session, function, decompile, references, and variables in one machine-readable artifact for later ingestion or notes.\n- Bridge snapshots now try to resolve the containing function from the current address, so mid-function cursor positions still produce a useful decompile\u002Freferences bundle.\n- Most live bridge wrappers accept optional `session=\u003Cid>`, `project=\u003Cname>`, or `program=\u003Cname>` selectors.\n- Prefer `project=` or `session=` when duplicate live targets share the same `program_name`.\n- `scripts\u002Fghidra_bridge_swift_search` combines the live bridge session with the latest export bundle so type or method queries can resolve through stable aliases and thunk\u002Fcanonical addresses.\n- `scripts\u002Fghidra_bridge_swift_type` aggregates grouped Swift type context, related strings, ObjC bridge names, metadata accessors, and the best live-analysis target when one is available.\n- Mutating bridge calls require `write=true`; destructive bridge calls also require `destructive=true`.\n- The PowerShell module mirrors the most common source, mission, and bridge commands with `Verb-GhidraRe*` functions for Windows-first usage.\n\n## Command Surface\n\nRun these wrappers from the skill directory:\n\n- `scripts\u002Fghidra_import_analyze \u003Cbinary> [project_name]`\n- `scripts\u002Fghidra_import_macos_framework \u003C\u002FSystem\u002F...\u002FFramework.framework[\u002FFramework]> [project_name] [copy=cache|direct] [source=\u003Cname>]`\n- `scripts\u002Fghidra_run_script \u003Cproject_name> \u003Cprogram_name> \u003Cscript_name> [script args...]`\n- `scripts\u002Fghidra_export_apple_bundle \u003Cproject_name> \u003Cprogram_name>`\n- `scripts\u002Fghidra_resolve_swift_outlined \u003Cproject_name> \u003Cprogram_name> [dry_run=true] [inline=false] [skip_stubs=true] [scan_fun_stubs=true] [second_pass=true] [verbose=true] [build_authstub_map=true] [cache_path=\u003Cpath>]`\n- `scripts\u002Fghidra_build_authstub_map \u003Cproject_name> \u003Cprogram_name>`  — build\u002Frefresh `authstub_map.json` from the live dyld shared cache\n- `scripts\u002Fghidra_build_isa_map \u003Cproject_name> \u003Cprogram_name>`  — build\u002Frefresh `isa_map.json` for ObjC runtime isa resolution during LLDB tracing\n- `scripts\u002Fghidra_lldb_symbols \u003Cbinary_path> [\u003Cproject_name> \u003Cprogram_name>]`  — static symbol inventory via LLDB (ObjC methods, trampolines, etc.)\n- `scripts\u002Fghidra_lldb_trace \u003Cproject_name> \u003Cprogram_name> launch_cmd=\u003Cbin> symbols=\u003Csyms> [max_hits=100] [timeout=30] [capture_args=true] [capture_backtrace=false] [capture_objc_args=true]`  — runtime breakpoint trace, captures arg registers and optional ObjC self\u002Fselector context\n11b. For runtime analysis of binaries you can launch or attach to, use the LLDB integration tools:\n   - `scripts\u002Fghidra_lldb_symbols \u003Cbinary_path> [\u003Cproject_name> \u003Cprogram_name>]` — extract the full symbol table (ObjC methods, trampolines, data symbols) from a Mach-O binary in 0.7 s using LLDB's static module loading. No process needed. Outputs `lldb_symbols.json`.\n   - `scripts\u002Fghidra_build_isa_map \u003Cproject_name> \u003Cprogram_name>` — extract concrete `_OBJC_CLASS_$_...` and `_OBJC_METACLASS_$_...` addresses from `symbols.json` and save `isa_map.json` beside the export bundle. Use this before isa-aware LLDB traces so captured `objc_isa` values can be resolved offline.\n   - `scripts\u002Fghidra_lldb_trace \u003Cproject_name> \u003Cprogram_name> launch_cmd=\u003Cbinary> symbols=\u003Csym1,sym2> [max_hits=100] [timeout=30] [capture_args=true] [capture_backtrace=false] [capture_objc_args=true]` — run a binary under LLDB with breakpoints, capturing argument registers (x0-x7), optional backtraces, and when enabled, `self_ptr`, `objc_isa`, resolved `self_class`, and selector cstrings from `x1`. Outputs `lldb_trace_\u003Ctimestamp>.json`.\n   - `capture_objc_args=true` auto-enables isa capture and tries to build\u002Fload `isa_map.json` from the export bundle. If the export bundle is unavailable, tracing still runs and records raw `objc_isa` \u002F selector pointers when possible.\n   - For `attach_name=\u003Cprocess>`, LLDB's `--waitfor` attaches only after the process appears, but the wrapper's timeout countdown starts immediately. Use a generous timeout for event-driven targets, start the trace first, then trigger the shortcut or app action right away.\n   - LLDB trace works on any binary you compile or own. For system framework analysis, compile a Swift\u002FObjC test harness that exercises the code path of interest.\n- `scripts\u002Fghidra_swift_surface_report \u003Cproject_name> \u003Cprogram_name> [query] [format=json|markdown]`\n- `scripts\u002Fghidra_describe_swift_type \u003Cproject_name> \u003Cprogram_name> \u003Ctype_query>`\n- `scripts\u002Fghidra_objc_surface_report \u003Cproject_name> \u003Cprogram_name> [format=json|markdown]`\n- `scripts\u002Fghidra_describe_objc_class \u003Cproject_name> \u003Cprogram_name> \u003Cclass_name>`\n- `scripts\u002Fghidra_describe_objc_protocol \u003Cproject_name> \u003Cprogram_name> \u003Cprotocol_name>`\n- `scripts\u002Fghidra_describe_selector \u003Cproject_name> \u003Cprogram_name> \u003Cselector>`\n- `scripts\u002Fghidra_trace_classref \u003Cproject_name> \u003Cprogram_name> \u003Cclass_name>`\n- `scripts\u002Fghidra_objc_message_flow \u003Cproject_name> \u003Cprogram_name> \u003Cselector> [class=\u003CClassName>]`\n- `scripts\u002Fghidra_export_bug_hunt_bundle \u003Cproject_name> \u003Cprogram_name>`\n- `scripts\u002Fghidra_function_dossier \u003Cproject_name> \u003Cprogram_name> \u003Cfunction_or_address>`\n- `scripts\u002Fghidra_apply_finding \u003Cproject_name> \u003Cprogram_name> \u003Ckey=value args...>`\n- `scripts\u002Fghidra_open_gui \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_build`\n- `scripts\u002Fghidra_bridge_install`\n- `scripts\u002Fghidra_bridge_arm \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_open \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_close [session=\u003Cid>|project=\u003Cname>|program=\u003Cname>]`\n- `scripts\u002Fghidra_bridge_close_all [mission=\u003Cname>] [all=true]`\n- `scripts\u002Fghidra_bridge_disarm`\n- `scripts\u002Fghidra_bridge_sessions`\n- `scripts\u002Fghidra_bridge_select session=\u003Cid>|project=\u003Cname>|program=\u003Cname>`\n- `scripts\u002Fghidra_bridge_status`\n- `scripts\u002Fghidra_bridge_call \u003Cendpoint> [json_body]`\n- `scripts\u002Fghidra_bridge_current_context`\n- `scripts\u002Fghidra_bridge_snapshot [key=value ...]`\n- `scripts\u002Fghidra_bridge_analyze_target \u003Cquery> [key=value ...]`\n- `scripts\u002Fghidra_bridge_decompile_current [key=value ...]`\n- `scripts\u002Fghidra_bridge_functions_search \u003Cquery> [key=value ...]`\n- `scripts\u002Fghidra_bridge_swift_search \u003Ctype_or_method> [key=value ...]`\n- `scripts\u002Fghidra_bridge_swift_type \u003CTypeName> [key=value ...]`\n- `scripts\u002Fghidra_bridge_selector_trace \u003Cselector> [key=value ...]`\n- `scripts\u002Fghidra_bridge_xrefs [key=value ...]`\n- `scripts\u002Fghidra_bridge_rename key=value ...`\n- `scripts\u002Fghidra_bridge_comment key=value ...`\n- `scripts\u002Fghidra_bridge_apply_signature key=value ...`\n- `scripts\u002Fghidra_bridge_apply_type key=value ...`\n- `scripts\u002Fghidra_bridge_patch_bytes \u003Caddress> \u003Chex_bytes>`\n- `scripts\u002Fghidra_bridge_patch_instruction \u003Caddress> \u003Cassembly>`\n- `scripts\u002Fghidra_bridge_clear_listing \u003Cstart> [end] [mode]`\n- `scripts\u002Fghidra_bridge_disassemble \u003Cstart> [end]`\n- `scripts\u002Fghidra_bridge_create_function \u003Centry> [name] [end]`\n- `scripts\u002Fghidra_bridge_delete_function \u003Cfunction_or_address>`\n- `scripts\u002Fghidra_bridge_create_data \u003Caddress> \u003Cdatatype>`\n- `scripts\u002Fghidra_bridge_delete_data \u003Caddress> [end]`\n- `scripts\u002Fghidra_source_add \u003Cname> root=\u003Cpath> [platform=macos-image] [copy=cache|direct]`\n- `scripts\u002Fghidra_source_list`\n- `scripts\u002Fghidra_source_resolve \u003Cname> \u003C\u002Fpath\u002Fin\u002Fimage> [copy=cache|direct]`\n- `scripts\u002Fghidra_mission_start \u003Cmission_name> goal=... target=... [target=...] [seed=...]`\n- `scripts\u002Fghidra_mission_status \u003Cmission_name>`\n- `scripts\u002Fghidra_mission_trace \u003Cmission_name> seed=\u003Ckind:value> [target=project:program]`\n- `scripts\u002Fghidra_mission_report \u003Cmission_name> [format=markdown|json|path]`\n- `scripts\u002Fghidra_mission_report \u003Cmission_name> [format=markdown|json|path|casefile|casefile-path]`\n- `scripts\u002Fghidra_mission_autopilot \u003Cmission_name> [rounds=3] [seed=\u003Ckind:value>] [target=project:program]`\n- `scripts\u002Fghidra_mission_finish \u003Cmission_name> [all=true] [keep_sessions_open=true]`\n- `scripts\u002Fghidra_notes_add title=... body=... [category=workflow] [target=...]`\n- `scripts\u002Fghidra_notes_sync`\n- `scripts\u002Fghidra_notes_pull`\n- `scripts\u002Fghidra_notes_status`\n- `scripts\u002Fghidra_notes_remediate fingerprint=... [summary=...]`\n- `scripts\u002Fghidra_notes_open_shared [browse=true]`\n- `scripts\u002Fbootstrap [--skip-smoke-test]`\n- `scripts\u002Fdoctor`\n- `scripts\u002Fghidra_polish_release [mode=quick|release]`\n- `scripts\u002Fbuild_share_package [output_zip]`\n- `scripts\u002Fbuild_mac_desktop_share_package [output_zip] [--without-ghidra-payload]`\n- `scripts\u002Fbuild_windows_desktop_share_package [output_zip] [--ghidra-zip \u002Fpath\u002Fto\u002Fghidra.zip]`\n- `powershell\u002FGhidraRe.psd1` and `powershell\u002FGhidraRe.psm1` for native Windows PowerShell wrappers\n- `scripts\u002Fghidra_polish_release` for the explicit pre-test release\u002Fpolish pass\n\n### Script argument style\n- Prefer `key=value` arguments because they are robust under `analyzeHeadless`.\n- The wrapper also accepts `--key value` and rewrites it to `key=value`.\n- Set `GHIDRA_IMPORT_DEMANGLE=0` to skip the default import-time demangle pass.\n- Examples:\n  - `scripts\u002Fghidra_run_script bsr_smoke BackgroundShortcutRunner DecompileFunction.java function=-[WFBackgroundShortcutRunner runWorkflowWithDescriptor:request:inEnvironment:runningContext:completion:] output=\u002Ftmp\u002Fwf_runner.c`\n  - `scripts\u002Fghidra_run_script bsr_smoke BackgroundShortcutRunner ExportXrefs.java --symbol _objc_msgSend --output \u002Ftmp\u002Fobjc_msgsend_xrefs.json`\n\n## Built-ins Vs Custom Scripts\n\n- Prefer the custom scripts in `scripts\u002Fghidra_scripts\u002F` for structured exports and repeatable output.\n- The main custom scripts are:\n  - `ExportAppleBundle.java`\n  - `ExportEntrypoints.java`\n  - `ExportSinks.java`\n  - `TriageBugPaths.java`\n  - `ExportFunctionDossier.java`\n  - `ApplyFinding.java`\n  - `DecompileFunction.java`\n  - `ExportXrefs.java`\n- Prefer built-in scripts only when they already solve the job cleanly.\n- Safe default built-in:\n  - `DemangleAllScript.java`\n- Built-ins that are often useful but context-sensitive:\n  - `SwiftDemanglerScript.java`\n  - `MachO_Script.java`\n- Built-ins that are less suited to headless automation because they prompt or assume a GUI cursor:\n  - `ExportFunctionInfoScript.java`\n\nUse `scripts\u002Fghidra_run_script` for both built-ins and custom scripts. It adds the custom script directory and the common built-in Ghidra script directories to `-scriptPath`.\n\n## References\n\nRead only what you need:\n\n- Apple Mach-O notes and common targets: `references\u002Fapple-macho-notes.md`\n- Output files and schemas: `references\u002Foutput-files.md`\n- Bridge session and operation-log notes: `references\u002Foutput-files.md`\n- Bug-hunt output bundle details: `references\u002Fbug-hunt-outputs.md`\n- Bug-hunt heuristics and categories: `references\u002Fbug-hunt-patterns.json`\n- Built-in script caveats: `references\u002Fbuiltins.md`\n- Use-case-driven skill improvement notes: shared via the GitHub-backed notes commands above; `references\u002Fuse-case-driven-notes.md` is legacy\u002Freference history inside the repo\n","# Ghidra RE\n\nUse this skill for repeatable, headless-first Ghidra work on macOS or Windows. It assumes:\n\n- Ghidra install:\n  - macOS: `\u002FApplications\u002FGhidra`\n  - Windows: `\u002Fc\u002FProgram Files\u002FGhidra`\n- JDK:\n  - macOS: `\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@21\u002Flibexec\u002Fopenjdk.jdk\u002FContents\u002FHome`\n  - Windows: `\u002Fc\u002FProgram Files\u002FEclipse Adoptium\u002Fjdk-21`\n- Workspace root: `~\u002Fghidra-projects`\n- Skill root — **resolve this first** before running any script (see below)\n\nThe skill is host-agnostic. Every script under `scripts\u002F` resolves its own root from `$BASH_SOURCE`, so there is no hardcoded install location. The unified host layer lives in `scripts\u002Flib\u002Fskill_host.sh` and is the single source of truth for Codex vs Claude Code install paths. Use `scripts\u002Finstall_skill --host auto|codex|claude|both` to copy the checkout into one or more hosts.\n\n## Resolving the Skill Root\n\nBefore running any `scripts\u002F` command, resolve `SKILL_ROOT` with this one-liner. It checks the standard install locations first, then searches Claude Code's plugin directory as a fallback — covering every load path automatically:\n\n```bash\nSKILL_ROOT=\"$(\n  for p in \\\n    \"${CODEX_HOME:-$HOME\u002F.codex}\u002Fskills\u002Fghidra-re\" \\\n    \"${CLAUDE_HOME:-$HOME\u002F.claude}\u002Fskills\u002Fghidra-re\"; do\n    [[ -f \"$p\u002FSKILL.md\" ]] && printf '%s' \"$p\" && break\n  done\n)\" ; [[ -z \"$SKILL_ROOT\" ]] && SKILL_ROOT=\"$(\n  find \"$HOME\u002FLibrary\u002FApplication Support\u002FClaude\u002Flocal-agent-mode-sessions\u002Fskills-plugin\" \\\n    -maxdepth 5 -name 'SKILL.md' -path '*\u002Fghidra-re\u002FSKILL.md' 2>\u002Fdev\u002Fnull \\\n    | head -1 | xargs -I{} dirname {}\n)\"\necho \"Skill root: $SKILL_ROOT\"\n```\n\nOnce set, prefix every `scripts\u002F` call with `\"$SKILL_ROOT\u002F\"`:\n```bash\n\"$SKILL_ROOT\u002Fscripts\u002Fbootstrap\"\n\"$SKILL_ROOT\u002Fscripts\u002Fghidra_import_analyze\" \u003Cbinary> [project_name]\n```\n\nKnown root paths (for reference — use the discovery snippet above rather than hardcoding):\n- `~\u002F.codex\u002Fskills\u002Fghidra-re` — OpenAI Codex standard install\n- `~\u002F.claude\u002Fskills\u002Fghidra-re` — Claude Code standard install via `install_skill`\n- `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Flocal-agent-mode-sessions\u002Fskills-plugin\u002F...\u002Fskills\u002Fghidra-re` — Claude Code plugin install (UUID subdirectories vary per machine)\n\nV1 is optimized for Apple Mach-O reversing and dyld-extracted binaries. It now includes a localhost GUI bridge extension for live inspection, annotation, and controlled program surgery inside open Ghidra sessions, plus mission workspaces for multi-target investigation across frameworks, daemons, and helpers.\n\nThe custom automation scripts ship as Java Ghidra scripts because that is the most reliable headless path on this machine.\nOn Windows, the public repo now also ships a native PowerShell wrapper layer in `powershell\u002F` for people who want first-class PowerShell commands instead of starting in Git Bash.\n\n## Quick Start\n\n> All `scripts\u002F` paths below are relative to `$SKILL_ROOT`. Run the discovery snippet in \"Resolving the Skill Root\" first, then prefix every command with `\"$SKILL_ROOT\u002F\"`.\n\n1. On a fresh machine, run `\"$SKILL_ROOT\u002Fscripts\u002Fbootstrap\"` once.\n2. If bootstrap cannot find Ghidra or Java 21, run `\"$SKILL_ROOT\u002Fscripts\u002Fdoctor\"`.\n3. On Windows, if the targets live in a mounted or extracted macOS image, register that source first:\n   - `scripts\u002Fghidra_source_add mac-image root=\u002Fd\u002Fmacos-root platform=macos-image copy=cache`\n4. Start a multi-target mission when the task spans more than one framework, daemon, or helper:\n   - `scripts\u002Fghidra_mission_start \u003Cmission_name> goal=... target=... [target=...] [seed=...]`\n5. Extend the mission with a seed-driven trace:\n   - `scripts\u002Fghidra_mission_trace \u003Cmission_name> seed=\u003Ckind:value>`\n6. For a more autonomous pass, let the mission keep driving its own next hops:\n   - `scripts\u002Fghidra_mission_autopilot \u003Cmission_name> [rounds=3]`\n7. Read the mission report:\n   - `scripts\u002Fghidra_mission_report \u003Cmission_name>`\n   - `scripts\u002Fghidra_mission_report \u003Cmission_name> format=casefile`\n8. Finish the mission and close its live Ghidra sessions unless you explicitly keep them open:\n   - `scripts\u002Fghidra_mission_finish \u003Cmission_name>`\n9. For a single target, import and analyze into a dedicated project:\n   - `scripts\u002Fghidra_import_analyze \u003Cbinary|source:name:\u002Fpath\u002Fin\u002Fimage> [project_name]`\n10. Export the default Apple-focused bundle:\n   - `scripts\u002Fghidra_export_apple_bundle \u003Cproject_name> \u003Cprogram_name>`\n11. For Swift-heavy Apple targets, resolve `_OUTLINED_FUNCTION_*` stubs **before** exporting or decompiling — this is essential for any dyld-extracted binary (WorkflowKit, BackgroundTaskAgent, etc.) where the Swift compiler outlined ARC\u002Fcopy\u002Fmove helpers:\n   - `\"$SKILL_ROOT\u002Fscripts\u002Fghidra_resolve_swift_outlined\" \u003Cproject_name> \u003Cprogram_name> [dry_run=true] [inline=false] [skip_stubs=true] [scan_fun_stubs=true] [second_pass=true] [build_authstub_map=true] [cache_path=\u003Cpath>]`\n   - Pass `build_authstub_map=true` to resolve auth stubs to real symbol names (e.g. `outlined$authstub$swift_retain`) using the live dyld shared cache. Requires macOS with the system cache at its default location or `cache_path=` override. Adds ~30 s for the map build step.\n   - Re-export the Apple bundle afterwards to get updated function names in the inventory.\n   - To build or refresh the map separately (e.g. before a batch run): `scripts\u002Fghidra_build_authstub_map \u003Cproject_name> \u003Cprogram_name>`\n12. Generate a surface-level report before chasing individual mangled symbols:\n   - `scripts\u002Fghidra_swift_surface_report \u003Cproject_name> \u003Cprogram_name> [query] [format=json|markdown]`\n   - `scripts\u002Fghidra_describe_swift_type \u003Cproject_name> \u003Cprogram_name> \u003CTypeName>`\n12. Export the bug-hunt bundle only when the task is explicitly bug hunting or boundary triage:\n   - `scripts\u002Fghidra_export_bug_hunt_bundle \u003Cproject_name> \u003Cprogram_name>`\n13. Generate a function dossier for a top candidate:\n   - `scripts\u002Fghidra_function_dossier \u003Cproject_name> \u003Cprogram_name> \u003Cfunction_or_address>`\n14. Apply a finding back into the project when you confirm something interesting:\n   - `scripts\u002Fghidra_apply_finding \u003Cproject_name> \u003Cprogram_name> function=... title=... comment=...`\n15. Run an extra script when needed:\n   - `scripts\u002Fghidra_run_script \u003Cproject_name> \u003Cprogram_name> \u003Cscript_name> [script args...]`\n16. Record any friction or missing-feature notes through the shared notes flow before you wrap up the session:\n   - `scripts\u002Fghidra_notes_add title=... body=... category=workflow`\n   - `scripts\u002Fghidra_notes_status`\n   - `scripts\u002Fghidra_notes_open_shared`\n17. Open the project in the GUI:\n   - `scripts\u002Fghidra_open_gui \u003Cproject_name> [program_name]`\n18. Arm or reuse the live bridge when you want an interactive RE loop:\n   - `scripts\u002Fghidra_bridge_open \u003Cproject_name> [program_name]`\n19. Use the live bridge wrappers for inspection or edits:\n   - `scripts\u002Fghidra_bridge_current_context`\n   - `scripts\u002Fghidra_bridge_snapshot`\n   - `scripts\u002Fghidra_bridge_analyze_target \u003Cquery>`\n   - `scripts\u002Fghidra_bridge_decompile_current`\n   - `scripts\u002Fghidra_bridge_functions_search \u003Cquery>`\n   - `scripts\u002Fghidra_bridge_selector_trace \u003Cselector>`\n   - `scripts\u002Fghidra_bridge_swift_search \u003Ctype_or_method>`\n   - `scripts\u002Fghidra_bridge_swift_type \u003CTypeName>`\n   - `scripts\u002Fghidra_bridge_xrefs`\n   - `scripts\u002Fghidra_bridge_rename ...`\n   - `scripts\u002Fghidra_bridge_comment ...`\n   - `scripts\u002Fghidra_bridge_patch_bytes ...`\n   - `scripts\u002Fghidra_bridge_patch_instruction ...`\n20. Use the dyld-aware macOS import helper when a framework path comes from a live system image or extracted source root:\n   - `scripts\u002Fghidra_import_macos_framework \u003C\u002FSystem\u002F...\u002FFramework.framework\u002FFramework> [project_name] [copy=cache|direct] [source=\u003Cname>]`\n21. Build a one-file macOS share bundle when you want to hand the skill and Ghidra to another desktop:\n   - `scripts\u002Fbuild_mac_desktop_share_package [output_zip]`\n22. Build a one-file Windows share bundle when you want easy installation on a Windows machine:\n   - `scripts\u002Fbuild_windows_desktop_share_package [output_zip] [--ghidra-zip \u002Fpath\u002Fto\u002Fghidra.zip]`\n23. On Windows, optionally import the native module after install:\n   - `Import-Module GhidraRe`\n   - `Get-GhidraReBridgeSessions`\n   - `Start-GhidraReMission -Name win_trace -Goal 'Trace a subsystem' -Target 'source:mac-image:\u002FSystem\u002F...\u002FWorkflowKit'`\n24. Run the explicit polish pass before serious testing or publishing:\n   - `scripts\u002Fghidra_polish_release [mode=quick|release]`\n\n## Default Workflow\n\n### 1) Import into the dedicated workspace\n- First-use bootstrap writes machine-local config to `~\u002F.config\u002Fghidra-re\u002Fconfig.env`.\n- Projects live under `~\u002Fghidra-projects\u002Fprojects\u002F\u003Cproject_name>\u002F`.\n- Exports live under `~\u002Fghidra-projects\u002Fexports\u002F\u003Cproject_name>\u002F\u003Cprogram_name>\u002F`.\n- Logs live under `~\u002Fghidra-projects\u002Flogs\u002F\u003Cproject_name>\u002F`.\n- Multi-target investigation workspaces live under `~\u002Fghidra-projects\u002Finvestigations\u002F\u003Cmission_name>\u002F`.\n- Source-backed imports are cached under `~\u002Fghidra-projects\u002Fsources\u002F\u003Csource_name>\u002F` by default when you use `source:name:\u002Fpath`.\n- Prefer explicit project names for reusable work. If omitted, the import wrapper derives one from the binary basename.\n- On Windows, the PowerShell module resolves the installed skill root automatically from `CODEX_HOME`, `CLAUDE_HOME`, `~\u002F.codex\u002Fskills\u002Fghidra-re`, or `~\u002F.claude\u002Fskills\u002Fghidra-re`, then forwards to the same script surface regardless of which host loaded the skill.\n\n### 2) Use missions for cross-target work\n- Prefer `scripts\u002Fghidra_mission_start` whenever the question spans multiple frameworks, daemons, or XPC helpers.\n- Mission workspaces keep:\n  - `mission.json`\n  - `graph.sqlite`\n  - `exports\u002F`\n  - `reports\u002Flatest.md`\n  - `reports\u002Flatest.json`\n- Mission runs are notes-only by default. They do not rename symbols, comment programs, or patch bytes unless you explicitly call the existing write wrappers outside the mission flow.\n- `scripts\u002Fghidra_mission_trace` uses the investigation graph first, then live bridge helpers like `functions\u002Fsearch`, `analyze\u002Ftarget`, and `selector-trace`.\n- `scripts\u002Fghidra_mission_autopilot` extends that loop by choosing the next seed from configured seeds, graph-derived suggestions, and recent analysis notes, then capturing a live bridge snapshot back into the mission artifacts.\n- Autopilot seed ranking now prefers higher-signal graph functions, configured seeds, current-hypothesis targets, and preferred targets that have not been explored yet.\n- `scripts\u002Fghidra_mission_finish` is the default closeout path. It renders the report, records the closeout in the mission metadata, and closes the mission's bridge-managed Ghidra sessions unless `keep_sessions_open=true`.\n- `scripts\u002Fghidra_mission_finish` can also forward a discovered workflow-friction note into the shared GitHub-backed notes backlog with `shared_note_title=...` and `shared_note_body=...`.\n- Finished missions now also emit `reports\u002Fcasefile.md` and `reports\u002Fcasefile.json` as a cleaner analyst closeout bundle.\n\n### 3) Resolve Swift outlined functions (Swift-heavy binaries only)\n- For any dyld-extracted or Swift-heavy binary, run `scripts\u002Fghidra_resolve_swift_outlined` **before** exporting or decompiling. This renames 3,000–4,000 anonymous `_OUTLINED_FUNCTION_*` stubs to descriptive names (`outlined$argshuffle$`, `outlined$pactail$swift_retain$`, `outlined$loadglobal$`, `outlined$authstub$`, etc.) and marks pure ARC helpers as inline. Without this, the decompiler output for any Swift method that calls retain\u002Frelease is dominated by opaque `_OUTLINED_FUNCTION_0()` calls that hide the real control flow.\n- Re-run `scripts\u002Fghidra_export_apple_bundle` afterwards to regenerate the function inventory with updated names.\n- The script runs in two passes by default (`second_pass=true`): the main pass renames `_OUTLINED_FUNCTION_*`, anonymous `FUN_*` auth stubs (`scan_fun_stubs=true`), and existing `outlined$misc$` stubs ≤32 bytes that the expanded classifier can now better categorize. The second pass re-resolves pactail branch-target names using the now-renamed callees. This is important for dyld-extracted binaries where the `__stubs` region is named `FUN_*` instead of `_OUTLINED_FUNCTION_*` by Ghidra.\n- Categories: `argshuffle`, `pactail` (PAC-guarded tail call — callee name embedded when resolved), `loadglobal`, `loadmov`, `compare`, `pacsign`, `authstub` (named by GOT slot address in dyld extracts, or by actual symbol name when `authstub_map.json` is present — e.g. `outlined$authstub$swift_retain`), `helper` (small 1–16 instruction ret\u002Fb helper, ≤64 bytes; marked inline), `callwrap` (single-bl wrapper with callee name embedded, e.g. `callwrap$swift_getEnumTagSinglePayload`; marked inline), and `misc` (>64 bytes or unusual terminal — genuinely complex, left as-is). Only ~12 misc remain in WorkflowKit after a full pass.\n- `authstub_map.json` is built by `scripts\u002Fghidra_build_authstub_map` (also invoked automatically when `build_authstub_map=true` is passed to `ghidra_resolve_swift_outlined`). It parses the live dyld shared cache — including all split sub-cache `.dylddata` files — decodes PAC-tagged GOT slot pointers, looks up target symbols via `dyld_info -exports`, and batch-demangling with `xcrun swift-demangle`. Achieves ~99% resolution on WorkflowKit (1899\u002F1920 stubs). The resulting file is auto-discovered by `ResolveSwiftOutlined.java` on subsequent headless runs.\n\n### 4) Use the Apple export bundle\n- Run `scripts\u002Fghidra_export_apple_bundle` after import unless the user only wants a narrow script run.\n- The bundle runs `DemangleAllScript.java` and then exports:\n  - `program_summary.json`\n  - `objc_metadata.json`\n  - `swift_metadata.json`\n  - `function_inventory.json`\n  - `symbols.json`\n  - `strings.json`\n- `objc_metadata.json` now includes interface-quality class buckets, categories, class refs, selector refs, protocol refs, selector strings, and recovered protocol names so ObjC-heavy Apple frameworks can be followed without reopening Ghidra immediately.\n- `swift_metadata.json` now includes:\n  - demangled\u002Fraw Swift symbol pairs\n  - a stable alias map\n  - metadata-section summaries for `__swift5_*` blocks\n  - async-like entries, metadata accessors, protocol conformance hints, and dispatch-thunk tagging\n- Set `GHIDRA_EXPORT_DEMANGLE=0` when you want a faster or quieter export pass without the blanket demangle step.\n- For Swift-heavy frameworks, prefer `scripts\u002Fghidra_swift_surface_report` before ad hoc `functions\u002Fsearch` calls so you start from grouped types\u002Fmethods instead of raw mangled names.\n\n### 5) Use targeted scripts for follow-up\n- Run `scripts\u002Fghidra_export_bug_hunt_bundle` when the task is bug hunting, boundary analysis, or userland trust-boundary triage.\n- Use `scripts\u002Fghidra_function_dossier` on the top-ranked candidate paths before decompiling functions ad hoc.\n- For ObjC-heavy frameworks, start with `scripts\u002Fghidra_objc_surface_report`, then drill into `scripts\u002Fghidra_describe_objc_class`, `scripts\u002Fghidra_describe_objc_protocol`, `scripts\u002Fghidra_describe_selector`, `scripts\u002Fghidra_trace_classref`, and `scripts\u002Fghidra_objc_message_flow` when you need a more useful selector-level flow view.\n- Use `scripts\u002Fghidra_apply_finding` only when you want to write comments, bookmarks, or renames back into the project.\n- Use `scripts\u002Fghidra_notes_add` whenever the workflow exposes missing features, confusing outputs, or repetitive manual steps. The GitHub-backed shared issue is now the canonical community backlog; `references\u002Fuse-case-driven-notes.md` is legacy\u002Freference-only.\n- `DecompileFunction.java` for on-demand decompilation\n- `ExportXrefs.java` for targeted xref tracing\n- `ExportAppleBundle.java` when you want the full structured export outside the convenience wrapper\n\n### 6) Use the live bridge for iterative GUI sessions\n- Prefer the live bridge whenever the target is already open or the task will involve repeated `search -> navigate -> decompile -> refs` loops.\n- Prefer headless exports for wide scans, batch bundles, or cold-start project setup; switch to the bridge once you want a tighter interactive loop.\n- `scripts\u002Fbootstrap` installs the bridge extension into the user's Ghidra settings when possible.\n- If Ghidra was already running before the install, restart it once or run `EnableCodexBridge.java` from the GUI Script Manager.\n- The bridge now keeps a real multi-session registry under `~\u002F.config\u002Fghidra-re\u002Fbridge-sessions\u002F` and a compatibility pointer at `~\u002F.config\u002Fghidra-re\u002Fbridge-current.json`.\n- `scripts\u002Fghidra_bridge_open` and `scripts\u002Fghidra_bridge_arm` write per-request files under `~\u002F.config\u002Fghidra-re\u002Fbridge-requests\u002F`, first give an already-running Ghidra session a chance to consume them, and only then launch a detached GUI session if needed.\n- Use `scripts\u002Fghidra_bridge_sessions` to list live sessions and `scripts\u002Fghidra_bridge_select` to change the default target.\n- On macOS, detached launches use a hidden `screen` keeper session so Ghidra survives after the launcher command exits and the bridge remains usable across the rest of the Codex session.\n- Cross-project arms are supported: a running `bsr_smoke` session can ignore a `workflowkit_bug_smoke` request while a newly launched WorkflowKit instance consumes the same request file and becomes another live session.\n- `scripts\u002Fghidra_bridge_call` is the raw HTTP wrapper; prefer the convenience wrappers for common tasks.\n- `scripts\u002Fghidra_bridge_open` now waits until both `\u002Fhealth` and `\u002Fsession` succeed before it returns, so a reported armed bridge is immediately queryable.\n- `scripts\u002Fghidra_bridge_snapshot` captures the current live session, function, decompile, references, and variables in one machine-readable artifact for later ingestion or notes.\n- Bridge snapshots now try to resolve the containing function from the current address, so mid-function cursor positions still produce a useful decompile\u002Freferences bundle.\n- Most live bridge wrappers accept optional `session=\u003Cid>`, `project=\u003Cname>`, or `program=\u003Cname>` selectors.\n- Prefer `project=` or `session=` when duplicate live targets share the same `program_name`.\n- `scripts\u002Fghidra_bridge_swift_search` combines the live bridge session with the latest export bundle so type or method queries can resolve through stable aliases and thunk\u002Fcanonical addresses.\n- `scripts\u002Fghidra_bridge_swift_type` aggregates grouped Swift type context, related strings, ObjC bridge names, metadata accessors, and the best live-analysis target when one is available.\n- Mutating bridge calls require `write=true`; destructive bridge calls also require `destructive=true`.\n- The PowerShell module mirrors the most common source, mission, and bridge commands with `Verb-GhidraRe*` functions for Windows-first usage.\n\n## Command Surface\n\nRun these wrappers from the skill directory:\n\n- `scripts\u002Fghidra_import_analyze \u003Cbinary> [project_name]`\n- `scripts\u002Fghidra_import_macos_framework \u003C\u002FSystem\u002F...\u002FFramework.framework[\u002FFramework]> [project_name] [copy=cache|direct] [source=\u003Cname>]`\n- `scripts\u002Fghidra_run_script \u003Cproject_name> \u003Cprogram_name> \u003Cscript_name> [script args...]`\n- `scripts\u002Fghidra_export_apple_bundle \u003Cproject_name> \u003Cprogram_name>`\n- `scripts\u002Fghidra_resolve_swift_outlined \u003Cproject_name> \u003Cprogram_name> [dry_run=true] [inline=false] [skip_stubs=true] [scan_fun_stubs=true] [second_pass=true] [verbose=true] [build_authstub_map=true] [cache_path=\u003Cpath>]`\n- `scripts\u002Fghidra_build_authstub_map \u003Cproject_name> \u003Cprogram_name>`  — build\u002Frefresh `authstub_map.json` from the live dyld shared cache\n- `scripts\u002Fghidra_build_isa_map \u003Cproject_name> \u003Cprogram_name>`  — build\u002Frefresh `isa_map.json` for ObjC runtime isa resolution during LLDB tracing\n- `scripts\u002Fghidra_lldb_symbols \u003Cbinary_path> [\u003Cproject_name> \u003Cprogram_name>]`  — static symbol inventory via LLDB (ObjC methods, trampolines, etc.)\n- `scripts\u002Fghidra_lldb_trace \u003Cproject_name> \u003Cprogram_name> launch_cmd=\u003Cbin> symbols=\u003Csyms> [max_hits=100] [timeout=30] [capture_args=true] [capture_backtrace=false] [capture_objc_args=true]`  — runtime breakpoint trace, captures arg registers and optional ObjC self\u002Fselector context\n11b. For runtime analysis of binaries you can launch or attach to, use the LLDB integration tools:\n   - `scripts\u002Fghidra_lldb_symbols \u003Cbinary_path> [\u003Cproject_name> \u003Cprogram_name>]` — extract the full symbol table (ObjC methods, trampolines, data symbols) from a Mach-O binary in 0.7 s using LLDB's static module loading. No process needed. Outputs `lldb_symbols.json`.\n   - `scripts\u002Fghidra_build_isa_map \u003Cproject_name> \u003Cprogram_name>` — extract concrete `_OBJC_CLASS_$_...` and `_OBJC_METACLASS_$_...` addresses from `symbols.json` and save `isa_map.json` beside the export bundle. Use this before isa-aware LLDB traces so captured `objc_isa` values can be resolved offline.\n   - `scripts\u002Fghidra_lldb_trace \u003Cproject_name> \u003Cprogram_name> launch_cmd=\u003Cbinary> symbols=\u003Csym1,sym2> [max_hits=100] [timeout=30] [capture_args=true] [capture_backtrace=false] [capture_objc_args=true]` — run a binary under LLDB with breakpoints, capturing argument registers (x0-x7), optional backtraces, and when enabled, `self_ptr`, `objc_isa`, resolved `self_class`, and selector cstrings from `x1`. Outputs `lldb_trace_\u003Ctimestamp>.json`.\n   - `capture_objc_args=true` auto-enables isa capture and tries to build\u002Fload `isa_map.json` from the export bundle. If the export bundle is unavailable, tracing still runs and records raw `objc_isa` \u002F selector pointers when possible.\n   - For `attach_name=\u003Cprocess>`, LLDB's `--waitfor` attaches only after the process appears, but the wrapper's timeout countdown starts immediately. Use a generous timeout for event-driven targets, start the trace first, then trigger the shortcut or app action right away.\n   - LLDB trace works on any binary you compile or own. For system framework analysis, compile a Swift\u002FObjC test harness that exercises the code path of interest.\n- `scripts\u002Fghidra_swift_surface_report \u003Cproject_name> \u003Cprogram_name> [query] [format=json|markdown]`\n- `scripts\u002Fghidra_describe_swift_type \u003Cproject_name> \u003Cprogram_name> \u003Ctype_query>`\n- `scripts\u002Fghidra_objc_surface_report \u003Cproject_name> \u003Cprogram_name> [format=json|markdown]`\n- `scripts\u002Fghidra_describe_objc_class \u003Cproject_name> \u003Cprogram_name> \u003Cclass_name>`\n- `scripts\u002Fghidra_describe_objc_protocol \u003Cproject_name> \u003Cprogram_name> \u003Cprotocol_name>`\n- `scripts\u002Fghidra_describe_selector \u003Cproject_name> \u003Cprogram_name> \u003Cselector>`\n- `scripts\u002Fghidra_trace_classref \u003Cproject_name> \u003Cprogram_name> \u003Cclass_name>`\n- `scripts\u002Fghidra_objc_message_flow \u003Cproject_name> \u003Cprogram_name> \u003Cselector> [class=\u003CClassName>]`\n- `scripts\u002Fghidra_export_bug_hunt_bundle \u003Cproject_name> \u003Cprogram_name>`\n- `scripts\u002Fghidra_function_dossier \u003Cproject_name> \u003Cprogram_name> \u003Cfunction_or_address>`\n- `scripts\u002Fghidra_apply_finding \u003Cproject_name> \u003Cprogram_name> \u003Ckey=value args...>`\n- `scripts\u002Fghidra_open_gui \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_build`\n- `scripts\u002Fghidra_bridge_install`\n- `scripts\u002Fghidra_bridge_arm \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_open \u003Cproject_name> [program_name]`\n- `scripts\u002Fghidra_bridge_close [session=\u003Cid>|project=\u003Cname>|program=\u003Cname>]`\n- `scripts\u002Fghidra_bridge_close_all [mission=\u003Cname>] [all=true]`\n- `scripts\u002Fghidra_bridge_disarm`\n- `scripts\u002Fghidra_bridge_sessions`\n- `scripts\u002Fghidra_bridge_select session=\u003Cid>|project=\u003Cname>|program=\u003Cname>`\n- `scripts\u002Fghidra_bridge_status`\n- `scripts\u002Fghidra_bridge_call \u003Cendpoint> [json_body]`\n- `scripts\u002Fghidra_bridge_current_context`\n- `scripts\u002Fghidra_bridge_snapshot [key=value ...]`\n- `scripts\u002Fghidra_bridge_analyze_target \u003Cquery> [key=value ...]`\n- `scripts\u002Fghidra_bridge_decompile_current [key=value ...]`\n- `scripts\u002Fghidra_bridge_functions_search \u003Cquery> [key=value ...]`\n- `scripts\u002Fghidra_bridge_swift_search \u003Ctype_or_method> [key=value ...]`\n- `scripts\u002Fghidra_bridge_swift_type \u003CTypeName> [key=value ...]`\n- `scripts\u002Fghidra_bridge_selector_trace \u003Cselector> [key=value ...]`\n- `scripts\u002Fghidra_bridge_xrefs [key=value ...]`\n- `scripts\u002Fghidra_bridge_rename key=value ...`\n- `scripts\u002Fghidra_bridge_comment key=value ...`\n- `scripts\u002Fghidra_bridge_apply_signature key=value ...`\n- `scripts\u002Fghidra_bridge_apply_type key=value ...`\n- `scripts\u002Fghidra_bridge_patch_bytes \u003Caddress> \u003Chex_bytes>`\n- `scripts\u002Fghidra_bridge_patch_instruction \u003Caddress> \u003Cassembly>`\n- `scripts\u002Fghidra_bridge_clear_listing \u003Cstart> [end] [mode]`\n- `scripts\u002Fghidra_bridge_disassemble \u003Cstart> [end]`\n- `scripts\u002Fghidra_bridge_create_function \u003Centry> [name] [end]`\n- `scripts\u002Fghidra_bridge_delete_function \u003Cfunction_or_address>`\n- `scripts\u002Fghidra_bridge_create_data \u003Caddress> \u003Cdatatype>`\n- `scripts\u002Fghidra_bridge_delete_data \u003Caddress> [end]`\n- `scripts\u002Fghidra_source_add \u003Cname> root=\u003Cpath> [platform=macos-image] [copy=cache|direct]`\n- `scripts\u002Fghidra_source_list`\n- `scripts\u002Fghidra_source_resolve \u003Cname> \u003C\u002Fpath\u002Fin\u002Fimage> [copy=cache|direct]`\n- `scripts\u002Fghidra_mission_start \u003Cmission_name> goal=... target=... [target=...] [seed=...]`\n- `scripts\u002Fghidra_mission_status \u003Cmission_name>`\n- `scripts\u002Fghidra_mission_trace \u003Cmission_name> seed=\u003Ckind:value> [target=project:program]`\n- `scripts\u002Fghidra_mission_report \u003Cmission_name> [format=markdown|json|path]`\n- `scripts\u002Fghidra_mission_report \u003Cmission_name> [format=markdown|json|path|casefile|casefile-path]`\n- `scripts\u002Fghidra_mission_autopilot \u003Cmission_name> [rounds=3] [seed=\u003Ckind:value>] [target=project:program]`\n- `scripts\u002Fghidra_mission_finish \u003Cmission_name> [all=true] [keep_sessions_open=true]`\n- `scripts\u002Fghidra_notes_add title=... body=... [category=workflow] [target=...]`\n- `scripts\u002Fghidra_notes_sync`\n- `scripts\u002Fghidra_notes_pull`\n- `scripts\u002Fghidra_notes_status`\n- `scripts\u002Fghidra_notes_remediate fingerprint=... [summary=...]`\n- `scripts\u002Fghidra_notes_open_shared [browse=true]`\n- `scripts\u002Fbootstrap [--skip-smoke-test]`\n- `scripts\u002Fdoctor`\n- `scripts\u002Fghidra_polish_release [mode=quick|release]`\n- `scripts\u002Fbuild_share_package [output_zip]`\n- `scripts\u002Fbuild_mac_desktop_share_package [output_zip] [--without-ghidra-payload]`\n- `scripts\u002Fbuild_windows_desktop_share_package [output_zip] [--ghidra-zip \u002Fpath\u002Fto\u002Fghidra.zip]`\n- `powershell\u002FGhidraRe.psd1` and `powershell\u002FGhidraRe.psm1` for native Windows PowerShell wrappers\n- `scripts\u002Fghidra_polish_release` for the explicit pre-test release\u002Fpolish pass\n\n### Script argument style\n- Prefer `key=value` arguments because they are robust under `analyzeHeadless`.\n- The wrapper also accepts `--key value` and rewrites it to `key=value`.\n- Set `GHIDRA_IMPORT_DEMANGLE=0` to skip the default import-time demangle pass.\n- Examples:\n  - `scripts\u002Fghidra_run_script bsr_smoke BackgroundShortcutRunner DecompileFunction.java function=-[WFBackgroundShortcutRunner runWorkflowWithDescriptor:request:inEnvironment:runningContext:completion:] output=\u002Ftmp\u002Fwf_runner.c`\n  - `scripts\u002Fghidra_run_script bsr_smoke BackgroundShortcutRunner ExportXrefs.java --symbol _objc_msgSend --output \u002Ftmp\u002Fobjc_msgsend_xrefs.json`\n\n## Built-ins Vs Custom Scripts\n\n- Prefer the custom scripts in `scripts\u002Fghidra_scripts\u002F` for structured exports and repeatable output.\n- The main custom scripts are:\n  - `ExportAppleBundle.java`\n  - `ExportEntrypoints.java`\n  - `ExportSinks.java`\n  - `TriageBugPaths.java`\n  - `ExportFunctionDossier.java`\n  - `ApplyFinding.java`\n  - `DecompileFunction.java`\n  - `ExportXrefs.java`\n- Prefer built-in scripts only when they already solve the job cleanly.\n- Safe default built-in:\n  - `DemangleAllScript.java`\n- Built-ins that are often useful but context-sensitive:\n  - `SwiftDemanglerScript.java`\n  - `MachO_Script.java`\n- Built-ins that are less suited to headless automation because they prompt or assume a GUI cursor:\n  - `ExportFunctionInfoScript.java`\n\nUse `scripts\u002Fghidra_run_script` for both built-ins and custom scripts. It adds the custom script directory and the common built-in Ghidra script directories to `-scriptPath`.\n\n## References\n\nRead only what you need:\n\n- Apple Mach-O notes and common targets: `references\u002Fapple-macho-notes.md`\n- Output files and schemas: `references\u002Foutput-files.md`\n- Bridge session and operation-log notes: `references\u002Foutput-files.md`\n- Bug-hunt output bundle details: `references\u002Fbug-hunt-outputs.md`\n- Bug-hunt heuristics and categories: `references\u002Fbug-hunt-patterns.json`\n- Built-in script caveats: `references\u002Fbuiltins.md`\n- Use-case-driven skill improvement notes: shared via the GitHub-backed notes commands above; `references\u002Fuse-case-driven-notes.md` is legacy\u002Freference history inside the repo\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fghidra-re-skill-main",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill ghidra-re",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill ghidra-re",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill ghidra-re","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",338,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"RE_ROADMAP.md",12268,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002FRE_ROADMAP.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"README.md",13823,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002FREADME.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fapple-macho-notes.md",1232,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Fapple-macho-notes.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fbug-hunt-outputs.md",986,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Fbug-hunt-outputs.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fbug-hunt-patterns.json",7896,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Fbug-hunt-patterns.json",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fbuiltins.md",1329,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Fbuiltins.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Foutput-files.md",3960,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Foutput-files.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fuse-case-driven-notes.md",6920,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fghidra-re-skill-main\u002Freferences\u002Fuse-case-driven-notes.md",[85,93,98,105,112,119],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":92},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":94,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":92},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":92},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":92},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":92},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":92},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]