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-riscvgit 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-riscv)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-riscv"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-riscv/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-riscv"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-riscv.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.00088 | $0.04699 |
| Opus 5.5 | $0.00035 | $0.01880 |
| Sonnet 5.5 | $0.00018 | $0.00940 |
| Haiku 4.5 | $0.00009 | $0.00470 |
Grade A, and why
re-riscv 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.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RISC-V 架构逆向(RV32/RV64、RVC、gp 相对寻址)
何时使用 / 何时不用
- 用:RV32/RV64 架构二进制——Linux 用户态程序、裸机固件、RISC-V MCU 固件(ESP32-C3 类 RV32IMC)
- 用:压缩指令(RVC)混编代码流、gp 相对寻址恢复、RISC-V ABI 识别、ecall 系统调用/环境调用边界
- 用:工具链与库函数指纹(glibc/musl/newlib 系、指令扩展特征)
- 不用:ARM / x86 / MIPS 等其他架构(走 [[re-binary-core]] 通用底座,本技能只补 RISC-V 特有语义)
- 不用:工具链极端定制且无头绪时,先走 [[re-fw-emulate]] 仿真兜底(能跑就先看行为,再回静态)
- 不用:只需解包固件看内容([[re-fw-extract]])/ 分析文件系统与配置([[re-fw-rootfs]])/ 整体启动固件([[re-fw-emulate]])
工具准备
所有工具先验证再使用。静态分析可免沙箱;qemu 动态执行默认沙箱 + 网络隔离([[re-analyze/platform-tips]] 最高原则)。
反编译器(Ghidra / IDA 任选其一)
- Ghidra(内置 RISC-V 处理器模块,RV32/RV64 + I/M/A/F/D/C 扩展,自动处理 RVC 压缩指令):
- Linux: 官方 release 包(需 JDK);部分发行版仓库有
apt install ghidra/pacman -S ghidra - macOS:
brew install --cask ghidra;Windows: 官方 zip - 验证:
analyzeHeadless -help(headless 模式)或 GUI 导入 RISC-V ELF
- Linux: 官方 release 包(需 JDK);部分发行版仓库有
- IDA:商业版含 RISC-V 模块;Freeware 版架构支持范围以官方页面为准
- 导入时确认 RV32/RV64 与端序——标准 RISC-V 小端、大端变体罕见,选错全部错位
readelf / file —— 架构与字节序确认(binutils)
- Linux: binutils 自带(
apt install binutils等);macOS:brew install binutils或 LLVM 系 readelf;Windows: WSL 内 - 验证:
readelf --version
binutils 交叉工具链 —— RISC-V 反汇编/符号表(objdump)
- Debian/Ubuntu:
apt install binutils-riscv64-linux-gnu(提供riscv64-linux-gnu-objdump;编译链加gcc-riscv64-linux-gnu,gcc 依赖带入 binutils 包) - Fedora:
dnf install binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu(cross-binutils / cross-gcc 源包,提供riscv64-linux-gnu-objdump;官方仓库无 riscv64-unknown-elf 裸机工具链,裸机反汇编用 riscv64-linux-gnu-objdump,RVC 支持一致) - Arch:
pacman -S riscv64-elf-binutils riscv64-elf-gcc(裸机,提供riscv64-unknown-elf-objdump)或pacman -S riscv64-linux-gnu-binutils riscv64-linux-gnu-gcc(用户态) - macOS:
brew install riscv64-elf-binutils riscv64-elf-gcc(homebrew-core,提供riscv64-unknown-elf-objdump);Windows/WSL: WSL 内 Linux 版 - 验证: 按所装包一一对应——
binutils-riscv64-linux-gnu→riscv64-linux-gnu-objdump --version(Debian/Ubuntu/Fedora);binutils-riscv64-unknown-elf→riscv64-unknown-elf-objdump --version(Arch/brew,Debian/Ubuntu 需裸机 triplet 时单列该包);objdump 对 RVC 混编流自动识别(2/4 字节)
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.
- 1mo ago Changed de7268190205
- 2mo ago Changed · +1 lines 3c621e7a95a9
- 2mo ago Changed · +1 lines 9b80eb14899b
- 2mo ago First seen · 132 lines · 88 tokens per session scan A 7082b66e8918
re-riscv is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 88 tokens to every session and 4,699 once invoked, about $0.0004 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-09-03.
re-riscv compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re-riscvdslsdzc/rev-skills | Skill | 275 | 1mo ago | Apache-2.0 | A | 88 | Claude Code |
| analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 95 | Claude Code, Codex |
| reverse-engineering-arm-binariesmeltedinhex/analyst-ai-pack | Skill | 25 | 4d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| deobfuscating-powershell-obfuscated-malwareYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 90 | Claude Code, Codex |
| conducting-malware-incident-responseYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 78 | Claude Code, Codex |
| analyzing-golang-malware-with-ghidraMikaru0Mystic/sectinel | Skill | 13 | 5mo ago | Apache-2.0 | A | 40 | Claude Code |
| analyzing-network-covert-channels-in-malwareYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 90 | Claude Code, Codex |