warpforge: Instructions file for Claude Code

CLAUDE.md

warpforge CLAUDE.md is an instructions file for Claude Code from warpforgehq/warpforge. It costs 2,533 tokens per session, scanned A, original, MIT.

Project instructions for Warpforge, a tool that manages multiple development projects, their services, and embedded coding-agent terminals. They describe its Rust core, terminal and desktop interfaces, configuration, and service port isolation.

In plain words
What is it for?
Use them when working on Warpforge’s daemon, command-line tool, terminal interface, desktop application, configuration, or project services.
Why use it?
They give coding agents the project structure and technical constraints needed to make changes in the right places.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 warpforge CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/warpforgehq/warpforge/claude-md/github.svg)](https://agentmods.dev/instructions/warpforgehq/warpforge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/warpforgehq/warpforge/claude-md"><img src="https://agentmods.dev/badge/instructions/warpforgehq/warpforge/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 warpforge CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/warpforgehq/warpforge/claude-md"><img src="https://agentmods.dev/badge/instructions/warpforgehq/warpforge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,533 This file is loaded in full into every session.
When invoked 2,533 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.02533 $0.02533
Opus 5.5 $0.01013 $0.01013
Sonnet 5.5 $0.00507 $0.00507
Haiku 4.5 $0.00253 $0.00253

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

Security

Grade A, and why

warpforge 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.

CLAUDE.md · 215 lines

How it starts

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

Project: Warpforge

Workspace orchestrator with a desktop interface. Manages multiple dev projects: isolated services with auto-resolved ports, embedded agent terminals (Codex, Claude), instant context switching.

Architecture

Core (Rust):

  • Language: Rust
  • Async runtime: Tokio
  • Daemon: Background process that manages services, agents, and project state
  • PTY: portable-pty — real TTY for spawned agents
  • Terminal emulation: vt100 crate — parses ANSI into screen buffer
  • CLI: clap derive API
  • Config: .warpforge/workspace.yaml per project (serde_yaml; legacy root-level .warpforge.yaml / .wf.yaml / .workspace.yaml still load), registry in ~/.warpforge/projects.json
  • Port isolation: each project gets 100-port range (4000+), ${svc.port} interpolation in env vars
  • Daemon IPC: WebSocket JSON-RPC (port 61814)

Binary (Rust): cargo build --release → target/release/warpforge. Only warpforge daemon (run by desktop as a sidecar) and the hidden __mcp-orchestrator (spawned by the daemon for orchestrator agents).

Desktop (TypeScript + Tauri):

  • Framework: Tauri v2 (Rust shell + WebView)
  • Frontend: React 18 + TypeScript + Vite
  • UI: Tailwind CSS + Radix UI primitives + shadcn/ui components
  • State: Zustand (persisted to localStorage)
  • Terminal: CodeMirror for editor, xterm.js for interactive terminal sessions
  • Package manager: Bun
  • Linting: oxlint + oxfmt
  • Tests: Vitest + React Testing Library

Key crates (Rust): tokio, clap 4, serde, anyhow, portable-pty 0.8, vt100 0.15

Source layout (src/)

main.rs          — CLI entry (clap), subcommands: daemon, __mcp-orchestrator
agent.rs         — AgentManager: PTY spawn via portable-pty, vt100 parser, input/output channels
service.rs       — ServiceManager: sh -c spawn, stdout/stderr log capture, process-group kill, port allocation
config.rs        — workspace config parsing + auto-detect (package.json scripts, docker-compose)
workflow_config.rs — .warpforge/workflows/*.yaml templates: schema, validation, prompt rendering
registry.rs      — ~/.warpforge/projects.json CRUD
ports.rs         — Port range allocation (4000+), ${svc.port} env interpolation

Read the full file on GitHub · 215 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 Changed · -16 lines · -425 tokens per session 33383f426aac
  2. 29d ago Changed · -1 lines · +31 tokens per session a50221c5c3df
  3. 1mo ago Changed 338bb04c7228
  4. 1mo ago Changed · +34 lines · +418 tokens per session aeed1840500f
  5. 1mo ago First seen · 198 lines · 2,509 tokens per session scan A bb5e2ca4fe0c

Subscribe to this mod's changes

warpforge CLAUDE.md is an instructions file published in the GitHub repository warpforgehq/warpforge (39 stars, last pushed 6d ago), licensed MIT. It adds 2,533 tokens to every session, about $0.0101 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