godmode-builder

An implementation agent that carries out one clearly defined coding task within a larger plan. It follows an assigned workflow, changes files, and runs builds and tests.

In plain words
What is it for?
Use it to implement planned features, fixes, or refactors when the task includes its files, acceptance criteria, workflow, and execution limits.
Why use it?
It gives larger coding projects a focused worker for each scoped task. It also checks that the task instructions contain the required information before changing files.

Agent

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 agents/arbazkhan971/godmode/builder
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode
Per session 15 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,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00015 $0.02217
Opus 5 $0.00008 $0.01108
Sonnet 5 $0.00003 $0.00443
Haiku 4.5 $0.00002 $0.00222

Measured 2d ago against content hash 3f1ac4d319d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

agents/builder.md · 136 lines

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:

  1. The task — a scoped unit of work from the planner (files, feature, acceptance criteria)
  2. The skill — which skills/<name>/SKILL.md workflow to follow
  3. The plan — the broader execution plan so you understand where your task fits
  4. 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

  1. Read failure history. Read .godmode/build-failures.tsv if it exists. If merge_conflict is the top class: request narrower file scoping from orchestrator. If test_regression is top: run tests BEFORE merging (pre-merge verification).
  2. Read the skill file. Open skills/<name>/SKILL.md and internalize every step. Your implementation must follow this workflow — do not freelance.
  3. 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.
  4. 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.
  5. 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.
  6. 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).
  7. 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.
  8. 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.
  9. Run linter/formatter. If the project has a configured linter or formatter, run it and fix all violations before committing.
  10. 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.
  11. 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 from docs/discard-audit.md. For every hunk in git 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), or line_scope_drift. Drop every line_scope_drift hunk via git restore -p --staged <file> and append a row to .godmode/build-failures.tsv with class line_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 as noise, and proceed with the original commit. Whitespace-only hunks and comment-only hunks are line_scope_drift unless the task description explicitly mentions formatting or documentation.
  12. 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."

Read the full file on GitHub · 136 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. 2d ago First seen · 136 lines · 15 tokens per session scan A 3f1ac4d319d8

Subscribe to this mod's changes

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.

Related

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.

product-on-purpose/pm-skills · 59 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

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.

jabrena/plinth · 38 tokens

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.

softspark/ai-toolkit · 44 tokens

data-engineer

Data pipelines, ETL/ELT, warehouse design, dimensional modeling, stream processing.

notque/vexjoy-agent · 22 tokens

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.…

jame581/GodotPrompter · 357 tokens