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 dslsdzc/rev-skills --skill re-radare2git clone --depth 1 https://github.com/dslsdzc/rev-skillsWrote 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/dslsdzc/rev-skills/re-radare2)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-radare2"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-radare2/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/dslsdzc/rev-skills/re-radare2"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-radare2.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.00043 | $0.02446 |
| Opus 5 | $0.00022 | $0.01223 |
| Sonnet 5 | $0.00009 | $0.00489 |
| Haiku 4.5 | $0.00004 | $0.00245 |
Grade A, and why
re-radare2 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rizin/radare2 命令行分析
何时使用 / 何时不用
- 用:命令行/脚本化分析;内存 <4GB 或远程环境(GUI 反编译器跑不动);快速反汇编与交叉引用;
pdf/V模式探索;固件/批量样本脚本化分析 - 用:无 GUI 的 SSH/CI 环境(rz 纯终端,
-q -c一行批处理) - 不用:需要成熟 GUI 反编译与类型传播(走 [[re-ghidra]])
- 不用:只需初勘结论([[re-triage]])
- 不用:Windows 用户态调试为主([[re-x64dbg]] / [[re-windbg]] 更顺手;rz 调试器在 Windows 上能力有限)
工具准备
参考 [[platform-tips]]——命令行工具适配远程/低内存环境;平台分支的 Wine/QEMU 用户态仿真经验同样适用。
rizin(radare2 的活跃分支)
- macOS:
brew install rizin - Arch:
pacman -S rizin - Fedora 43+/RHEL(EPEL):
dnf install rizin(EPEL 8/9 也有包;Fedora 42 及更早版本用官方 release 二进制) - Debian/Ubuntu: 官方 release 二进制(GitHub rizinorg/rizin releases:static tar.xz / Windows zip / macOS pkg)或
rz-pm安装——Debian 仓库无 rizin 包,apt install rizin会失败 - Windows: 官方 release zip 解压即用(
rz-bin.exe) - 验证:
rizin -v、rz-bin -V
radare2 兼容层(旧命令体系)
- Linux:
apt install radare2/dnf install radare2/pacman -S radare2 - macOS:
brew install radare2 - Windows:
choco install radare2 - 验证:
r2 -v - 注意: rz 与 r2 命令基本兼容(
pdf/axt/V相同),但插件名与个别命令有差异(下文标注)
rz-ghidra 反编译插件
- 全平台:
rz-pm -ci rz-ghidra(rizin 包管理,需网络与编译工具链) - 验证: rizin 内
pdg @ main能输出伪 C
操作步骤
-
rizin -A全自动分析:rizin -A sample等待分析完成提示(大文件按
p分页观察)。-A等同aaa(全量自动分析: 函数/交叉引用/字符串引用)。只做浅层时用-a x86等按需参数。退出:q。- 无参数直接进交互模式后补分析:
aaa;轻量版aa(函数+字符串引用,大文件首选) - 函数列表:
afl;单函数信息:afi @ main;手工定义函数:af @ 0x401000
- 无参数直接进交互模式后补分析:
-
pdf反汇编函数:[0x00001040]> pdf @ sym.main- 无符号(stripped)时先找入口:
izz~entry或af @ 0x401000手工定义函数后再pdf @ 0x401000 pdf= print disassembly function;pd 20= 打印 20 条指令;pdr打印带引用- 混入分析噪声时用
pdf @ <addr> | grep call过滤调用 - 重命名:
afn 新名字 @ 地址;注释:CCu 注释 @ 地址
- 无符号(stripped)时先找入口:
-
axt交叉引用:[0x00001040]> axt @ 0x403000 # 谁引用 0x403000 [0x00001040]> axf @ sym.main # main 引用了谁字符串引用:
izz列出全部字符串,axt @ str.<名称>找引用点(字符串已被自动命名)。- 定位链:
izz找关键字符串 →axt @ str.xxx→ 跳到引用函数s <地址>→pdf——与 [[re-ida]] 的 Alt+T→x→F5 同思路
- 定位链:
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.
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.
- 9d ago First seen · 144 lines · 43 tokens per session scan A cdd1f334a55b
re-radare2 is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed 14d ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,446 once invoked, about $0.0002 per session on Opus 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-09-03.
Other skills, from other repositories
Reverse Engineering & Binary Analysis
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.
deobfuscating-powershell-obfuscated-malware
Systematically deobfuscates multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure. Use during incident response or malware analysis when a PowerShell script is obfuscated with encoding, string manipulation, or…
conducting-malware-incident-response
Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and recovery procedures aligned to MITRE ATT&CK. Use when responding to a confirmed or suspected malware infection, including…
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…
analyzing-network-covert-channels-in-malware
Detect and analyze covert communication channels used by malware, including DNS tunneling, ICMP exfiltration, steganographic HTTP, and other protocol abuse used for C2 and data exfiltration. Use when investigating suspicious DNS/ICMP/HTTP traffic patterns, hunting for hidden C2 channels in network captures, or…
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.