re-binaryninja

re-binaryninja is a skill for Claude Code from dslsdzc/rev-skills. It costs 34 tokens per session (3,632 once invoked), scanned A, original, Apache-2.0.

A Binary Ninja workflow for reading compiled programs through a more readable intermediate form and using Python scripts to inspect or label code.

In plain words
What is it for?
Use it to analyze desktop, mobile, or embedded binaries, trace values such as keys and flags, and automate analysis with Binary Ninja’s Python interface.
Why use it?
It helps when raw machine instructions are difficult to follow or when repeated analysis tasks need scripting. It also supports examining data flow across several common processor types.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to analyze desktop, mobile, or embedded binaries, trace values such as keys and flags, and automate analysis with Binary Ninja’s Python interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-binaryninja
Install

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.

Any agent
npx skills add dslsdzc/rev-skills --skill re-binaryninja
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for re-binaryninja

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-binaryninja/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-binaryninja)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-binaryninja"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-binaryninja/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.

agentmods 80×15 button for re-binaryninja

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-binaryninja"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-binaryninja.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.03632
Opus 5.5 $0.00014 $0.01453
Sonnet 5.5 $0.00007 $0.00726
Haiku 4.5 $0.00003 $0.00363

Measured 1mo ago against content hash a002b32be5da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-binaryninja scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/re-binaryninja/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Binary Ninja 逆向工作流

何时使用 / 何时不用

  • 用:需要 MLIL 中间语言(比裸反汇编可读得多)阅读函数逻辑;Python 脚本自动化标注/批处理;按预算选型(个人版/商业版)
  • 用:需要 DFG 数据流图(寄存器/常量传播路径可视化)追踪单条数据的流向(密钥、标志位)
  • 用:多架构目标(x86/ARM/MIPS/RISC-V/PowerPC 等常见架构均支持,移动/嵌入式目标可直接分析)
  • 用:RE_DECOMPILER=binaryninja 场景下作为反编译器
  • 不用:已有 Ghidra/IDA 工作流且无选型动机(按 RE_DECOMPILER 会话变量,[[re-ghidra]] 默认)
  • 不用:纯命令行快速分析([[re-radare2]] 更轻);无头批处理最简场景([[re-ghidra]] analyzeHeadless 生态更成熟)
  • 不用:动态调试为主的目标(BN 内置调试器处于实验阶段——调试走 [[re-gdb]] / [[re-x64dbg]] / [[re-lldb]])
  • 不用:个人版做大规模无头自动化(headless 是商业版能力,见 [[gotchas]])

工具准备

参考 [[re-analyze/platform-tips]]——Binary Ninja 静态分析免沙箱;脚本触发动态执行时默认沙箱内。

Binary Ninja(商业,有个人版)

  • 下载/购买: 官网 binary.ninja(Commercial 商业版 / Personal 个人版;个人版仅限个人用途,自动化与部分功能按版本受限;另有免费 Free 档)
  • Free 版: 无 API 与插件访问、IL 受限;支持架构 x86 / x86_64 / armv7+Thumb2 / armv8——需要 MLIL 或脚本自动化时按预算升档
  • Windows: 安装器直接运行;macOS: brew install --cask binary-ninja(社区 cask,需已有 license);Linux: 官网 tar 包解压运行 ./binaryninja
  • 容器格式: 直接导入 PE/ELF/Mach-O/Dalvik/固件 ROM 等(不需要单独解包步骤);带壳目标例外(壳段未解密,先脱壳)
  • 验证: 打开任意样本完成自动分析,Functions 面板有函数列表;Options > About 显示 license 类型
  • Linux 无图形环境: GUI 版需要 X 显示(xvfb-run ./binaryninja 可临时跑);批量任务直接走 headless(商业版),headless 不需要显示器
  • 版本差异: 6.x 为当前主线;6.0 起插件管理器重构为 Extension Manager(旧 pluginmanager 仅保留 shim)、bundled Python 升至 3.13(首次覆盖 Linux)而外部 Python 最低仍 3.10——2.x → 3.x → 4.x → 6.x 主版本间有破坏性 API 变更,脚本依赖先查 core_version() 与发行说明(见 [[gotchas]])

binaryninja Python API

  • 安装: Binary Ninja 安装目录下运行 python install_api.py(把 API 注册进 Python 环境;PyPI 无 binaryninja 包,pip install binaryninja 会失败)
  • 安装脚本会检测/提示匹配的 Python 版本——版本不匹配时脚本报错或注册失败,按提示换 Python 版本
  • 验证: python3 -c "import binaryninja; print(binaryninja.core_version())" 输出与软件版本一致的版本号
  • 无头批处理(商业版): 没有 binaryninja-headless 可执行文件——正路是 install_api.py 注册后直接写脚本 binaryninja.load()(见 [[commands]] 序列 2);headless license 走官方独立下载包(无 GUI,仅 headless license 可下载)

操作步骤

  1. 导入与分析:
    • File > Open 选样本 → 自动分析(底部进度条)→ 左侧 Functions / Data / References 视图确认分析结果
    • 确认: 入口函数(entry)被识别、导入表(Imports 视图)有内容、字符串(Strings 视图)可见
    • 分析异常(函数少/字符串乱)→ 可能带壳,先 [[re-packer-id]] / [[re-anti-analysis]]
    • 分析选项: Options > Analysis 勾选/关闭 pass——首次导入大文件或带混淆样本时先看这里,默认全开会慢

Read the full file on GitHub · 121 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. 1mo ago Changed · +1 lines a002b32be5da
  2. 2mo ago Changed · +1 lines a98ae57e1057
  3. 3mo ago First seen · 119 lines · 34 tokens per session scan A 4dd3c319c376

Subscribe to this mod's changes

re-binaryninja is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 3,632 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

re-binaryninja compared with skills from other repositories

re-binaryninja next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-binaryninjadslsdzc/rev-skillsSkill2751mo agoApache-2.0A34Claude Code
deobfuscating-powershell-obfuscated-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
conducting-malware-incident-responseYoungmaidainon/Agent-Level-UpSkill43mo agoMITA78Claude Code, Codex
analyzing-golang-malware-with-ghidraMikaru0Mystic/sectinelSkill135mo agoApache-2.0A40Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-network-covert-channels-in-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
analyzing-heap-spray-exploitationYoungmaidainon/Agent-Level-UpSkill43mo agoMITA46Claude Code, Codex