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-kernelgit 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-kernel)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-kernel"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-kernel/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-kernel"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-kernel.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.00666 | $0.09657 |
| Opus 5.5 | $0.00266 | $0.03863 |
| Sonnet 5.5 | $0.00133 | $0.01931 |
| Haiku 4.5 | $0.00067 | $0.00966 |
Grade A, and why
re-kernel 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 2mo 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
内核逆向(跨平台)
平台差异(不是同义替换)
| 平台 | 单元形态 | 加载与签名模型 | 类型信息来源 | 主要观测面 |
|---|---|---|---|---|
| Windows | 先分驱动模型:WDM / KMDF / UMDF / minifilter / NDIS·miniport;再谈 .sys(PE) |
SCM 注册 + 驱动签名(WHCP / 测试签名;2026-04 起 legacy cross-sign 默认不受信) | PDB(public≠private)、WDK / ntddk.h 类型 |
WinDbg 内核调试、!drvobj/!process/!wdfkd.*、Volatility |
| Linux | .ko(ET_REL 可重定位目标) |
insmod/modprobe + vermagic / symbol CRC / 签名尾 |
BTF(含 split BTF 与 .BTF.base)、vmlinux、源码 |
/proc/kallsyms、/sys/module/*/sections/、kprobe/ftrace、内存 cross-view |
| macOS | 三套模型:KEXT(内核态)/ DEXT·DriverKit(用户态)/ System Extension(框架) | AuxKC(启动时加载)+ UAKL + Reduced Security / System Extension 激活审批 | 符号、Mach-O、Info.plist(IOKitPersonalities) |
IORegistry、kmutil、dSYM+KDK;dext 走用户态分析与调试 |
| Android | GKI module / vendor module | GKI 签名 + KMI 符号白名单 | BTF、KMI symbol list、Module.symvers |
模块所在分区、modules.load 计划 |
| seL4(微内核) | capability 系统:对象(TCB/Endpoint/CNode/Frame/Untyped/SC)+ cap 分布 | 无 capability 即无访问权;对象在构造期由 spec/loader 创建 | capDL spec(.cdl)、CAmkES ADL、ELF |
capDL snapshot(seL4_DebugSnapshot)、seL4_DebugCapIdentify、QEMU 仿真 |
| Fuchsia/Zircon | handle 引用内核对象(数值进程本地)+ 用户态驱动 component(DFv2) | driver manager 维护 node 拓扑、driver index 按 bind rules 匹配、driver host 承载实例 | FIDL、组件清单、bind rules | driver manager/driver index 的匹配与拓扑、driver host 进程划分、handle+rights 关系图 |
| FreeBSD | .ko(KLD,ELF 可重定位) |
linker sets + SYSINIT(SI_SUB_* + SI_ORDER_* 排序)+ 运行期 kernel linker |
符号、set_* 集合、源码 |
__start_set_*/__stop_set_* 边界、加载路径(内建/预加载/kldload) |
| illumos/Solaris | .so 内核模块(DDI/DKI 驱动) |
_init → mod_install(&modlinkage);_fini → mod_remove |
modlinkage→modldrv→dev_ops→cb_ops 静态链 |
逐字段读 dev_ops/cb_ops(含 nulldev/nodev 占位语义) |
| OpenBSD | 与一般 Unix 同形,但内核每次 boot 重新随机链接(KARL)+ autoconf 运行时匹配 | link kit + rc 后台重链接;detach 可等待使用者退出 | 符号(KARL 后必须按符号而非字节比较) | link kit/rc 重链接痕迹、autoconf 表、pledge/unveil 状态 |
| NetBSD | .kmod(ELF,由内核 linker 解析) |
按需自动加载(含依赖递归)+ 自动卸载;模块与内核版本强约束 | 模块版本报告与内核版本 | 实际模块路径(布局随 KERNEL_DIR 变化)、.plist 属性 |
| Genode | 组件树:session + capability + quota | parent 中介的路由,名字逐层重映射 | 组件的 XML 配置与路由表 | capability 的 PD 局部命名、quota 捐赠链、ROM 更新 |
| MINIX 3 | 用户态服务 + RS 自愈重启 | RS 监控/重启;label 稳定、endpoint 会变 | 定长消息(56 字节)定义与 grants | 服务 label↔endpoint、grant 校验、live update 阶段 |
| Plan 9 / 9front | 每进程命名空间 + 用户态 file server | bind/mount/union;服务经 /srv 发布后挂载 |
9P 的 fid/qid/walk 与消息类型 | 命名空间绑定历史、9P 会话对齐 |
| HelenOS | 用户态 server + fibril(内核不知道) | 用户态 DDF;devman 按 match id 评分启动驱动 | DDF 结构(driver_ops_t) |
kernel thread 与 user fibril 的区分 |
| Redox | scheme + 用户态 daemon | 内核把文件操作转成 SQE/CQE 消息 | SQE/CQE 字段、句柄映射 | scheme 名 → provider;客户端 fd 与 provider 描述符的映射 |
| Haiku | kernel module,但分 driver module / device module 两层 | Device Manager 的 device_node 树 + 按需发现 | 节点属性与总线类型规则 | /dev 路径 ↔ 节点 ↔ 驱动 |
| IBM z/OS | TCB 与 SRB 两类可调度单位 | cross-memory / PC / AR 模式 | 地址空间三元组(home/primary/secondary) | 当前 primary/secondary/home 与工作单位类型 |
| IBM i | 对象式(库即容器对象) | 单一存储层:内存与磁盘同一 64 位地址空间 | 对象限定名与全局指针 | 对象引用 vs 主存地址 |
| OpenVMS | 进程/线程 + AST 异步控制流 | $QIO + 事件标志 + AST |
IOSB、AST 参数 | 完成流(IOSB → 标志 → AST) |
| Unikraft / MirageOS | 库操作系统 / unikernel:应用与 OS 库整链 | 构建目标决定一切(native vs binary;unix/hvt/xen…) | 构建配置与 shim | 调用进入"内核"的方式、设备接线来源 |
| HIC | 同特权级进程 + MMU 隔离(Privileged-1 与 Core-0 同物理特权级);驱动只映射被授权的 MMIO/共享内存 | 自描述模块(UUID/版本/端点/资源/依赖/签名)+ capability 记账;动态加载与滚动更新 | 模块元数据、capability 表 | domain / capability / mapping / device ownership / version / lifecycle 拓扑 |
What ships with it
23 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.
- references/android-kernel.md 3.6 KB
- references/freebsd-kernel.md 5.7 KB
- references/genode.md 6.6 KB
- references/haiku.md 7.9 KB
- references/helenos.md 4.6 KB
- references/hic.md 11 KB
- references/ibmi.md 12 KB
- references/illumos-kernel.md 7.8 KB
- references/linux-kernel.md 18 KB
- references/macos-kernel.md 18 KB
- references/minix3.md 6.5 KB
- references/netbsd-kernel.md 5.7 KB
- references/openbsd-kernel.md 6.1 KB
- references/openvms.md 11 KB
- references/plan9.md 6.3 KB
- references/redox.md 9.3 KB
- references/sel4-kernel.md 14 KB
- references/unikraft-mirageos.md 8.7 KB
- references/windows-decision-tree.md 4.5 KB
- references/windows-gotchas.md 3.4 KB
- references/windows-kernel.md 28 KB
- references/zircon-kernel.md 8.2 KB
- references/zos.md 8.8 KB
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.
- 2mo ago Changed · +78 lines · +500 tokens per session 663ef6ae3e10
- 2mo ago Changed · -20 lines · +123 tokens per session ca7fc4923aa4
- 2mo ago First seen · 120 lines · 43 tokens per session scan A 6ac448fcda6a
re-kernel is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 666 tokens to every session and 9,657 once invoked, about $0.0027 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-kernel compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re-kerneldslsdzc/rev-skills | Skill | 275 | 1mo ago | Apache-2.0 | A | 666 | Claude Code |
| 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-golang-malware-with-ghidraYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 95 | Claude Code, Codex |
| analyzing-network-covert-channels-in-malwareYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 90 | Claude Code, Codex |
| analyzing-heap-spray-exploitationYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 46 | Claude Code, Codex |