claude-forge: Skill for Claude Code

.claude/skills/forge-guardian/SKILL.md

forge-guardian is a skill for Claude Code from ForgeyClap/claude-forge. It costs 40 tokens per session (1,650 once invoked), scanned A, original, MIT.

A documented design for a production guardian that would deploy, monitor, reproduce, and recover from incidents automatically. It is only a scaffold and is not connected to a live system.

In plain words
What is it for?
Use it when designing owner-approved auto-rollback, canary releases, circuit breakers, or automated incident response.
Why use it?
It provides a reviewable plan for rollback and incident handling without falsely suggesting that live deployments or recovery are already running.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ForgeyClap/claude-forge's own configuration. It tells Claude Code how to work on claude-forge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-forge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ForgeyClap/claude-forge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ForgeyClap/claude-forge/main/.claude/skills/forge-guardian/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

Made for: Claude Code.

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 forge-guardian

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-guardian.svg)](https://agentmods.dev/skills/forgeyclap/claude-forge/forge-guardian)
Your own site
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-guardian"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-guardian.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,650 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.00040 $0.01650
Opus 5 $0.00020 $0.00825
Sonnet 5 $0.00008 $0.00330
Haiku 4.5 $0.00004 $0.00165

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

Security

Grade A, and why

forge-guardian 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 7d 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.

.claude/skills/forge-guardian/SKILL.md · 93 lines

How it starts

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

Forge playbook — Guardian (deploy -> monitor -> reproduce -> self-heal -> redeploy)

STATUS: SCAFFOLD. Nothing in this file is wired to any live production system in this project. No forge-bin/ tool currently deploys, monitors a live endpoint, or redeploys anything — this skill exists so the design is available and reviewable, not because the capability is running. Do not report Guardian as "active" or "monitoring" anything unless the owner has supplied real production access AND approved a live circuit-breaker for that specific environment. Absent both, Guardian stays exactly what it is here: a documented design.

Do not duplicate existing tools — defer to: forge-actiongate.cjs (the ONE hard-gate classifier every deploy/redeploy step below MUST route through — never a parallel gate), forge-checkpoint.cjs (idempotency for any redeploy/rollback action so a retry never double-deploys), forge-briefing.cjs (surfacing an incident as a real "decision needed" item, the same evidenced pattern forge-nightshift uses), and this project's existing "no mandatory security gates but hard-gates always stop" governance (CLAUDE.md + config/orchestration/hard-gates.json).

The loop this doctrine describes

  1. Deploy — an explicit, owner-approved release to a named environment. Always classified through forge-actiongate.cjs::classify() (gate id deploy, prod-activate, or equivalent) BEFORE it happens; never a Guardian-internal deploy path that bypasses the existing gate.
  2. Monitor — after a real deploy, watch the environment's own real signals (health checks, error rate, latency, a smoke test) — never fabricated or assumed-passing telemetry. If no real monitoring source is wired for an environment, Guardian has nothing to watch and says so honestly, rather than inventing a "healthy" status.
  3. Reproduce — when a real signal indicates a regression, reproduce it with an actual failing check/test BEFORE attempting any fix (mirrors this project's forge-debug skill: reproduce → isolate → root-cause, never a guessed patch). A "fix" with no reproduction is not a fix, it's a guess.
  4. Self-heal — propose (and, ONLY with the circuit-breaker below open, apply) the smallest correct fix for the reproduced regression: a code fix + regression test, a config rollback, or a redeploy of the last known-good artifact. Every one of these is itself a write/deploy action and is gated exactly like step 1.
  5. Redeploy — the fixed/rolled-back artifact goes out through the SAME deploy gate as step 1. There is no separate, lower-scrutiny "redeploy" path — a redeploy is a deploy.

Read the full file on GitHub · 93 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. 7d ago First seen · 93 lines · 40 tokens per session scan A c0a914918b46

Subscribe to this mod's changes

forge-guardian is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 1,650 once invoked, about $0.0002 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-08-31.