hopper-debugger
하는 일
이 스킬은 에이전트가 Hopper 디스어셈블러에 컴파일된 Mac과 iPhone 프로그램 파일을 질의하도록 합니다. 그 결과를 소스 코드, 디버거, 로그 출력과 함께 살펴볼 수 있습니다. 네이티브 앱을 디버깅하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓컴파일된 macOS나 iOS 앱이 충돌해서 내부 구조를 봐야 할 때.
- ✓바이너리에서 Objective-C나 Swift 심볼을 찾아봐야 할 때.
- ✓디스어셈블러와 디버거를 함께 쓰고 집중된 테스트를 하고 싶을 때.
스킬 링크
https://github.com/steipete/agent-scripts/blob/main/skills/hopper-debugger/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Hopper로 이 Mac 앱에서 충돌을 처리하는 함수를 찾아서, 그 함수가 무엇을 하는지 설명해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 mcporter를 통해 Hopper 서버에 연결하고, 문서 이름과 함께 각 요청을 보냅니다. 그다음 결과를 로컬 소스, 로그, 또는 작은 테스트로 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Hopper Debugger
Use Hopper through mcporter as a queryable disassembler, then combine the result with local source, LLDB, logs, and focused repros.
Setup (one time)
Hopper 6.0+ ships its own MCP server. Do not install a third-party one.
mcporter config add hopper --scope home \
--command "/Applications/Hopper Disassembler.app/Contents/MacOS/HopperMCPServer" \
--description "Hopper Disassembler built-in MCP server (stdio)"
--scope home is required. The default scope is project, which writes config/mcporter.json into whatever repo you are standing in (untracked repo dirt, lost with the worktree).
Verify:
MCPORTER_LIST_TIMEOUT=25000 timeout 40 mcporter list hopper --brief
Call convention — the one that bites
Always pass arguments with --args. Never --params. mcporter accepts an unknown --params flag silently, drops the payload, and the call arrives with no arguments. Hopper then answers Document not found., which reads like a licensing or state problem and is not.
# WRONG — arguments silently dropped, fails with "Document not found."
mcporter call hopper.list_segments --params '{"document":"AppKit"}'
# RIGHT
mcporter call hopper.list_segments --args '{"document":"AppKit"}'
Related: the server does not fall back to the current document. A call with no document argument fails even when current_document returns a valid name. Pass document on every document-scoped call.
Document names come from list_documents and carry no .hop extension (window title AppKit.hop → document name AppKit).
If a call still fails, drive the server directly over stdio to see the raw JSON-RPC — this bypasses mcporter entirely and isolates who is at fault:
"/Applications/Hopper Disassembler.app/Contents/MacOS/HopperMCPServer" <<'EOF'
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"p","version":"1"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_documents","arguments":{}}}
EOF
Licensing — do not misdiagnose
Hopper 6.x still uses the bundle id and preferences domain com.cryptic-apps.hopper-web-4. The absence of a hopper-web-6 domain does not mean the app is unlicensed. Check the real state in the About panel (Hopper Disassembler > About Hopper Disassembler); it prints the licensee, order id, and update-plan expiry. There is no Register/License menu item in Hopper 6.
Peter's license: order HOP140213-7833-95831, updates through 2027-05-17. The .hopperLicense file is in 1Password (Molty vault, document item "Hopper Disassembler License (HOP140213-7833-95831)"); load $one-password to retrieve it. Opening a .hopperLicense file with Hopper does not register it — Hopper disassembles it as a document.
Opening documents
open -a "Hopper Disassembler" /path/to/Binary
Small binaries import with no dialog. Large frameworks take minutes; poll instead of sleeping:
until mcporter call hopper.list_documents --output json 2>/dev/null | grep -qi "appkit"; do sleep 10; done
Dismiss any first-open dialog with an Accessibility press, never a synthetic click — clicking moves Peter's physical pointer:
osascript -e 'tell application "System Events" to tell process "Hopper Disassembler" to perform action "AXPress" of (button 1 of window 1)'
Apple frameworks
Apple frameworks live in the dyld shared cache, not on disk. Two routes:
- Prefer Peter's pre-made exports at
~/Library/CloudStorage/Dropbox/Hopper/—.hopdocuments plus.mpseudo-code dumps for AppKit, AccessibilityKit, and others. Grepping the.mis often faster than any MCP round-trip (AppKit.mis 244 MB). Check provenance before trusting them for version work. These are snapshots; as of 2026-08 they predate macOS 26.6 and 27.0, and their class/method inventory differs from both live runtimes. Good for structure, unreliable for OS-version diffing. - Extract fresh with
/usr/lib/dsc_extractor.bundle(present on macOS; extracts all dylibs, multi-GB, slow).
Query workflow
- Start from the local source path or runtime symbol you are trying to explain.
- Find the symbol, then inspect one small target at a time:
mcporter call hopper.search_procedures --args '{"document":"AppKit","pattern":"addCursorRect"}' --output json
mcpor
자주 묻는 질문
요청에는 무엇이 들어가야 하나요?
인자는 args 옵션으로 전달해야 합니다. params 옵션은 조용히 무시됩니다.
제3자 서버가 필요한가요?
아닙니다. Hopper 6.0 이상에는 자체 MCP 서버가 포함되어 있어, 스킬은 다른 서버를 설치하지 말라고 설명합니다.
서버가 문서를 자동으로 고르나요?
아닙니다. 문서 이름 없이 호출하면 문서가 열려 있어도 실패합니다.
상세 정보
작성자의 원본 설명
Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.
repo: steipete/agent-scripts
인기도
- GitHub 스타
- 7.4k
- 순위
- #13232
- 라이선스
- MIT
- 업데이트
- 2026. 10. 30.
댓글
- …
이 저장소의 다른 스킬
beeper
7.4k에이전트가 로컬 Beeper 채팅 기록을 검색해 메시지를 찾고, 모호한 힌트가 어느 채팅이나 연락처를 가리키는지 알아내도록 돕습니다.
cloudflare-registrar
7.4k에이전트가 Cloudflare Registrar에서 도메인 가격과 사용 가능 여부를 확인하고, 확인 단계를 거쳐 도메인을 등록하거나 목록을 조회하도록 돕습니다.
codexbar
7.4k에이전트가 Codex, Claude, Kimi 같은 AI 서비스의 남은 사용량을 한도, 크레딧, 초기화 시간과 함께 확인하도록 돕습니다.
create-cli
7.4k에이전트가 명령줄 도구의 명령, 옵션, 도움말, 출력, 오류를 설계해 사람과 스크립트 모두가 쓸 수 있도록 돕습니다.