setup

A setup step for an addit-harness Claude Code plugin that installs project or machine-level supporting files such as CLAUDE.md, AGENTS.md, rules, references, and settings.

In plain words
What is it for?
Installing or updating the plugin's supporting configuration globally or only in the current project.
Why use it?
It places files that plugins cannot carry natively and can re-sync them after an update.

Skill for Claude CodeCodex

Part of the addit-harness plugin — 6 skills, 6 commands, 14 agents, 1 hook 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/addit-digital/addit-harness/setup
Any agent
npx skills add addit-digital/addit-harness --skill setup
Clone the repo
git clone --depth 1 https://github.com/addit-digital/addit-harness

Made for: Claude Code, Codex.

Or install addit-harness, the plugin that ships this one along with the rest of its 6 skills, 6 commands, 14 agents, 1 hook.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,182 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00075 $0.01182
Opus 5 $0.00037 $0.00591
Sonnet 5 $0.00015 $0.00236
Haiku 4.5 $0.00007 $0.00118

Measured 2d ago against content hash 50b7fa7c382b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

setup scanned grade B with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`./.claude/settings.json` — matches Claude Code's own memory-file
skills/setup/SKILL.md · 89 lines

How it starts

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

addit-harness setup

The addit-harness plugin ships agents/ and skills/ — those are already live once the plugin is installed, nothing to do. This skill places the rest: CLAUDE.md, AGENTS.md, rules/ (path-scoped language conventions), references/, and settings.json — none of which Claude Code plugins can carry natively (no plugin-level memory file, no path-scoped auto-load rules, no plugin-carried permissions/model).

Choosing a scope — ask, don't silently default

--scope changes where files land in a way that's annoying to undo cleanly (global touches every Claude Code session on the machine; project touches just the current repo). Don't guess:

  • If the user already passed --scope as an argument to this skill, use it as given — no need to ask.
  • If they didn't, and the conversation doesn't already make the intent obvious (e.g. "just try it here" / "in this repo only" → project; "on my machine" or no project context at all → global), ask which they want before running anything. Offer global as the default recommendation since it matches install.sh's existing behavior, but let them choose:
    • global: places everything under ~/.claude/ — applies to every Claude Code session on the machine.
    • project: places CLAUDE.md, AGENTS.md, rules/, references/ bare at the current project root, and settings.json at ./.claude/settings.json — matches Claude Code's own memory-file convention (project memory at root, project settings nested under .claude/) and only applies inside this one project.
  • Mention while asking that the plugin itself can independently be scoped too (/plugin install addit-harness@addit --scope local keeps agents/skills confined to this repo as well) — see the README's Install section for both mechanisms together.

What to run

Once the scope is settled, run the bundled script with the Bash tool:

bash "${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/setup.sh" --scope <global|project> [--link]

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file 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. 2d ago First seen · 89 lines · 75 tokens per session scan B 50b7fa7c382b

Subscribe to this mod's changes

setup is a skill published in the GitHub repository addit-digital/addit-harness (3 stars, last pushed 10d ago), licensed MIT. It adds 75 tokens to every session and 1,182 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

ccg-annotate

AI-driven annotation workflow for adding structured metadata to code. Annotations are indexed and searchable via FTS.

tae2089/code-context-graph · 26 tokens

ccg-namespace

Isolate read-only CCG search, documentation discovery, and analysis by namespace. Use when working across multiple repositories or services, preventing cross-project graph leakage, federating supported reads, or traversing materialized cross-namespace references. Do not use for graph writes or scoped updates; the user…

tae2089/code-context-graph · 73 tokens

ccg-docs

Generate Markdown documentation from code graphs, build RAG indexes for AI consumption, and lint documentation quality.

tae2089/code-context-graph · 23 tokens

ccg-analyze

Explicit-only deep analysis of algorithms, feature pipelines, and code relationships with CCG impact radius, bounded flow tracing, callers/callees, git-diff risk, affected stored flows, and cross-namespace references. Use only when the user explicitly names the ccg-analyze skill in the current request. Do not invoke…

tae2089/code-context-graph · 87 tokens

ccg-build

Explicit-only graph ingestion for building, updating, migrating, and postprocessing code-context-graph graphs from source visible to the CCG runtime. Use only when the user explicitly names the ccg-build skill in the current request. Do not invoke merely because a graph is missing or stale, annotations need…

tae2089/code-context-graph · 76 tokens

ccg

Fast read-only code discovery with a bounded code-context-graph search and targeted source verification. Use when an ordinary positive lookup or explanation needs an entry point, recorded intent, known-path inventory, or direct relationship evidence. Do not use for absence, completeness, exhaustive inventory, deep…

tae2089/code-context-graph · 93 tokens