/tool:inspectfrom tool
Use when code for a vendor host (plug-in, extension, script, MCP client) needs a fact its documentation lacks or contradicts, covering evidence order across installed files, host state, binaries, and a running instance
Ships in tool. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Investigation of closed vendor software reads evidence in cost order and stops at the first tier that settles the question.
tool:ghidra for decompiling a function or emulating codeterminal:history for earlier sessions that probed the same hostInvestigations open with one written question before any command:
Info.plist), and the code decision the answer changesEach tier runs only when tiers above it leave the question open:
| [INDEX] | [TIER] | [READS] | [SETTLES] |
|---|---|---|---|
| [01] | Identity | Info.plist, entitlements, files found by name | Build, sandbox, scripting kind, paths |
| [02] | Declarations | Manifests, JSON configs, shipped JS, type files, static .sdef | Declared API shape |
| [03] | Host state | Logs, preferences, caches, crash reports | Behavior on its last run |
| [04] | Publications | Vendor docs, type packages, forums at the installed version | Documented contracts, return values |
| [05] | Binary text | Strings, embedded JS and JSON, exports, .NET assemblies | Candidate names, keys, paths |
| [06] | Observation | Ports, one protocol handshake, unified log | Served behavior, raw error codes |
| [07] | Probe | One launch, one change, readback, restore | Effect of one variable |
| [08] | Decompilation | Function referencing a tier 5 string | Gate logic, evaluation order |
Tier steps that decided past investigations:
fd and mdfind find a file by name, a guessed path misses vendor folders with doubled or versioned namescodesign -d --entitlements - <host> shows disable-library-validation, which decides whether a host loads a plug-in of another teamfq -d bplist 'torepr | from_ns_keyed_archiver' <file> decodes keyed-archive preferences plutil prints as raw objectsrg -a -o '<literal>' <bundle> with the exact key, path, or error message from the failure, then strings beside each hitipsw macho search <app> --sym '<regex>' (--class, --import) names the Mach-O of a bundle holding a symbol before any readipsw class-dump <bin> --arch arm64 lists classes and selectorsswift-section interface -a arm64 <bin> prints types, protocols, and conformancesnm -gU <bin> | c++filt lists exports a host resolves from a plug-inilspycmd -t <Namespace.Type> <dll> decompiles to source with no Ghidraasar extract-file for Electron, rg -a for scripts inside a binarylsof -nP -a -p <pid> -iTCP -sTCP:LISTEN names each port per process, then one initialize and tools/list for an MCP serverlog show --predicate over the failing process and its daemons (appleeventsd, tccd) returns the raw OS error codellvm-objdump cross-references settle whether a slot or symbol is read, tool:ghidra the logic around itEvidence counts for its own tier alone:
Reads that change host state take their safe form:
| [INDEX] | [READ] | [SAFE_FORM] |
|---|---|---|
| [01] | Dictionary read (sdef, osascript) | Info.plist key OSAScriptingDefinitionIsDynamic, then a disk .sdef |
| [02] | Tokens or paths guessed at a server | Port per pid from lsof, auth and paths from tier 5 or 8 |
| [03] | Relaunch to retest | Probe naming its hypothesis and readback before launch |
| [04] | Extraction into working folder | Scratch folder as working directory |
| [05] | Code against an unproven route | Probe proving the route before any library or product code |
Investigations end on an answer or a change of tier:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bsamiee/rasm --plugin tool6 skills in this plugin
/debuggingUse when a program misbehaves at runtime and its cause is unproven (crash, hang, wrong value, breakpoint that never stops), covering the method from stop to report, debugger sessions, breakpoints, stops, hang and crash evidence, and cleanup/ghidraUse when reading, annotating, or emulating a binary through Ghidra, covering headless scripts and the Serve process/googleUse when work reads or writes any Google account or service (Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Tasks, Forms, Chat, Keep, YouTube, Apps Script, Cloud APIs, Workspace admin) or drives the owner's signed-in Chrome, web and chrome:// pages alike, covering account routing across gog, GAM, and Drive mounts, output shapes, edits, misleading errors, and Chrome settings, flags, and extensions through chrome-devtools