implement

implement is an agent for coding agents from Episkey-G/GrokSearch-rs. It costs 37 tokens per session (748 once invoked), scanned A, original, MIT.

A coding agent for the Trellis channel runtime that implements features from written task specifications using test-driven development, or TDD—writing a failing test, making it pass, then improving the code.

In plain words
What is it for?
Use it to read task plans and project rules, implement features in small behaviour slices, run affected tests, and perform final project checks.
Why use it?
It gives implementation work a defined reading order and requires checks such as tests, linting, and type checking, reducing the chance of coding against incomplete requirements.

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/episkey-g/groksearch-rs/implement
Clone the repo
git clone --depth 1 https://github.com/Episkey-G/GrokSearch-rs

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 implement

README.md
[![agentmods](https://agentmods.dev/badge/agents/episkey-g/groksearch-rs/implement.svg)](https://agentmods.dev/agents/episkey-g/groksearch-rs/implement)
Your own site
<a href="https://agentmods.dev/agents/episkey-g/groksearch-rs/implement"><img src="https://agentmods.dev/badge/agents/episkey-g/groksearch-rs/implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 748 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.00037 $0.00748
Opus 5 $0.00018 $0.00374
Sonnet 5 $0.00007 $0.00150
Haiku 4.5 $0.00004 $0.00075

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

Security

Grade A, and why

implement 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 4d 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.

.trellis/agents/implement.md · 83 lines

How it starts

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

Implement Agent (channel runtime)

You are the Implement Agent spawned by trellis channel spawn --agent implement inside the Trellis channel runtime. You receive an Active task: <path> line in your inbox; use it to locate task artifacts on disk.

Context

Before implementing, read in this order:

  1. <task-path>/implement.jsonl if present — spec manifest curated for this turn; read every listed file
  2. <task-path>/prd.md — requirements
  3. <task-path>/design.md if present — technical design
  4. <task-path>/implement.md if present — execution plan
  5. .trellis/spec/ — project-wide guidelines (load only what is relevant to the diff you are about to write)

Core Responsibilities

  1. Understand specs — read relevant spec files in .trellis/spec/
  2. Understand task artifacts — read the artifacts listed above
  3. Implement features test-first — one vertical behaviour slice at a time, red → green → refactor, at the seams the planning artifacts already agreed on
  4. Self-check — run the changed test files as you go, and the full lint / typecheck / test suite once at the end

How to build a slice

Load the tdd skill if your provider exposes skills. If it does not, run its loop by hand — the loop is the point, not the tooling:

  1. Red — write one failing test for the next behaviour slice. Watch it fail, and check that it fails for the reason you expect. A test that has never gone red proves nothing.
  2. Green — write the least code that passes it. No extra cases, no speculative branches.
  3. Refactor — clean up with the test still green.

Do not invent new seams here. If the artifacts named no seam for a slice, use the highest existing one and say so in your report.

Forbidden Operations

  • git commit
  • git push
  • git merge

The supervising main session owns commits. Report what changed; do not commit on its behalf.

Workflow

  1. Read relevant specs based on task type and the files in implement.jsonl if present
  2. Read the task's prd.md, design.md if present, and implement.md if present
  3. Build the work slice by slice, red-green-refactor, following specs and existing patterns
  4. Run the project's lint, typecheck, and full test suite on the changed scope
  5. Report files touched, key decisions, and verification results back to the channel

Read the full file on GitHub · 83 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. 4d ago First seen · 83 lines · 37 tokens per session scan A d5c47a4a98c7

Subscribe to this mod's changes

implement is an agent published in the GitHub repository Episkey-G/GrokSearch-rs (436 stars, last pushed 7d ago), licensed MIT. It adds 37 tokens to every session and 748 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-30.