anchor-prior-test

anchor-prior-test is a skill for Claude Code from LLM-Coding/Semantic-Anchors. It costs 97 tokens per session (977 once invoked), scanned A, original, Apache-2.0.

A testing procedure for deciding whether a proposed term is a well-known concept to language models. A semantic anchor is a familiar term that reliably brings a larger shared idea to mind.

In plain words
What is it for?
Use it to evaluate new anchor proposals, possible renames, and whether a term is understood consistently across several model tiers.
Why use it?
It replaces guesswork with evidence when deciding whether a term should be used as a shorthand anchor or explained fully in a contract.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the semantic-anchors plugin — 6 skills shipped together

Good fit Use it to evaluate new anchor proposals, possible renames, and whether a term is understood consistently across several model tiers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/llm-coding/semantic-anchors/anchor-prior-test
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 LLM-Coding/Semantic-Anchors --skill anchor-prior-test
Clone the repo
git clone --depth 1 https://github.com/LLM-Coding/Semantic-Anchors

Made for: Claude Code.

Or install semantic-anchors, the plugin that ships this one along with the rest of its 6 skills.

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-prior-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/llm-coding/semantic-anchors/anchor-prior-test/github.svg)](https://agentmods.dev/skills/llm-coding/semantic-anchors/anchor-prior-test)
Your own site
<a href="https://agentmods.dev/skills/llm-coding/semantic-anchors/anchor-prior-test"><img src="https://agentmods.dev/badge/skills/llm-coding/semantic-anchors/anchor-prior-test/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-prior-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/llm-coding/semantic-anchors/anchor-prior-test"><img src="https://agentmods.dev/badge/skills/llm-coding/semantic-anchors/anchor-prior-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 977 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.00977
Opus 5.5 $0.00039 $0.00391
Sonnet 5.5 $0.00019 $0.00195
Haiku 4.5 $0.00010 $0.00098

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

Security

Grade A, and why

anchor-prior-test 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 9d 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.

plugins/semantic-anchors/skills/anchor-prior-test/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anchor Prior Test

Measure whether a term is a strong semantic anchor instead of guessing. This skill turns the manual litmus test in CONTRIBUTING.adoc ("ask the LLM what it associates") into a rigorous, multi-model, clean-room procedure with a structured verdict.

The principle

A semantic anchor only delivers leverage if the term is already a dense, pre-computed prior in the model's training data. Naming it must reliably trigger the rich concept, the same way for everyone, across models you do not control. This skill measures that density empirically. The reasoning behind it is the article An Anchor Delivers Only as Far as the Prior Reaches (route /training-data-vs-practice).

Two facts drive the whole method:

  • Power tracks density, not merit. A good, recent, niche method (e.g. "Use-Case 3.0") can be a weak anchor; a model will silently substitute the nearest concept it holds rather than admit the gap. Density is what you measure.
  • A weak prior is not a dead end. It is a candidate for a contract (which supplies its own meaning in text) instead of an anchor. The verdict routes the term to the right home.

When to use

  • Triaging a [Anchor Proposal] issue before accepting it.
  • Deciding anchor vs contract for new vocabulary.
  • Vetting a rename — does the new name trigger the same concept the body describes?

Procedure

  1. Frame the candidate. Write down the exact string a user would type. List the precise/qualified form and any ambiguous bare form (e.g. "Morphological Box / Zwicky Box" vs bare "morphological analysis"). Note rival terms a model might confuse it with.
  2. Open a clean room. Run a fresh claude -p process — never a sub-agent (sub-agents inherit this project's CLAUDE.md and memory and will give circular results). See references/clean-room.md.
  3. Run the probe battery. Four probe types across at least two model tiers (weak + strong), with at least two runs of the decisive probe. See references/probe-battery.md.
  4. Score. Map results to the four criteria, prior density, and a tier (★). See references/scoring.md.
  5. Emit. A verdict plus either a ready-to-post verdict comment for the proposal issue, or a rejected-proposals.adoc entry with the reason.

Read the full file on GitHub · 48 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago Changed 26ca9de46eaa
  2. 2mo ago First seen · 48 lines · 97 tokens per session scan A aaa37d08799a

Subscribe to this mod's changes

anchor-prior-test is a skill published in the GitHub repository LLM-Coding/Semantic-Anchors (528 stars, last pushed today), licensed Apache-2.0. It adds 97 tokens to every session and 977 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

promptfoo-redteam-run

Execute, inspect, and rerun an existing Promptfoo redteam scan. Use for generated YAML, result exports, attack success rates, grader/target errors, filtered reruns, and CI gates. Use promptfoo-provider-setup for connections and promptfoo-redteam-setup for new scan plans.

promptfoo/promptfoo · 66 tokens

promptfoo-redteam-setup

Create or refine a Promptfoo redteam config and generate probes from target behavior, code, or OpenAPI evidence. Use for purpose, trust boundaries, plugins, strategies, and grading guidance. Use promptfoo-provider-setup for connection work and promptfoo-redteam-run for an existing scan.

promptfoo/promptfoo · 65 tokens

promptfoo-provider-setup

Connect Promptfoo to a model, live HTTP API, local Python/JavaScript provider, or app code. Use for request/auth mapping, response parsing, OpenAPI setup, and connection smoke tests. Use promptfoo-evals for broader eval coverage and promptfoo-redteam-setup for attack selection.

promptfoo/promptfoo · 66 tokens

discount-review

Inspect the discount policy fixture with a repeatable review checklist and helper script.

promptfoo/promptfoo · 18 tokens

code-review

Reviews code for bugs, security issues, and best practices.

promptfoo/promptfoo · 11 tokens