setup

setup is a skill for Claude Code, Codex from baek-labs/hames. It costs 18 tokens per session (382 once invoked), scanned A, original, MIT.

A setup command for configuring Hames in a project. It previews configuration changes, checks project state, and requires approval before applying them.

In plain words
What is it for?
Use it to configure Hames, review its planned files, preserve existing project instructions, and handle recovery previews.
Why use it?
It makes proposed setup changes visible and prevents accidental overwrites. It also detects damaged or interrupted setup state instead of guessing how to repair it.

Skill for Claude CodeCodex

Part of the hames plugin — 4 skills, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/baek-labs/hames/setup
Any agent
npx skills add baek-labs/hames --skill setup
Clone the repo
git clone --depth 1 https://github.com/baek-labs/hames

Made for: Claude Code, Codex.

Or install hames, the plugin that ships this one along with the rest of its 4 skills, 3 hooks.

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/baek-labs/hames/setup.svg)](https://agentmods.dev/skills/baek-labs/hames/setup)
Your own site
<a href="https://agentmods.dev/skills/baek-labs/hames/setup"><img src="https://agentmods.dev/badge/skills/baek-labs/hames/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00382
Opus 5 $0.00009 $0.00191
Sonnet 5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured today against content hash 83b4dd6dcff6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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.

packages/claude/skills/setup/SKILL.md · 23 lines

What it actually says

Setup

Inspect the current project and use the bundled setup runtime. Show every proposed file change and wait for explicit approval before applying it.

Do not copy plugin skills into the project. Ask whether contracts should be Git-tracked; never infer that choice.

Preserve existing AGENTS.md and CLAUDE.md; propose only the bounded Hames block. A valid repeated setup is read-only.

If config is damaged or interrupted recovery state exists, report the error and recovery choices instead of guessing or writing.

The preview returns a plan_hash. Pass that exact value to apply as --plan-hash; if the project changed and the hash differs, stop and show a new preview for approval. Recovery also requires a read-only recovery preview, its exact recovery_hash, and a separate explicit approval before rollback.

When the bundled legacy manifests identify a previously distributed public Hames tree, present a same-folder transition plan instead of a generic setup. Classify protected names before reading or hashing anything, and show protected items only by relative path, kind, and existence. Never expose content, size, digest, or symlink target for those items.

Propose workspace candidates from project evidence rather than folder names. Register a path in place only when both the path and registration name are confirmed by an existing Hames mapping or the user; leave ambiguous folders preserved and pending. Do not move or copy workspaces.

Only remove files whose current digest and kind still match the selected public manifest. Preserve modified system files, user files, unknown files, protected files, and submodules. Do not change .git, history, index, branches, tags, or remote settings. Apply the new configuration and validate it before cleanup; on any failure, restore only changes made by this transition.

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. today First seen · 23 lines · 18 tokens per session scan A 83b4dd6dcff6

Subscribe to this mod's changes

setup is a skill published in the GitHub repository baek-labs/hames (5 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 382 once invoked, about $0.0001 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-09-04.