anchor-challenge

anchor-challenge is a skill for Claude Code, Codex from unknowbug/anchorlaw. It costs 41 tokens per session (375 once invoked), scanned A, original, MIT.

A procedure for challenging a scanner rule when its warning may be a false positive, meaning it flags code that is not actually a problem.

In plain words
What is it for?
Use it to report suspected false positives, verify them with maintainers, and decide whether to narrow, lower, or remove a scanner rule.
Why use it?
It requires a small reproducible example and a recorded decision, so rules are not weakened or kept unchanged without evidence.

Skill for Claude CodeCodex

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

Good fit Use it to report suspected false positives, verify them with maintainers, and decide whether to narrow, lower, or remove a scanner rule.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor-challenge.svg)](https://agentmods.dev/skills/unknowbug/anchorlaw/anchor-challenge)
Your own site
<a href="https://agentmods.dev/skills/unknowbug/anchorlaw/anchor-challenge"><img src="https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor-challenge.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 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.00041 $0.00375
Opus 5 $0.00020 $0.00187
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 4d ago against content hash 4745852f019b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

dsh/skills/anchor-challenge/SKILL.md · 32 lines

What it actually says

anchor.challenge — 规则挑战流程

Protocol: spec/protocol-v0.20.md §12 (Rule Challenge Process) Layer: L1 (Scanner) Execution: inline

触发场景

scanner 输出疑似误报(FP),或想质疑某条协议规则(第三律:协议必须能被推翻)。

四步流程(§12)

  1. Report(上报) — 提交 issue:最小复现(代码片段 + scanner 输出)。
  2. Verify(验证) — 维护者复现 FP;复现用例加入 scanner 测试套件,标记为已知-FP 排除,防止模式被盲目加回。
  3. Adjudicate(裁决) — 规则三种出路:细化排除该例 / 降级 severity / 从目录删除;理由必须记录进协议 changelog。
  4. Evidence(证据) — 无 FP 证据不能削弱规则;有确认 FP 的规则不能保持不变。

输出

挑战 issue(含最小复现)或裁决结论记录。

约束

  • 「疑似」不构成依据——必须带最小复现代码。
  • 挑战结果(成败)都要记录在案,供协议演进追溯。
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 4745852f019b
  2. 8d ago First seen · 32 lines · 41 tokens per session scan A a5e073cabbc6

Subscribe to this mod's changes

anchor-challenge is a skill published in the GitHub repository unknowbug/anchorlaw (5 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 375 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

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

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

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