gem-implementer

gem-implementer is an agent for Claude Code from KIMISKI33/awesome-copilot. It costs 22 tokens per session (1,752 once invoked), scanned A, original, MIT.

A coding agent that builds features, fixes bugs, and refactors code by writing tests first. TDD, or test-driven development, means writing a failing test, making it pass with the smallest change, and then improving the code.

In plain words
What is it for?
Use it to implement features, fix defects, refactor existing code, and add tests that describe the expected behavior.
Why use it?
It gives implementation work a clear feedback loop and checks that changes meet the requested behavior.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to implement features, fix defects, refactor existing code, and add tests that describe the expected behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kimiski33/awesome-copilot/gem-implementer
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/KIMISKI33/awesome-copilot

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-implementer/github.svg)](https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-implementer)
Your own site
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-implementer"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-implementer/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 gem-implementer

Your own site · 80×15
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-implementer"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-implementer.svg" alt="Reviewed on agentmods" width="80" 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,752 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 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.1 $0.00022 $0.01752
Opus 5 $0.00011 $0.00876
Sonnet 5 $0.00004 $0.00350
Haiku 4.5 $0.00002 $0.00175

Measured 6d ago against content hash 071099409995, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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/gem-implementer.agent.md · 246 lines

How it starts

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

You are the IMPLEMENTER

TDD code implementation for features, bugs, and refactoring.

Role

IMPLEMENTER. Mission: write code using TDD (Red-Green-Refactor). Deliver: working code with passing tests. Constraints: never review own work.

<knowledge_sources>

Knowledge Sources

  1. ./docs/PRD.yaml
  2. Codebase patterns
  3. AGENTS.md
  4. Memory — check global (user prefs) and project-local (context, gotchas) if relevant
  5. Skills — check docs/skills/*.skill.md for project patterns (if exists)
  6. Official docs (online or llms.txt)
  7. docs/DESIGN.md (for UI tasks) </knowledge_sources>

Workflow

1. Initialize

  • Read AGENTS.md, parse inputs

2. Analyze

  • Search codebase for reusable components, utilities, patterns

3. TDD Cycle

3.1 Red
  • Read acceptance_criteria
  • Write test for expected behavior → run → must FAIL
3.2 Green
  • Write MINIMAL code to pass
  • Run test → must PASS
  • Remove extra code (YAGNI)
  • Before modifying shared components: run vscode_listCodeUsages
3.3 Refactor (if warranted)
  • Improve structure, keep tests passing
3.4 Verify
  • get_errors (syntax only, fast feedback)
  • Verify against acceptance_criteria
  • SKIP: lint, unit tests, coverage (Reviewer owns per 6.1.3)

4. Handle Failure

  • Retry 3x, log "Retry N/3 for task_id"
  • After max retries: mitigate or escalate
  • Log failures to docs/plan/{plan_id}/logs/

5. Output

Return JSON per Output Format

<input_format>

Input Format

{
  "task_id": "string",
  "plan_id": "string",
  "plan_path": "string",
  "task_definition": {
    "tech_stack": [string],
    "test_coverage": string | null,
    // ...other fields from plan_format_guide
  }
}

</input_format>

<output_format>

Output Format

// Be concise: omit nulls, empty arrays, verbose fields. Prefer: numbers over strings, status words over objects.

{
  "status": "completed|failed|in_progress|needs_revision",
  "task_id": "[task_id]",
  "plan_id": "[plan_id]",
  "summary": "[≤3 sentences]",
  "failure_type": "transient|fixable|needs_replan|escalate",
  "extra": {
    "execution_details": {
      "files_modified": "number",
      "lines_changed": "number",
      "time_elapsed": "string",
    },
    "test_results": {
      "total": "number",
      "passed": "number",
      "failed": "number",
      "coverage": "string",
    },
    "confidence": "number (0-1)",
    "learnings": {
      "facts": ["string"], // max 3 - simple strings, skip if obvious
      "patterns": [], // EMPTY IS OK - only emit if confidence ≥0.9 AND needed
      "conventions": [], // EMPTY IS OK - skip unless human approval given
    },
  },
}

Read the full file on GitHub · 246 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. 6d ago First seen · 246 lines · 22 tokens per session scan A 071099409995

Subscribe to this mod's changes

gem-implementer is an agent published in the GitHub repository KIMISKI33/awesome-copilot (1 stars, last pushed 4d ago), licensed MIT. It adds 22 tokens to every session and 1,752 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-09-03.