re-rtos

re-rtos is a skill for Claude Code from dslsdzc/rev-skills. It costs 271 tokens per session (9,939 once invoked), scanned A, original, Apache-2.0.

A guide to analysing firmware that runs a real-time operating system (RTOS), software designed to schedule tasks predictably on embedded devices. It covers FreeRTOS, ThreadX, Zephyr, QNX, and similar systems.

In plain words
What is it for?
Use it to find task tables and task-control blocks, identify scheduler and task entry points, reconstruct kernel objects, and organise a decompiler's analysis by task or thread.
Why use it?
Firmware without symbols or a file system can make it difficult to tell where tasks, queues, locks, timers, and other operating-system objects are used. This guide helps reconstruct that structure from the compiled image.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to find task tables and task-control blocks, identify scheduler and task entry points, reconstruct kernel objects, and organise a decompiler's analysis by task or thread.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-rtos"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-rtos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 271 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,939 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.00271 $0.09939
Opus 5.5 $0.00108 $0.03976
Sonnet 5.5 $0.00054 $0.01988
Haiku 4.5 $0.00027 $0.00994

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

Security

Grade A, and why

re-rtos 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-rtos/SKILL.md · 195 lines

How it starts

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

RTOS 结构分析(FreeRTOS / ThreadX / Zephyr / RT-Thread / VxWorks / QNX / RTEMS / INTEGRITY)

各内核形态不同(链表任务表 / 编译期设备图 / 全局符号环境 / 用户态 server / 构建期配置),但共性是:注册模型决定你能看到什么——一个函数"没有直接交叉引用",在不同 RTOS 上可能分别意味着"正常(linker 注册)"、"正常(装载时符号解析)"、"正常(用户态 server)"或"真的没被引用"。

所以顺序永远是:先判这个 RTOS 的运行与注册模型,再谈任务与内核对象。 </CORE RULE>

运行模型差异(不是同义替换)

平台 "驱动/服务"在哪 注册与发现机制 先判什么
FreeRTOS / ThreadX / RT-Thread 与内核同镜像;任务 + 内核对象表 显式创建 API + 静态对象实例 任务表/TCB(本主文档)
Zephyr 与内核同镜像,但设备图在编译期生成 devicetree + Kconfig + iterable sections、SYS_INIT 是否 linker 注册([[zephyr]])
VxWorks 两种:DKM 内核态 / RTP 用户态 DKM 动态加载 + 全局符号环境;RTP 走标准 ELF/.so 先分 DKM 还是 RTP([[vxworks]])
QNX 用户态 server;网络驱动是 io-pkt 内的共享对象 pathname 注册 + 消息传递 先判形态([[qnx]])
RTEMS 与内核/应用同处单一地址空间 构建期配置(confdefs.h)+ 设备驱动表 + 运行期链接器 配置与驱动表([[rtems]])
INTEGRITY / ARINC 653 / VxWorks 653 / PikeOS 分区(空间 + 时间 + 资源三域) 静态配置;分区级 major frame / partition window + 分区内调度 先对齐分区窗口与分区模式([[partitioned-rtos]])
NuttX 与内核同镜像或分离,取决于构建方式 由构建模型决定:FLAT 直接调用 / PROTECTED 走 syscall proxy / KERNEL 走 MMU 先判 FLAT / PROTECTED / KERNEL([[nuttx]])
eCos 与内核同镜像;中断处理分三层 ISR → DSR → thread,各层同步机制不同 判断工作落在哪一层([[ecos]])
ThreadX Modules 常驻内核 + 可动态装载模块 module preamble + request ID 经软件 dispatch 先认 module ABI([[threadx-modules]])
FreeRTOS(上下文) 与内核同镜像;中断上下文特殊 task API 与 FromISR API 分离 先判上下文([[freertos-context]])
µC/OS、SYS/BIOS 与内核同镜像;中断参与调度 ISR 显式通知内核(进入/退出);分层线程 Hwi > Swi > Task 调度时机要把中断进出算进去([[ucos-sysbios]])
SAFERTOS、CMSIS-RTX5 与内核同镜像;带访问控制与安全等级 per-task 区域/保护域、API 与对象访问策略、ISR 延迟队列 先判"谁能访问什么"([[safertos-rtx5]])
T-Kernel、TOPPERS 与内核同镜像;服务调用合法性取决于上下文 静态配置生成 task/handler;设备驱动以准任务部分运行 先恢复上下文类型与规格家族([[tkernel-toppers]])
OSE / OSEck 与内核同镜像但消息可跨节点 消息式 IPC + 分布式透明传输层(共享内存/DMA/互连) 先判消息对端在不在本地([[ose-oseck]])
Nucleus 与内核同镜像;MMU/MPU 子系统隔离 + 线性内存映射 动态 reload/restart/update 应用与内核模块(不必停机) "模块被替换但系统继续跑"与"隔离存在但 VA 不像每进程独立"都不是异常

Read the full file on GitHub · 195 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 · -3 lines 708101c9c63e
  2. 2mo ago Changed · +86 lines · +172 tokens per session 094a907ec15c
  3. 2mo ago Changed · +1 lines 5bcca90c5e63
  4. 2mo ago First seen · 111 lines · 99 tokens per session scan A b516ec0e0ee7

Subscribe to this mod's changes

re-rtos is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 271 tokens to every session and 9,939 once invoked, about $0.0011 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.

Related

re-rtos compared with skills from other repositories

re-rtos next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-rtosdslsdzc/rev-skillsSkill2751mo agoApache-2.0A271Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
reverse-engineering-arm-binariesmeltedinhex/analyst-ai-packSkill254d 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-packSkill254d agoApache-2.0A80Claude Code, Codex
performing-iot-security-assessmentxalgorix/xalgorixSkill1.5kyesterdayApache-2.0C97Claude Code, Codex