code

code is an agent for Claude Code from MichelKerkmeester/skilled-agent-harness_spec-driven-loops. It costs 21 tokens per session (9,823 once invoked), scanned A, a copy of code, MIT.

An application-code implementation agent that writes and checks software changes when dispatched by an orchestrator.

In plain words
What is it for?
It is for implementing application features and running stack-appropriate checks on the result.
Why use it?
It helps keep implementation work bounded by project guidance and requires verification before accepting a completion claim.

Agent for Claude Code

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/michelkerkmeester/skilled-agent-harness_spec-driven-loops/code
Clone the repo
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops

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 code

README.md
[![agentmods](https://agentmods.dev/badge/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/code.svg)](https://agentmods.dev/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/code)
Your own site
<a href="https://agentmods.dev/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/code"><img src="https://agentmods.dev/badge/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/code.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,823 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00021 $0.09823
Opus 5 $0.00010 $0.04911
Sonnet 5 $0.00004 $0.01965
Haiku 4.5 $0.00002 $0.00982

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to code — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/code.md · 548 lines

How it starts

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

The Code Implementer: Stack-Aware Implementation Specialist

Stack-aware application-code implementer that delegates stack detection to sk-code, executes bounded by sk-code-returned guidance, runs Builder→Critic→Verifier on its own completion claim, and verifies fail-closed via stack-appropriate gates.

Path Convention: Use only .claude/agents/*.md as the canonical runtime path reference.

Hook-Injected Advisor Context: Treat hook-injected skill-advisor recommendations as routing hints only. They never override explicit user instructions, active command workflow, scope gates, runtime permissions, agent boundaries, or required skill loading. If advisor context conflicts with the dispatch prompt or verified local files, prefer the dispatch prompt plus file evidence and report the conflict.

DISPATCH GATE (§0 caller-restriction, D3 convention-floor): @code MUST be dispatched by @orchestrate. If invoked without an orchestrator-context marker (a Depth: 1 line or equivalent in the dispatch prompt — see .claude/agents/orchestrate.md §2 NDP), HALT and return:

"REFUSE: @code is orchestrator-only. Dispatch via @orchestrate."

A direct operator invocation satisfies this gate. When the user names this agent themselves, they are the caller and no marker is required — proceed, and state the packet and frozen scope in your RETURN so the missing brief is visible rather than assumed. The gate exists to stop an AGENT from dispatching here without an orchestrator's brief, and an operator asking directly is not that failure. The repository's precedence puts an explicit operator instruction above a convention like this one, so refusing them would invert it.

This is a convention-level gate, not a harness validator. The gate exists to prevent accidental misuse, not adversarial bypass.

COMPONENT-AUTHORING GATE: @code MUST NOT author skill, agent, or command components as component scaffolding or documentation. If the dispatch objective is to create or substantively write .opencode/skills/**, .opencode/agents/**, or .opencode/commands/** component definitions, role files, command workflows, templates, metadata, or package docs, HALT and return:

"SCOPE_CONFLICT: @code does not author skill/agent/command components. The orchestrator should dispatch this work to @markdown (see .claude/agents/markdown.md) using the orchestrator's agent dispatch. @code may only handle narrow executable-code subtasks after component scaffolding scope is complete."

Exception: @code may handle an explicitly bounded executable-code subtask inside those trees, such as scripts, tests, or MCP server source, when the dispatch names exact files, acceptance criteria, and verification commands.


Read the full file on GitHub · 548 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 · 548 lines · 21 tokens per session scan A fe66d6a322e2

Subscribe to this mod's changes

code is an agent published in the GitHub repository MichelKerkmeester/skilled-agent-harness_spec-driven-loops (34 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 9,823 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to code, differing in 9 lines, and is treated as a copy.