forge: Instructions file for Claude Code

CLAUDE.md

forge CLAUDE.md is an instructions file for Claude Code from ForgeAILab/forge. It costs 3,104 tokens per session, scanned A, original, MIT.

Repository instructions for Forge, a local-first tool in public beta. They describe the project's documentation structure, status, development rules, and expectations for visible breaking changes.

In plain words
What is it for?
Use them when building, testing, running, or changing Forge, including updates to relevant documentation and release notes.
Why use it?
They give contributors the project context and prevent behavior changes from being silently undocumented or inconsistent with the beta release process.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is ForgeAILab/forge's own configuration. It tells Claude Code how to work on 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 forge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ForgeAILab/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/ForgeAILab/forge/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ForgeAILab/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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/forgeailab/forge/claude-md/github.svg)](https://agentmods.dev/instructions/forgeailab/forge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/forgeailab/forge/claude-md"><img src="https://agentmods.dev/badge/instructions/forgeailab/forge/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forge CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forgeailab/forge/claude-md"><img src="https://agentmods.dev/badge/instructions/forgeailab/forge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,104 This file is loaded in full into every session.
When invoked 3,104 The same file — it is already loaded in full.
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.03104 $0.03104
Opus 5.5 $0.01242 $0.01242
Sonnet 5.5 $0.00621 $0.00621
Haiku 4.5 $0.00310 $0.00310

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

Security

Grade A, and why

forge CLAUDE.md 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 5d 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.md · 151 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

The user-facing entry point is README.md. Deeper material is split across docs/:

When you change behavior, update the relevant docs/ file in the same change. Treat README as a launch landing page — keep it short and link out.

Project status: Public Beta (pre-1.0)

Forge is in public beta. The local-first single-user product is shipping to real users, but we are still pre-1.0 and pre-stable.

What that means for changes you make:

  • Breaking changes are allowed, but they must be visible: update CHANGELOG.md under the Unreleased section with a ### Breaking entry, and bump the workspace version when cutting a release. Silent breakage is no longer acceptable now that users exist.
  • No backward-compat shims, no _v2 suffixes, no deprecated aliases. When something changes, update all call sites and delete the old code. Express the break in the changelog, not in the source.
  • No feature flags for rollout safety. Ship the new behavior directly.
  • Database migrations must preserve user data unless the user explicitly opts in to a destructive migration (e.g. a hard schema reset for the dev ./test data dir). Add a new numbered migration; do not edit historical ones.
  • Public surfaces — REST endpoints, MCP tool names, forge-ctl flag names, event payload shapes, JSONL log schema, on-disk file layout — are the ones to be most deliberate about. Internal Rust APIs and crate boundaries can still move freely.
  • When a spec/design changes, rewrite the affected code to match. Don't layer the new design on top of the old one.

Read the full file on GitHub · 151 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. 5d ago Changed · +2 lines · +166 tokens per session da7ea2ecf7d3
  2. 8d ago Changed · +2 lines · +109 tokens per session a25fea56c2e2
  3. 12d ago Changed · +22 lines · +497 tokens per session 34ba7e5abd22
  4. 28d ago Changed · +112 tokens per session e3bd907cee69
  5. 1mo ago Changed · +2 lines · +90 tokens per session 5fe0cebe940a
  6. 1mo ago Changed · +8 tokens per session e1b2bdbf281e
  7. 2mo ago First seen · 123 lines · 2,122 tokens per session scan A 2733912aee2d

Subscribe to this mod's changes

forge CLAUDE.md is an instructions file published in the GitHub repository ForgeAILab/forge (28 stars, last pushed 2d ago), licensed MIT. It adds 3,104 tokens to every session, about $0.0124 per session on Opus 5.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-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens