claude-forge

sangrokjungMIT活跃维护

一条命令给 Claude Code 装上 16 个 agent、35 条命令、32 项技能和 21 个安全钩子,像 oh-my-zsh 一样开箱即用,还带对抗式评审循环。

oh-my-zsh for Claude Code — 16 agents, 35 commands, 32 skills, 21 safety hooks in one install. v4.0 adds an adversarial review loop: a second agent that never sees the first one's reasoning. MIT.

v4.1.0发布于 2026-08-25 08:54 UTC874star183fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/main/install.sh | bash
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

给 Claude Code 一键装上 16 个专家 agent、35 个命令和 22 个安全钩子的配置包

一条命令给 Claude Code 装上 16 个 agent、35 条命令、32 项技能和 21 个安全钩子,像 oh-my-zsh 一样开箱即用,还带对抗式评审循环。

核心能力

  • 一键安装 16 个专职 agent,覆盖规划、架构、安全、TDD 等角色
  • 提供 35 个斜杠命令,如 /plan、/tdd、/code-review 触发完整工作流
  • 内置 22 个安全钩子,在动作前后拦截泄密与危险命令
  • v4.0 引入对抗式验证循环,由独立 agent 复核且看不到原作者推理
  • 附带 4 个 MCP 连接,含 Playwright 浏览器自动化与实时文档检索

容易踩的坑

用 /plugin install 只能拿到命令和部分 skills,agents、hooks、rules、MCP 必须走 install.sh 全量安装;需要 Claude Code ≥2.1.110;克隆安装要加 --recurse-submodules,否则子模块缺失

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v4.1.0
  1. v4.1.0v4.1.0 — harness-diet: put your always-loaded context back under budget最新正式版2026-08-25 · 2026-08-25 08:54 UTC

    v4.1.0 — harness-diet: put your always-loaded context back under budget

    Your harness gains weight every week — this release ships the skill that takes it off without losing a single rule.

    What's new

    harness-diet (skill #33). A harness only grows: every incident note, every fix, every directive lands as another paragraph in an always-loaded rule. The methodology doc measured the asymmetry on a mature harness at roughly a 60:1 growth-to-reduction commit ratio, with natural growth around 70KB/month. This skill packages the diet that reverses it:

    • harness_diet_audit.py — stdlib-only Python that auto-discovers ./.claude/rules, ~/.claude/rules, and CLAUDE.md files, then reports what actually loads every session (a rule is always-loaded iff its frontmatter has no paths: key). The CLAUDE.md target follows Anthropic's own guidance (under 200 lines); the per-file (8,192 B) and total (102,400 B) rule ceilings are operational ratchet defaults from a mature 100+ rule harness — pick your own numbers and enforce them. --json for machines, --strict (exit 2) for CI ratchets.
    • preservation_check.py — the part that makes a diet safe. Before touching a rule, it extracts a manifest of load-bearing literals (CRITICAL banners, killswitch env vars, code spans, IDs); after the slim-down, it deterministically verifies every entry survived. In one field run the maker claimed "6 bullets kept verbatim" — the check found two qualifiers gone. Don't trust the editor; verify.
    • rules-budget-guard.sh — optional PostToolUse hook that fires the moment a rule edit pushes a file past budget. Advisory and non-blocking by design, so it never stalls auto-commit pipelines.
    • A 4-phase procedure + anti-pattern table, each entry paid for with a real failed round. The headline one: prose compression ("just tighten the wording") saved 12% of bytes while destroying 70% of routing signals — trigger keywords and agent names are the routing index — and had to be fully reverted. The skill moves blocks to reference files instead of rewriting sentences.

    Field result, for calibration rather than as a benchmark: one run on the maintainer's own 100+ rule harness went from 146KB always-loaded (143% of budget) to 100.6KB (98%), with the preservation check confirming zero governance loss.

    Also in this release: an onboarding page for the project site in 13 languages (#82), plus follow-up fixes from independent review — portable script paths for installed (non-repo) locations and the 33-skill count propagated across README, marketplace metadata, and locale strings.

    Why it matters

    Every rule file without paths: frontmatter loads with the same priority as CLAUDE.md — every session, every token. If your always-loaded pile is 150KB, you pay those input tokens on every single session start, and per Anthropic's memory docs, longer files reduce adherence — and the same logic scales to your always-loaded rulebook: the model follows a 100KB pile better than a 220KB one. A diet is one of the few changes that cuts cost and improves rule-following at the same time. The catch is that diets fail quietly — a plausible-looking slimmed rule missing one qualifier is exactly what its author can't see. That's why this skill is built around deterministic preservation checks and an independent fresh-checker step, not vibes.

    Install / Upgrade

    Marketplace:

    /plugin marketplace add sangrokjung/claude-forge
    /plugin install claude-forge
    

    Script install / upgrade:

    ./install.sh --upgrade    # or git pull for symlink installs
    

    Then start with a measurement — it's read-only:

    python3 "$HOME/.claude/skills/harness-diet/scripts/harness_diet_audit.py"
    

    Links

  2. v4.0.0v4.0.0 — adversarial verification loop, reliability pack, task-grade routing, Korean quality pack2026-08-19 · 2026-08-19 14:31 UTC
    查看更新说明

    Nine capability sets ported from the maintainer's internal Claude Code harness. Selection was strict: demonstrated external demand (this repo's own contributor PRs and issues), the adversarial verification loop as flagship, and the Korean-community differentiator.

    Highlights

    Adversarial verification loop (flagship). Every behavioral change is checked by a fresh, independent reviewer that did not write the code — maker≠checker until the checker issues APPROVE. Not theoretical: building v4.0 itself, the loop caught three real defects in the maintainer's own PRs (#58, #61), and the release's own final review ran through the shipped protocol, catching and fixing 3 more HIGH-severity defects before this tag. Worked example with real envelopes: docs/VERIFICATION-LOOP.md.

    Reliability pack (wiring guide: docs/RELIABILITY.md): unattended API-error auto-resume with fork-bomb guards, session relay across /compact, doom-loop + edit-time verify hooks, opt-in pre-commit secret guard with an 18-case regression suite, and the shared libs/hook-guard.sh.

    Debugging escalation chain: systematic-debugger → rca-debugger → escalation-fixer, building on #24 (@JYHTHEGREAT).

    Task-grade routing: /workflow-classify (from #23, @JYHTHEGREAT) now routes documentation depth and verification strength per grade.

    Korean writing quality pack: generation-time AI-tell avoidance rule + 10-class taxonomy, a Hangul-ratio-scoped em-dash guard, humanize-korean (lite), character-count and spell-check skills. Unique among Claude Code harnesses.

    Numbers

    16 agents · 35 commands · 32 skills · 21 hooks · 14 rules · 4 MCP servers. 5 new CI guards (hook executability, envelope drift, suite runner, Korean prose gate, plus the installer AST parity extended to the new directories).

    Honesty notes

    Reliability hooks are macOS-verified; Linux/WSL addressed at source level but not exercised; two auto-resume paths (takeover, tmux injection) were never executed on any platform this release. See the platform matrix in docs/RELIABILITY.md. Auto-resume is the highest-risk default-on feature — kill switches documented in MIGRATION.md.

    Upgrade

    ./install.sh --upgrade (or git pull for symlink installs). Migration guide: MIGRATION.md / MIGRATION.ko.md.

    🤖 Generated with Claude Code

  3. v3.1.0v3.1.0 — loop-forge + beginner-friendly README2026-06-30 · 2026-06-30 07:31 UTC
    查看更新说明

    v3.1.0 — loop-forge + beginner-friendly README

    ✨ New

    • loop-forge skill + command — turn a one-line repetitive task into a reusable, self-guarding slash command. It diagnoses the task into one of 5 loop shapes (Batch / Pipeline / Refine / Watch / Explore), interviews you for the blanks, and auto-injects two safety devices most people forget: an independent verifier (maker ≠ checker) and a hardstop (a budget/count/cooldown ceiling). Skills 24 → 25, commands 33 → 34.

    📖 Docs

    • Beginner-friendly rewrite of the README (English & Korean) — plain-language analogies (oh-my-zsh for Claude Code), jargon explained in parentheses, and 3 diagrams (what's inside / install in 3 steps / development workflow).

    Install

    curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/main/install.sh | bash
    

    Or as a plugin: /plugin marketplace add sangrokjung/claude-forge → /plugin install claude-forge

    Full changelog: https://github.com/sangrokjung/claude-forge/compare/v3.0.2...v3.1.0

  4. v3.0.2v3.0.2 — LLM-readable install + multi-channel distribution2026-05-03 · 2026-05-03 05:11 UTC
    查看更新说明

    What's new

    This is a docs-only patch release — no code logic changes. Pure improvements to install discoverability and distribution.

    LLM-readable install

    • New INSTALL.md at repo root with a deterministic 3-method structure (default = curl one-liner). Designed so any LLM agent given this repo's URL picks the correct command on the first try, with zero clarifying questions.
    • README & README.ko hoist the one-line install callout to the very top (above-the-fold), so agents that only read the first 50 lines still see it.
    • New .github/ISSUE_TEMPLATE/install-failed.yml to capture LLM-install paper cuts.

    Multi-channel distribution

    • New docs/distribution/meta-marketplaces.md with paste-ready packets for claudemarketplaces.com, buildwithclaude.com, and aitmpl.com/plugins.
    • Awesome-list PR drafts under docs/distribution/awesome-prs/ (in progress — see STATUS.md).

    Process hardening

    • MARKETPLACE-SUBMISSION.md §6 gains a "Form actually submitted (date)" checkbox — closes the failure mode where a submission packet is prepared but the form is never actually clicked.

    Verification

    CheckResult
    INSTALL.md first 30 lines have curl 1-liner✅
    README.md first 50 lines have curl 1-liner✅
    GitHub-rendered README also has it (gh API)✅
    install.sh --dry-run regression✅ (exit 0)

    Full plan & validation log: docs/superpowers/plans/2026-05-03-llm-readable-install-and-distribution.md, docs/distribution/llm-install-validation.md.

    Quick install

    curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/main/install.sh | bash
    

    Or, inside Claude Code:

    /plugin marketplace add sangrokjung/claude-forge
    /plugin install claude-forge
    
  5. v3.0.1v3.0.1 — MCP 정리 + 플러그인 마켓플레이스 등록2026-04-23 · 2026-04-23 06:39 UTC
    查看更新说明

    TL;DR

    /plugin install sangrokjung/claude-forge 한 줄로 설치되는 공식 Claude Code 플러그인으로 정식 등록된 첫 릴리스. 회의적 4-way 독립 리뷰 통과. MCP 서버 최소 세트 6→4 재정비 + hooks/_lib/timing.sh 신규 + CI 품질 게이트 보강.

    Install

    Claude Code 플러그인 경로 (권장)

    /plugin install sangrokjung/claude-forge
    

    Classic install.sh 경로 (기존 사용자)

    git clone --recurse-submodules https://github.com/sangrokjung/claude-forge.git
    cd claude-forge
    ./install.sh --upgrade
    

    Highlights

    MCP 서버 재정비 (6 → 4)

    • playwright, context7, jina-reader 유지
    • [email protected] 승격 — Lighthouse / Core Web Vitals / 메모리 스냅샷 / 네트워크 분석 (Google ChromeDevTools 공식, Apache-2.0)
    • memory, fetch 제거 — Claude Code Auto Memory(~/.claude/projects/<project>/memory/, v2.1.59+)와 jina-reader + WebSearch가 대체
    • 근거: docs/adr/ADR-001-mcp-default-set.md (MADR 포맷 결정 기록)

    Hook 실측 래퍼 — hooks/_lib/timing.sh

    • 임의의 훅을 래핑하여 ~/.claude/logs/hook-timing.jsonl에 start_ms / end_ms / duration_ms JSONL 기록
    • 오버헤드 실측 35ms (python3 2-fork)
    • 로그 파일 권한 600 + umask 077
    • SessionEnd 훅의 실제 병렬성 사후 검증 가능

    플러그인 배포 완비

    • .claude-plugin/plugin.json + .claude-plugin/marketplace.json 버전 3.0.1 통일
    • CI marketplace-schema job 추가: 매니페스트 필수 필드 + 버전 drift 방지 + SemVer 가드
    • docs/MARKETPLACE-SUBMISSION.md: clau.de/plugin-directory-submission 제출 준비 패킷
    • CONTRIBUTING.md: "Publishing to the Plugin Directory" 섹션 (Version Bump Checklist, Pre-release QA, Release 절차)

    공식 표준 정합성 (Tier 0 docs.claude.com 검증)

    • hooks/README.md: hook type llm-prompt/mcp-tool → prompt/agent (공식 스펙 준수)
    • 누락 6개 이벤트 카탈로그에 추가 (UserPromptExpansion, PermissionDenied, TeammateIdle, Elicitation, ElicitationResult, TaskStatusChanged)
    • settings.json hook timeout 단위 정정: ms → s (공식: "Seconds before canceling")
    • settings.json.enabledMcpjsonServers ↔ mcp-servers.json 일관성 확보
    • Auto Memory 경로: <hash> → <project> (공식 표기)

    CI / 거버넌스

    • validate.yml trigger 확장: main 외 feat/**, fix/**, chore/**, docs/**, ci/** + 전 PR
    • 6 CI job 전체 녹색: JSON / Plugin Manifest & Marketplace Schema / Frontmatter / Installer Dry-Run (macos + ubuntu) / Secret & Shell
    • docs/SETTINGS-COMPATIBILITY.md: UNVERIFIED settings 필드 3개 추적 + 재감사 절차

    Breaking Changes

    v2.1 사용자가 영향받는 변경:

    제거대체복원 경로
    memory MCPAuto Memory (v2.1.59+)mcp-servers.optional.json에서 복사
    fetch MCPjina-reader + WebSearch동상
    exa, github (기본 셋에서)WebSearch / gh CLI동상

    ./install.sh --upgrade가 자동 백업 + diff preview 제공.

    독립 회의적 리뷰 결과

    4-way 병렬 리뷰어(super-research / security / architect / codex) 모두 CONDITIONAL → 블로킹 11건 해소 후 MERGED. docs/MARKETPLACE-SUBMISSION.md §5 참조.

    구성 요소 (v3.0.1)

    • 11 agents (frontmatter v2)
    • 33 commands (슬래시 커맨드)
    • 24 skills (SKILL.md 기반)
    • 15 hooks + 9 opt-in examples (21 / 27 lifecycle events)
    • 9 rules (Golden Principles, coding-style, interaction, verification, security, testing, git-workflow, date-calculation, agents-v2)
    • 4 MCP servers (기본) + 7 optional

    Full Changelog

    https://github.com/sangrokjung/claude-forge/compare/v1.0.0...v3.0.1

    Credits

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    v4.3.0 (September 2026, latest) — session-time-report now reads Codex too. Same hook, same report; it detects whether a transcript is a Claude Code transcript or a Codex rollout log and counts either. Wiring for Codex is two entries you add to ~/.codex/hooks.json (how).

    v4.2.0 (September 2026) — Adds session-time-report (22nd hook): measures each session as it closes and tells you at your next start what time it ended, how long it actually ran, and how much you got through. Resume-aware, so a session you picked back up days later reports that sitting rather than a bogus 400-hour total.

    v4.1.0 (August 2026) — Adds harness-diet (33rd skill): measure your always-loaded context (CLAUDE.md + rules) and shrink it back under budget without losing governance.

    v4.0.0 (August 2026) — Introduces the adversarial verification loop: every behavioral change is checked by a second, independent agent that did not write the code and never sees the first agent's reasoning — maker≠checker until it issues APPROVE. Building v4.0 itself, the loop caught three real defects in the maintainer's own PRs (#58, #61); worked example: docs/VERIFICATION-LOOP.md. Also ships a reliability pack (API-error auto-resume, session relay across /compact, doom-loop guard — docs/RELIABILITY.md), a debugging escalation chain, task-grade routing, and Korean prose quality guardrails. Details: What's New in v4.0 · MIGRATION.md.

    If /plugin install claude-forge ever showed ✘ failed to load (Hook load failed: expected record, received undefined), that bug is fixed as of v4.0.0 — see #52, #57.

    v3.1.0 (June 2026) — Adds loop-forge (turn a repetitive task into a reusable, self-guarding slash command) and a full beginner-friendly rewrite of this README with diagrams. Built on v3.0.2 (LLM-readable install) and v3.0.1 (Anthropic 2026 standard alignment: Hooks 21+ events, Subagent frontmatter v2, Skills/Commands hybrid policy, 4-server MCP minimum). See MIGRATION.md.


    What is Claude Forge?

    Plain English version: Claude Code is an AI coding assistant that lives in your terminal. Out of the box it is capable but bare — like a new employee who knows how to code but has no company procedures, no safety checklists, no templates, and no specialist colleagues to call on.

    Claude Forge is the equipment pack for that assistant. One install gives it:

    • 16 specialist "colleagues" (agents) it can delegate to — planner, security reviewer, TDD guide, adversarial reviewer, and more
    • 35 one-word shortcuts (commands like /plan, /tdd, /code-review) that trigger full workflows
    • 33 saved procedures (skills) it follows automatically
    • 22 safety checks (hooks) that run silently in the background every time it touches your code — including an unattended API-error auto-resume, a doom-loop guard, and an end-of-session time report
    • 14 rule files that define how it should behave
    • 4 external tool connections (browser automation, live docs search, and more)

    The oh-my-zsh analogy: oh-my-zsh is a free add-on that turns a plain terminal into a colorful, plugin-packed power tool — without changing what the terminal fundamentally does. Claude Forge does the same thing for Claude Code.


    ✨ Why bother?

    Without Claude ForgeWith Claude Forge
    Claude Code writes code, but you have to remind it about tests, security, and docs every timeAutomated pipeline: plan → test → review → verify → ship, all connected
    No safety net — Claude can run dangerous commands or leak secrets by accident6-layer hook system blocks risky actions before they happen
    One AI doing everything alone16 specialist agents working in parallel (planner, architect, security reviewer, adversarial reviewer…)
    Hours assembling your own config5-minute install, everything pre-wired
    Updates require manual copy-pastegit pull — done

    📥 Install in Minutes

    Install in 3 steps

    Option A — Claude Code Plugin (quick start, partial features)

    Open a Claude Code session and run two commands:

    /plugin marketplace add sangrokjung/claude-forge
    /plugin install claude-forge
    

    This gets you commands and most skills right away. Agents, hooks, rules, and MCP connections need Option B.

    Update later: /plugin update claude-forge

    Option B — Full Install (recommended, everything included)

    One line in your terminal:

    curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/main/install.sh | bash
    

    Or if you prefer to clone first:

    git clone --recurse-submodules https://github.com/sangrokjung/claude-forge.git
    cd claude-forge
    ./install.sh        # fresh install
    # or
    ./install.sh --upgrade   # safe migration from v2.1
    

    Windows users: Run .\install.ps1 in PowerShell as Administrator.

    Which option should I pick?

    What you getOption A (/plugin install)Option B (./install.sh)
    Commands (35 shortcuts)✅✅
    Skills (33 saved procedures)⚠️ partial✅
    Agents (16 specialists)❌✅
    Hooks (22 safety checks)❌✅
    Rules (14 behavior guidelines)❌✅
    MCP connections (4 tools)❌✅

    Recommendation: Use Option B unless you only need a taste of commands and skills.

    If Claude Forge helps you, a star on GitHub helps others find it.


    📦 What's Inside

    What's inside

    Here is everything bundled in Claude Forge, explained in plain language:

    WhatCountPlain English
    Agents (specialist colleagues)16Each one is an AI focused on a single job — planner, architect, security checker, test guide, database expert, adversarial reviewer, and more. Claude calls the right one automatically.
    Commands (shortcut buttons)35Type /plan and Claude creates a full implementation plan. Type /tdd and it writes tests first, then code. All 35 are pre-built shortcuts for common developer tasks.
    Skills (saved procedures)33Step-by-step playbooks Claude follows automatically — like a recipe it has memorized. loop-forge turns any repetitive task into a reusable slash command in seconds; review-loop runs the maker≠checker verification cycle.
    Hooks (silent safety checks)22 built-in + 9 opt-in examplesThese run before and after every action Claude takes. They block leaked passwords, dangerous database commands, and unsafe remote scripts — and, new in v4.0, they auto-resume a session after a retryable API error and nudge you when you're stuck editing the same file. Covers 21 lifecycle events.
    Rules (behavior guidelines)14Written instructions Claude reads at the start of every session — coding style, security principles, git workflow conventions, when the verification loop is mandatory, and more.
    MCP connections (external tools)4Browser automation (Playwright), live library docs (context7), web page reader (jina-reader), and Chrome DevTools for performance audits.
    Deep Analysis Agents (use the most capable model)
    AgentWhat it does
    plannerCreates detailed implementation plans for complex features. Waits for your sign-off before any code is written.
    architectDesigns system structure, makes scalability decisions, reviews technical architecture.
    code-reviewerChecks code quality, security, and maintainability after you write it.
    security-reviewerScans for OWASP Top 10 vulnerabilities, leaked secrets, injection risks.
    tdd-guideEnforces test-first development: RED (failing test) → GREEN (passing) → IMPROVE (refactor).
    database-reviewerOptimizes PostgreSQL/Supabase queries, reviews schema design.
    Fast Execution Agents (use a quicker model)
    AgentWhat it does
    build-error-resolverFixes TypeScript and build errors with minimal changes to surrounding code.
    e2e-runnerGenerates and runs Playwright end-to-end browser tests.
    refactor-cleanerFinds and removes dead code using knip, depcheck, ts-prune.
    doc-updaterKeeps documentation and code maps in sync after changes.
    verify-agentOpens a fresh context to verify build, lint, and tests all pass — like a second pair of eyes.
    Verification & Debugging Agents (v4.0)
    AgentWhat it does
    adversarial-reviewerIndependent, read-only checker for the verification loop. Never wrote the change, never sees the maker's reasoning — tries to break the claim rather than confirm it. Returns APPROVE, REQUEST_CHANGES, or UNVERIFIED.
    skeptical-auditorRe-audits a pass another agent already claimed: re-runs each step that was reported green and compares the real exit codes against the claim. Runs after verification, not instead of it — an independent verdict on the change itself is adversarial-reviewer's job.
    systematic-debuggerReproduce → bisect → hypothesize → verify. Never guesses at a fix without a failing test that proves the hypothesis.
    rca-debuggerEscalation from systematic-debugger for multi-system failures — 5-why + fishbone analysis when bisection alone is inconclusive.
    escalation-fixerLast resort when build-error-resolver can't close a build error — allowed architectural-level changes, reads the escalation log to avoid repeating failed approaches.
    Core Workflow
    CommandWhat it does
    /planAI creates an implementation plan. Waits for your confirmation before coding.
    /tddWrite tests first, then code. One unit of work at a time.
    /code-reviewSecurity + quality check on the code you just wrote.
    /handoff-verifyAuto-verify build/test/lint all at once.
    /commit-push-prCommit, push, create PR, and optionally merge — all in one.
    /quick-commitFast commit for simple, well-tested changes.
    /verify-loopAuto-retry build/lint/test up to 3x with auto-fix.
    /autoOne-button automation: plan to PR without stopping.
    /guideInteractive 3-minute tour for first-time users.
    /loop-forgeTurn a repetitive task into a reusable, self-guarding slash command.
    /workflow-classifySize a task S/M/L/XL and route documentation depth + verification rigor accordingly.
    Exploration & Analysis
    CommandWhat it does
    /exploreNavigate and analyze codebase structure.
    /build-fixIncrementally fix TypeScript and build errors.
    /next-taskRecommend next task based on project state.
    /suggest-automationAnalyze repetitive patterns and suggest automation.
    /agent-routerRoute a request to the specialist agent best suited for the task.
    Security
    CommandWhat it does
    /security-reviewCWE Top 25 + STRIDE threat modeling.
    Testing & Evaluation
    CommandWhat it does
    /e2eGenerate and run Playwright end-to-end tests.
    /test-coverageAnalyze coverage gaps and generate missing tests.
    /evalEval-driven development workflow management.
    Documentation & Sync
    CommandWhat it does
    /update-codemapsAnalyze codebase and update architecture docs.
    /update-docsSync documentation from source-of-truth.
    /sync-docsSync prompt_plan.md, spec.md, CLAUDE.md + rules.
    /syncPull latest changes and sync all project docs. Use after any workflow or at session start.
    /pullQuick git pull origin main.
    /forge-updateUpdate Claude Forge itself to the latest version from the remote.
    /show-setupShow the current install status and project info.
    Project Management
    CommandWhat it does
    /init-projectScaffold new project with standard structure.
    /orchestrateAgent Teams parallel orchestration.
    /checkpointSave/restore work state.
    /learnRecord lessons learned + suggest automation.
    /web-checklistPost-merge web testing checklist.
    Refactoring & Debugging
    CommandWhat it does
    /refactor-cleanIdentify and remove dead code with test verification.
    Git Worktree
    CommandWhat it does
    /worktree-startCreate git worktree for parallel development.
    /worktree-cleanupClean up worktrees after PR completion.

    The 8 commands that moved to skills/ in v3.0 (debugging-strategies, dependency-upgrade, evaluating-code-models, evaluating-llms-harness, extract-errors, security-compliance, stride-analysis-patterns, summarize) are listed once, under Skills below — see MIGRATION.md Step 5. install.sh still creates compatibility symlinks under commands/ for them.

    SkillWhat it does
    blind-spot-passBefore starting work in an unfamiliar domain, surface what you don't know you don't know (unknown unknowns) and teach just enough to prompt well. Shift-left discovery.
    build-systemAuto-detect and run project build systems.
    cache-componentsNext.js Cache Components and Partial Prerendering (PPR) guidance.
    cc-dev-agentClaude Code development workflow optimization (context engineering, sub-agents, TDD).
    continuous-learning-v2Instinct-based learning: observe sessions via hooks, create atomic instincts with confidence scoring.
    debugging-strategiesSystematic debugging techniques and profiling.
    dependency-upgradeMajor dependency upgrades with compatibility analysis.
    eval-harnessFormal evaluation framework for eval-driven development (EDD).
    evaluating-code-modelsBenchmark code generation models (HumanEval, MBPP).
    evaluating-llms-harnessBenchmark LLMs across 60+ academic benchmarks.
    extract-errorsExtract and catalog error messages.
    frontend-code-reviewFrontend file review (.tsx, .ts, .js) with checklist rules.
    harness-dietMeasure and shrink always-loaded context (CLAUDE.md + rules) back under budget: migrate narrative to references, path-scope or skill-ify rules, verify zero governance loss with deterministic preservation checks.
    humanize-koreanStrip translation-ese and AI idioms from Korean prose without changing facts, numbers, or register.
    korean-character-countCount Korean characters/syllables for length-constrained copy (titles, SMS, ad copy).
    korean-spell-checkCheck Korean spelling and spacing. Sends the text to the third-party service nara-speller.co.kr, so keep client names and personal data out of it.
    loop-forgeTurn a one-line repetitive task into a reusable, self-guarding slash command (5 loop shapes + auto verifier & hardstop).
    manage-skillsAnalyze session changes, detect missing verification skills, create/update skills.
    prompts-chatSkill/prompt exploration, search, and improvement.
    relaySession handoff across /compact: writes a /compact one-liner plus a "baton" file with the next task, key files, and facts pulled verbatim from git/plan/session-summary state.
    review-loopThe adversarial verification loop procedure: dispatch adversarial-reviewer, act on REQUEST_CHANGES, stop only on APPROVE against the current revision.
    security-complianceSOC2, ISO27001, GDPR, HIPAA compliance checks.
    security-pipelineCWE Top 25 + STRIDE automated security verification pipeline.
    session-wrapEnd-of-session cleanup: 4 parallel subagents detect docs, patterns, learnings, follow-ups.
    skill-factoryConvert reusable session patterns into Claude Code skills automatically.
    strategic-compactSuggest manual context compaction at logical intervals to preserve context.
    stride-analysis-patternsSystematic STRIDE methodology for threat identification.
    summarizeSummarize URLs, podcasts, transcripts, local files.
    systematic-debugging6-phase structured debugging procedure — reproduce, isolate, hypothesize, test, fix, verify.
    team-orchestratorAgent Teams engine: team composition, task distribution, dependency management.
    using-superpowersDiscover and invoke installed skills before responding to any request.
    verification-engineIntegrated verification engine: fresh-context subagent verification loop.
    verify-implementationRun all project verify skills and generate unified pattern verification report.
    Security Hooks — block dangerous actions automatically
    HookWhen it runsWhat it blocks
    output-secret-filter.shAfter every tool useLeaked API keys, tokens, passwords in output
    remote-command-guard.shBefore Bash commandsUnsafe remote commands (curl pipe, wget pipe)
    db-guard.shBefore database commandsDestructive SQL (DROP, TRUNCATE, DELETE without WHERE)
    security-auto-trigger.shAfter file editsVulnerabilities in code changes
    rate-limiter.shBefore MCP tool useMCP server abuse / excessive calls
    mcp-usage-tracker.shBefore MCP tool useTracks MCP usage for monitoring
    Reliability Hooks — v4.0, unattended-session safety net
    HookWhen it runsWhat it does
    api-error-auto-resume.shSession ends on a retryable API error (StopFailure)Classifies the failure, then schedules an unattended resume under fork-bomb-style caps. Full contract: rules/api-error-recovery.md
    loop-detection.shAfter 5/10+ edits to the same file in one sessionNudges a rethink instead of letting the session spin — see docs/RELIABILITY.md
    auto-verify-fix.shAfter editing a .ts/.tsx/.js/.jsx/.py fileLightweight type/syntax check, surfaces fixable errors immediately
    pre-compact-snapshot.shBefore context compaction (PreCompact)Snapshots the pointer to the most recent relay skill baton
    post-compact-restore.shRight after /compact (SessionStart, matcher compact)Restores that pointer into the fresh session's context, exactly once
    emdash-slop-guard.shAfter editing a .md file whose content is substantially KoreanFlags em-dash AI-tell interjections — see rules/korean-writing-quality.md
    Utility Hooks — helpful nudges in the background
    HookWhen it runsWhat it does
    code-quality-reminder.shAfter file editsReminds about immutability, small files, error handling
    context-sync-suggest.shSession startSuggests syncing docs at session start
    forge-update-check.shSession startTells you when a newer claude-forge release is available
    session-wrap-suggest.shBefore session endSuggests session wrap-up before ending
    session-time-report.shSession ends, replayed at your next session startReports end time, how long it ran, and prompt/tool/file-change counts — see End-of-session report
    work-tracker-prompt.shWhen you submit a promptTracks work for analytics
    work-tracker-tool.shAfter tool useTracks tool usage for analytics
    work-tracker-stop.shOn stopFinalizes work tracking data
    task-completed.shWhen subagent finishesNotifies on subagent task completion
    expensive-mcp-warning.shBefore costly operationsWarns about expensive MCP calls

    An opt-in pre-commit secret guard (scripts/install-precommit.sh) also ships as of v4.0 — it protects git commits in any repo you point it at, separately from the hooks above. See docs/RELIABILITY.md.

    End-of-session report

    session-time-report.sh measures a session as it closes and hands you the summary the next time you open one:

    [Claude Forge] Previous session ended 21:34 KST
    2h 17m elapsed · 18 prompts · 143 tool calls · 9 files changed
    Log: ~/.claude/work-log/session-time-<session_id>.json
    

    Why it is wired to two events. SessionEnd is where the numbers are, but it cannot talk to you: Claude Code forwards a SessionEnd hook's output only when that hook failed, so a successful report is thrown away. SessionStart is a channel that does reach you. So the same script records on the way out and reports on the way in, exactly once per session.

    It reads only the session transcript, so there is no network call and no extra dependency beyond python3.

    It also reads Codex. Codex 0.150 has the same hook events and writes its own rollout log; the hook works out which dialect a transcript is in and counts either one, naming the agent in the line it prints. install.sh only wires Claude Code, so the two Codex entries are yours to add: hooks/README.md has them.

    Elapsed time is resume-aware. A transcript you reopened days later spans hundreds of hours of wall clock, which is not what you worked. The hook splits the timeline wherever there is a long idle gap and reports the latest stretch; if the session was resumed, it appends (resumed 3x, 9h 40m total).

    Environment variableDefaultEffect
    FORGE_SESSION_TIME_REPORT1Set to 0 to turn the hook off
    FORGE_SESSION_GAP_MIN60Idle minutes that start a new stretch
    FORGE_SESSION_MAX_MB128Transcript megabytes to scan, up to 512; larger files are read from the tail
    FORGE_SESSION_MAX_SEC4Wall-clock budget for the scan. Past it the report is dropped rather than reported half-read
    FORGE_SESSION_REPORT_LANGautoen or ko; auto-detects from LANG / LC_ALL

    Every run also appends to ~/.claude/work-log/session-times.jsonl (mode 600, rotated at 1 MB), so you can chart your own sessions later. Reports queue in ~/.claude/work-log/.session-time-pending.jsonl until a session drains them, so ending several sessions before starting a new one does not lose any of them. Log files are created 0600 and the hook refuses to follow a symlink planted at one of those paths.

    Opt-in Examples (9 extra, v3.0+)

    9 additional .example files live in hooks/examples/, one per event: PostCompact, PostToolUseFailure, PreCompact, StopFailure, SubagentStart, SubagentStop, TaskCreated, WorktreeCreate, WorktreeRemove. Full 21-event coverage; 27-event catalog: hooks/README.md. To activate: rename *.example → *.sh and register in settings.json.


    🔄 How to Use It

    Development workflow

    The main development pipeline

    Claude Forge's commands are designed to chain together. Here is the recommended flow for building any new feature:

    /plan → /tdd → /code-review → /handoff-verify → /commit-push-pr
    
    StepWhat Claude doesWhy
    /planWrites an implementation plan and waits for your go-aheadNo code is written until you approve the approach
    /tddWrites the tests first, then writes the code to pass themCatches mistakes before they become bugs
    /code-reviewChecks the finished code for security holes and quality issuesA second pair of eyes, automatically
    /handoff-verifyRuns build, tests, and lint in a fresh session to confirm everything passesCatches "works on my machine" problems
    /commit-push-prCommits the code, pushes to GitHub, creates a pull request, and optionally merges itOne command to ship

    Other common workflows

    Fixing a bug:

    /explore → /tdd → /verify-loop → /quick-commit → /sync
    

    Security audit:

    /security-review → /stride-analysis-patterns → /security-compliance
    

    Parallel team work (multiple agents at once):

    /orchestrate → Agent Teams (working in parallel) → /commit-push-pr
    

    Not sure where to start?

    After installing, type /guide for an interactive 3-minute tour. Or just type:

    /auto login page
    

    Claude Forge will handle the entire plan-to-PR pipeline for you automatically.

    Prefer to read first? docs/FIRST-STEPS.md walks through your first session step by step, and docs/WORKFLOW-RECIPES.md collects the command sequences for common jobs.


    🏗 Architecture

    The installer creates symbolic links (shortcuts) from the claude-forge folder to ~/.claude/ — the folder Claude Code reads. This means git pull in the repo updates everything instantly, with no reinstall needed.

    graph LR
        REPO["claude-forge repo<br>(git pull to update)"]
        INSTALL["./install.sh<br>(one-time setup)"]
        HOME["~/.claude/<br>(Claude reads this)"]
        CLAUDE["Claude Code"]
    
        REPO --> INSTALL
        INSTALL -->|"creates symlinks"| HOME
        HOME --> CLAUDE
    

    Skills vs Commands: skills/ are knowledge and procedures Claude discovers and follows automatically. commands/ are explicit actions you trigger by typing /name. See docs/SKILLS-VS-COMMANDS.md.

    claude-forge/
      ├── agents/                    Agent definitions (16 .md files, frontmatter v2)
      ├── cc-chips/                  Status bar submodule
      ├── cc-chips-custom/           Custom status bar overlay
      ├── commands/                  Slash commands (35 .md, 8 dirs moved to skills/)
      ├── docs/                      Screenshots, diagrams, policy docs (v3.0+ guides, incl. RELIABILITY.md / VERIFICATION-LOOP.md)
      ├── hooks/                     Event-driven shell scripts (22)
      │   └── examples/              Opt-in .example samples for 21 lifecycle events (9)
      ├── knowledge/                 Knowledge base entries
      ├── libs/                      Shared shell libraries hooks source (hook-guard.sh)
      ├── reference/                 Reference docs (+ agent-schema.json, ai-tell-taxonomy.md)
      ├── rules/                     Auto-loaded rule files (14)
      ├── scripts/                   Utility scripts (incl. install-precommit.sh, api-error-resume-runner.sh)
      ├── setup/                     Installation guides + CLAUDE.md template
      ├── skills/                    Multi-step skill workflows (33, hybrid policy)
      ├── install.sh                 macOS/Linux installer (--upgrade supported)
      ├── install.ps1                Windows installer (--upgrade supported)
      ├── mcp-servers.json           MCP server defaults (4 minimal)
      ├── mcp-servers.optional.json  Optional MCP servers (memory/exa/github/fetch/time/...)
      ├── .claude-plugin/plugin.json Plugin manifest (4.3.0)
      ├── .claude-plugin/marketplace.json  Marketplace entry (4.3.0)
      ├── settings.json              Claude Code settings (2026 fields)
      ├── MIGRATION.md               v2.1 → v4.0 migration guide (EN)
      ├── MIGRATION.ko.md            v2.1 → v4.0 migration guide (KO)
      ├── CONTRIBUTING.md            Contribution guide
      ├── SECURITY.md                Security policy
      └── LICENSE                    MIT License
    

    🔧 What's New in v4.0

    ChangeDescription
    Adversarial verification loopadversarial-reviewer + skeptical-auditor agents, review-loop skill, rules/adversarial-review.md. Maker≠checker: a fresh, independent reviewer that did not write the change reproduces the claim rather than reading it, and returns APPROVE / REQUEST_CHANGES / UNVERIFIED. Worked example from this release's own PRs: docs/VERIFICATION-LOOP.md.
    Reliability packUnattended API-error auto-resume (StopFailure), session relay across /compact, doom-loop + edit-time verify hooks, an opt-in pre-commit secret guard, and the shared libs/hook-guard.sh they build on. Full wiring guide: docs/RELIABILITY.md.
    Debugging escalation chainsystematic-debugger → rca-debugger → escalation-fixer. Each step only fires when the one before it couldn't close the case.
    Task-grade routing/workflow-classify sizes a task S/M/L/XL and routes documentation depth and verification rigor accordingly (rules/task-grade-routing.md).
    Korean prose quality guardrailsTranslation-ese and AI-idiom avoidance at generation time, not just a cleanup pass — rules/korean-writing-quality.md, reference/ai-tell-taxonomy.md, emdash-slop-guard.sh, plus humanize-korean / korean-character-count / korean-spell-check skills.

    Inventory: 11 → 16 agents, 34 → 35 commands, 26 → 32 skills, 15 → 21 hooks, 10 → 14 rules. See MIGRATION.md for the full v3 → v4 upgrade guide.

    🔧 What's New in v3.0 (historical)

    v3.1.0 (feature, June 2026)

    • loop-forge skill + command — turn a one-line repetitive task into a reusable, self-guarding slash command (5 loop shapes + auto verifier & hardstop). Skills 24 → 25, commands 33 → 34.
    • Beginner-friendly README — full rewrite for non-developers (plain-language analogies, terms explained in parentheses) + 3 diagrams (what's inside / install in 3 steps / development workflow), in English & Korean.

    v3.0.2 (docs patch, May 2026)

    LLM-readable install paths (root INSTALL.md + above-the-fold one-liner) and multi-channel distribution. See Release v3.0.2.

    v3.0.1 (patch)

    ChangeDescription
    Plugin Manifest shipped/plugin marketplace add sangrokjung/claude-forge + /plugin install claude-forge now work for Commands + Skills.
    Chrome DevTools promotedLighthouse / Core Web Vitals / memory snapshots now in the default 4-server set. Pinned at [email protected].
    hooks/_lib/timing.shRecords SessionEnd hook timing into ~/.claude/logs/hook-timing.jsonl.
    CI expandedRuns on every PR and on main/feat/**/fix/**/chore/**/docs/**/ci/** pushes. 6 jobs total.
    Tier 0 spec correctionsHook types, timeout units, Auto Memory path all corrected.
    New governance docsADR-001, SETTINGS-COMPATIBILITY, MARKETPLACE-SUBMISSION.

    v3.0 (major)

    ChangeDescription
    Hooks 21 EventsLifecycle hooks expanded from 5 to 21 events. Opt-in samples in hooks/examples/.
    Subagent Frontmatter v210 optional fields: isolation, background, memory, maxTurns, skills, mcpServers, effort, hooks, permissionMode, disallowedTools. Schema: reference/agent-schema.json.
    Skills/Commands Hybrid PolicyClear boundary documented at docs/SKILLS-VS-COMMANDS.md.
    MCP Minimal (4 servers)Default set: playwright · context7 · jina-reader · [email protected]. Legacy full set in mcp-servers.optional.json.
    CLAUDE.md TemplateNew setup/CLAUDE.md.template with @import pattern.
    Upgrade in One Command./install.sh --upgrade safely migrates v2.1 installs with backup and diff preview.

    Breaking Changes in v3.0

    • MCP defaults cut — memory, exa, github, and fetch removed from mcp-servers.json. Restore from mcp-servers.optional.json if needed.
    • 8 commands moved to skills/ — Symlink compatibility maintained until 2027-04-01. Affected: debugging-strategies, dependency-upgrade, evaluating-code-models, evaluating-llms-harness, extract-errors, security-compliance, stride-analysis-patterns, summarize.
    • settings.json allowlist — Removed mcp__memory, mcp__exa, mcp__github, mcp__fetch. Added mcp__playwright.

    🛠 MCP Servers (External Tool Connections)

    ServerWhat it doesRequired setup
    playwrightControls a real browser for end-to-end testsNone — auto-installed
    context7Fetches live library documentation while codingNone — auto-installed
    jina-readerReads web pages and converts them to clean textNone — auto-installed
    chrome-devtoolsRuns Lighthouse audits and Core Web Vitals checksNone — auto-installed

    Additional servers (memory, exa search, GitHub, fetch) are available opt-in via mcp-servers.optional.json. Full recipes: docs/MCP-MIGRATION.md.


    ⚙️ Customization

    Override any setting without modifying tracked files:

    cp setup/settings.local.template.json ~/.claude/settings.local.json
    # Edit ~/.claude/settings.local.json with your preferences
    

    settings.local.json merges on top of settings.json automatically — your changes survive git pull.


    🆚 Claude Forge vs. Starting From Scratch

    FeatureClaude ForgeBasic .claude/ setupIndividual plugins
    Specialist agents16 readyManual setupVaries
    Slash commands35 readyNonePer-plugin
    Skill workflows33 readyNonePer-plugin
    Safety hooks22 + 9 examplesNone by defaultPer-plugin
    External tool connections4 default (8+ optional)NonePer-plugin
    Setup time~5 minutesHoursPer-plugin install
    Updatesgit pullManual per-filePer-plugin update
    End-to-end pipelinePlan → Test → Review → ShipDisconnected toolsNot integrated

    ❓ FAQ

    Claude Forge is built for developers working with Claude Code, so some familiarity with the terminal is needed. That said, you do not need to understand all the internals — most workflows start with a simple one-word command like /plan or /auto, and Claude Forge handles the rest.

    If you are new, start with /guide after installing. It gives you an interactive 3-minute tour.

    Claude Code is Anthropic's official AI coding assistant that runs in your terminal. It reads your codebase, writes code, runs tests, and more — all through a conversation. Claude Forge is the add-on kit that gives it specialist helpers, shortcuts, and safety checks.

    Most Claude Code plugins solve one problem at a time. Claude Forge is a complete development environment — 16 agents, 35 commands, 33 skills, 22 hooks, and 14 rules that work together as a cohesive system. Instead of assembling individual plugins, you get a pre-wired pipeline: /plan feeds into /tdd, which feeds into /code-review, which feeds into /handoff-verify, which feeds into /commit-push-pr — and, new in v4.0, an adversarial verification loop that a fresh reviewer must APPROVE before any behavioral change is considered done. The 6-layer security hook system also runs automatically without extra configuration.

    Yes. Claude Forge installs via symlinks to ~/.claude/ and works alongside official Claude Code plugins. Your existing settings.local.json overrides are preserved, and you can add or remove individual components without affecting the rest of the system.

    Run git pull in the claude-forge directory. Because the installer uses symlinks (on macOS/Linux), updates take effect immediately — no re-install needed. On Windows, re-run install.ps1 after pulling to copy the updated files.

    Yes. Run install.ps1 in PowerShell as Administrator. Windows uses file copies instead of symlinks, so re-run install.ps1 after each git pull to apply updates. Agents, commands, and skills work the same on Windows, macOS, and Linux. The v4.0.0 reliability hooks (auto-resume, session relay, doom-loop detection, and the rest of S1-S5) were built and verified on macOS only — Linux/WSL was addressed at the source level but not exercised, and two of the auto-resume paths were never fired on any platform in this release. See the platform matrix in docs/RELIABILITY.md for the exact breakdown.

    /sync pulls the latest changes from your remote repository and then synchronizes all project documentation — prompt_plan.md, spec.md, CLAUDE.md, and rule files. Run it after completing any workflow (feature, bug fix, refactor) or at the start of a new session to make sure Claude has the latest context about your project.

    Claude Forge uses a 4-layer memory system:

    1. Project docs (CLAUDE.md, prompt_plan.md, spec.md) — Project-level instructions and plans that persist in the repository. /sync keeps these up to date.
    2. Rule files (rules/) — Coding style, security, and workflow conventions loaded automatically each session.
    3. MCP memory server — A persistent knowledge graph that stores entities and relations across sessions (opt-in).
    4. Agent memory (~/.claude/agent-memory/) — Core agents record learnings after each task, improving their recommendations over time.

    Running /sync at session start ensures layers 1 and 2 are current.


    🤝 Contributing

    See CONTRIBUTING.md for guidelines on adding agents, commands, skills, and hooks.


    Use Claude Forge? Show it!

    [![Built with Claude Forge](https://img.shields.io/badge/Built_with-Claude_Forge-orange?style=flat-square)](https://github.com/sangrokjung/claude-forge)
    

    Add this badge to your project's README to let others know you use Claude Forge.


    ⭐ Star History

    Star History Chart


    Contributors


    📄 License

    MIT — use it, fork it, build on it.

    If Claude Forge improved your workflow, a star helps others find it too.