setup

setup is a skill for Claude Code from chafoo/anchored. It costs 180 tokens per session (1,223 once invoked), scanned A, original, MIT.

A configuration skill for editing anchored.yml, the file that defines verification setups, instructions, hooks, and custom criteria for an anchored project.

In plain words
What is it for?
Use it to create, update, extend, or tidy named setups such as frontend, backend, documentation, or release.
Why use it?
It helps keep verification rules consistent when the project’s checks or working contexts change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the a plugin — 2 skills, 1 agent, 1 hook shipped together

Good fit Use it to create, update, extend, or tidy named setups such as frontend, backend, documentation, or release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chafoo/anchored/setup
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 chafoo/anchored --skill setup
Clone the repo
git clone --depth 1 https://github.com/chafoo/anchored

Made for: Claude Code.

Or install a, the plugin that ships this one along with the rest of its 2 skills, 1 agent, 1 hook.

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 setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chafoo/anchored/setup"><img src="https://agentmods.dev/badge/skills/chafoo/anchored/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,223 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.00180 $0.01223
Opus 5.5 $0.00072 $0.00489
Sonnet 5.5 $0.00036 $0.00245
Haiku 4.5 $0.00018 $0.00122

Measured 1mo ago against content hash 194a84ea6ef3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup 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 1mo 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.

plugin/skills/setup/SKILL.md · 85 lines

How it starts

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

/a:setup — author the project's anchored.yml

anchored.yml is deliberately tiny. Everything you may write, exhaustively:

fields:                 # top-level, for ALL setups — record form name: type
  commit: string        #   string | number | boolean
defaults:               # the setup shape, used when a criterion has no setup
  validator: { instructions: "…", require: grounded }   # `require` optional, see below
  before:    { instructions: "…" }
  after:     { instructions: "…" }
setups:
  frontend:             # user-named; EXACTLY the same three slots as defaults
    validator: { instructions: "…" }
    before:    { instructions: "…" }
    after:     { instructions: "…" }

Full commented example: references/anchored.example.yml.

The guardrails (you enforce these while authoring)

  • A setup is verification know-how for one kind of work — the domain axis. It attaches per criterion at run time. It is parametrisation of the ONE loop, never a step sequence: no steps, no extends, no nesting. The schema rejects them; don't try.
  • Hooks are instructions the agent executes, not harness-run command lists — that's what lets them wrap context around a CLI call ("run bun run typecheck; treat red as a failed gate"). Write them as instruction prose containing the concrete commands. before runs ahead of each validator spawn for that setup's gates; after on a setup fires when one of its gates goes green; after on defaults is the close-time hook.
  • validator.require: grounded is the one HARD knob — the only place config stops being advice. It makes a setup refuse a prose verdict: proof must carry the real output of something the validator ran (UngroundedEvidence otherwise). Offer it where the subject is genuinely executable and the stakes are high (a release setup); never make it the default, and never put it on a setup that verifies assets, copy or design — those are proven by inspection, and that is proof too. Criteria marked judgment: true stay exempt everywhere. It merges DOWN: set on defaults, a named setup keeps it even when it writes its own instructions.
  • NOT config, by design — refuse politely and say where it lives instead:
    • rigor / quality bar → per task, in the run file, from the user's words at anchor time
    • gate layout → the AI slices gates itself, sized to the rigor
    • architecture/conventions → .claude/rules/ (every validator reads them anyway)
    • git/CI built-ins → don't exist; wire them via hook instructions + fields
  • Custom fields are top-level and shared by all setups; a hook fills them via anchored set <slug> <cN> <field>=<value>.

Read the full file on GitHub · 85 lines

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. 1mo ago First seen · 85 lines · 180 tokens per session scan A 194a84ea6ef3

Subscribe to this mod's changes

setup is a skill published in the GitHub repository chafoo/anchored (3 stars, last pushed 3mo ago), licensed MIT. It adds 180 tokens to every session and 1,223 once invoked, about $0.0007 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

Other skills, from other repositories

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

test-gen

Generate and verify tests — happy path, edge cases, error paths — using the project's own framework and patterns.

SethGammon/Citadel · 24 tokens

scenario-design

Draft real-life test SCENARIOS (not smoke tests) from a change/feature spec. Derives edge-case, performance, frontend-quirk and error-handling scenarios with ISTQB techniques, routes each to a test level, and writes test-plan.md, emitting clarification questions on a spec gap. Use on "design test scenarios", "what…

BlackBeltTechnology/pi-agent-dashboard · 88 tokens

accessibility-testing

WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility labels, testing VoiceOver compatibility, checking contrast ratios, or ensuring WCAG 2.1 compliance. Covers accessibility tree analysis, semantic validation, and automated accessibility testing patterns.

conorluddy/xclaude-plugin · 57 tokens

ios-testing-patterns

XCTest and XCUITest execution workflows and flaky test detection patterns.

conorluddy/xclaude-plugin · 18 tokens