Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add buzzer-re/Rikugan --skill ida-scriptinggit clone --depth 1 https://github.com/buzzer-re/RikuganWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/buzzer-re/rikugan/ida-scripting)<a href="https://agentmods.dev/skills/buzzer-re/rikugan/ida-scripting"><img src="https://agentmods.dev/badge/skills/buzzer-re/rikugan/ida-scripting/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/buzzer-re/rikugan/ida-scripting"><img src="https://agentmods.dev/badge/skills/buzzer-re/rikugan/ida-scripting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.02970 |
| Opus 5.5 | $0.00006 | $0.01188 |
| Sonnet 5.5 | $0.00003 | $0.00594 |
| Haiku 4.5 | $0.00002 | $0.00297 |
Grade A, and why
ida-scripting scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Process execution (subprocess, os.system, etc.) is blocked. Static analysis only. How it starts
The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Task: Help the user write IDAPython scripts. You have execute_python which runs code with all ida_* modules, idaapi, idautils, and idc pre-loaded.
Before starting, read skill://ida-scripting/references/api-reference.md with the read tool: it is the full API reference.
Guidelines
- Use
print()for all output — it's captured and returned to you. - Prefer the IDAPython API over raw tool calls when the task requires iteration, filtering, or complex logic that a single tool can't express.
- Always handle
None/BADADDRreturns (e.g.,ida_funcs.get_func()returnsNoneif no function). - Use
ida_auto.auto_wait()after bulk modifications to let auto-analysis settle. - For large outputs, summarize or paginate — don't dump thousands of lines.
- Call
ida_hexrays.mark_cfunc_dirty(ea)before re-decompiling a function you've modified. - IDA 9+ removed
ida_structandida_enum— useida_typeinffor all type operations.
Environment
The execute_python tool provides:
idaapi,idautils,idc— high-level wrappersida_funcs,ida_name,ida_bytes,ida_segment,ida_typeinf,ida_nalt,ida_xref,ida_kernwin,ida_hexrays,ida_lines,ida_search,ida_ida,ida_entry,ida_frame,ida_auto,ida_gdl,ida_netnode— low-level modules- Full Python stdlib (except subprocess/os.exec — blocked for safety)
BADADDRis available viaidaapi.BADADDR
Quick Reference
Reading Data
val = ida_bytes.get_byte(ea) # uint8
val = ida_bytes.get_dword(ea) # uint32
val = ida_bytes.get_qword(ea) # uint64
raw = ida_bytes.get_bytes(ea, size) # bytes
s = ida_bytes.get_strlit_contents(ea, -1, ida_nalt.STRTYPE_C)
Functions
for func_ea in idautils.Functions():
name = idc.get_func_name(func_ea)
func = ida_funcs.get_func(ea) # func_t or None
# func.start_ea, func.end_ea, func.flags
idc.add_func(ea) # create function
ida_name.set_name(ea, "new_name", ida_name.SN_CHECK)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed · -1 lines 1450d6d3570e
- 3mo ago First seen · 288 lines · 16 tokens per session scan A 7bd8c68219cc
ida-scripting is a skill published in the GitHub repository buzzer-re/Rikugan (716 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 2,970 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ida-scripting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ida-scriptingbuzzer-re/Rikugan | Skill | 716 | today | MIT | A | 16 | Claude Code, Codex |
| developing-with-streamlitstreamlit/streamlit | Skill | 47k | today | Apache-2.0 | A | 146 | Claude Code |
| eveComposioHQ/composio | Skill | 31k | today | MIT | A | 47 | Claude Code, Codex |
| plugin-architecture-patternsxberg-io/xberg | Skill | 9.7k | today | MIT | A | 15 | Claude Code |
| test-corpusxberg-io/xberg | Skill | 9.7k | today | MIT | A | 15 | Claude Code, Codex |
| typescript-testingComposioHQ/composio | Skill | 31k | today | MIT | A | 92 | Claude Code, Codex |
| cli-e2eComposioHQ/composio | Skill | 31k | today | MIT | A | 62 | Claude Code, Codex |