Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/initializ/forge/claude-mdgit clone --depth 1 https://github.com/initializ/forgeWhat 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 | $0.00605 | $0.00605 |
| Opus 5 | $0.00302 | $0.00302 |
| Sonnet 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 2d 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.
- 2d 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 (156 stars, last pushed 5d ago), licensed Apache-2.0. It adds 605 tokens to every session, about $0.0030 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-30.
Other instructions, from other repositories
trpc-agent-go AGENTS.md
Instructions for trpc-group/trpc-agent-go, covering agents.md, project overview, engineering principles, go design conventions and implementation workflow.
a2a-python AGENTS.md
Instructions for a2aproject/a2a-python, covering agents.md, technology stack & architecture, mandatory workflow and optional extras.
lucid-agents AGENTS.md
Instructions for daydreamsai/lucid-agents, covering lucid agents monorepo - ai coding guide, project overview, brand system, architecture overview and package dependencies.
agentarea AGENTS.md
Instructions for agentarea/agentarea, covering agents.md, where to look, structure, commands and backend (from agentarea-platform/).
adk CLAUDE.md
Instructions for inference-gateway/adk, covering claude.md, what this repo is, commands, architecture and server (server/).
a2a-editor CLAUDE.md
Instructions for open-resource-discovery/a2a-editor, covering claude.md, project overview, commands, development and building.