compiler-6d979db2

compiler-6d979db2 is a skill for Claude Code from FuRongJun-1999/dsh-memory. It costs 118 tokens per session (503 once invoked), scanned A, original, MIT.

A compiler-optimization helper that evaluates operations on known constants while compiling, replacing pushes and arithmetic with the resulting constant.

In plain words
What is it for?
Use it to fold constant arithmetic into a single constant instruction during compilation.
Why use it?
It avoids repeating calculations at program runtime when all inputs are already known during compilation. It applies only when its stated conditions are met.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to fold constant arithmetic into a single constant instruction during compilation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furongjun-1999/dsh-memory/compiler-6d979db2
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-6d979db2
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-6d979db2

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/furongjun-1999/dsh-memory/compiler-6d979db2"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/compiler-6d979db2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 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 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.00118 $0.00503
Opus 5 $0.00059 $0.00251
Sonnet 5 $0.00024 $0.00101
Haiku 4.5 $0.00012 $0.00050

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

Security

Grade A, and why

compiler-6d979db2 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 yesterday.

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.

skills/skills/lingshu-compiler/units/compiler-6d979db2/SKILL.md · 46 lines

What it actually says

编译-常量折叠(compiler-6d979db2)

When to use

任务「常量折叠」;对照:编译优化——常量折叠(PUSH+PUSH+算术 → PUSH 结果,编译期求值)。

克制条款(不适用条件)

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

How to execute

循环迭代;顺序调用

Verification

  • 单元样例 2 条(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. yesterday First seen · 46 lines · 118 tokens per session scan A 01293473a7da

Subscribe to this mod's changes

compiler-6d979db2 is a skill published in the GitHub repository FuRongJun-1999/dsh-memory (164 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 503 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

potpie-source-ingestion

Use when the user explicitly asks to ingest, refresh, or deeply understand a repository, PR, issue, ticket, runbook, incident report, document, or web link into Potpie. The harness performs todo-driven discovery, uses local/GitHub/integration tools and read-only subagents when available, builds evidence-backed…

potpie-ai/potpie · 82 tokens

potpie-repo-baseline

Use when establishing, refreshing, or deeply understanding a repository's baseline memory in Potpie: purpose, application type, features, services/modules, environments, deploy shape, dependencies, API contracts, datastores, integrations, ownership, and explicit preferences. The harness reads authored and…

potpie-ai/potpie · 75 tokens

potpie-project-preferences

Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project preference should be recorded.

potpie-ai/potpie · 63 tokens

bcs-coordination

A coordination system for several software agents, meaning separate automated assistants, working together.

inclusionAI/Avernet · 86 tokens

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.

varun29ankuS/shodh-memory · 67 tokens