bn

Coordinate reverse-engineering tasks against a live Binary Ninja session via the bn CLI.

206|20|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/banteg/bn --skill bn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bn
Source: https://github.com/banteg/bn/tree/main/skills/bn
Command: npx skills add https://github.com/banteg/bn --skill bn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use the local bn CLI to perform reverse-engineering work against a live Binary Ninja GUI session, reducing context-switching and improving speed.

Core Features & Use Cases

  • Decompilation, IL exploration, disassembly, xrefs, and type inspection against an open BN database.
  • Function search, callsite recovery, and struct field edits with live mutation previews.
  • Inline Python execution through the bn bridge for rapid experimentation and automation.

Quick Start

Start by ensuring a live Binary Ninja GUI session is open, then use bn to query targets or perform a decompile task.

Frequently Asked Questions about bn

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

FAQPage Schema
How do I automate decompilation and xref recovery using a live Binary Ninja GUI session?

Automate decompilation and xref recovery by using the local bn CLI to coordinate reverse-engineering tasks directly against an open Binary Ninja session. The bridge returns structured json outputs for rapid analysis.

Can I run inline Python scripts in Binary Ninja without leaving my terminal?

Yes, you can run inline Python execution through the bn bridge to interact with an open Binary Ninja database. This allows rapid experimentation and automation without context-switching to the GUI.

What is the best way to inspect function callsites and edit struct fields in Binary Ninja?

Inspect function callsites and edit struct fields by querying the open BN database via the bn CLI. It supports type inspection, struct field edits, and live mutation previews for immediate feedback.

Does the bn CLI require a Binary Ninja license to perform IL exploration and disassembly?

Yes, performing IL exploration, disassembly, and decompilation requires an active Binary Ninja session. You must have the Binary Ninja GUI open locally before initiating any bn CLI queries.

How do I extract disassembly and type information from Binary Ninja into structured formats?

Extract disassembly and type information by running bn CLI commands against your open database. The tool formats the extracted IL, disassembly, and type inspection data into structured json outputs.

Why use a local CLI bridge instead of the native Binary Ninja GUI for reverse engineering?

Using the local CLI bridge reduces context-switching and improves speed by allowing you to execute function searches, callsite recovery, and inline Python directly from your terminal while maintaining live GUI integration.