anchor.degrade

anchor.degrade is a skill for Claude Code, Codex from unknowbug/anchorlaw. It costs 53 tokens per session (563 once invoked), scanned A, original, MIT.

A fallback verification procedure for generated code that cannot be compiled or run on its own. It labels the verification as full, partial, or degraded and records unresolved dependencies.

In plain words
What is it for?
Use it when code depends on unavailable binaries or external symbols, to classify the verification level, record affected functions, review traces manually when needed, and produce an explicit degraded-verification notice.
Why use it?
It prevents unavailable tests from being presented as successful verification. It also limits repeated guesswork until new runtime evidence is collected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when code depends on unavailable binaries or external symbols, to classify the verification level, record affected functions, review traces manually when needed, and produce an explicit degraded-verification notice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unknowbug/anchorlaw/anchor.degrade
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 unknowbug/anchorlaw --skill anchor.degrade
Clone the repo
git clone --depth 1 https://github.com/unknowbug/anchorlaw

Made for: Claude Code, Codex.

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 anchor.degrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor.degrade/github.svg)](https://agentmods.dev/skills/unknowbug/anchorlaw/anchor.degrade)
Your own site
<a href="https://agentmods.dev/skills/unknowbug/anchorlaw/anchor.degrade"><img src="https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor.degrade/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 anchor.degrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/unknowbug/anchorlaw/anchor.degrade"><img src="https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor.degrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 563 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.00053 $0.00563
Opus 5.5 $0.00021 $0.00225
Sonnet 5.5 $0.00011 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured 6d ago against content hash 12ffa667e121, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

anchor.degrade 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

archive/reasonix/skills/anchor.degrade/SKILL.md · 35 lines

What it actually says

anchor.degrade — 降级验证

Protocol: spec/protocol-v0.27.md §9 (Degraded Verification) Layer: L2 (Anchors) — 与 anchor.test 同域(CLI 入口同为 anchorlaw test) Execution: subprocess

触发场景

生成代码依赖二进制内部符号,无法独立编译运行;anchorlaw test 无法执行时。

操作步骤

  1. 分类模式(§9.1):
    • Full — 自包含 + anchorlaw 已装 → anchorlaw test 可跑
    • Partial — 有未解析外部依赖 → test 不能跑,@pt 仍须带 source(假设记录,验证推迟)
    • Degraded — anchorlaw 未装 → 人工对照 trace 审查
  2. 判定自包含性(§9.2):无外部函数调用 / 无全局引用 / 无外部自定义类型 → Full;否则查依赖,全部可解析才 Full。
  3. 登记:Partial/Degraded 的函数写入 uncompilable_functions.yaml(函数名、源位置、未解析依赖清单、建议路径——§9.3 字段)。
  4. retry cap(§9.4,v0.13 证据饱和):实现→验证循环受证据饱和约束——连续 3 轮假设验证无新数据层证据(trace/probe)必须回到数据层采集(动态 trace),禁止无新数据反复改假设(过程熵增);产生新证据的轮次重置计数不消耗 cap(不切断持续获证的探索);工程修复不计数。
  5. 诚实声明(§9.5):Partial/Degraded 下所有导出/报告前缀标注降级模式,置信度不自动提升。

输出

模式分类结论 / uncompilable_functions.yaml 记录 / 降级声明前缀。

约束

  • 降级不是防御性逃避——是诚实标注当前验证天花板。
  • 无新数据层证据不迭代假设。
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. 6d ago Changed 12ffa667e121
  2. 20d ago Changed 58fcf3595b52
  3. 1mo ago Changed 5674584d9a47
  4. 1mo ago Changed e3f905a3f347
  5. 2mo ago Changed f3c44553ec40
  6. 2mo ago Changed abf93496eed8
  7. 2mo ago Changed 2648269d16dd
  8. 3mo ago Changed d7d96e7996b3
  9. 3mo ago First seen · 35 lines · 53 tokens per session scan A 90815eb1d378

Subscribe to this mod's changes

anchor.degrade is a skill published in the GitHub repository unknowbug/anchorlaw (7 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session and 563 once invoked, about $0.0002 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-08-31.

Related

anchor.degrade compared with skills from other repositories

anchor.degrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anchor.degradeunknowbug/anchorlawSkill77d agoMITA53Claude Code, Codex
implement-type-annotationsambient-code/agentreadySkill15815d agoMITA30Claude Code, Codex
codex-code-reviewNickCrew/Claude-CortexSkill7712d agoMITA85Claude Code, Codex
evaluator-optimizerNickCrew/Claude-CortexSkill7712d agoMITA33Claude Code, Codex
openspec-plus-applysudokar/openspec-plusSkill2203mo agoMITA110Claude Code, Codex
openspec-plus-designsudokar/openspec-plusSkill2203mo agoMITA82Claude Code, Codex
openspec-plus-specsudokar/openspec-plusSkill2203mo agoMITA88Claude Code, Codex