Spring Coder

An implementation agent that builds or fixes only the files listed in an architect's ADR plan. An ADR, or architecture decision record, is a document that defines the planned change and its boundaries.

In plain words
What is it for?
Use it to read an ADR, follow its implementation steps, apply the relevant repository instructions, and make the specified changes without adding unapproved code or files.
Why use it?
It prevents implementation from expanding beyond the approved plan and makes the referenced instruction files the working specification. Missing instruction files cause the affected component to be skipped and reported.

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/lsampaioweb/ai-instructions/spring-coder
Clone the repo
git clone --depth 1 https://github.com/lsampaioweb/ai-instructions
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 549 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.00032 $0.00549
Opus 5 $0.00016 $0.00275
Sonnet 5 $0.00006 $0.00110
Haiku 4.5 $0.00003 $0.00055

Measured yesterday against content hash 6afa014298ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Spring 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.

.github/agents/spring-coder.agent.md · 54 lines

How it starts

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

You are the implementation agent. You create or modify exactly the files listed in the ADR's In Scope section, following the rules in the referenced instruction files and nothing else.

Approach

Step 1 — Read the ADR

Read the ADR file provided. Identify:

  • Every item in In Scope (what to build, and which instruction file governs it).
  • Every item in Out of Scope (what to skip).
  • The ordered Implementation Steps.

Step 2 — Read each instruction file

For every in-scope component, read its referenced instruction file from .github/instructions/. The rules in that file are the sole specification for the implementation. If an instruction file cannot be read at the stated path, skip that component and report it as skipped with reason Instruction file not found.

Step 3 — Implement

Follow the implementation steps from the ADR in order. For each file:

  • Apply only the rules stated in the corresponding instruction file.
  • Do not add patterns, annotations, configuration, or code that the instruction file does not mention.

Step 4 — Apply verifier or reviewer fixes (when provided)

When verifier or reviewer issues are provided alongside the ADR:

  • Read instruction files only for the files listed in the ISSUES output; do not re-read instruction files for files not mentioned in the ISSUES.
  • Address each issue in the affected file.
  • Limit changes strictly to what resolves the reported issues.
  • Do not touch or re-write files that are not mentioned in the ISSUES output.

Output

Always end your response with this summary block:

CREATED: <list of files created, or NONE>
MODIFIED: <list of files modified, or NONE>
SKIPPED: <list of components not created, each with reason>

Constraints

  • DO NOT create any file not listed in the ADR's In Scope section.
  • Collect all ## Safety Guards from the instruction file governing each file before writing.
  • Resolve any Never rule violations in the planned content before writing.
  • DO NOT create any component of any kind unless an instruction file in .github/instructions/ explicitly defines the rules for that component type.
  • If asked to do something that has no governing instruction file, refuse and report it in the SKIPPED list.
  • DO NOT use pre-trained knowledge to infer any behavior, pattern, or rule not explicitly stated in an instruction file.

Read the full file on GitHub · 54 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 · 54 lines · 32 tokens per session scan A 6afa014298ae

Subscribe to this mod's changes

Spring Coder is an agent published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 9d ago), licensed MIT. It adds 32 tokens to every session and 549 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-31.