anchor-concepts

anchor-concepts is a skill for Claude Code, Codex from unknowbug/anchorlaw. It costs 43 tokens per session (484 once invoked), scanned A, a copy of anchor.concepts, MIT.

A reference guide to Anchorlaw’s anchors: labels attached to code that state what can be tested or what remains unknown. It defines valid evidence sources and the supported Python, TypeScript, and C++ forms.

In plain words
What is it for?
Use it to clarify anchor semantics, choose between a test claim and an honest unknown, check evidence rules, and understand how anchors map across languages.
Why use it?
It gives developers a shared meaning for these labels before they write or review them, reducing invalid or misleading verification claims.

Skill for Claude CodeCodex

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

Good fit Use it to clarify anchor semantics, choose between a test claim and an honest unknown, check evidence rules, and understand how anchors map across languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unknowbug/anchorlaw/anchor-concepts
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-concepts
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-concepts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/unknowbug/anchorlaw/anchor-concepts"><img src="https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor-concepts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 484 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 89% 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.00043 $0.00484
Opus 5.5 $0.00017 $0.00194
Sonnet 5.5 $0.00009 $0.00097
Haiku 4.5 $0.00004 $0.00048

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

Security

Grade A, and why

anchor-concepts 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

This is a copy

89% identical to anchor.concepts — 3 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.

dsh/skills/anchor-concepts/SKILL.md · 33 lines

What it actually says

anchor.concepts — Anchor 语义速查

Protocol: spec/protocol-v0.27.md §5 (Anchor Semantics), §13 (Anchor Abstraction) Layer: L0 (Concepts) — 仅作语义参考,自身不执行任何操作 Execution: inline

触发场景

写或审查 anchor 标注之前,需要 anchor 语义定义时调用本 skill(供 L1–L4 引用)。

核心语义

  • @anchor.test = 可验证声称:description(人类可读)+ test_fn(可执行谓词)+ source(必填,v0.3+)
  • @anchor.idk = 诚实边界声明:what(具体未知项),source 可选
  • source 类型(§5.5):trace / memory 允许 @test;static 仅允许 @idk。@test 无 source 或 static → INVALID
  • staleness(§5.3):@idk 超 90 天且函数已修改 → 升级为 WARNING
  • 健康状态(§5.4):healthy / unverified / degrading / stale_unknown / skeleton / uncompilable
  • 三语言等价(§13):Python 装饰器 / TypeScript JSDoc 注释 / C++ 行注释 // @anchor.*,验证载体可不同(test_fn / assert / probe binary)

输出

一份语义澄清:回答当前任务涉及的 anchor 语义问题。不写代码、不跑命令。

约束

  • 写 anchor 用 anchor.write;验证用 anchor.test;本 skill 只回答「是什么」。
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 dd4a6da2c38f
  2. 20d ago Changed 035ac8679831
  3. 1mo ago Changed 9c201f674c8f
  4. 1mo ago Changed ca7697297869
  5. 2mo ago Changed 402a2e6ce334
  6. 2mo ago Changed 03f3dad4b2b7
  7. 2mo ago Changed a2919bc07aa9
  8. 3mo ago Changed adcb6473e50e
  9. 3mo ago First seen · 33 lines · 43 tokens per session scan A 1e1e05f394f4

Subscribe to this mod's changes

anchor-concepts is a skill published in the GitHub repository unknowbug/anchorlaw (7 stars, last pushed 7d ago), licensed MIT. It adds 43 tokens to every session and 484 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to anchor.concepts, differing in 3 lines, and is treated as a copy.

Related

anchor-concepts compared with skills from other repositories

anchor-concepts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anchor-conceptsunknowbug/anchorlawSkill77d agoMITA43Claude 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