Harness-devkit: Instructions file for Codex

AGENTS.md

Harness-devkit AGENTS.md is an instructions file for Codex, OpenCode from LuisFelipeMoro/Harness-devkit. It costs 602 tokens per session, scanned A, original, MIT.

Repository instructions for Harness-devkit, a library of plugins, skills, and agents used by coding tools. They tell different coding agents which engineering rules to follow.

In plain words
What is it for?
Use them when changing the Harness-devkit repository, especially when following its coding, security, testing, delivery, and Git worktree rules.
Why use it?
They keep agents from using inconsistent standards, skipping required checks, or merging work directly into the main branch. They also clarify that tests are written after implementation and then deliberately checked to ensure they can catch failures.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is LuisFelipeMoro/Harness-devkit's own configuration. It tells Codex and OpenCode how to work on Harness-devkit 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 Harness-devkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LuisFelipeMoro/Harness-devkit. 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/LuisFelipeMoro/Harness-devkit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/LuisFelipeMoro/Harness-devkit

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 Harness-devkit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/luisfelipemoro/harness-devkit/agents-md"><img src="https://agentmods.dev/badge/instructions/luisfelipemoro/harness-devkit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 602 This file is loaded in full into every session.
When invoked 602 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.00602 $0.00602
Opus 5.5 $0.00241 $0.00241
Sonnet 5.5 $0.00120 $0.00120
Haiku 4.5 $0.00060 $0.00060

Measured 14d ago against content hash a7a4be355372, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Harness-devkit 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 14d 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 · 37 lines

How it starts

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

claude-devkit — Agent Instructions

This repo is the claude-devkit — a multi-plugin skill/agent library originally built for Claude Code. If you are Codex CLI, or another harness reading this file, working in this repo: the canonical engineering standards live in a single place to avoid drift —

Read plugins/coding-pipeline/CLAUDE.md before making any change. It covers coding discipline, quality gates, security defaults, and per-language rules that apply regardless of which harness you are.

Two conventions there are easy to get wrong and worth calling out up front:

  • Tests are written after the implementation, against a spec frozen before it — then falsified (break the code path, confirm the test fails on its own assertion, restore). Not TDD. A tautological or unfalsified test blocks handoff regardless of coverage. The one exception is a bug fix, which keeps its RED reproduction test.
  • Branching: work on the current branch; on main/master cut feat/{slug} first, never commit to main, and never push or open a PR unless asked. See plugins/coding-pipeline/references/branching.md.
  • Skills are manual: every skill is started by the user and does one job; none runs another.

Harness-specific notes

  • Skills (plugins/*/skills/*/SKILL.md) use only name:/description: (plus disable-model-invocation: true, which Codex ignores) frontmatter — this is the same shape Codex's own Skills convention expects, so they are directly usable once placed under a .agents/skills/ directory Codex scans (repo, user, or system level). See plugins/coding-pipeline/scripts/install-codex.sh to install them for Codex.
  • Agents (plugins/coding-pipeline/agents/*.md) are Claude Code Task-tool subagent definitions (tools:/model: frontmatter, dispatched by name from skills). Codex has its own declarative subagent format (~/.codex/agents/<name>.toml) — run plugins/coding-pipeline/scripts/generate-codex-agents.sh to generate one per agent, with reasoning effort mapped from the Claude model: tier. See plugins/coding-pipeline/codex/harness-adapter.md for the current mapping and known gaps (pipeline sequencing is not yet validated in a live Codex session).
  • Git hooks (plugins/coding-pipeline/git-hooks/) are plain POSIX shell and work under any harness or none at all — install via bash plugins/coding-pipeline/scripts/install-git-hooks.sh.

Read the full file on GitHub · 37 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. 14d ago Changed · +16 tokens per session a7a4be355372
  2. 2mo ago First seen · 37 lines · 586 tokens per session scan A 642f14b9ce55

Subscribe to this mod's changes

Harness-devkit AGENTS.md is an instructions file published in the GitHub repository LuisFelipeMoro/Harness-devkit (13 stars, last pushed 3d ago), licensed MIT. It adds 602 tokens to every session, about $0.0024 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

Harness-devkit AGENTS.md compared with instructions from other repositories

Harness-devkit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Harness-devkit AGENTS.mdLuisFelipeMoro/Harness-devkitInstructions file133d agoMITA602Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot