npx claudepluginhub 0xeb/r2sql-skillsSQL interface to radare2 for querying and CRUD operations on functions, xrefs, strings, flags, and decompiled code
Claude Code / Copilot CLI + Codex marketplace package for r2sql — the SQL interface
for radare2.
Install it as a Claude Code / Copilot CLI / Codex plugin to drive r2sql from an agent.
Looking for r2sql itself (sources, CLI, in-r2 plugin, build)? See the
r2sqlrepository.
/plugin marketplace add 0xeb/r2sql-skills
Use the plugin packaging, not a flat copy into ~/.codex/skills. The plugin path preserves the r2sql namespace so generic skill names like xrefs, data, and grep do not collide with other skills.
git clone https://github.com/0xeb/r2sql-skills
mkdir -p ~/plugins
cp -R r2sql-skills/plugins/r2sql ~/plugins/
~/.agents/plugins/marketplace.json so it contains:{
"name": "allthingsr2",
"interface": {
"displayName": "All Things r2"
},
"plugins": [
{
"name": "r2sql",
"source": {
"source": "local",
"path": "./plugins/r2sql"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Reverse Engineering"
}
]
}
The Codex plugin manifest lives at plugins/r2sql/.codex-plugin/plugin.json, and the skills live under plugins/r2sql/skills/.
If you want to test directly from a checkout, keep the repo where it is and use the bundled marketplace file at .agents/plugins/marketplace.json. Codex should resolve ./plugins/r2sql relative to the repo root.
.claude-plugin/marketplace.json Claude marketplace manifest
.agents/plugins/marketplace.json Codex / .agents marketplace manifest
plugins/r2sql/
.claude-plugin/plugin.json Claude plugin manifest
.codex-plugin/plugin.json Codex plugin manifest (rich interface block)
skills/<skill>/SKILL.md Skill bodies (YAML frontmatter + Markdown)
Eleven skills cover the full r2sql surface — query, annotation,
decompilation, the type system, raw-command passthrough, the HTTP/MCP
servers, and the two build flavors (portable r2sql + full r2sql-full).
| Skill | Notes |
|---|---|
connect | session bootstrap, backend selection, REPL, project flag, deployment, build modes |
disassembly | funcs, locals, blocks, cfg_edges, switch_tables, function_frames, dominators, post_dominators, loops, instructions, instruction_operands, esil_*, canonical ir_*, sections, segments, io_maps |
data | binary, bytes, data_items, byte_search, strings, imports, entries, types, types_members |
xrefs | call/data refs and graph walks via xrefs |
grep | composite name/symbol search over everything |
annotations | writable comments and flags (CRUD via SQL) |
decompiler | runtime-gated pseudocode (pdg / pdd / pdc) |
functions | SQL function reference (counts, joins, ranking) |
analysis | open-ended triage / malware-ish recipes |
re-source | bottom-up annotation campaigns with project persistence |
r2js | bridge to raw r2 commands / r2js when SQL isn't enough |
The types and types_members tables have no dedicated skill — they are
documented in the connect schema-catalog reference and surfaced by data.
The connect skill carries four references: cli-reference.md
(covers --mcp and the two binary flavors),
schema-catalog.md, server-guide.md (HTTP and MCP transports),
and deployment.md (where r2sql / r2sql-full and core_r2sql.dll land on
disk, including the portable pipe-only recipe).
Skills deliberately not shipped:
debugger — out of scope per project direction.storage — radare2 has no persistent key-value analogue; the closest
equivalents are flags/comments, already covered.ui-context — r2 visual mode isn't a stable surface to query.Licensed under the Human-Origin Source License v1.0.
7-day visitors to each marketplace page
UI/UX design intelligence skill with 80 styles, 194 palettes, 74 font pairings, 25 charts, and 22 stack guidelines
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.