hopper-debugger
यह क्या करती है
यह स्किल एजेंट को Mac और iPhone की कम्पाइल की हुई प्रोग्राम फ़ाइलों के लिए Hopper डिसअसेम्बलर से सवाल पूछने देती है, फिर उसे सोर्स, डीबगर और लॉग आउटपुट के साथ जोड़ती है। यह नेटिव ऐप्स की डीबगिंग करने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब कोई कम्पाइल किया हुआ macOS या iOS ऐप क्रैश होता है और आपको उसकी अंदरूनी संरचना देखनी है।
- ✓जब आपको बाइनरी में Objective-C या Swift सिंबल खोजने हैं।
- ✓जब आप डिसअसेम्बलर को डीबगर और फ़ोकस्ड टेस्ट के साथ मिलाना चाहते हैं।
Skill का लिंक
https://github.com/steipete/agent-scripts/blob/main/skills/hopper-debugger/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Hopper से पता लगाइए कि इस Mac ऐप का कौन-सा फ़ंक्शन क्रैश संभालता है, और वह क्या करता है समझाइए।”
हर हफ़्ते 5 नई skills, 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 विकल्प चुपचाप अनदेखा हो जाता है।
क्या किसी तीसरे पक्ष के सर्वर की ज़रूरत है?
नहीं। Hopper 6.0 और उसके बाद के वर्शन अपना MCP सर्वर साथ लेकर आते हैं, और स्किल कोई दूसरा इंस्टॉल न करने को कहती है।
क्या सर्वर अपने-आप दस्तावेज़ चुनता है?
नहीं। दस्तावेज़ का नाम न दिया जाए तो कॉल विफल होती है, भले ही कोई दस्तावेज़ खुला हो।
जानकारी
लेखक का मूल विवरण
Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.
repo: steipete/agent-scripts
लोकप्रियता
- GitHub स्टार
- 7.4k
- रैंकिंग में स्थान
- #13232
- लाइसेंस
- MIT
- अपडेट की गई
- 30/10/2026
कमेंट
- …
इस repository की और skills
beeper
7.4kआपके एजेंट को आपकी लोकल Beeper चैट हिस्ट्री में संदेश खोजने और यह पता करने में मदद करती है कि कोई अस्पष्ट संकेत किस चैट या संपर्क का है।
cloudflare-registrar
7.4kआपके एजेंट को Cloudflare Registrar पर डोमेन की कीमत और उपलब्धता जाँचने, और पुष्टि के बाद डोमेन रजिस्टर या सूचीबद्ध करने में मदद करती है।
codexbar
7.4kआपके एजेंट को Codex, Claude और Kimi जैसी AI सेवाओं पर आपका कितना उपयोग बचा है, यह जाँचने में मदद करती है, जिसमें सीमा, क्रेडिट और रीसेट का समय शामिल है।
create-cli
7.4kआपके एजेंट को कमांड लाइन टूल के कमांड, फ़्लैग, हेल्प टेक्स्ट, आउटपुट और एरर इस तरह डिज़ाइन करने में मदद करती है कि वह लोगों और स्क्रिप्ट दोनों के लिए काम करे।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।