compiler-2a76ba07

compiler-2a76ba07 is a skill for Claude Code from FuRongJun-1999/dsh-memory. It costs 115 tokens per session (472 once invoked), scanned A, a copy of browser-716cd26c, MIT.

A tail-call-optimisation skill that replaces a final function call with a jump when possible. A tail call is a call that is the last operation in the current function.

In plain words
What is it for?
Use it when transforming compiler output for supported final-call patterns.
Why use it?
It can let repeated final calls, including tail recursion, run without adding another call stack frame each time.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when transforming compiler output for supported final-call patterns.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/furongjun-1999/dsh-memory/compiler-2a76ba07"><img src="https://agentmods.dev/badge/skills/furongjun-1999/dsh-memory/compiler-2a76ba07.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 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.00115 $0.00472
Opus 5 $0.00057 $0.00236
Sonnet 5 $0.00023 $0.00094
Haiku 4.5 $0.00012 $0.00047

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

Security

Grade A, and why

compiler-2a76ba07 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-716cd26c — 26 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-2a76ba07/SKILL.md · 46 lines

What it actually says

编译-尾调用优化(compiler-2a76ba07)

When to use

任务「尾调用优化」;对照:编译优化——尾调用优化(CALL→JUMP,尾递归不增栈帧)。

克制条款(不适用条件)

条件不满足即不适用(负路由:输入不满足生效条件时返回 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 · 115 tokens per session scan A b4779df30493

Subscribe to this mod's changes

compiler-2a76ba07 is a skill published in the GitHub repository FuRongJun-1999/dsh-memory (159 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 472 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to browser-716cd26c, differing in 26 lines, and is treated as a copy.