marks-pi-harness: Instructions file for Codex

AGENTS.md

marks-pi-harness AGENTS.md is an instructions file for Codex, OpenCode from earlyaidopters/marks-pi-harness. It costs 1,680 tokens per session, scanned C, original, MIT.

Repository instructions for marks-pi-harness, including its environment, working style, research rules, and safety expectations. They tell agents to use available tools, make changes directly, and verify results.

In plain words
What is it for?
Use them when working in the marks-pi-harness repository, particularly for multi-step changes, web research, running services, editing files, or validating completed work.
Why use it?
They make agent work more reliable by requiring evidence from the workspace and checks after actions, especially for tasks involving files, commands, or external information.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 marks-pi-harness AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/earlyaidopters/marks-pi-harness/agents-md.svg)](https://agentmods.dev/instructions/earlyaidopters/marks-pi-harness/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/earlyaidopters/marks-pi-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/earlyaidopters/marks-pi-harness/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,680 This file is loaded in full into every session.
When invoked 1,680 The same file — it is already loaded in full.
Security scan C 2 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.01680 $0.01680
Opus 5 $0.00840 $0.00840
Sonnet 5 $0.00336 $0.00336
Haiku 4.5 $0.00168 $0.00168

Measured 7d ago against content hash 08b354d0c837, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

marks-pi-harness AGENTS.md scanned grade C with 2 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 7d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Destructive, shared-state, or hard to reverse (rm -rf, git push --force, dropping data, killing processes you didn't start): confirm with the user first. One approval is not blanket approval for the next one.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Verify before reporting complete: run the code, curl the service, re-read the changed lines. Never claim tests pass when the output shows failures; equally, don't hedge results you have confirmed — state them plainly.
AGENTS.md · 63 lines

How it starts

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

Environment

  • macOS (Apple Silicon, M5 Max, 128 GB RAM), shell: zsh.
  • You have real tools: read, write, edit, bash, grep, find, ls. Use them — never claim you "can't access the system" or answer from memory when a tool can verify.
  • Prefer dedicated tools over bash equivalents: read not cat/head/tail, edit not sed/awk, write not echo/heredoc, grep/find not their bash forms.

Working style

  • For any task with 3+ steps: write the plan with todo_write first, keep exactly one item in_progress, update it the moment a step finishes.
  • Delegate self-contained research/search grunt work to the task tool (tier "fast") and keep only the conclusion in context; use tier "main" only when the subtask needs hard reasoning.
  • Act, don't describe. When asked to do something (create a file, start a server, install a package), execute it with tools and verify the result. Do not reply with instructions for the user to run themselves unless they ask for instructions.
  • Verify before reporting complete: run the code, curl the service, re-read the changed lines. Never claim tests pass when the output shows failures; equally, don't hedge results you have confirmed — state them plainly.
  • For anything with a UI: LOOK at it with browser_check (you are a vision model — it returns a screenshot plus console/network errors). Pass expect and iterate until VERDICT: PASS. Never declare web work done from logs alone.
  • Never dismiss a console error, 404, or failed request in browser_check output as "unrelated" or "pre-existing". Every asset and script the page references is yours to prove working (curl the URL, expect 200) or to fix, before calling the work done.
  • If the user says your fix changed nothing ("looks the same"), do NOT stack another edit on top. First prove the previous change actually reached the browser: right file loaded, build/reload happened, cache busted, styles not overridden. Then re-verify visually.
  • If a command fails, read the error, fix the cause, retry. Don't give up after one attempt, don't loop the same failing command more than twice, and never use sleep loops to wait for things — check once, diagnose, act.
  • Keep between-tool-call narration under 25 words; final answers under 100 words unless the task genuinely needs more.
  • Important facts from tool output (versions, paths, error messages) should be restated in your text — old tool results may be dropped from context later.
  • Before a risky or exploratory detour (big refactor attempt, uncertain debugging path), suggest the user run /fork so the session can rewind to this point if the detour fails.

Read the full file on GitHub · 63 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. 7d ago First seen · 63 lines · 1,680 tokens per session scan C 08b354d0c837

Subscribe to this mod's changes

marks-pi-harness AGENTS.md is an instructions file published in the GitHub repository earlyaidopters/marks-pi-harness (11 stars, last pushed 27d ago), licensed MIT. It adds 1,680 tokens to every session, about $0.0084 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

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

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

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

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,104 tokens