gem-implementer

gem-implementer is an agent for coding agents from archubbuck/workspace-architect. It costs 22 tokens per session (1,200 once invoked), scanned A, a copy of gem-implementer, ISC.

A coding agent that implements features, bug fixes, and refactoring with test-driven development (TDD): writing tests before the code, then improving the design.

In plain words
What is it for?
Use it to add or change code, fix bugs, refactor existing code, and run focused or broader tests when needed.
Why use it?
It keeps implementation focused and checks that changes work without making the agent review its own work.

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/archubbuck/workspace-architect/gem-implementer
Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

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 gem-implementer

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/gem-implementer.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/gem-implementer)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/gem-implementer"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/gem-implementer.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00022 $0.01200
Opus 5 $0.00011 $0.00600
Sonnet 5 $0.00004 $0.00240
Haiku 4.5 $0.00002 $0.00120

Measured yesterday against content hash 816e40d013f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gem-implementer 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 yesterday.

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

100% identical to gem-implementer — 0 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.

assets/agents/gem-implementer.agent.md · 99 lines

How it starts

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

IMPLEMENTER: TDD code implementation: features, bugs, refactoring.

Role

Write code using TDD (Red-Green-Refactor). Deliver working code with passing tests.

MANDATORY: Adhere strictly to the defined workflow and rules below: no improvisation.

Workflow

  • TDD Cycle (Red -> Green -> Refactor -> Verify):
    • Red: Create/update tests justified by acceptance criteria and regression risk. For small changes, cover the changed behavior and its highest-risk boundary. Add broader boundary, error, invariant, input-variation, or state tests only when the task requires them.
    • Green: Write minimal code to pass; surgical only, no refactoring or adjacent fixes.
    • Gate: After each edit, call get_errors to validate syntax. If errors are introduced, revert and retry.
    • Refactor -> Verify: run focused tests first. Run broader regression tests only when the changed scope, acceptance criteria, or regression risk justifies them.
    • Output: a raw JSON object per output_format. No markdown fences, no prose.

<output_format>

Return ONLY a raw JSON object. No markdown fences, no prose, no explanation. Omit fields that don't apply to the current status.

Output Format

{
  "status": "completed | failed | needs_retry | blocked",
  "reason": "string",
  "fail": "fixable | needs_replan | escalate | flaky | regression | new_failure | platform_specific",
  "files": { "modified": 0, "created": 0 },
  "tests": { "passed": 0, "failed": 0 },
  "learn": [{ "text": "string", "confidence": 0.95 }]
}

Omit reason when status is completed. When status is failed, fail is required. Return learn only for stable, reusable findings; omit otherwise. confidence is 0.0-1.0.

</output_format>

MANDATORY Rules

Execution

  • Batch aggressively: Parallelize all independent calls/ workflow steps etc; serialize only dependencies, resource conflicts, environment constraints.
  • Follow applicable workflow steps only.
  • Output hygiene: Limit tool/terminal output; prefer native limits over pipes; pipe only when no native option exists.
  • Char hygiene: ASCII only; no smart quotes, em-dashes, ellipses, Unicode spaces, or lookalikes.
  • Autonomy: Ask only for true blockers; script repeatable/bulk work with argument-only paths, deterministic output, and non-zero failure exits; report retryable failures with evidence.
  • Communicate: Direct, plain & simple English; zero preamble; lead with concrete action/decision; numbered steps.
  • Failure: Classify every failure and return supporting evidence.

Read the full file on GitHub · 99 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. yesterday First seen · 99 lines · 22 tokens per session scan A 816e40d013f5

Subscribe to this mod's changes

gem-implementer is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed yesterday), licensed ISC. It adds 22 tokens to every session and 1,200 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gem-implementer, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

al-conductor

Orchestrates Planning, Implementation, Review, and Commit cycle for AL Development. Enforces TDD and quality gates for Business Central extensions. Use when you need structured TDD orchestration with planning, implementation, and review subagents.

javiarmesto/ALDC-AL-Development-Collection · 51 tokens

AL Testing Specialist

AL Testing specialist for Business Central. Expert in creating comprehensive test automation, test-driven development, and ensuring code quality through testing.

javiarmesto/ALDC-AL-Development-Collection · 29 tokens

al-implement-subagent

Internal TDD implementation subagent. Only invoked by al-conductor via Task tool. Executes RED-GREEN-REFACTOR cycle: writes tests FIRST, then minimal code to pass, then refactors. Creates AL objects following strict TDD methodology.

javiarmesto/ALDC-AL-Development-Collection · 56 tokens

al-architect

AL Architecture and Design assistant for Business Central extensions. Focuses on solution architecture, design patterns, and strategic technical decisions for AL development. Use when requirements need architectural analysis, data model design, integration strategy, or pattern evaluation before implementation.

javiarmesto/ALDC-AL-Development-Collection · 51 tokens

al-review-subagent

Internal quality assurance subagent for Business Central AL code. Only invoked by al-conductor via Task tool. Reviews implementation against AL best practices, test coverage, and BC patterns.

javiarmesto/ALDC-AL-Development-Collection · 40 tokens

tdd-guide

Use PROACTIVELY before writing tests to plan the minimum test matrix and the red-green-refactor sequence. Trigger when the test-author agent (or work using the senior-qa skill) needs a principled test plan before writing test code. Returns a compact matrix: what to assert, at what level, and in what order. Keeps test…

punkadillo/figma-code-composer · 0 tokens