Borrowing it
Nothing to install: this file belongs to unbound-force/gaze. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/unbound-force/gaze/main/.opencode/commands/forge.mdgit clone --depth 1 https://github.com/unbound-force/gazeWrote 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.
[](https://agentmods.dev/commands/unbound-force/gaze/forge)<a href="https://agentmods.dev/commands/unbound-force/gaze/forge"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/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.
<a href="https://agentmods.dev/commands/unbound-force/gaze/forge"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00010 | $0.00781 |
| Opus 5.5 | $0.00004 | $0.00312 |
| Sonnet 5.5 | $0.00002 | $0.00156 |
| Haiku 4.5 | $0.00001 | $0.00078 |
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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Decompose a task and spawn parallel workers.
Critical Invariants
These rules are non-negotiable and MUST NOT be skipped:
- Review MUST complete before marking work done — step 7 (review) MUST finish before step 8 (complete). NEVER skip review.
- The review gate is mandatory —
forge_completeMUST NOT be called untilforge_reviewhas passed for every worker. NEVER bypass the review gate. - ALWAYS create a forge, even for small tasks.
- Coordinator orchestrates, workers execute — workers MUST NOT call
forge_complete.
Task
$ARGUMENTS
Workflow
- Initialize comms:
comms_init(project_path=".", task_description="Forge: <task>") - Check prior learnings:
hivemind_find(query="<task keywords>") - Decompose:
forge_decompose(task="<task>", context="<learnings>")- Before decomposing, check historical success rates:
forge_get_strategy_insights(task="<task>") - Choose from:
file-based,feature-based,risk-based, orauto
- Before decomposing, check historical success rates:
- Create epic:
org_create_epic(epic_title="<task>", subtasks=[...]) - For each subtask:
forge_spawn_subtask(bead_id, epic_id, subtask_title, files, task_classification, skill | skill_absent_reason)task_classificationis required:deterministicorjudgmentdeterministicsubtasks require askillreference (verified skill name or repo-relative script path) OR askill_absent_reason— never bothjudgmentsubtasks must omit bothskillandskill_absent_reason— supplying either fails input validation- Unverifiable references fail closed (
SKILL_NOT_FOUND); missing both fails withSKILL_REFERENCE_REQUIRED - Pass
project_pathwhen spawning against a repo other than the current directory - Forward the envelope's
skill_directiveverbatim into the worker prompt (or pass the sameskilltoforge_subtask_prompt); never write skill instructions yourself
- Monitor: check
comms_inbox()every few minutescomms_inbox()— check for messages from workersforge_status(epic_id, project_key)— check worker progressorg_cells(status="in_progress")— see active cells- If a worker is blocked: read the message with
comms_read_message(message_id), acknowledge withcomms_ack(message_id), then either unblock or reassign the subtask
- Review FIRST (before complete):
forge_review(task_id, files_touched)for each completed worker — MUST finish before step 8 - Complete (after ALL reviews pass):
forge_complete(bead_id, summary, files_touched)— mark epic doneforge_record_outcome(bead_id, duration_ms, success)— record for learninghivemind_store(information="...", tags="forge,<topic>")— store learningsorg_sync()— persist state to git
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.
- 8d ago Changed · -9 lines 5bd7fb116aa0
- 2mo ago First seen · 68 lines · 10 tokens per session scan A 336fc4a6d56b
forge is a command published in the GitHub repository unbound-force/gaze (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 10 tokens to every session and 781 once invoked, about $0.0000 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-31.
forge compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| forgeunbound-force/gaze | Command | 4 | yesterday | Apache-2.0 | A | 10 | Claude Code, OpenCode |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |