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 FuRongJun-1999/dsh-memory --skill lingshu-compilergit clone --depth 1 https://github.com/FuRongJun-1999/dsh-memoryWrote 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/furongjun-1999/dsh-memory/lingshu-compiler)<a href="https://agentmods.dev/skills/furongjun-1999/dsh-memory/lingshu-compiler"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/lingshu-compiler/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/furongjun-1999/dsh-memory/lingshu-compiler"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/lingshu-compiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00178 | $0.03669 |
| Opus 5 | $0.00089 | $0.01835 |
| Sonnet 5 | $0.00036 | $0.00734 |
| Haiku 4.5 | $0.00018 | $0.00367 |
Grade A, and why
lingshu-compiler 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 today.
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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
灵枢 中文编译器域入口(lingshu-compiler)
白箱条件单元域入口(v2.0 层级化重组)。本域 116 个单元收纳于 units/,
本文件只承载子域路由——description 进上下文做域级命中,单元按需回读。
路由表(子域 → 单元)
| 子域 | 数 | 单元(slug · 中文主题) |
|---|---|---|
| 编译 | 40 | compile-assign · 编译-赋值(compile-assign)、compile-expr-tree · 编译-表达式树(compile-expr-tree)、compile-full-pipeline · 编译-完整管线(compile-full-pipeline)、compile-func-def · 编译-函数定义(compile-func-def)、compile-if-then · 编译-若则(compile-if-then)、compile-logic-expr · 编译-逻辑表达式(compile-logic-expr)、compile-recursive · 编译-递归(compile-recursive)、compile-scope · 编译-作用域分析(compile-scope)、compile-type-check · 编译-类型检查(compile-type-check)、compile-while · 编译-循环(compile-while)、compiler-0010c4bf · 编译-指令重排(compiler-0010c4bf)、compiler-054a0414 · 编译-支配树(compiler-054a0414)、compiler-05eeed1e · 编译-名实绑定(compiler-05eeed1e)、compiler-0622a1f6 · 编译-内联展开(compiler-0622a1f6)、compiler-08b54217 · 编译-寄存器溢出(compiler-08b54217)、compiler-1028685f · 编译-窥孔优化(compiler-1028685f)、compiler-16661b9b · 编译-寄存器分配(compiler-16661b9b)、compiler-25be1262 · 编译-指令选择(compiler-25be1262)、compiler-2a76ba07 · 编译-尾调用优化(compiler-2a76ba07)、compiler-2df52f16 · 编译-指令融合(compiler-2df52f16)、compiler-38378ac7 · 编译-程序(compiler-38378ac7)、compiler-4cbbda95 · 编译-指令(compiler-4cbbda95)、compiler-64c4224b · 编译-中间表示(compiler-64c4224b)、compiler-66377955 · 编译-寄存器着色(compiler-66377955)、compiler-6af76fd6 · 编译-常量池(compiler-6af76fd6)、compiler-6d979db2 · 编译-常量折叠(compiler-6d979db2)、compiler-724d6c9b · 编译-类型转换(compiler-724d6c9b)、compiler-7690177f · 编译-字符串拼接(compiler-7690177f)、compiler-83c61634 · 编译-管线静态检查(compiler-83c61634)、compiler-94b8d72d · 编译-闭包捕获分析(compiler-94b8d72d)、compiler-98b4c42f · 编译-循环展开(compiler-98b4c42f)、compiler-98e3894a · 编译-去虚拟化(compiler-98e3894a)、compiler-9bdfe4b8 · 编译-循环不变式(compiler-9bdfe4b8)、compiler-aabbd099 · 编译-死代码消除(compiler-aabbd099)、compiler-afe169d8 · 编译-指令调度(compiler-afe169d8)、compiler-c10264a7 · 编译-常量传播(compiler-c10264a7)、compiler-cda9c262 · 编译-边界检查消除(compiler-cda9c262)、compiler-eb1cf2b5 · 编译-信任流分析(compiler-eb1cf2b5)、compiler-ecb30d5b · 编译-链式比较(compiler-ecb30d5b)、compiler-fa8ff5f7 · 编译-内联缓存(compiler-fa8ff5f7) |
| VM | 17 | vm-arithmetic · VM-算术执行(vm-arithmetic)、vm-array-ops · VM-数组操作(vm-array-ops)、vm-closure-call · VM-闭包调用(vm-closure-call)、vm-closure-create · VM-闭包创建(vm-closure-create)、vm-compare · VM-比较执行(vm-compare)、vm-cond-jump · VM-条件跳转(vm-cond-jump)、vm-cond-space · VM-条件空间(vm-cond-space)、vm-exception · VM-异常处理(vm-exception)、vm-func-call · VM-函数调用(vm-func-call)、vm-loop-run · VM-循环执行(vm-loop-run)、vm-profiling · VM-指令剖析(vm-profiling)、vm-refcount · VM-引用计数(vm-refcount)、vm-run-loop · VM-执行循环(vm-run-loop)、vm-short-circuit · VM-短路求值(vm-short-circuit)、vm-stack-guard · VM-栈保护(vm-stack-guard)、vm-stack-ops · VM-栈操作(vm-stack-ops)、vm-trust-accum · VM-信任累积(vm-trust-accum) |
| 分析 | 14 | analyze-type-infer · 分析-类型推断(analyze-type-infer)、compiler-0ab24d00 · 分析-圈复杂度(compiler-0ab24d00)、compiler-0e093688 · 分析-污点分析(compiler-0e093688)、compiler-2dbea54a · 分析-循环检测(compiler-2dbea54a)、compiler-2ec2c9d2 · 分析-活跃变量(compiler-2ec2c9d2)、compiler-2f8c8f39 · 分析-调用图(compiler-2f8c8f39)、compiler-6de326c0 · 分析-逃逸分析(compiler-6de326c0)、compiler-7f471b3a · 分析-基本块(compiler-7f471b3a)、compiler-a6daf076 · 分析-字节码转储(compiler-a6daf076)、compiler-b0678bda · 分析-数据流分析(compiler-b0678bda)、compiler-b1396e23 · 分析-循环开销(compiler-b1396e23)、compiler-ce648068 · 分析-控制流图(compiler-ce648068)、compiler-e3979fd3 · 分析-栈深度分析(compiler-e3979fd3)、compiler-f8c8b24b · 分析-信息差追踪(compiler-f8c8b24b) |
| 词法 | 13 | compiler-0a62b70c · 词法-数字字面量(compiler-0a62b70c)、compiler-0ee9b9b9 · 词法-关键字识别(compiler-0ee9b9b9)、compiler-56dc9bdd · 词法-行号跟踪(compiler-56dc9bdd)、compiler-6f1c0eea · 词法-注释剥离(compiler-6f1c0eea)、compiler-8c798c81 · 词法-转义序列(compiler-8c798c81)、compiler-94f12231 · 词法-标识符解析(compiler-94f12231)、compiler-95937c16 · 词法-字符串字面量(compiler-95937c16)、compiler-9f7be5ad · 词法-字符类别(compiler-9f7be5ad)、compiler-b09bd196 · 词法-数字后缀(compiler-b09bd196)、compiler-fe1b058d · 词法-操作符解析(compiler-fe1b058d)、lex-chinese-program · 词法-中文程序(lex-chinese-program)、lex-dao-de-jing · 词法-道德经(lex-dao-de-jing)、lex-nine-chapters · 词法-九章算术(lex-nine-chapters) |
| 语法 | 11 | compiler-0361708a · 语法-元组解析(compiler-0361708a)、compiler-1f722303 · 语法-括号匹配(compiler-1f722303)、compiler-39457d2e · 语法-位运算(compiler-39457d2e)、compiler-4b230b6b · 语法-空值字面量(compiler-4b230b6b)、compiler-57e76ebe · 语法-数组字面量(compiler-57e76ebe)、compiler-63eae588 · 语法-布尔字面量(compiler-63eae588)、compiler-815cad08 · 语法-复合赋值(compiler-815cad08)、compiler-8dd747ac · 语法-字典字面量(compiler-8dd747ac)、compiler-9d9b4e83 · 语法-三元表达式(compiler-9d9b4e83)、compiler-a8399248 · 语法-语句分隔(compiler-a8399248)、compiler-d974e5d3 · 语法-函数签名(compiler-d974e5d3) |
| 调试 | 7 | compiler-0355bffb · 调试-单步(compiler-0355bffb)、compiler-11897630 · 调试-覆盖率(compiler-11897630)、compiler-39fb5926 · 调试-断点(compiler-39fb5926)、compiler-47f4fbfa · 调试-调用计数(compiler-47f4fbfa)、compiler-98a5625b · 调试-条件断点(compiler-98a5625b)、compiler-a7995a0c · 调试-调用栈回溯(compiler-a7995a0c)、compiler-cb1e8e4b · 调试-变量监视(compiler-cb1e8e4b) |
| 字节码 | 6 | compiler-0f3787e6 · 字节码-反序列化(compiler-0f3787e6)、compiler-674ab4f6 · 字节码-完整性校验(compiler-674ab4f6)、compiler-7b229a7d · 字节码-紧凑编码(compiler-7b229a7d)、compiler-b9b31ce0 · 字节码-指令大小(compiler-b9b31ce0)、compiler-ccafd438 · 字节码-文件头校验(compiler-ccafd438)、compiler-cf5776a4 · 字节码-序列化(compiler-cf5776a4) |
| 校验 | 6 | check-name-real · 校验-名实(check-name-real)、compiler-05a1691a · 校验-信任检查(compiler-05a1691a)、compiler-4d5a68ff · 校验-条件空间类型(compiler-4d5a68ff)、compiler-61ff016b · 校验-名实一致(compiler-61ff016b)、compiler-90324d0a · 校验-条件空间存在性(compiler-90324d0a)、compiler-f99fedbe · 校验-条件空间符号类型(compiler-f99fedbe) |
| 对接 | 1 | compiler-0e82b966 · 对接-协议词法(compiler-0e82b966) |
| 求值 | 1 | compiler-4a8cd1f1 · 求值-条件表达式(compiler-4a8cd1f1) |
What ships with it
60 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.
- units/analyze-type-infer/SKILL.md 1.9 KB
- units/check-name-real/SKILL.md 1.6 KB
- units/compile-assign/SKILL.md 1.5 KB
- units/compile-expr-tree/SKILL.md 1.3 KB
- units/compile-full-pipeline/SKILL.md 1.7 KB
- units/compile-func-def/SKILL.md 1.5 KB
- units/compile-if-then/SKILL.md 1.7 KB
- units/compile-logic-expr/SKILL.md 1.6 KB
- units/compile-recursive/SKILL.md 2.1 KB
- units/compile-scope/SKILL.md 1.6 KB
- units/compile-type-check/SKILL.md 1.7 KB
- units/compile-while/SKILL.md 1.8 KB
- units/compiler-0010c4bf/SKILL.md 1.6 KB
- units/compiler-0355bffb/SKILL.md 1.6 KB
- units/compiler-0361708a/SKILL.md 1.5 KB
- units/compiler-054a0414/SKILL.md 1.3 KB
- units/compiler-05a1691a/SKILL.md 1.7 KB
- units/compiler-05eeed1e/SKILL.md 1.9 KB
- units/compiler-0622a1f6/SKILL.md 1.7 KB
- units/compiler-08b54217/SKILL.md 1.7 KB
- units/compiler-0a62b70c/SKILL.md 1.6 KB
- units/compiler-0ab24d00/SKILL.md 1.5 KB
- units/compiler-0e093688/SKILL.md 1.4 KB
- units/compiler-0e82b966/SKILL.md 1.6 KB
- units/compiler-0ee9b9b9/SKILL.md 1.6 KB
- units/compiler-0f3787e6/SKILL.md 1.6 KB
- units/compiler-1028685f/SKILL.md 1.5 KB
- units/compiler-11897630/SKILL.md 1.3 KB
- units/compiler-16661b9b/SKILL.md 1.6 KB
- units/compiler-1f722303/SKILL.md 1.5 KB
- units/compiler-25be1262/SKILL.md 1.5 KB
- units/compiler-2a76ba07/SKILL.md 1.6 KB
- units/compiler-2dbea54a/SKILL.md 1.5 KB
- units/compiler-2df52f16/SKILL.md 1.5 KB
- units/compiler-2ec2c9d2/SKILL.md 1.6 KB
- units/compiler-2f8c8f39/SKILL.md 1.6 KB
- units/compiler-38378ac7/SKILL.md 1.6 KB
- units/compiler-39457d2e/SKILL.md 1.3 KB
- units/compiler-39fb5926/SKILL.md 1.6 KB
- units/compiler-47f4fbfa/SKILL.md 1.2 KB
- units/compiler-4a8cd1f1/SKILL.md 1.8 KB
- units/compiler-4b230b6b/SKILL.md 1.5 KB
- units/compiler-4cbbda95/SKILL.md 1.3 KB
- units/compiler-4d5a68ff/SKILL.md 1.6 KB
- units/compiler-56dc9bdd/SKILL.md 1.5 KB
- units/compiler-57e76ebe/SKILL.md 1.6 KB
- units/compiler-61ff016b/SKILL.md 1.7 KB
- units/compiler-63eae588/SKILL.md 1.3 KB
- units/compiler-64c4224b/SKILL.md 1.3 KB
- units/compiler-66377955/SKILL.md 1.6 KB
- units/compiler-674ab4f6/SKILL.md 1.5 KB
- units/compiler-6af76fd6/SKILL.md 1.3 KB
- units/compiler-6d979db2/SKILL.md 1.6 KB
- units/compiler-6de326c0/SKILL.md 1.7 KB
- units/compiler-6f1c0eea/SKILL.md 1.6 KB
- units/compiler-724d6c9b/SKILL.md 1.8 KB
- units/compiler-7690177f/SKILL.md 1.6 KB
- units/compiler-7b229a7d/SKILL.md 1.4 KB
- units/compiler-7f471b3a/SKILL.md 1.5 KB
- units/compiler-815cad08/SKILL.md 1.4 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.
- today First seen · 57 lines · 178 tokens per session scan A 5694d63bf6b1
lingshu-compiler is a skill published in the GitHub repository FuRongJun-1999/dsh-memory (159 stars, last pushed today), licensed MIT. It adds 178 tokens to every session and 3,669 once invoked, about $0.0009 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-11.
Other skills, from other repositories
bbs-relay-pickup
A coordination procedure for agents that share work on tasks through a BBS task system, where BBS is the service used to claim, run, and report task steps.
bcs-coordination
A coordination system for several software agents, meaning separate automated assistants, working together.
bcs-coordination
Public BCS multi-bot coordination skill. Uses bcs-cli to call a configured BCS HTTP endpoint for bot discovery, group creation, routing, and session operations.
orchestrate
This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.
undercover-game-referee
A game-session referee procedure for the social deduction game Who Is the Spy. It follows the game's stages for speeches, voting, revealing roles, and ending a session.
bbs-relay-single-task
A relay procedure for taking over a task from an engine notification, which includes the task's current state.