ida-domain-scripting

Execute Python scripts against the IDA Domain API for binary analysis.

113|12|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/HexRaysSA/ida-claude-plugins --skill ida-domain-scripting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ida-domain-scripting
Source: https://github.com/HexRaysSA/ida-claude-plugins/tree/main/plugins/code-eval-ida-domain/skills/ida-domain-scripting
Command: npx skills add https://github.com/HexRaysSA/ida-claude-plugins --skill ida-domain-scripting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables automated binary analysis by writing and executing Python scripts against the IDA Domain API for IDA Pro.

Core Features & Use Cases

  • Flexible automation: Write custom IDAPython code to enumerate functions, extract strings, query cross-references, decompile with Hex-Rays, and generate reports.
  • Multi-source execution: Run code from files, inline code, or via stdin, with a robust workflow that creates a timestamped work directory and caches IDA databases to speed subsequent runs.
  • Real-world scenario: Analyze a binary to list all functions with addresses, then generate a high-level report of function relationships and decompiled output.

Quick Start

  • Create a timestamped work directory in /tmp as described in the workflow.
  • Execute: cd $SKILL_DIR && uv run python run.py <work_dir>/script.py -f <binary>
  • The executor wraps user code, runs it against the IDA Domain API, and streams results in real time.

Frequently Asked Questions about ida-domain-scripting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate binary analysis with IDAPython scripts?

You can automate binary analysis by writing IDAPython scripts to enumerate functions, extract strings, query cross-references, and decompile with Hex-Rays. The skill executes these scripts against the IDA Domain API to generate structured data reports.

Can I run inline IDAPython code or do I need a script file for binary analysis?

You can run IDAPython code from multiple sources including inline code, script files, or stdin. The execution workflow wraps your code and runs it against the IDA Domain API, streaming real-time results.

Do I need IDA Pro installed to use this IDA Domain scripting skill?

Yes, you need IDA Pro because the skill writes and executes Python scripts against the IDA Domain API. The environment setup also checks for uv and IDADIR to ensure proper execution.

What is the best way to extract cross-references and decompiled output from a binary?

The best way to extract cross-references and decompiled output is to run a custom IDAPython script through this skill. It leverages the Hex-Rays decompiler and IDA Domain API to automate data extraction and reporting.

How does caching work when running repeated IDAPython binary analysis scripts?

The execution workflow creates a timestamped work directory in /tmp and caches IDA databases. This significantly speeds up subsequent runs by avoiding repeated binary parsing during analysis.