Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Setup

ASecurity

Establish and verify operator-scoped Forged ledger and configuration state for the Claude, Codex, and Pi Forge package without imposing files, hooks, or settings on a target repository. Use for first-time configuration, environment diagnosis, /forged:setup, or Pi /skill:setup.

2 stars
0 votes
0 copies
0 views
Added 9/3/2026
developmentgoshellbashgit

Works with

mcp

Security Analysis

A100/100

Scanned 9/3/2026

Install to Claude Code

$npx -y skills add tcashel/forge --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tcashel-setup/badge)](https://www.skillsdirectory.com/skills/tcashel-setup)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: setup
description: "Establish and verify operator-scoped Forged ledger and configuration state for the Claude, Codex, and Pi Forge package without imposing files, hooks, or settings on a target repository. Use for first-time configuration, environment diagnosis, /forged:setup, or Pi /skill:setup."
---

# /forged:setup

Position: missing or unverified operator environment -> validated Forged
configuration and ledger. Next: `/forged:configure` to choose cognition, or
`/forged:plan` when the defaults are already suitable.

Boundary: setup runs in the lead session and may initialize operator-scoped
Forged state only with explicit consent. Forged owns provider execution only
after later dispatch; setup never creates work, starts a run, or mutates a
target repository.

## Boundaries

- Default `ANVIL_HOME` is `$HOME/.anvil`.
- Durable work items and execution evidence live in the Forged ledger at
  `$ANVIL_HOME/state.db` unless configuration selects another operator path.
- Config selection matches the runtime: an explicit `FORGED_CONFIG` wins;
  otherwise an existing `$ANVIL_HOME/config.yaml` wins, then the legacy
  `$ANVIL_HOME/config.json` fallback, then the absent-config default path is
  `$ANVIL_HOME/config.yaml`.
- Setup and this plugin never install or upgrade the `forged` binary.
- Never create a repository-local work store, hooks, agent files, settings, or
  workflow files.
- Never install or modify shell profiles without explicit operator consent.
- Setup validates local tools and configuration only. It does not create work,
  route work, start a run, or contact a separate issue tracker.
- Rolling execution requires a dedicated read-only `assessment` roster role;
  its selected provider/model must be independent of critique candidates.

## Inspect before changing anything

```bash
export ANVIL_HOME="${ANVIL_HOME:-$HOME/.anvil}"
if [ -n "${FORGED_CONFIG:-}" ]; then
  CONFIG="$FORGED_CONFIG"
elif [ -e "$ANVIL_HOME/config.yaml" ]; then
  CONFIG="$ANVIL_HOME/config.yaml"
elif [ -e "$ANVIL_HOME/config.json" ]; then
  CONFIG="$ANVIL_HOME/config.json"
else
  CONFIG="$ANVIL_HOME/config.yaml"
fi
printf 'ANVIL_HOME=%s\nCONFIG=%s\n' "$ANVIL_HOME" "$CONFIG"
command -v forged
forged --version
git status --short
test -f "$CONFIG" && sed -n '1,240p' "$CONFIG"
```

Preserve an existing healthy operator state. If the binary is absent, report
that exact prerequisite and stop; package installation provides skills,
extensions, and tools, not the binary.

## Initialize or validate only after consent

If configuration or the ledger is absent, inspect `forged init --help`, explain
the exact files it will create or migrate under `ANVIL_HOME`, and obtain
operator consent before running `forged init`. Never infer consent from
invoking this skill.

Before validation, explain that these commands may create or migrate
`$ANVIL_HOME/state.db`, then obtain consent:

```bash
forged doctor
forged definition validate
```

Setup proves configuration shape, not that every provider/model is well chosen
or reachable. Model, effort, gateway name, and pricing decisions belong to
`../configure/SKILL.md`. Validate provider adapters and optional durable
supervision with the commands reported by doctor. Distinguish configuration
evidence from a live run; do not install a provider, alter credentials, or
launch a test run without explicit authorization.

## Host registration migration

The Claude manifest registers the `forged mcp` server. Operators with an older
user-scope entry migrate in this order: open a fresh session and confirm the
plugin-mounted tools are listed; only after that proof run
`claude mcp remove forged` once. The host skips plugin registration silently
when bare `forged` is absent from its own `PATH`.

Until the plugin mount is proven, keep the user-scope entry. If needed, restore
it with `claude mcp add forged -- <absolute path to forged> mcp` and diagnose
`PATH` using the read-only probes above.

On macOS, the installed supervisor includes `$HOME/.local/bin` and
`$HOME/.cargo/bin` in deterministic `PATH` when those directories exist. After
intentionally changing the executable path, reinstall service configuration
only with explicit authorization before relying on it.

## Prove zero repository imposition

Capture target `git status --short` before and after setup and compare them.
Confirm no repository-local store, hook, policy, instruction file, or generated
artifact appeared. Resolve the target's canonical root and explain that new
work items store it in `metadata.repository` through `forged work create`.

Finish with detected versions, resolved operator paths, doctor and definition
results, adapter/supervision status, and repository cleanliness. Do not claim
live execution readiness when only configuration was inspected.

## Never

- Do not create work items, dispatch execution, or mutate the target repository.
- Do not install providers, rewrite credentials, or change shell profiles
  without explicit authority.
- Do not claim provider reachability from configuration validation alone.

Attribution

tcasheltcashel
View sourceMore from tcashel →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →