forge-build

forge-build is a skill for Claude Code, Codex from harshanandak/forge. It costs 30 tokens per session (926 once invoked), scanned A, original, MIT.

A controlled workflow for taking one small piece of planned software work from an issue to a pushed pull request. It checks the change with a failing-then-passing test or other named proof and stops before merging.

In plain words
What is it for?
Use it to claim an issue slice, implement it, run risk-based checks, record the results, and prepare a pull request for review.
Why use it?
It gives a worker a clear scope, acceptance rules, time limit, and record of what was checked. This helps prevent unfinished work, unreviewed changes, and accidental merges.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to claim an issue slice, implement it, run risk-based checks, record the results, and prepare a pull request for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harshanandak/forge/forge-build
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.

Any agent
npx skills add harshanandak/forge --skill forge-build
Clone the repo
git clone --depth 1 https://github.com/harshanandak/forge

Made for: Claude Code, Codex.

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-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/harshanandak/forge/forge-build/github.svg)](https://agentmods.dev/skills/harshanandak/forge/forge-build)
Your own site
<a href="https://agentmods.dev/skills/harshanandak/forge/forge-build"><img src="https://agentmods.dev/badge/skills/harshanandak/forge/forge-build/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-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/harshanandak/forge/forge-build"><img src="https://agentmods.dev/badge/skills/harshanandak/forge/forge-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 The whole file, excluding the scripts and references it only reads on demand.
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.00030 $0.00926
Opus 5.5 $0.00012 $0.00370
Sonnet 5.5 $0.00006 $0.00185
Haiku 4.5 $0.00003 $0.00093

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

Security

Grade A, and why

forge-build 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.

The scan reads SKILL.md. This mod also ships 1 executable file (done-claim.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

templates/delivery/skills/forge-build/SKILL.md · 55 lines

How it starts

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

forge-build

Read pull-request.md for setup and PR handoff.

Every wake runs forge pr state <n> and acts on verdict.

Worker brief

Before each call run forge issue call <slice> --role <role>; LIMIT_REACHED ends the intent: report, start nothing. Retry REVISION_CONFLICT.

Fill every field before delegating; an empty field blocks the call:

Goal: <slice id and end state; read forge issue show for the spec>
Scope: <Owns and done boundary>
Context: <Touches / Needs, adopted decision titles and checkpoint>
Acceptance: <observable pass predicates>
Verify: <named red/green check, risk band, scenario and final-head checks>
Timebox: `forge issue call`'s timeboxMinutes (at most 45 minutes); stop and report the checkpoint when timeboxMinutes expire, never later than stopBy.
Forbidden: pass named environment variables only, never the whole environment or secret values; stop at push; never merge or merge base unless asked.
Report: <head, receipts, saved output and not checked>
Standing rules: <adopted rules; layer 1 passes the memory packet>

Red, then green

  1. Read forge issue resume <slice> and every Touches file before editing; later comments override the body. Read forge issue comments <slice> once before acting if a checkpoint exists or more is true. forge-cut risk: light 0-1, standard 2-3, heavy 4-5.
  2. Every slice goes red then green. Name a check whose expected value is independent of the implementation. Run the new assertion on trunk first; it must fail on that assertion, not setup or unrelated errors.
  3. forge check run --input '{"checks":["<name>"]}'. Expect exit 1 and ok:false for FAIL (exit 2 for INCOMPLETE or NOT_EXECUTED); keep the full result receipt and its id even on nonzero exit. PASS alone exits 0. Do not chain red checks with && or discard their output on failure.
  4. Make the smallest fix, rerun to green and keep its receipt id. Use small conventional commits.

Three proof levels, scaled to risk:

  • Light, not user-visible: the independent red/green assertion plus the final-head receipt.
  • User-visible, including standard slices (UI, CLI output, API response, published package): also save one scenario on the built artifact as users get it, with a pass predicate and output.
  • Heavy or critical: always run that scenario on trunk and head, even without a user-visible change, and get a fresh-context review against every acceptance item through forge-review before opening.

Read the full file on GitHub · 55 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 55 lines · 30 tokens per session scan A 253bcaa3e3c5

Subscribe to this mod's changes

forge-build is a skill published in the GitHub repository harshanandak/forge (0 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 926 once invoked, about $0.0001 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-10-28.