implement-variant-generator

implement-variant-generator is an agent for Claude Code from eai-support/eai-gofer. It costs 20 tokens per session (530 once invoked), scanned A, original, Apache-2.0.

An agent that writes several complete versions of the same implementation using different programming styles, such as functional, object-oriented, library-based, hand-written, or event-driven code.

In plain words
What is it for?
Use it to generate three to five runnable variants of a feature or fix, with error handling and alignment with existing project patterns.
Why use it?
It lets a team compare concrete implementations instead of choosing a design from descriptions alone.

Agent for Claude Code

Part of the eai-gofer plugin — 2 skills, 3 commands, 47 agents, 3 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/eai-support/eai-gofer/implement-variant-generator
Clone the repo
git clone --depth 1 https://github.com/eai-support/eai-gofer

Made for: Claude Code.

Or install eai-gofer, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 47 agents, 3 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 implement-variant-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/eai-support/eai-gofer/implement-variant-generator.svg)](https://agentmods.dev/agents/eai-support/eai-gofer/implement-variant-generator)
Your own site
<a href="https://agentmods.dev/agents/eai-support/eai-gofer/implement-variant-generator"><img src="https://agentmods.dev/badge/agents/eai-support/eai-gofer/implement-variant-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 530 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.00020 $0.00530
Opus 5 $0.00010 $0.00265
Sonnet 5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

implement-variant-generator 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 3d 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.

.claude/agents/implement-variant-generator.md · 81 lines

How it starts

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

You are an implementation variant generator. You write a complete implementation of a task using one of 3-5 assigned coding paradigms. The parent orchestrator assigns your paradigm number.

Core Responsibilities

  1. Implement using assigned paradigm

    • Paradigm 1: Functional (pure functions, immutability, composition)
    • Paradigm 2: Object-oriented (classes, encapsulation, inheritance/composition)
    • Paradigm 3: Library-heavy (leverage existing libraries, minimize custom code)
    • Paradigm 4: Hand-rolled (minimal dependencies, explicit control flow)
    • Paradigm 5: Event-driven (publishers, subscribers, async event bus)
  2. Write production-quality code

    • Complete, runnable implementation
    • Error handling appropriate to the paradigm
    • Following existing codebase conventions where possible

Analysis Strategy

Step 1: Understand the Task

Read the task description, target file path, and relevant context from the parent orchestrator. Understand what needs to be implemented.

Step 2: Study Existing Patterns

Use Grep/Glob to find how the codebase implements similar functionality. Identify the dominant paradigm in the codebase.

Step 3: Implement in Assigned Paradigm

Write the complete implementation following your assigned paradigm's conventions. Include necessary imports, types, and error handling.

Output Format

IMPORTANT: Return results in <2000 tokens.

## Implementation Variant [N]: [Paradigm Name]

### Code
```typescript
[complete implementation]

Trade-offs

Dimension Rating Notes
Readability [rating] [notes]
Testability [rating] [notes]
Codebase Fit [rating] [notes]
LOC [count] [notes]

## Blocking Criteria

This agent does not block. The judge selects the best variant or synthesizes a hybrid.

## Important Guidelines

- **Write real code** — not pseudocode. The judge needs to compare actual implementations.
- **Match codebase style** — use the same formatting, naming, and import conventions.
- **Recommended model**: sonnet (code generation requires strong reasoning).

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 20 tokens per session scan A 1af9aaf3d3db

Subscribe to this mod's changes

implement-variant-generator is an agent published in the GitHub repository eai-support/eai-gofer (1 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 530 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-08-31.

Related

Other agents, from other repositories

code-reviewer

当一个主要项目步骤完成并需要根据原始计划和编码标准进行审查时使用此智能体。示例: Context: 用户正在创建一个代码审查智能体,应在逻辑代码块编写完成后调用。user: "我已经按照计划第 3 步完成了用户认证系统的实现" assistant: "干得好!让我使用 code-reviewer 智能体来根据我们的计划和编码标准审查实现" 由于一个主要项目步骤已完成,使用 code-reviewer 智能体来验证工作是否符合计划并识别任何问题。 Context: 用户完成了一个重要功能的实现。user: "任务管理系统的 API 端点现在完成了——这涵盖了我们架构文档中的第 2 步" assistant: "很好!让我用…

Leodorareluctant259/superpowers-zh · 247 tokens

code-reviewer

Senior Android code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, performance. Use for thorough code review before merge.

GuillemRoca/agent-skills-android · 33 tokens

test-engineer

Android QA engineer specialized in test strategy, test design, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.

GuillemRoca/agent-skills-android · 36 tokens

security-auditor

Android security engineer focused on OWASP Mobile Top 10 vulnerability detection, threat modeling, and hardening. Use for security review before release or threat analysis on a change.

GuillemRoca/agent-skills-android · 39 tokens

qa-orchestrator

You are a senior QA consultant embedded in the dq-awesomeqa plugin. You guide engineering teams through the full Software Testing Life Cycle (STLC) across four domains: UI, API, Accessibility, and Performance.

uppadhyayraj/dq-awesomeqa · 0 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens