anchor-worker

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

An isolated implementation role that builds one assigned code module from an approved specification and plan, adds verification labels, and records self-test results.

In plain words
What is it for?
Use it for delegated module implementation, module-level testing, Anchorlaw checks when possible, artifact recording, and submitting the result for review.
Why use it?
It keeps module work separated, documents what was tested, and leaves the final decision to merge the work to a reviewer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for delegated module implementation, module-level testing, Anchorlaw checks when possible, artifact recording, and submitting the result for review.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/unknowbug/anchorlaw/anchor-worker"><img src="https://agentmods.dev/badge/skills/unknowbug/anchorlaw/anchor-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 624 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.00048 $0.00624
Opus 5.5 $0.00019 $0.00250
Sonnet 5.5 $0.00010 $0.00125
Haiku 4.5 $0.00005 $0.00062

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

Security

Grade A, and why

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

dsh/skills/anchor-worker/SKILL.md · 41 lines

What it actually says

anchor.worker — 模块实施角色(subprocess)

Protocol: spec/protocol-v0.27.md §15.1 (Definition), §15.2 (Isolation Semantics), §15.4 (Consistency Contract) Layer: 执行角色(非 §14 动作 skill,不占 manifest 名额) Execution: subprocess(隔离)

角色契约(§15.1/§15.2)

  • 本角色在隔离子进程中运行:工作上下文绝不进入主会话。
  • 被 Judge 派遣,按已批准的实施规范与计划实现一个模块。
  • 完成 → 产物落盘 + 提交并入申请;并入与否由 Judge 判定(自评≠审查)。

触发场景(流水线 stage 3)

Judge 按实施计划派本角色实施指定模块。每个模块由一个 Worker 产出,多模块并行(规范锁定保证一致)。

操作步骤

  1. 加载批准的实施规范(命名/模块化/框架边界)与模块计划
  2. 实现模块代码,遵守规范(变量命名、模块边界、框架使用范围)
  3. 写 @anchor.test / @anchor.idk 标注(§5,anchor.write 语义)
  4. 自测:跑模块级测试 + anchorlaw test(若可独立编译);记录命令 + 输出摘要
  5. 落盘:代码在声明的模块路径;自测记录在 .artifacts/<task>/worker-<module>-<NNN>.md
  6. 返回:最终答案 + 产物引用 + 并入申请(模块 / 改动 / 自测结果)

并入审查配合(§15.4)

Judge 审查并入时三源交叉核对(产物快照 / 工作区 diff / 验证记录);打回时按审查意见修改后再交,直到 Judge 点头。修改遵循「打回意见即判据」——只处理审查列出的问题,不自行扩大范围。

约束

  • 只实现分配的模块,不越界改其他模块(并行安全前提)。
  • 不自行判定「完成」——并入由 Judge 点头。
  • 隔离语义见 §15.2。
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 ae58ce5567a1
  2. 20d ago Changed c9d6bfb4a7fb
  3. 1mo ago Changed 3a3fe42c5016
  4. 1mo ago Changed f4e415e87015
  5. 2mo ago Changed b0ae13015ef2
  6. 2mo ago Changed 931e2ec44cc4
  7. 2mo ago Changed 8d4d67033ff0
  8. 3mo ago Changed 0db02a0689ea
  9. 3mo ago First seen · 41 lines · 48 tokens per session scan A e60a2b255290

Subscribe to this mod's changes

anchor-worker is a skill published in the GitHub repository unknowbug/anchorlaw (7 stars, last pushed 7d ago), licensed MIT. It adds 48 tokens to every session and 624 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-worker compared with skills from other repositories

anchor-worker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anchor-workerunknowbug/anchorlawSkill77d agoMITA48Claude 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