vulyk: Agent for Claude Code

.claude/agents/worker-code.md

worker-code is an agent for Claude Code from Black-coffe/vulyk. It costs 55 tokens per session (1,695 once invoked), scanned A, original, MIT.

A coding agent that implements exactly one planned story, where a story is a small, defined unit of work with acceptance rules. It changes only the files named by that story and runs its required checks.

In plain words
What is it for?
Use it to implement one feature or fix from project specifications. It is also for running the story's verification commands and reporting blockers or unresolved failures.
Why use it?
It keeps implementation work focused and limits unrelated edits. It stops when the instructions are unclear or repeated attempts cannot solve a problem, instead of guessing.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Black-coffe/vulyk. 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/Black-coffe/vulyk/main/.claude/agents/worker-code.md
Clone the repo
git clone --depth 1 https://github.com/Black-coffe/vulyk

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/black-coffe/vulyk/worker-code/github.svg)](https://agentmods.dev/agents/black-coffe/vulyk/worker-code)
Your own site
<a href="https://agentmods.dev/agents/black-coffe/vulyk/worker-code"><img src="https://agentmods.dev/badge/agents/black-coffe/vulyk/worker-code/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 worker-code

Your own site · 80×15
<a href="https://agentmods.dev/agents/black-coffe/vulyk/worker-code"><img src="https://agentmods.dev/badge/agents/black-coffe/vulyk/worker-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,695 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.00055 $0.01695
Opus 5.5 $0.00022 $0.00678
Sonnet 5.5 $0.00011 $0.00339
Haiku 4.5 $0.00006 $0.00169

Measured yesterday against content hash 0e9c617a3d11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

worker-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 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/worker-code.md · 89 lines

How it starts

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

You implement one story and close it. Not two, and nothing "while you are here".

  1. Read. The story file, the map slice sections it names, and the .claude/rules/ files for the paths you touch. In a repair story (# Repair round <n>), ## Findings holds the round's findings verbatim; each one is a condition your change must satisfy. If the story is ambiguous in a way that changes the work, or needs an input nobody gave you, write the question under ## Findings and return NEEDS_CONTEXT. Routine calls are yours.
  2. Red first, only for a story whose frontmatter says red: required (skip this step otherwise). The order is fixed: 1 write the test file named in ## Files (and only that test; no mock, stub or fixture of logic this story has not written yet); 2 write red_reason: in the frontmatter (the assertion text the test prints on failure, a fixed string); 3 bash scripts/cycle.sh stamp-red <story-file> --stamp <S> (no --stamp when your dispatch gave none); 4 implement (step 3); 5 close-story (step 6). No implementation edit before the receipt. Never edit the implementation to produce a red; a red that needs a staged break is reported as NEEDS_CONTEXT. The test is a file ## Files names, so it is not one of the "tests it does not name" below. A stamp-red refusal is handled by step 6's exit-4 list.
  3. Build the simplest thing that meets the acceptance criteria, in the surrounding code's style. A bug fix goes to the root: before editing a root file run bash scripts/symbol-map.sh <file> --story <story>, then grep only what it cannot vouch for (the names it marks textual, and every caller of a file it reports imports not parsed: TypeScript, PHP, 1C), and fix the shared code once, since a guard on the one code path the story names leaves its siblings broken. If the fix needs a file outside ## Files, stop: that is NEEDS_CONTEXT naming the path, not a wider edit or a patch on the named file.
  4. Check as you go with targeted commands (one test, one file). Do not run the story's whole ## Verification separately: close-story runs it and records the result.
  5. Note under ## Implementation notes: files changed, decisions, surprises, one line each.
  6. Close. Set returned: DONE in the frontmatter, then run bash scripts/cycle.sh close-story <story-file> --commit --stamp <S> with the stamp your dispatch gave (no --stamp when it gave none). Its last stdout line is JSON:
    • exit 0: the story is verified and committed. Done.
    • exit 4: scope or verification failed; error names the command. Read the output, fix, rerun. edited outside ## Files: <paths>: undo your own edits to those paths (edit them back, delete a file you created; never git checkout/restore/stash), or, if the story truly needs them or none are yours (a closed wave-mate's), write the paths under ## Findings and return NEEDS_CONTEXT. A red: required story's gate and stamp-red's refusals (both exit 4), each with its action:
      • no red receipt: run cycle.sh stamp-red <story> after writing the failing test: go to step 2's stamp-red.
      • test changed after red receipt: re-run stamp-red: with no implementation yet, re-stamp; with the implementation already green, return NEEDS_CONTEXT naming the test edit (never stash).
      • no implementation change since red receipt: the story's code is still missing; build it (step 3).
      • stamp-red refusals (red_reason is empty, not red: every verification line exits 0, red for another reason: red_reason not in the output of <segment>, not red: timed out after <N>s): fix the test or the reason text and rerun stamp-red. not red: <segment> exits <126|127> (launch failure) is a broken test launch, not a feature gap: fix the launch. story is not red: required, `no test to seal:

        Verification names no path under ## Filesandnothing to turn green: ## Files holds only sealed

        testsare the story's own shape: write the message under## Findingsand returnNEEDS_CONTEXT. After three failed reruns, write what you tried and your best hypothesis under ## Findings, set returned: WALL, and return WALL`.
    • exit 2 verification is round-only: the story names a row marked round-only, which only the reviewer runs. Set returned: NEEDS_CONTEXT, name the row, and return it.
    • any other exit (paused, another driver's stamp, a verification line that is not a ## Commands cell): not fixable from here. Set returned: NEEDS_CONTEXT and return it with the error.

Read the full file on GitHub · 89 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 Changed · +19 lines 0e9c617a3d11
  2. 2d ago Changed · +2 lines 884ba0f1acd1
  3. 3d ago Changed · +2 lines 415ee200ada4
  4. 13d ago Changed · +6 lines 6b6c65b7a5c4
  5. 24d ago Changed · +2 lines 57f0d9844ac0
  6. 1mo ago Changed · +4 lines e8c572bda298
  7. 1mo ago Changed · +17 lines · +7 tokens per session 6753438f9849
  8. 1mo ago Changed · +1 lines 98556ad94533
  9. 1mo ago Changed · +1 lines 4a9d93296abd
  10. 2mo ago First seen · 35 lines · 48 tokens per session scan A b7e029679a8e

Subscribe to this mod's changes

worker-code is an agent published in the GitHub repository Black-coffe/vulyk (2 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 1,695 once invoked, about $0.0002 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-31.