anchor.concepts

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

A reference guide for the meaning and status of “anchors”—claims linked to checks or honest statements about what is unknown. It explains the rules for using them in Python, TypeScript, and C++.

In plain words
What is it for?
Use it to answer questions about anchor definitions before writing or reviewing anchor annotations. It does not write code or run commands.
Why use it?
It removes uncertainty about what an anchor means and when its evidence is valid. It also clarifies which related tools should write or verify anchors.

Skill for Claude CodeCodex

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

Good fit Use it to answer questions about anchor definitions before writing or reviewing anchor annotations. It does not write code or run commands.

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.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.svg" alt="Measured on agentmods" 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 456 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.00043 $0.00456
Opus 5 $0.00022 $0.00228
Sonnet 5 $0.00009 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 4d ago against content hash 033903e5dae2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 4d 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.concepts/SKILL.md · 32 lines

What it actually says

anchor.concepts — Anchor 语义速查

Protocol: spec/protocol-v0.20.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. 4d ago Changed 033903e5dae2
  2. 8d ago First seen · 32 lines · 43 tokens per session scan A 73c4a7817319

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens

security-audit

Java security checklist covering OWASP Top 10, input validation, injection prevention, and secure coding. Works with Spring, Quarkus, Jakarta EE, and plain Java. Use when reviewing code security, before releases, or when user asks about vulnerabilities.

decebals/claude-code-java · 55 tokens

issue-triage

Triage and categorize GitHub issues with priority labels. Use when user says "triage issues", "check issues", "review open issues", or during regular maintenance of GitHub issue backlog.

decebals/claude-code-java · 44 tokens

ring:migrating-to-lib-observability

Migrating a Lerian Go app off lib-commons observability imports (deprecated shims or removed APIs) to lib-observability via a fixed mapping table, then bumps go.mod and validates the build; ring:backend-go applies the edits. Covers log/zap/runtime/assert, opentelemetry/tracing, HTTP middleware, context helpers, and…

LerianStudio/ring · 104 tokens

ring:exploring-codebases

Exploring a codebase across phases: scopes the target, detects architecture, components, and layers, deep-dives each discovered perspective, then synthesizes findings into actionable guidance with file:line evidence. Use to understand how a feature or system works before planning changes, or to orient on an unfamiliar…

LerianStudio/ring · 91 tokens

ring:searching-code

Forensic code search and analysis with optional Chain of Draft (CoD) ultra-concise mode. Five-phase methodology (clarification, planning, execution, analysis, synthesis) with severity assessment. Use for targeted investigation of specific patterns, bugs, or vulnerabilities. Skip for broad architecture mapping (use…

LerianStudio/ring · 74 tokens