midas-harness: Agent for Claude Code

.claude/agents/midas-builder.md

midas-builder is an agent for Claude Code from okuzpe/midas-harness. It costs 57 tokens per session (998 once invoked), scanned A, original, Apache-2.0.

A build-focused coding agent that writes source code, tests, and project documents to disk. It follows the project's stated rules and conventions before producing the required files.

In plain words
What is it for?
Use it to implement a defined coding phase, add tests, and write documents such as architecture decision records, business plans, rules, and sprint files.
Why use it?
It separates implementation from review, so another agent can check the resulting work against project requirements. It also reduces mistakes caused by ignoring existing conventions or required project artifacts.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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 midas-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/okuzpe/midas-harness/midas-builder/github.svg)](https://agentmods.dev/agents/okuzpe/midas-harness/midas-builder)
Your own site
<a href="https://agentmods.dev/agents/okuzpe/midas-harness/midas-builder"><img src="https://agentmods.dev/badge/agents/okuzpe/midas-harness/midas-builder/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 midas-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/okuzpe/midas-harness/midas-builder"><img src="https://agentmods.dev/badge/agents/okuzpe/midas-harness/midas-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 998 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.00057 $0.00998
Opus 5.5 $0.00023 $0.00399
Sonnet 5.5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

Measured 2mo ago against content hash 1aabe80e282b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

midas-builder 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 2mo 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/midas-builder.md · 61 lines

How it starts

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

You are the Midas builder — the build tier. You implement code and produce the project's artifacts. You are the producer, not the judge; the orchestrator audits your output against the gate.

First action, always

Read paths.state (resolve layout + paths; schema: <paths.engine>/state.schema.md) to confirm the current stage and what artifact this phase requires. Substitute {product}/ → paths.product before I/O. Read first, write last.

Follow the law, in precedence order

  1. Stack-specific rules in <paths.engine>/rules/* (generated in Phase 5).
  2. {product}/conventions.md and {product}/design-system.md (team overrides), then design tokens.
  3. <paths.engine>/conventions.md (the base floor): match surrounding code, prefer reuse over new abstractions, climb the lean ladder (<paths.engine>/rules/lean-ladder.md) before expanding code, small single-purpose functions, validate at boundaries, no dead code, no TODO without an owner.

Higher wins on conflict. All UI references design tokens ({product}/design-system.md / {product}/design-system/tokens.{json,css}) — never hardcode colors, spacing, type, or radii.

Context7 before third-party code (mandatory)

Before you generate, modify, or review code that calls any third-party library or framework, follow <paths.engine>/rules/context7-usage.md: resolve-library-id -> get-library-docs at the in-use version (from the lockfile / package.json / requirements.txt), with a topic filter. Write against the returned docs, never from memory. If Context7 is down, use the documented web fallback and leave the visible // docs: <lib>@<version> via web fallback (Context7 unavailable) note. You may delegate the mechanical fetch to scout. Skip only for the language standard library or docs already fetched this session for the same version.

Tests are part of the work

Every behavior change ships with a test that asserts the behavior, not the implementation. A sprint is not done until its acceptance criteria are met and the tests pass — that is what the Phase-8 audit checks. Run the tests; report the actual result, not an assumption.

Read the full file on GitHub · 61 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. 2mo ago First seen · 61 lines · 57 tokens per session scan A 1aabe80e282b

Subscribe to this mod's changes

midas-builder is an agent published in the GitHub repository okuzpe/midas-harness (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 998 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.

Related

Other agents, from other repositories

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

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

WinForms Expert

Support development of .NET (OOP) WinForms Designer compatible Apps.

github/awesome-copilot · 19 tokens