skilled-agent-harness_spec-driven-loops: Instructions file for Codex

AGENTS.md

skilled-agent-harness_spec-driven-loops AGENTS.md is an instructions file for Codex, OpenCode from MichelKerkmeester/skilled-agent-harness_spec-driven-loops. It costs 10,828 tokens per session, scanned A, original, MIT.

A set of repository instructions that defines how an AI coding assistant should route work, follow safety rules, document changes, and verify results.

In plain words
What is it for?
Use it to guide work across multiple repositories, enforce pre-execution checks, choose the right coding workflow, and require evidence before claiming completion.
Why use it?
It gives development tasks consistent rules and prevents the assistant from making unverified or poorly scoped changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: reads ~/.codex or $CODEX_HOME, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is MichelKerkmeester/skilled-agent-harness_spec-driven-loops's own configuration. It tells Codex and OpenCode how to work on skilled-agent-harness_spec-driven-loops 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 skilled-agent-harness_spec-driven-loops configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to MichelKerkmeester/skilled-agent-harness_spec-driven-loops. 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/MichelKerkmeester/skilled-agent-harness_spec-driven-loops/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops

Made for: Codex, OpenCode.

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 skilled-agent-harness_spec-driven-loops AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md/github.svg)](https://agentmods.dev/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md"><img src="https://agentmods.dev/badge/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md/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 skilled-agent-harness_spec-driven-loops AGENTS.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md"><img src="https://agentmods.dev/badge/instructions/michelkerkmeester/skilled-agent-harness_spec-driven-loops/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,828 This file is loaded in full into every session.
When invoked 10,828 The same file โ€” it is already loaded in full.
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.10828 $0.10828
Opus 5 $0.05414 $0.05414
Sonnet 5 $0.02166 $0.02166
Haiku 4.5 $0.01083 $0.01083

Measured 2d ago against content hash 168bd435053f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

skilled-agent-harness_spec-driven-loops AGENTS.md 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 2d 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.

AGENTS.md ยท 507 lines

How it starts

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

AI Assistant Framework (Universal Template)

Universal behavior framework defining guardrails, standards, and decision protocols.


Multi-Repository Architecture

Universal Framework: Code work routes through the sk-code skill, which auto-detects the active surface and loads its patterns and verification; unrecognized surfaces trigger a disambiguation question. Detection markers and per-surface patterns live in .opencode/skills/sk-code/SKILL.md ยง2 Smart Routing.

Repo-Local Layer: This document is shared across repositories, so anything belonging to ONE repository lives beside it in that repository's root REPO RULES.md โ€” a router to per-rule documents under repo-rules/. Gate 5 (ยง2) makes reading it mandatory before your first write, where the repository has one. Its rules bind exactly as this document's do; where the two appear to disagree, this document wins.

The Iron Law: NO completion claims without running stack-appropriate verification.


1. ๐Ÿšจ CRITICAL RULES โ€” HARD BLOCKERS

The Four Laws โ€” HARD BLOCKERS (cannot be overridden)

Expanded by scope-discipline.md (Law 2), evidence-and-proof.md (Law 3), and root-cause-and-debugging.md (Law 4).

  1. READ FIRST โ€” Never edit a file without reading it first. Understand context before modifying.
  2. SCOPE LOCK โ€” Only modify files explicitly in scope. NO "cleaning up" or "improving" adjacent code. Scope in spec.md is FROZEN.
  3. VERIFY โ€” Syntax checks and tests MUST pass before claiming completion. NO blind commits.
  4. HALT โ€” Stop immediately if uncertain, if line numbers don't match, or if tests fail.

Law 4 blocks forward progress and completion while a check is failing. A failing check may enter the bounded remediation loop in Section 3, but the hard stop remains until the authoritative gate passes.

PLAN-WORKFLOW LOCK โ€” HARD BLOCKER (cannot be overridden)

Read the full file on GitHub ยท 507 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. 2d ago Changed ยท +21 tokens per session 168bd435053f
  2. 3d ago Changed ยท +187 tokens per session 0530c3cd7c99
  3. 5d ago First seen ยท 507 lines ยท 10,620 tokens per session scan A e7bc9461fe41

Subscribe to this mod's changes

skilled-agent-harness_spec-driven-loops AGENTS.md is an instructions file published in the GitHub repository MichelKerkmeester/skilled-agent-harness_spec-driven-loops (35 stars, last pushed today), licensed MIT. It adds 10,828 tokens to every session, about $0.0541 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-09-03.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness ยท 3,735 tokens