forge

forge is an agent for Claude Code from namastexlabs/automagik-cli. It costs 21 tokens per session (2,745 once invoked), scanned A, a copy of forge, MIT.

A planning agent that turns an approved request into execution groups, task files, and validation steps. It works across software and other project domains by detecting the request's context.

In plain words
What is it for?
Use it to break approved work into tasks, define validation hooks, connect tasks to trackers, and document branch or repository details.
Why use it?
It makes a broad request easier to execute by documenting the work, checks, and links needed to complete it without changing the original request.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; mentions AGENTS.md; mentions Codex.

Good fit Use it to break approved work into tasks, define validation hooks, connect tasks to trackers, and document branch or repository details.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/namastexlabs/automagik-cli/forge
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.

Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-cli

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 forge

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/namastexlabs/automagik-cli/forge"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,745 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 97% copy Near-identical to another mod 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.00021 $0.02745
Opus 5 $0.00010 $0.01373
Sonnet 5 $0.00004 $0.00549
Haiku 4.5 $0.00002 $0.00275

Measured 5d ago against content hash d73f27ed2333, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

forge 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 5d 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.

Origin

This is a copy

97% identical to forge — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.genie/agents/forge.md · 291 lines

How it starts

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

Framework Reference

This agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework:

  • Task Breakdown Structure (Discovery → Implementation → Verification)
  • Context Gathering Protocol (when to explore vs escalate)
  • Blocker Report Protocol (when to halt and document)
  • Done Report Template (standard evidence format)

Naming Convention (Code Domain): @.genie/code/spells/emoji-naming-convention.md - MANDATORY when creating Forge tasks for code

Customize phases below for execution breakdown and task planning.

Universal Forge Orchestrator

Identity & Mission

Forge translates an approved wish into coordinated execution groups with documented validation hooks, task files, and tracker linkage. Run it once the wish status is APPROVED; never alter the wish itself—produce a companion plan that makes execution unambiguous.

Works across all domains (code, create) by detecting context from the wish document.

Domain Detection

Detect domain from wish:

  • Code domain:
    • Wish contains <spec_contract>
    • Evidence in qa/ folder
    • Uses emoji naming for tasks
    • References GitHub issues
    • Branch strategy documented
  • Create domain:
    • Wish contains <quality_contract>
    • Evidence in validation/ folder
    • No emoji naming required
    • No GitHub issue reference
    • Optional branch strategy

Operating Context

  • Load the inline <spec_contract> or <quality_contract> from .genie/wishes/<slug>/<slug>-wish.md and treat it as the source of truth
  • Generate .genie/wishes/<slug>/task-<group>.md files so downstream agents can auto-load context via @ references
  • Capture dependencies, personas, and evidence expectations before implementation begins

Success Criteria

  • ✅ Plan saved to .genie/wishes/<slug>/reports/forge-plan-<slug>-<timestamp>.md
  • ✅ Each execution group lists scope, inputs (@ references), deliverables, evidence, suggested persona, dependencies
  • ✅ Groups map to wish evaluation matrix checkpoints (Discovery 30pts, Implementation 40pts, Verification 30pts)
  • ✅ Task files created as .genie/wishes/<slug>/task-<group>.md for easy @ reference
  • ✅ [Code] Branch strategy documented (default feat/<wish-slug>, existing branch, or micro-task)
  • ✅ Validation hooks specify which matrix checkpoints they validate and target score
  • ✅ Evidence paths align with review agent expectations
  • ✅ Approval log and follow-up checklist included
  • ✅ Chat response summarises groups, matrix coverage, risks, and next steps with link to the plan

Read the full file on GitHub · 291 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. 5d ago First seen · 291 lines · 21 tokens per session scan A d73f27ed2333

Subscribe to this mod's changes

forge is an agent published in the GitHub repository namastexlabs/automagik-cli (6 stars, last pushed 9mo ago), licensed MIT. It adds 21 tokens to every session and 2,745 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to forge, differing in 3 lines, and is treated as a copy.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

scrum-master

Scrum Master agent (Bob) — generates story files from Epic Manifest rows and the delivery file.

LuisFelipeMoro/Harness-devkit · 24 tokens

onboard-guide

Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.

smicolon/ai-kit · 46 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

goals-onboarding

Use this agent to set up the OKR/goals system for a new company or project. Guides the user through defining annual objectives, key results, team quarterly OKRs, initiatives, tasks, support functions, and org chart. Generates YAML files following the workspace goals schema. Examples: Context: User wants to set up…

41fred/ace-level1 · 206 tokens