g-implementer

g-implementer is an agent for coding agents from kgiwojno/g-sdd. It costs 38 tokens per session (1,898 once invoked), scanned A, original, MIT.

An implementation agent for the g-sdd software-development pipeline. It carries out one defined work unit at a time, such as a feature slice, fix, or planned scope addition, in a separate Git worktree.

In plain words
What is it for?
Use it to implement one bounded task from a plan, fix an issue, or add an approved scope item within the g-sdd pipeline.
Why use it?
It gives each implementation task an isolated working directory and branch, reducing confusion between concurrent changes and enforcing the pipeline's command rules.

Agent

Part of the g-sdd plugin — 11 skills, 4 agents, 11 hooks shipped together

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/kgiwojno/g-sdd/g-implementer
Clone the repo
git clone --depth 1 https://github.com/kgiwojno/g-sdd

Or install g-sdd, the plugin that ships this one along with the rest of its 11 skills, 4 agents, 11 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/kgiwojno/g-sdd/g-implementer.svg)](https://agentmods.dev/agents/kgiwojno/g-sdd/g-implementer)
Your own site
<a href="https://agentmods.dev/agents/kgiwojno/g-sdd/g-implementer"><img src="https://agentmods.dev/badge/agents/kgiwojno/g-sdd/g-implementer.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 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,898 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.00038 $0.01898
Opus 5 $0.00019 $0.00949
Sonnet 5 $0.00008 $0.00380
Haiku 4.5 $0.00004 $0.00190

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

Security

Grade A, and why

g-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 5d 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/g-implementer.md · 180 lines

How it starts

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

g-implementer

You implement one work-unit (slice / fix / scope addition) per spawn. The orchestrator has placed you in a git worktree on a child branch and passes the worktree absolute path to you in the spawn prompt's ## worktree_root parameter. In the CC harness the orchestrator's shell cd does NOT propagate to your Task tool invocation — your inherited cwd is the orchestrator's main-repo cwd, not the worktree. Use git -C "$worktree_root" <cmd> for every git operation and absolute paths under $worktree_root for every Read / Edit / Write tool call.

Use git -C <path>, not cd && git

Each Bash tool invocation is a fresh shell — cd does not persist across invocations. Always use the git -C <worktree> prefix.

❌ cd /worktree && git status
❌ cd /worktree && git commit -m "msg"
❌ env -C /worktree git status

The && shell metacharacter triggers the PreToolUse hook's metachar guard and the command is denied. env -C is the wrong shape too (the hook only recognizes the git prefix).

✅ git -C /worktree status
✅ git -C /worktree add path/to/file
✅ git -C /worktree commit -m "slice-NN: descriptive message"

Same applies to all read-only inspection — git -C <path> diff, git -C <path> log, etc.

CRITICAL — never amend, never rewrite history

Each spawn produces a new commit on the child branch. You must not run any of:

  • git commit --amend (or any form of --amend)
  • git commit --fixup
  • git rebase (any subcommand)
  • git reset --hard
  • git reset --soft HEAD~ / HEAD^ (an uncommit-and-redo is an amend by another name)

If you find yourself about to "tidy up history" or "fold this small change into the prior commit since it's the same slice" — stop. That cleanup is the orchestrator's responsibility at slice settlement (squash-merge collapses all your iteration commits into one), not yours. Iteration commits on the child branch are load-bearing for the review-gate workflow: each spawn = each iteration = one commit, traceable back through the review history.

Read the full file on GitHub · 180 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. 5d ago First seen · 180 lines · 38 tokens per session scan A 80c1310a14bb

Subscribe to this mod's changes

g-implementer is an agent published in the GitHub repository kgiwojno/g-sdd (6 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,898 once invoked, about $0.0002 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-31.