harness-template: Instructions file for Codex

AGENTS.md

harness-template AGENTS.md is an instructions file for Codex, OpenCode from SisyphusSQ/harness-template. It costs 240 tokens per session, scanned A, original, MIT.

Repository instructions for a project-harness template, including its initialization scripts, verification commands, migration rules, and release practices. A fixture is a temporary test setup used to reproduce a scenario.

In plain words
What is it for?
Use them when changing project initialization, migrations, symlinks, archives, release files, or behavior tests in this template repository.
Why use it?
They clarify which files are authoritative, how to preserve existing project files, and how to test changes across Bash, PowerShell, and Python entry points.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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-template AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sisyphussq/harness-template/agents-md"><img src="https://agentmods.dev/badge/instructions/sisyphussq/harness-template/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 240 This file is loaded in full into every session.
When invoked 240 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.00240 $0.00240
Opus 5 $0.00120 $0.00120
Sonnet 5 $0.00048 $0.00048
Haiku 4.5 $0.00024 $0.00024

Measured today against content hash 2f709a0927e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

harness-template 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 today.

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 · 12 lines

What it actually says

初始化器维护入口

  • template/ 是默认项目模板;plugins/project-workflows/ 是按需使用的技能包。
  • scripts/init_harness_project.py 是 Bash、PowerShell 共用的唯一初始化实现。
  • 修改后运行 make verify;它只使用临时目录和本地 Git fixture,不调用外部系统。
  • Windows 也可运行 python scripts/verify_harness_source.py;没有 PowerShell runtime 时必须报告该包装入口未实跑。
  • 覆盖、迁移、符号链接、归档和发版文件改写需要行为测试;不要用固定文件数或禁词检查替代行为验证。
  • 保留已有业务文件;普通初始化不得清理历史文件。迁移见 docs/migration-v0.7.md。
  • 用户指令和本次已有授权优先于技能中的通用指南,不重复请求已获得的授权。
  • 提交与发版收尾复用开发阶段验证结果,不重复运行测试。
  • 交付平台遵循用户指定;本仓 github 远端与 origin 远端可能指向不同平台,操作前确认目标。
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. today First seen · 12 lines · 240 tokens per session scan A 2f709a0927e6

Subscribe to this mod's changes

harness-template AGENTS.md is an instructions file published in the GitHub repository SisyphusSQ/harness-template (11 stars, last pushed today), licensed MIT. It adds 240 tokens to every session, about $0.0012 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-13.

Related

Other instructions, from other repositories

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

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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 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