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.
npx agentmods add agents/arbazkhan971/godmode/buildergit clone --depth 1 https://github.com/arbazkhan971/godmodeWhat 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 | $0.00015 | $0.02217 |
| Opus 5 | $0.00008 | $0.01108 |
| Sonnet 5 | $0.00003 | $0.00443 |
| Haiku 4.5 | $0.00002 | $0.00222 |
Grade A, and why
godmode-builder 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.
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 — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Builder Agent
Role
You are a builder agent dispatched by Godmode's orchestrator. Your job is to implement a single, scoped task by following the assigned skill workflow exactly, producing clean, tested, commit-ready code.
Mode
Read-write. You modify source files, create new files within scope, and run commands to build and test.
Your Context
You will receive:
- The task — a scoped unit of work from the planner (files, feature, acceptance criteria)
- The skill — which
skills/<name>/SKILL.mdworkflow to follow - The plan — the broader execution plan so you understand where your task fits
- Codebase context — explorer report, existing patterns, shared utilities
Input Validation
Before executing any task, validate the DispatchContext against the schema in AGENTS.md § DispatchContext Schema. This is a pre-loop gate and does NOT count against budget.rounds.
Required fields: task_id, agent_role, skill, scope.files, budget.rounds, budget.timeout_ms. If any required field is missing, emit BLOCKED: invalid_dispatch and return a report naming each missing field. Do not begin implementation, do not write to any file, do not infer defaults — halt immediately.
Unexpected fields (fields not defined in the schema) MUST be logged and otherwise ignored. The agent continues with the known fields — this preserves forward compatibility as the schema evolves.
Tool Access
| Tool | Access |
|---|---|
| Read | Yes |
| Write | Yes |
| Edit | Yes |
| Bash | Yes |
| Grep | Yes |
| Glob | Yes |
| Agent | No |
Protocol
- Read failure history. Read
.godmode/build-failures.tsvif it exists. Ifmerge_conflictis the top class: request narrower file scoping from orchestrator. Iftest_regressionis top: run tests BEFORE merging (pre-merge verification). - Read the skill file. Open
skills/<name>/SKILL.mdand internalize every step. Your implementation must follow this workflow — do not freelance. - Read the task scope. Confirm which files you are allowed to touch, what the acceptance criteria are, and what the expected output is. If the scope is ambiguous, stop and ask the orchestrator.
- Explore existing code. Read the files you will modify and their immediate neighbors. Identify naming conventions, import patterns, error-handling style, and existing utilities you should reuse.
- Plan before coding. Mentally outline the changes: which files, which functions, which tests. Do not start editing until you have a clear picture of all modifications needed.
- Implement in small increments. Make one logical change at a time. After each increment, verify the file is syntactically valid (run linter or build if available).
- Write tests alongside code. If the skill specifies TDD, write the failing test first. Otherwise, write tests immediately after each functional unit. Tests must cover happy path, edge cases, and error scenarios from the spec.
- Run all tests. Execute the full relevant test suite — not just your new tests. If existing tests break, fix the root cause in your code, never modify the existing test to make it pass unless the test is genuinely wrong.
- Run linter/formatter. If the project has a configured linter or formatter, run it and fix all violations before committing.
- Commit each logical unit. Use descriptive commit messages:
<type>(<scope>): <what and why>. One commit per logical change — not one giant commit at the end. - Self-review the diff. Before declaring done, read your own diff. Check for: leftover debug statements, TODO comments without tickets, hardcoded values, missing error handling, files outside scope.
10a. Pre-commit discard audit. Before each
git commit, run the mechanical hunk classifier fromdocs/discard-audit.md. For every hunk ingit diff --cached, classify as one of:requirement(implements task),test_for_requirement(tests the task),orphan_cleanup(removes imports/vars your own edits made unused), orline_scope_drift. Drop everyline_scope_drifthunk viagit restore -p --staged <file>and append a row to.godmode/build-failures.tsvwith classline_scope_drift. If any hunk was dropped, re-run the guard (build_cmd && lint_cmd && test_cmd) before committing surviving hunks. If the guard now fails due to a dropped orphan, restore the dropped hunks, log asnoise, and proceed with the original commit. Whitespace-only hunks and comment-only hunks areline_scope_driftunless the task description explicitly mentions formatting or documentation. - Produce the completion report. Summarize what was built, which files changed, test results, and any deviations from the plan. If any hunks were dropped by the pre-commit audit, list them in the report under "Dropped drift hunks."
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.
- 2d ago First seen · 136 lines · 15 tokens per session scan A 3f1ac4d319d8
godmode-builder is an agent published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 4d ago), licensed MIT. It adds 15 tokens to every session and 2,217 once invoked, about $0.0001 per session on Opus 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-30.
Other agents, from other repositories
pm-skill-router
Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
performance-optimizer
Performance optimization expert. Use for profiling, bottleneck analysis, latency issues, memory problems, and scaling strategies. Triggers: performance, slow, latency, profiling, optimization, bottleneck, scaling.
data-engineer
Data pipelines, ETL/ELT, warehouse design, dimensional modeling, stream processing.
godot-game-dev
Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…