hack-the-world/idapluginlist/idapython
Claude Code and agent skill by hack-the-world/idapluginlist
- community
Checking that the SKILL.md file is still in the repository.
IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida_* modules (50+), idautils iterators, and common patterns.
Install
npx vskill@latest install hack-the-world/idapluginlist/idapythonSKILL.md
IDAPython
Use modern ida_* modules. Avoid legacy idc module.
Module Router
| Task | Module | Key Items | |
|---|---|---|---|
| Bytes/memory | ida_bytes | get_bytes, patch_bytes, get_flags, create_* | |
| Functions | ida_funcs | func_t, get_func, add_func, get_func_name | |
| Names | ida_name | set_name, get_name, demangle_name | |
| Types | ida_typeinf | tinfo_t, apply_tinfo, parse_decl | |
| Decompiler | ida_hexrays | decompile, cfunc_t, lvar_t, ctree visitor | |
| Segments | ida_segment | segment_t, getseg, add_segm | |
| Xrefs | ida_xref | xrefblk_t, add_cref, add_dref | |
| Instructions | ida_ua | insn_t, op_t, decode_insn | |
| Stack frames | ida_frame | get_frame, define_stkvar | |
| Iteration | idautils | Functions(), Heads(), XrefsTo(), Strings() | |
| UI/dialogs | ida_kernwin | msg, ask_*, jumpto, Choose | |
| Database info | ida_ida | inf_get_*, inf_is_64bit() | |
| Analysis | ida_auto | auto_wait, plan_and_wait | |
| Flow graphs | ida_gdl | FlowChart, BasicBlock | |
| Register tracking | ida_regfinder | find_reg_value, reg_value_info_t |
Core Patterns
Iterate functions
Iterate instructions in function
Cross-references
Read/write bytes
Names
Decompile function
Walk ctree (decompiled AST)
Apply type
Create structure
Strings list
Wait for analysis
Key Constants
| Constant | Value/Use | |
|---|---|---|
BADADDR | Invalid address sentinel | |
ida_name.SN_NOCHECK | Skip name validation | |
ida_typeinf.TINFO_DEFINITE | Force type application | |
o_reg, o_mem, o_imm, o_displ, o_near | Operand types | |
dt_byte, dt_word, dt_dword, dt_qword | Data types | |
fl_CF, fl_CN, fl_JF, fl_JN, fl_F | Code xref types | |
dr_R, dr_W, dr_O | Data xref types |
Critical Rules
- NEVER convert hex/decimal manually — use
int_convertMCP tool - Wait for analysis: Call
ida_auto.auto_wait()before reading results - Thread safety: IDA SDK calls must run on main thread (use
@idasync) - 64-bit addresses: Always assume
ea_tcan be 64-bit
Anti-Patterns
| Avoid | Do Instead | |
|---|---|---|
idc.* functions | Use ida_* modules | |
| Hardcoded addresses | Use names, patterns, or xrefs | |
| Manual hex conversion | Use int_convert tool | |
| Blocking main thread | Use execute_sync() for long ops | |
| Guessing at types | Derive from disassembly/decompilation |
Detailed API Reference
For comprehensive documentation on any module, read docs/<module>.md:
- High-use:
ida_bytes,ida_funcs,ida_hexrays,ida_typeinf,ida_name,idautils - Medium-use:
ida_segment,ida_xref,ida_ua,ida_frame,ida_kernwin - Specialized:
ida_dbg(debugger),ida_nalt(netnode storage),ida_regfinder(register tracking)
Full RST sources from hex-rays.com available at docs/<module>.rst.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingida-pro-mcp/skills/idapython/SKILL.md
Popularity
- Repository stars
- 561
- Repository forks
- 62
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hack-the-world/idapluginlist/idapython)