agentleFS
t1mericksont1merickson/skills/hopper-mcp/SKILL.md

hopper-mcp

Skill1 starsChanged 3 months agoMITView on GitHub

Operate Hopper Disassembler through its MCP server only when the user explicitly asks to inspect a binary in Hopper or invokes this skill. Do not trigger merely because a task mentions reverse engineering.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use only for an explicit Hopper/binary-inspection request.

    line 8
  2. Very specific:

    Use current_document and list_documents to prove which Hopper document is active.

    line 15
  3. Distinctive:

    Wait for Hopper's initial analysis to finish.

    line 16
  4. Distinctive:

    Start with targeted strings, names, selectors, classes, URLs, paths, and error text.

    line 25
  5. Distinctive:

    Follow cross-references to candidate functions, then use callers to find how a feature is reached and callees to find what it can affect.

    line 26
  6. Distinctive:

    Read bundle metadata, entitlements, linked libraries, and exports as capability context—not proof that a path executes.

    line 28
  7. Distinctive:

    Read references/binary-reading.md for Objective-C, Swift, Mach-O, and terminal details.

    line 44
  8. Distinctive:

    When documenting a format or interface for interoperability, separate observed bytes/calls from proposed semantics and preserve …

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hopper MCP

Use only for an explicit Hopper/binary-inspection request. Generic words such as reverse engineering, decompilation, interoperability, app behavior, or binary format are not enough to activate this skill.

Hopper's tools navigate an analysis database the user has open. The job is to locate relevant code quickly, interpret lossy output without being seduced by plausible pseudo-code, and separate confirmed behavior from attractive guesses.

Establish the target

  1. Confirm the binary/bundle, architecture, provenance, and question.
  2. Use current_document and list_documents to prove which Hopper document is active.
  3. Wait for Hopper's initial analysis to finish; partial analysis produces false absences.
  4. For an app bundle, determine whether the behavior lives in the main executable, XPC service, login item, helper, framework, or extension before interpreting a missing result. The main executable is often only the UI shell.

Work one document at a time and recheck it whenever results appear inconsistent.

Search broad, trace narrow

Read references/tool-workflow.md.

  • Start with targeted strings, names, selectors, classes, URLs, paths, and error text. Avoid dumping global procedure/string tables.
  • Follow cross-references to candidate functions, then use callers to find how a feature is reached and callees to find what it can affect. A feature's shape is often visible in the call graph before its pseudo-code is readable.
  • Inspect function size/blocks before decompiling. Use assembly when pseudo-code loses control flow, constants, dispatch, or pointer indirection.
  • Read bundle metadata, entitlements, linked libraries, and exports as capability context—not proof that a path executes.
  • For static pointer tables and chained fixups, use platform tooling that resolves encoded on-disk pointers; raw bytes may not be addresses.

Annotate or rename inside Hopper only when useful and within the user's request. Prefer comments that state evidence and uncertainty. Do not turn a tentative hypothesis into a persistent symbol name.

Evidence discipline

Separate:

  • present: code/data exists in this binary;
  • reachable: a known entry path can call it;
  • observed: runtime evidence shows it executed;
  • inferred: the best explanation, not yet corroborated.

Corroborate material findings with independent signals such as string + xref + caller/callee, metadata + implementation, or static path + runtime observation. One suggestive name is a lead, not a finding. Hopper pseudo-code and symbol recovery are lossy.

Read references/binary-reading.md for Objective-C, Swift, Mach-O, and terminal details. Read references/scenarios.md for common investigations.

Report behavior first

Lead with behavior in plain language, then supply mechanism where it explains the result. “It scans this directory on launch” is usually more useful than opening with an objc_msgSend signature. State target binary/architecture, evidence grade, path to the relevant code, corroborating signals, uncertainty, and the next check that would upgrade confidence. Distinguish what the app can do from what it does in normal use—the classic overclaim is finding an upload path and reporting that normal use uploads data without proving reachability or observation.

When documenting a format or interface for interoperability, separate observed bytes/calls from proposed semantics and preserve representative hashes/offsets so another analyst can reproduce the claim.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.