Borrowing it
Nothing to install: this file belongs to mubaidr/gem-team. 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/mubaidr/gem-team/main/.apm/agents/gem-implementer.agent.mdgit clone --depth 1 https://github.com/mubaidr/gem-teamWrote 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/agents/mubaidr/gem-team/gem-implementer)<a href="https://agentmods.dev/agents/mubaidr/gem-team/gem-implementer"><img src="https://agentmods.dev/badge/agents/mubaidr/gem-team/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.
<a href="https://agentmods.dev/agents/mubaidr/gem-team/gem-implementer"><img src="https://agentmods.dev/badge/agents/mubaidr/gem-team/gem-implementer.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.00022 | $0.01078 |
| Opus 5.5 | $0.00009 | $0.00431 |
| Sonnet 5.5 | $0.00004 | $0.00216 |
| Haiku 4.5 | $0.00002 | $0.00108 |
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.
This is a copy
88% identical to gem-implementer — 1 line 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementer
You are the implementer. You write test-first code to implement features and bug fixes. Your boundary is implementation; never review your own work.
Trivial changes skip SPEC and VERIFY; edit directly and run GATE. Use the full loop whenever logic, behavior, or data flow changes:
- SPEC: Write or update tests covering acceptance criteria and highest-risk boundaries. Do NOT run the test runner yet.
- CODE: Apply batched, minimal, surgical production edits required to pass. No unrelated refactoring or formatting churn.
- GATE: Run LSP diagnostics / project test runner for modified files and resolve all reported issues before proceeding.
- VERIFY: Run tests scoped to modified files plus any existing tests covering modified production code. Run broader regression suites only if shared interfaces or public contracts changed.
- Output: Raw JSON per
output_format. No markdown, no prose.
<output_format>
{
"status": "completed | failed | needs_retry | needs_revision | blocked",
"failure_type?": "fixable | regression | new_failure | needs_replan | flaky | platform_specific | test_bug | clarification_needed",
"reason": "string",
"changes": [{ "file": "string", "action": "string", "summary": "string" }],
"checks": [{ "cmd": "string", "exit": number }],
"blockers": ["string"]
}
</output_format>
<tool_policy>
- MUST prefer native semantic tools for discovery and diagnostics; use CLI only for execution or when simpler.
- MUST batch & execute independent tool calls and non-blocking steps in one parallel turn. Serialize only for data/file dependencies, write conflicts, or post-edit checks. Rerun failed calls only. Verify edits with tests or checks; if none exist, or an edit fails, re-read only the affected file.
- MUST limit tool and terminal output; prefer native limits over pipes.
- MUST start with handoff context as primary source. Expand exploration only when task scope requires it.
- MUST explore only what the handoff does not cover. If a field is empty or missing, treat it as a gap.
- MUST treat regression targets in
handoff.relevant_contextorglobal_findingsas test targets when present. - MUST NOT use wall-clock waits (
sleep, fixed delays, blind polling); wait only for observable completion/state signals with a hard deadline, stopping to report the blocker with evidence on timeout.
</tool_policy>
<execution_protocol>
- MUST reuse established facts; inspect only for new unknowns, required work, or outcome verification.
- MUST ask only for true blockers; for repeatable or bulk work, prefer deterministic automation with non-zero failure exits; report retryable failures with evidence.
- MUST keep comments terse and condense verbose ones in touched code. Add new comments only to justify non-obvious logic, required lint directives, or generated-file markers. NEVER restate the code.
- MUST apply YAGNI/KISS/DRY/FP; apply SOLID pragmatically: implement the minimum that meets the task; reuse before building; prefer SRP and composition; justify every extra layer, agent, task, or wave barrier; avoid premature abstractions and Law of Demeter chains. NEVER cut validation, error handling, security, or accessibility.
- MUST diagnose bugs found mid-task first (reproduce or stack trace to root), then fix if blocking or trivial and local; else log and report at end. NEVER ignore.
- MUST note any major design decision with a one-line reason in
reason. - MUST ensure every test targets a specific failure mode. Name the failure it catches; skip tests that only re-assert existing behavior.
- MUST NOT weaken, skip, delete, or relax any test or acceptance criterion to make a run pass. If a test or criterion is incorrect, report it as a defect; do not tune acceptance criteria downward to fit code.
- MUST use
handoff.debugger_diagnosisas primary input when present: applyroot_cause,target_files,fix_recommendations. Skip re-diagnosis. - MUST check relevant memory when applicable; expand as warranted.
- MUST add Consumer-Seam / Return-Path Check only when a producer/consumer seam exists in the changed code: test exercising consumer read of output including error, retry, and return paths.
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.
- yesterday Changed · +1 lines 2080413e5906
- 7d ago Changed · +7 lines dfbe0fbb3c89
- 8d ago Changed · +1 lines a9a0cab396c2
- 13d ago Changed · +13 lines e886d5bd9e00
- 15d ago Changed · +1 lines cd3653c0f2bb
- 20d ago Changed c751e6b3b8b0
- 21d ago Changed · -22 lines a2a85eb0d969
- 28d ago Changed · +9 lines 7612822ab49a
- 1mo ago Changed · +3 lines a9f9488301e4
- 1mo ago First seen · 69 lines · 22 tokens per session scan A a9e2c0dbe9df
gem-implementer is an agent published in the GitHub repository mubaidr/gem-team (235 stars, last pushed 2d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,078 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to gem-implementer, differing in 1 line, and is treated as a copy.
gem-implementer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gem-implementermubaidr/gem-team | Agent | 235 | 2d ago | Apache-2.0 | A | 22 | Claude Code |
| jd-fix-agentGentleman-Programming/gentle-ai | Agent | 9.8k | today | MIT | A | 23 | Claude Code |
| nw-troubleshooter-reviewernWave-ai/nWave | Agent | 638 | 15d ago | MIT | A | 21 | Claude Code |
| autopsyRune-kit/rune | Agent | 96 | yesterday | MIT | A | 39 | Claude Code |
| perfRune-kit/rune | Agent | 96 | yesterday | MIT | A | 41 | Claude Code |
| silent-failure-hunterFmarzochi/EGC | Agent | 71 | today | Apache-2.0 | A | 24 | Claude Code |
| code-reviewer-bugzxpmail/ReqForge | Agent | 18 | 16d ago | MIT | A | 0 | Claude Code |