Borrowing it
Nothing to install: this file belongs to initializ/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.
curl -O https://raw.githubusercontent.com/initializ/forge/main/CLAUDE.mdgit clone --depth 1 https://github.com/initializ/forgeWrote 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.
[](https://agentmods.dev/instructions/initializ/forge/claude-md)<a href="https://agentmods.dev/instructions/initializ/forge/claude-md"><img src="https://agentmods.dev/badge/instructions/initializ/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.
<a href="https://agentmods.dev/instructions/initializ/forge/claude-md"><img src="https://agentmods.dev/badge/instructions/initializ/forge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00605 | $0.00605 |
| Opus 5.5 | $0.00242 | $0.00242 |
| Sonnet 5.5 | $0.00121 | $0.00121 |
| Haiku 4.5 | $0.00060 | $0.00060 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Forge - CLAUDE.md
Project Structure
Multi-module Go workspace with three modules:
forge-core/— Core library (registry, tools, security, channels, LLM)forge-cli/— CLI commands, TUI wizard, runtimeforge-plugins/— Channel plugins (telegram, slack), markdown converter
Platform-integration contracts (used by initializ AIP)
- Tenancy headers: every forge→platform HTTP callout (admission, remote session store, MCP platform token resolver) MUST send
Org-Id+Workspace-IdfromFORGE_ORG_ID/FORGE_WORKSPACE_IDenv alongsideAuthorization: Bearer ${FORGE_PLATFORM_TOKEN}— the platform verifies a PER-ORG HS256 token and needs Org-Id to pick the signing secret BEFORE it can validate the bearer (omitting it → 401 "missing org-id header"). Pattern lives inadmission_loader.go/remote_session_store.go/mcp/platform_token.go. - MCP auth types (
auth.type):oauth/bearer/static+ managedplatform(agent-principal token fromForgeConfig.Platform.token_endpoint) anduser(delegated, lazy — cannot berequired:true). The platform owns the op→identity split; forge only reads per-server config. - DEFER approval is FULLY BUILT & enforced (
forge-core/security/deferpolicy/, Slack Block-Kit delivery inforge-plugins/channels/slack/approvals.go):security.defer.tools.<toolName>{to: channel:slack:#x, approvers, timeout}— keyed by the RUNTIME tool name, which for MCP is<server>__<op>. GuardrailsapprovalGatesare parsed but NOT enforced — usesecurity.defer.*. - MCP OAuth discovery/DCR (
forge-core/mcp/oauth_discovery.go, #316/#320): RFC 9728→8414→7591.wellKnown()must INSERT the well-known segment for path-qualified issuers (Atlassianauth.atlassian.com/<id>) — replacing the path resolves the wrong AS.
Pre-Commit Requirements
Always run before committing:
# Format all modules
gofmt -w forge-core/ forge-cli/ forge-plugins/
# Lint all modules
golangci-lint run ./forge-core/...
golangci-lint run ./forge-cli/...
golangci-lint run ./forge-plugins/...
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.
- 22d ago Changed · -7 lines · -400 tokens per session a86ad18dda0e
- 2mo ago First seen · 42 lines · 605 tokens per session scan A 7ae7cf1c9ae7
forge CLAUDE.md is an instructions file published in the GitHub repository initializ/forge (235 stars, last pushed yesterday), licensed Apache-2.0. It adds 605 tokens to every session, about $0.0024 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.
forge CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| forge CLAUDE.mdinitializ/forge | Instructions file | 235 | yesterday | Apache-2.0 | A | 605 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |