compiler-1028685f

compiler-1028685f is a skill for Claude Code from FuRongJun-1999/dsh-memory. It costs 103 tokens per session (459 once invoked), scanned A, a copy of browser-aaac4eec, MIT.

A peephole-optimisation skill that examines short sequences of instructions and replaces known redundant patterns with simpler ones, such as PUSH 0 followed by ADD.

In plain words
What is it for?
Use it during compiler optimisation to repeatedly check instruction windows for supported simplifications.
Why use it?
It removes small, local inefficiencies without needing to analyse the whole program.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it during compiler optimisation to repeatedly check instruction windows for supported simplifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furongjun-1999/dsh-memory/compiler-1028685f
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 FuRongJun-1999/dsh-memory --skill compiler-1028685f
Clone the repo
git clone --depth 1 https://github.com/FuRongJun-1999/dsh-memory

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 compiler-1028685f

README.md
[![agentmods](https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/compiler-1028685f/github.svg)](https://agentmods.dev/skills/furongjun-1999/dsh-memory/compiler-1028685f)
Your own site
<a href="https://agentmods.dev/skills/furongjun-1999/dsh-memory/compiler-1028685f"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/compiler-1028685f/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 compiler-1028685f

Your own site · 80×15
<a href="https://agentmods.dev/skills/furongjun-1999/dsh-memory/compiler-1028685f"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/compiler-1028685f.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 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.
Origin 86% copy Near-identical to another mod 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.00103 $0.00459
Opus 5 $0.00051 $0.00230
Sonnet 5 $0.00021 $0.00092
Haiku 4.5 $0.00010 $0.00046

Measured today against content hash 877cab3794f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

compiler-1028685f 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.

Origin

This is a copy

86% identical to browser-aaac4eec — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/skills/lingshu-compiler/units/compiler-1028685f/SKILL.md · 46 lines

What it actually says

编译-窥孔优化(compiler-1028685f)

When to use

任务「窥孔优化」;对照:编译优化——窥孔(PUSH 0+ADD 冗余消除)。

克制条款(不适用条件)

条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to execute

循环迭代;顺序调用

Verification

  • 单元样例 3 条(cases 断言)
  • 物理基底:按 calibration 对照(编译/运行/断言裁决)

References

  • 单元库:compiler_code_units.py「编译-窥孔优化」
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. today First seen · 46 lines · 103 tokens per session scan A 877cab3794f7

Subscribe to this mod's changes

compiler-1028685f is a skill published in the GitHub repository FuRongJun-1999/dsh-memory (159 stars, last pushed yesterday), licensed MIT. It adds 103 tokens to every session and 459 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to browser-aaac4eec, differing in 28 lines, and is treated as a copy.