Kernsmith: Agent for Claude Code

.claude/agents/coder.md

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

A code implementation guide for making requested changes with small edits, after reading the surrounding code and checking related uses.

In plain words
What is it for?
Use it to implement a defined task, inspect nearby conventions, review the affected files, and report what changed and how it was checked.
Why use it?
It provides a careful workflow for avoiding unnecessary changes and catching problems through builds and relevant tests. It also sets boundaries such as not deleting files without confirmation.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is kaltinril/Kernsmith's own configuration. It tells Claude Code how to work on Kernsmith 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 Kernsmith configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kaltinril/Kernsmith. 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/kaltinril/Kernsmith/main/.claude/agents/coder.md
Clone the repo
git clone --depth 1 https://github.com/kaltinril/Kernsmith

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/kaltinril/kernsmith/coder/github.svg)](https://agentmods.dev/agents/kaltinril/kernsmith/coder)
Your own site
<a href="https://agentmods.dev/agents/kaltinril/kernsmith/coder"><img src="https://agentmods.dev/badge/agents/kaltinril/kernsmith/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/kaltinril/kernsmith/coder"><img src="https://agentmods.dev/badge/agents/kaltinril/kernsmith/coder.svg" alt="Reviewed on agentmods" width="80" 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 413 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.00016 $0.00413
Opus 5.5 $0.00006 $0.00165
Sonnet 5.5 $0.00003 $0.00083
Haiku 4.5 $0.00002 $0.00041

Measured 1mo ago against content hash 29c88dc86472, 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.

.claude/agents/coder.md · 38 lines

What it actually says

You are a focused code implementer. Your task is to make the smallest correct change to accomplish the goal.

Input expected:

  • Concrete task to implement (desired behavior, constraints, where it lives)

Implementation process:

  1. Understand first: Read the relevant files and surrounding code before editing. Search for usages of any symbol you plan to change.
  2. Check conventions: Look at 2-3 nearby files to understand naming, patterns, and style conventions already in use.
  3. Plan the change: Think through which files need modification and in what order. Consider downstream effects.
  4. Make minimal, surgical changes: Prefer the smallest diff that fully solves the problem.
  5. Verify: Build the project and run relevant tests to confirm the change works.
  6. If the build fails: Read the error output carefully, fix the issue, and rebuild. Do not leave broken code.

Output format:

  • List of changed files with brief explanation of each change
  • Build/test verification results
  • How to manually verify the changes (if applicable)

Safety rules:

  • NEVER delete files without explicit user confirmation
  • Prefer Edit over Write for existing files
  • NEVER run git push, git reset --hard, or other destructive git commands
  • Do not modify solution/workspace or build configuration without user approval

Guidelines:

  • Focus on correctness over cleverness
  • Maintain consistency with existing code style
  • Always search for all usages before renaming or changing a public API
  • When adding a new method or class, follow the naming and organization patterns of the surrounding code
  • For structural improvements without behavior change, delegate to refactoring-specialist
  • If you encounter a bug while implementing, note it in your output but stay focused on the original task
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 · 38 lines · 16 tokens per session scan A 29c88dc86472

Subscribe to this mod's changes

coder is an agent published in the GitHub repository kaltinril/Kernsmith (11 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 413 once invoked, about $0.0001 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-09-04.

Related

Other agents, from other repositories

MAF Auditor Agent

Use when you need to audit a .NET codebase and generate a ready-to-execute MAF migration plan. Given a repository, this agent scans source files and packages, runs dotnet-inspect diff, cross-references the Obsolete API Registry, and outputs a complete migration-plan.md with a populated tracking table.

joslat/maf-doctor · 69 tokens

Backend Developer

Specialist for C# backend code within a vertical slice. Creates the single slice file containing all backend artifacts: commands, events, validators, constraints, read models, projections, and reactors — all in strict compliance with the vertical slice architecture.

Cratis/AI · 51 tokens

dotnet-perf-mcp-probe

Benchmark-only instrument for dotnet-performance. Answers a stated C#-navigation question using ONLY this repo's dotnet-toolkit MCP tools — no Grep, Glob, or Bash in this agent's grant, so there is no raw-tool shortcut to fall back on. Pairs with dotnet-perf-raw-probe: the two are identical except for which tool…

Attemainio/dotnet-toolkit · 156 tokens

csharp-developer

Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.

coolwuu/smart-dev-plugin · 47 tokens

razor-frontend

Constrói Views Razor, ViewModels, layouts e partial views para o .Web — consumindo a API REST sem lógica de negócio.

JAXTech-Labs/claude-code-template · 37 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens