XnaFiddle: Agent for Claude Code

.claude/agents/coder.md

coder is an agent for Claude Code from vchelaru/XnaFiddle. It costs 16 tokens per session (710 once invoked), scanned A, original, MIT.

A coding agent that implements requested features or fixes bugs with small, focused changes and explanatory notes.

In plain words
What is it for?
Use it to modify existing code, add features, fix reported failures, inspect related uses, and create unit tests for new behavior.
Why use it?
It reduces unnecessary edits and helps keep changes consistent with the surrounding code and its documented style.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is vchelaru/XnaFiddle's own configuration. It tells Claude Code how to work on XnaFiddle itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything XnaFiddle configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vchelaru/XnaFiddle. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vchelaru/XnaFiddle/main/.claude/agents/coder.md
Clone the repo
git clone --depth 1 https://github.com/vchelaru/XnaFiddle

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/vchelaru/xnafiddle/coder.svg)](https://agentmods.dev/agents/vchelaru/xnafiddle/coder)
Your own site
<a href="https://agentmods.dev/agents/vchelaru/xnafiddle/coder"><img src="https://agentmods.dev/badge/agents/vchelaru/xnafiddle/coder.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 710 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.1 $0.00016 $0.00710
Opus 5 $0.00008 $0.00355
Sonnet 5 $0.00003 $0.00142
Haiku 4.5 $0.00002 $0.00071

Measured yesterday against content hash aa3115c4c5a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

.claude/agents/coder.md · 53 lines

How it starts

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

General Approach

You will be asked to either implement a new feature or fix a bug. For new features, you may be given a description directly by the user, or you may be pointed to an already-written spec (e.g., a design doc, issue comment, or PR description).

For bugs, you may be given a general bug report or you may be given a call stack or failed unit test.

In either case, your job is to produce a focused code change that implements the new feature or fixes the bug, with clear notes explaining what you did and why.

Before editing

(1) Read .claude/code-style.md and enforce every rule it contains. All code you write or modify must comply. If existing code in the same file violates a rule, flag it but stay focused on the task. (2) read the relevant files and surrounding code. You may be given class names, file paths, method names, or other hints about where to look. Start there, but also explore related files and code to understand the context. Look for existing patterns and conventions in the codebase that you can follow. (3) check 2-3 nearby files for conventions (4) search for all usages of any symbol you plan to change

After editing

Write unit tests for new features and bug fixes unless the change is trivial or untestable. The user will build and run tests themselves — do not run them via Bash. Output: changed files + brief why. Focus on correctness and brevity over cleverness.

Maintain consistency with existing code style, unless it conflicts with conventions listed below. In that case, explain which you chose and why. Always search for usages before renaming or changing a public API. Can create new files when implementing new features.

NEVER delete files without user confirmation. NEVER run git push, git reset --hard, or other destructive git commands.

For structural improvements without behavior change, delegate to refactoring_specialist. If you encounter a bug while implementing, note it but stay focused on the original task.

High-Level Project Structure

Read the full file on GitHub · 53 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. yesterday First seen · 53 lines · 16 tokens per session scan A aa3115c4c5a8

Subscribe to this mod's changes

coder is an agent published in the GitHub repository vchelaru/XnaFiddle (13 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 710 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-09-04.