deep-analysis
БесплатноБез исполняемых скриптовНе проверенUse when one question about a program in Ghidra needs an answer - what one function does, what is at one address, whether one behaviour is present, where one…
Об этом скилле
Deep Analysis
One question, one loop. Input: a question and a starting point (address, symbol, string or import). Output: the answer with evidence and the database writes; under working-threads, also a ## Thread report. Pass the programPath to every call.
A single question writes no workspace files. The database is the record.
Start
- Write the question and its starting point in one line.
- Write what closes it: the evidence you expect to read, and what would refute it.
- Starting point is an import: call
find-import-references. A string: get its address withget-strings, thenfind-cross-referenceswithdirectionto,includeContexttrue. The referencing function is the start. - Single question after a survey: its
## Candidate threadsline gives the start address. - The question matches a strategy in
strategies.md(what X does, crypto, network, types, decode a blob, recover a structure): read it now and follow it inside the loop.
The loop
Repeat until Thread end holds.
- Read.
get-decompilationwithlimit50 andincludeIncomingReferencestrue. For data,get-dataorread-memory. Paging applies. - Understand. One line each: what the code does, what is unclear, what you assume (Hypotheses).
- Improve. Write every decision now (Improve at once).
- Verify. Call
get-decompilationagain. A new cast or a worse line: fix the type, re-read. - Follow. Choose the next read: the callee that produces the value, the callers' inputs, or the references to a string or constant.
- Record. Add an evidence line: address, then the pattern, constant or code seen there. A lead outside the question:
set-bookmarkwithtypeTODO,categoryThread, the question ascomment; add it to new threads; return to the question.
Rules
Thread end
A thread ends one of four ways. Under working-threads, write the thread report.
- Answered: the closing evidence is in hand, with its address.
- Refuted: a read showed the expectation false. Write what was read, and where.
- Open: write
open — <reason> — <next read>. The reason is a tool result: everypatterns.mdshape tried on the decoder, a call that failed twice, a program not loaded. Time and spend are a reason only when a harness message states them. - Bigger: a single question needs another first. Say so; Then read
scoping-analysis.
Improve at once
Every name, type, comment and bookmark you have decided is written before your next read.
- Names:
rename-variablesfor locals;set-function-prototypefor the function. - Comments:
set-decompilation-commentorset-comment. Bookmarks:set-bookmark.
Name a function after its body was read in this thread. A name or comment states what you read. A guess follows Hypotheses.
Paging
A page that shows only the signature and local declarations is not a read.
- Call
get-decompilationagain withoffsetset to the next line number (afterlimit50 from line 1:offset51,limit50). - Write
offsetinto the call's arguments. - Page until the lines that answer the question are seen.
Lines you skipped are unread. Page them before Thread end.
Callee
A value you report (string, key, address, URL, size, command) is traced to the code that produces it.
- Find the call that returns or fills the value.
- Decompile that callee.
- It only concatenates, copies, formats or looks up: not the producer. Find where its inputs come from (
get-callers-decompiled) and decompile that function. - The producer computes the bytes: it decodes, decrypts, reads a file or the network, or holds the literal. Name it and comment it at once.
Negative findings
"Not present" is a finding only after the functions that would do it were read.
- List the candidates: imports for the capability, run-time loaders (
GetProcAddress,dlsym), related strings, callees of each entry point. - Read each candidate function.
- Write the finding with what was checked:
no <capability>: read <functions>; checked <imports, strings>.
From the import list alone, write "not imported", and keep reading.
Tool surprise
A result surprises you (wrong lines, empty, an error, an argument seemingly ignored):
- Re-read the arguments of your own call. A missing or misspelt argument: fix it and call again.
- The call failed or timed out: retry it once, same arguments. Retry each failed call of a batch.
- It fails again: write the call and its error as an open item, and go to the next read.
A tool is at fault only when step 1 shows the argument was in the call.
Typing tools first
Change types with ReVa's tools, in this order:
parse-c-structure: define a structure (it replaces one of the same name).apply-structureorapply-data-type: type data.change-variable-datatypes: type locals.set-function-prototype: type parameters and return.
A script comes after one of these returns an error that Tool surprise coul
Установить deep-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deep-analysis?
Use when one question about a program in Ghidra needs an answer - what one function does, what is at one address, whether one behaviour is present, where one value comes from, or the types in one function. Used alone for a single question, and by `working-threads` once per thread.
Как установить скилл deep-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deep-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic