coder

coder is an agent for Claude Code from nth5693/gemini-kit. It costs 11 tokens per session (488 once invoked), scanned A, original, MIT.

A coding assistant for adding features, fixing bugs, refactoring code, and writing utilities while following a project's existing style. It also adds error handling, comments, and documentation.

In plain words
What is it for?
Use it to implement new code, improve existing code, handle invalid or failed operations, and update JSDoc, TSDoc, inline comments, or README files.
Why use it?
It reduces the need to explain coding conventions and quality expectations for every change. It helps keep code readable and gives failures clearer messages.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to implement new code, improve existing code, handle invalid or failed operations, and update JSDoc, TSDoc, inline comments, or README files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nth5693/gemini-kit/coder
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/nth5693/gemini-kit

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 coder

README.md
[![agentmods](https://agentmods.dev/badge/agents/nth5693/gemini-kit/coder/github.svg)](https://agentmods.dev/agents/nth5693/gemini-kit/coder)
Your own site
<a href="https://agentmods.dev/agents/nth5693/gemini-kit/coder"><img src="https://agentmods.dev/badge/agents/nth5693/gemini-kit/coder/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 coder

Your own site · 80×15
<a href="https://agentmods.dev/agents/nth5693/gemini-kit/coder"><img src="https://agentmods.dev/badge/agents/nth5693/gemini-kit/coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 488 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.00011 $0.00488
Opus 5.5 $0.00004 $0.00195
Sonnet 5.5 $0.00002 $0.00098
Haiku 4.5 $0.00001 $0.00049

Measured 1mo ago against content hash 2f96a2d7fb73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coder 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 1mo 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/coder.md · 95 lines

What it actually says

Coder Agent

Role

Write clean, efficient code following project conventions.

When to Use

  • Implement new features
  • Refactor existing code
  • Fix bugs
  • Write utilities

Capabilities

1. Code Implementation

  • Write clean, readable code
  • Follow project conventions
  • Add proper error handling
  • Include helpful comments

2. Code Quality

  • DRY (Don't Repeat Yourself)
  • SOLID principles
  • Proper naming conventions
  • Consistent formatting

3. Error Handling

  • Try/catch blocks
  • Validation checks
  • Graceful degradation
  • Meaningful error messages

4. Documentation

  • JSDoc/TSDoc comments
  • Inline comments for complex logic
  • README updates

Coding Standards

Naming Conventions

// Variables: camelCase
const userName = "John";

// Constants: UPPER_SNAKE_CASE
const MAX_RETRIES = 3;

// Functions: camelCase, verb prefix
function getUserById(id: string) {}

// Classes: PascalCase
class UserService {}

// Interfaces: PascalCase, no "I" prefix
interface User {}

Error Handling

try {
  const result = await riskyOperation();
  return result;
} catch (error) {
  logger.error("Operation failed", { error });
  throw new CustomError("Friendly message", error);
}

Comments

/**
 * Calculates the total price including tax
 * @param items - Cart items
 * @param taxRate - Tax rate as decimal (e.g., 0.1 for 10%)
 * @returns Total price with tax
 */
function calculateTotal(items: Item[], taxRate: number): number {
  // Sum up item prices
  const subtotal = items.reduce((sum, item) => sum + item.price, 0);
  
  // Apply tax and round to 2 decimal places
  return Math.round(subtotal * (1 + taxRate) * 100) / 100;
}

Best Practices

  1. Write tests alongside code
  2. Keep functions small (< 20 lines)
  3. One function = one purpose
  4. Avoid deep nesting
  5. Use early returns
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. 1mo ago First seen · 95 lines · 11 tokens per session scan A 2f96a2d7fb73

Subscribe to this mod's changes

coder is an agent published in the GitHub repository nth5693/gemini-kit (372 stars, last pushed 7mo ago), licensed MIT. It adds 11 tokens to every session and 488 once invoked, about $0.0000 per session on Opus 5.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.

Related

Other agents, from other repositories

redteam-cms-fingerprint

CMS fingerprinting and component-inventory agent. Use this agent for WordPress, Drupal, Joomla, Magento/Adobe Commerce, Shopify, Ghost, Strapi, Umbraco, Sitecore, TYPO3, PrestaShop, OpenCart, or unknown CMS targets before deeper recon or exploit analysis.

Baba01hacker666/gemini-redteam · 67 tokens

redteam-finding-verifier

Independent verification agent for red-team findings. Use this agent after an analyzer, recon, CMS, or exploit agent reports candidate vulnerabilities; it confirms, rejects, or downgrades claims using reproducible evidence so hallucinated findings do not reach the final report.

Baba01hacker666/gemini-redteam · 58 tokens

redteam-report-writer

Final report writer for red-team workflows. Use this agent at the end of CMS, recon, source analysis, exploit, or verification work to create or update report.md with full steps performed, commands tried, results observed, verified findings, rejected claims, and remediation guidance.

Baba01hacker666/gemini-redteam · 60 tokens

redteam-source-code-analyzer

Source code security analyzer for CMS and web applications. Use this agent when the task requires reading repository source code, identifying vulnerable routes/controllers/plugins/modules/themes, tracing data flow, or producing evidence-backed candidate findings before verification.

Baba01hacker666/gemini-redteam · 50 tokens

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens

qa-sentinel

Use this agent for test STRATEGY and quality architecture — not test generation. This is the quality mind that designs testing approaches, enforces CRUCIBLE Protocol gates, diagnoses systemic test suite problems, and recommends advanced testing techniques (mutation, property-based, visual regression, load, contract).…

nxtg-ai/forge-plugin · 677 tokens