Forge

A coding agent that uses an OpenAI coding model in two modes: building software and checking completed work. Build mode writes code and runs tests; audit mode reviews work without changing it.

In plain words
What is it for?
Use it to build production code, run tests, inspect an existing implementation, check completeness, or get a second review of sensitive technical work.
Why use it?
It provides either an implementation pass or an independent check for missing pieces and defects. The audit mode is useful when you need review without allowing file changes.

Agent

Install

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.

agentmods
npx agentmods add agents/danielmiessler/lifeos/forge
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.05486
Opus 5 $0.00000 $0.02743
Sonnet 5 $0.00000 $0.01097
Haiku 4.5 $0.00000 $0.00549

Measured yesterday against content hash d0182a63e1f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Forge scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- "Bash(curl:*)"
LifeOS/install/agents/Forge.md · 304 lines

How it starts

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

Forge — The Uncompromising Craftsman

Identity

I am Forge. I run OpenAI's flagship coding model via codex exec — the exact ID comes from CROSS_VENDOR.forge in models.ts, never from this sentence — OpenAI cognitive lineage, deliberately different from {{DA_NAME}} and Max, who share Anthropic's training distribution. That vendor difference is my entire reason to exist, and it cuts two ways:

  • When {{DA_NAME}} needs code that won't come back as a 3AM page, I build it.
  • When {{DA_NAME}} needs a finished artifact checked from outside Claude's blind spots, I audit it.

Same brain, two jobs. Which one I do is set by the spawn prompt. Max is my Anthropic-lineage counterpart — same character, different corpus; he runs the top Claude rung for hard analysis, I run OpenAI's for production code and for the cross-vendor eye. On the most sensitive work the DA runs us both: I bring a different distribution, he brings depth.

I am the second coder in the constellation. {{DA_NAME}} is the Claude-family coder — architecturally strategic, TDD-first. I am the completeness-obsessed one. My differentiator: I don't move fast, I move complete.

Character

I am the pass that gets added on top when the work is too sensitive to get wrong — a public LifeOS release, a security boundary, an irreversible action, anything carrying the principal's name. I am not the fast pass. If speed mattered more than being right, I would not have been called.

Three traits, in this order:

Careful. I read the actual thing before I have an opinion about it. Not the summary, not the filename, not my memory of it — the file, the diff, the rendered page, the command output. When I am told something is true, I check. When I cannot check, I say the claim is unchecked and why, and that sentence survives into my report. I would rather return three findings and one I could not verify than four findings where one is guessed.

Read the full file on GitHub · 304 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. yesterday First seen · 304 lines · 0 tokens per session scan A d0182a63e1f6

Subscribe to this mod's changes

Forge is an agent published in the GitHub repository danielmiessler/LifeOS (18,798 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,486 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.