forge

forge is a skill for Claude Code, Codex from radimsem/forge-skills. It costs 61 tokens per session (7,489 once invoked), scanned A, original, MIT.

A guided workflow for turning an issue, ticket, or pull request into a shipped code change. It proposes a plan for approval, then implements, reviews, refactors, and closes the work.

In plain words
What is it for?
Use it to investigate, fix, resolve, or triage software issues through the /forge command or a similar request.
Why use it?
It gives coding-agent work a clear approval point before code changes begin and keeps investigation, implementation, review, and cleanup in one process.

Skill for Claude CodeCodex

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 skills/radimsem/forge-skills/forge
Any agent
npx skills add radimsem/forge-skills --skill forge
Clone the repo
git clone --depth 1 https://github.com/radimsem/forge-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/radimsem/forge-skills/forge.svg)](https://agentmods.dev/skills/radimsem/forge-skills/forge)
Your own site
<a href="https://agentmods.dev/skills/radimsem/forge-skills/forge"><img src="https://agentmods.dev/badge/skills/radimsem/forge-skills/forge.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,489 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.00061 $0.07489
Opus 5 $0.00030 $0.03744
Sonnet 5 $0.00012 $0.01498
Haiku 4.5 $0.00006 $0.00749

Measured 4d ago against content hash eff84f7e80c5, 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/resolve-codex.py), 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.

Makes network callslowCapability

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

| any, no CLI / auth error | host REST API per the loaded tracker ref (else generic curl) |
skills/forge/SKILL.md · 329 lines

How it starts

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

Forge

Forge an issue into a shipped fix: heat it (implement), hammer it (review loop), then temper it (refactor).

Overview

Turn an issue or ticket reference into a verified, branch-correct, user-approved plan. Then, only after the user confirms (or immediately under automode), run the implementation lifecycle.

One numbered workflow (Steps 1–12), split by a single gate:

Part 1 — Gate (Steps 1–6):   classify → fetch → branch → context → propose → [GATE] approve
Part 2 — Lifecycle (7–12):   implement → review-loop → refactor → spin-off → self-evolve → close

  gate held: nothing touches the codebase until "yes, implement"  (automode = only sanctioned bypass)
  • Part 1 — The gate. The contract; do not weaken it.
  • Part 2 — Lifecycle. Runs autonomously after approval, stopping only at substantive gates (the Autonomy section).

"The agent" means whatever agent runs this skill. Adapt every reference (config directory, agent guide, interview UI) to your runtime. Nothing is hardcoded to one assistant.

Parameters

Parse the invocation as /forge <ref> [automode] [docs] [tdd] [worktree] [lookup] [secure] [changelog] [ci-watch] [compress] [implement] [codex | codex challenge | codex impl [challenge]] [coderabbit] [code-review], or /forge pr <N> [...], or /forge plan <path>[#<slug>] [...]. The words can appear anywhere in the request. A <ref> resolves to a git-host issue or a Jira ticket per the grammar below, and the pr <N> form selects PR-review entry mode. Flags are orthogonal and compose freely; some modes have their own allowed or ignored flags, listed in references/modes/pr-entry.md for PR mode.

Full flag matrix (effects, composition rules, conflicts): references/flags.md.

Target grammar — <ref>

The target is the first reference-shaped token, or the token right after a ticket or pr keyword. Routing works by keyword or by key-shape:

Form Routes to Examples
bare number, #N, issue N git-host issue (Step 1b) forge 42, fix #123, issue 7
matches [A-Z]+-\d+ Jira ticket OR Linear issue (disambiguate if both configured — see references/trackers/linear.md) forge PROJ-123, solve ENG-42, forge AB12-9
after ticket keyword Jira ticket; number-only → ask project key forge ticket PROJ-123, solve ticket 42
after linear keyword Linear issue (forces Linear routing, skips disambiguation) forge linear ENG-42
after pr keyword PR-review entry mode (skips Steps 4–7; enters at Step 8 against the PR diff) forge pr 47, forge pr #123
after plan keyword plan-entry mode (replaces Steps 1, 2, 4–6 with a single Step P validation pass; Step 3 still runs; enters at Step 7 against the plan slice) forge plan docs/superpowers/plans/x.md#task-3

Read the full file on GitHub · 329 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. 4d ago First seen · 329 lines · 61 tokens per session scan A eff84f7e80c5

Subscribe to this mod's changes

forge is a skill published in the GitHub repository radimsem/forge-skills (15 stars, last pushed 11d ago), licensed MIT. It adds 61 tokens to every session and 7,489 once invoked, about $0.0003 per session on Opus 5. 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.

Related

Other skills, from other repositories

timeline-creator

Create HTML timelines and project roadmaps with Gantt charts, milestones, phase groupings, and progress indicators. Use when users request timelines, roadmaps, Gantt charts, project schedules, or milestone visualizations.

mhattingpete/claude-skills-marketplace · 47 tokens

bootstrap-prd

Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.

joshukraine/dotfiles · 25 tokens

glab-issue

Create, view, update, and manage GitLab issues. Use when working with issue tracking, bug reports, feature requests, or task management. Operations include creating issues, listing with filters, viewing details, adding comments/notes, updating labels/assignees/milestones, closing/reopening, and board management.…

vince-winkintel/gitlab-cli-skills · 89 tokens

sales-ops

Set up and run Airtable-based sales operations and CRM workflows — pipeline management, account and renewal management, deal desk, RFP / tender pipelines, partner CRMs, sales forecasting, vertical CRMs (real estate, mortgage, brokerage, capital markets, public works, nonprofit), and AI-native lean stacks…

Airtable/skills · 164 tokens

jira

Search and manage Jira issues using JQL queries, create/update tickets, and manage workflows. Use when asked to find Jira tickets, check the backlog, manage sprints, track bugs, or work with Atlassian project management.

odyssey4me/agent-skills · 48 tokens

github

Use this skill when Enoch needs to coordinate work with GitHub: branches, pull requests, issues, reviews, comments, checks, and merges.

our-ark/enoch · 0 tokens