re-arm

re-arm is a skill for Claude Code from dslsdzc/rev-skills. It costs 95 tokens per session (4,931 once invoked), scanned A, original, Apache-2.0.

A guide to reverse-engineering ARM programs outside Android, including embedded firmware, Cortex-M and Cortex-A devices, and bare-metal code.

In plain words
What is it for?
Use it to analyze ARM firmware, identify startup and interrupt entries, follow function arguments, understand code relocation, and trace memory-mapped peripheral access.
Why use it?
ARM code uses details such as Thumb instructions, calling conventions, vector tables, and hardware registers that can be easy to misread without architecture-specific guidance.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to analyze ARM firmware, identify startup and interrupt entries, follow function arguments, understand code relocation, and trace memory-mapped peripheral access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-arm
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-arm
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-arm

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-arm"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-arm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,931 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.00095 $0.04931
Opus 5.5 $0.00038 $0.01972
Sonnet 5.5 $0.00019 $0.00986
Haiku 4.5 $0.00010 $0.00493

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

Security

Grade A, and why

re-arm 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-arm/SKILL.md · 135 lines

How it starts

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

ARM 架构逆向(Cortex-M/A、Thumb、AAPCS)

何时使用 / 何时不用

  • 用:非 Android 场景的 ARM——嵌入式裸机/固件(Cortex-M0/M3/M4/M7、Cortex-A)
  • 用:Thumb/ARM 指令集切换、AAPCS 调用约定识别、M 系向量表入口定位、位置相关代码重定位
  • 用:MMIO 外设寄存器交叉分析(0x4000xxxx 外设区、LDR 立即数池)
  • 不用:Android .so(走 [[re-android-native]])
  • 不用:通用 AArch64 Linux 用户态程序(走 [[re-binary-core]] 通用底座,本技能只补 ARM 特有语义)
  • 不用:只需解包固件看内容([[re-fw-extract]])/ 分析文件系统配置([[re-fw-rootfs]])/ 整体启动固件([[re-fw-emulate]])
  • 不用:RISC-V / x86 等其他架构(走 [[re-binary-core]])

工具准备

所有工具先验证再使用。静态分析可免沙箱;qemu 动态执行默认沙箱 + 网络隔离([[re-analyze/platform-tips]] 最高原则)。

反编译器(Ghidra / IDA 任选其一)

  • Ghidra(内置 ARM 处理器模块,Cortex-M0/M0+/M3/M4/M7 选 Cortex 变体(v8-m 仅 M23/M33/M55)、Cortex-A 选 v7,均为小端 LE):
    • Linux: 官方 release 包(需 JDK);部分发行版仓库有 apt install ghidra / pacman -S ghidra
    • macOS: brew install --cask ghidra;Windows: 官方 zip
    • 验证: analyzeHeadless -help(headless 模式)或 GUI 导入 ARM ELF
    • Ghidra 按 Thumb 函数位 0(TMode)自动切换 Thumb/ARM 反汇编;导入时核对处理器变体与端序
  • IDA:商业版含 ARM32/ARM64 + Thumb 模块;Freeware 版架构支持范围以官方页面为准
  • 导入时确认架构(ARM vs AArch64)与变体——Cortex-M0/M0+ 实现 Armv6-M:以 16 位 Thumb 编码为主,但含少量合法 32 位编码(BL、DMB/DSB/ISB、MRS/MSR);必须选 v6-M 变体,只有出现 Armv6-M 之外的编码(MOVW/MOVT、CLZ、硬件除/取模)才说明变体选错

readelf / file —— 架构与字节序确认(binutils)

  • Linux: binutils 自带(apt install binutils 等);macOS: brew install binutils 或 LLVM 系 readelf;Windows: WSL 内
  • 验证: readelf --version

binwalk —— 固件与内嵌文件扫描

  • 安装渠道与版本分辨(v3 主线 / v2 legacy)见 [[re-fw-extract]] 的 binwalk/unblob 安装矩阵
  • 验证: binwalk --version、unblob --version

qemu-arm / qemu-aarch64 —— ARM 用户态仿真(动态验证)

  • Linux: apt install qemu-user / dnf install qemu-user / pacman -S qemu-user
  • macOS: brew install qemu(含用户态);Windows/WSL: WSL 内 Linux 版
  • 32 位为 qemu-arm、64 位为 qemu-aarch64;-L <rootfs> 指定动态库/链接器来源,-strace 跟踪系统调用
  • 验证: qemu-arm --version、qemu-aarch64 --version
  • 裸机 Cortex-M(无 OS 引导、向量表 0x0 起)qemu-user 不适用——用 qemu-system-arm -machine mps2-an385(Cortex-M3)等板级模型(-s -S 接 gdb),或 [[re-emulation]] 用 Unicorn 逐指令

gdb-multiarch —— 交叉调试

Read the full file on GitHub · 135 lines

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 68352cbeb016
  2. 2mo ago Changed · +4 lines eb73cd13bab4
  3. 2mo ago Changed · +1 lines a339d0fd1727
  4. 3mo ago First seen · 130 lines · 95 tokens per session scan A 84a1ae5a48f5

Subscribe to this mod's changes

re-arm is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 95 tokens to every session and 4,931 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-08-30.

Related

re-arm compared with skills from other repositories

re-arm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-armdslsdzc/rev-skillsSkill2751mo agoApache-2.0A95Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
reverse-engineering-arm-binariesmeltedinhex/analyst-ai-packSkill253d agoApache-2.0A69Claude Code, Codex
analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A95Claude Code
analyzing-golang-malware-with-ghidra26zl/cybersec-toolkitSkill114todayMITA95Claude Code
reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-packSkill253d agoApache-2.0A80Claude Code, Codex
performing-iot-security-assessmentxalgorix/xalgorixSkill1.5kyesterdayApache-2.0C97Claude Code, Codex