project-tiny-context-harness: Instructions file for Codex

AGENTS.md

project-tiny-context-harness AGENTS.md is an instructions file for Codex, OpenCode from Seven128/project-tiny-context-harness. It costs 992 tokens per session, scanned A, original, MIT.

Project-specific instructions for maintaining a small-context system that gives coding agents only the guidance needed for the current task.

In plain words
What is it for?
Maintaining the context package, updating its managed files and validators, and completing changes while keeping the main branch clean.
Why use it?
They define repository boundaries, required checks, and cleanup rules so agents can work without loading every project document at startup.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions Codex.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/seven128/project-tiny-context-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/seven128/project-tiny-context-harness/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 992 This file is loaded in full into every session.
When invoked 992 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.00992 $0.00992
Opus 5.5 $0.00397 $0.00397
Sonnet 5.5 $0.00198 $0.00198
Haiku 4.5 $0.00099 $0.00099

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

Security

Grade A, and why

project-tiny-context-harness 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 1mo 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 · 26 lines

How it starts

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

Repository maintenance

This repository maintains Tiny Context's package, canonical managed sources and maintenance commands. Use .codex/skills/authoring/harness_package_design/SKILL.md for those changes. Read relevant project Context; edit canonical owners and synchronize generated package assets.

Work directly on main unless the user selects isolation. Preserve unrelated changes. Do not create branches/worktrees or publish as a Harness workflow. Clean up only task-owned, verified-merged branches when applicable.

The approved product has two responsibilities: durable project memory and a short development contract. Historical Long-Task/DSA/DRA proof and role rules are retired; do not use them to bootstrap package development.

Tiny Context development contract

Tiny Context preserves durable project facts and this short development contract. It does not manage tasks or certify product completion.

  • Understand the user's requirements, default Context and relevant owners. Use clear source material directly; clarify real gaps without manufacturing plans, design documents or handoffs.
  • Start with project_context/global.md and project-declared defaults. ty-context context list --default is optional. Without the CLI, read the manifest directly: default Areas, read_policy = "default" nodes and their transitive default_children; default_files selects files without traversing their children. Pre-schema-5 projects also default to architecture.md. Do not install a CLI over the network merely to read files, or repeat unchanged reads. A failed query is not an empty set: resolve uncertainties material to the current change and report the remainder.
  • Identify relevant owners from the affected implementation and follow their dependencies and current controlling sources, without waiting for a trigger keyword. Reading other workspaces does not authorize editing them. Stay within the user's scope, preserve unrelated changes and respect project business, technical and safety constraints. Distinguish requirements from current implementation; do not rewrite requirements to conceal conflicts.
  • Choose implementation order, tools, decomposition and parallelism as appropriate. Before adding or materially extending a capability, inspect its owners, consumers, state/data responsibility and dependency direction. Reuse suitable capabilities from the project and target platform. Extract a shared unit when consumers must evolve together in the same responsibility, including a shared role already required on first implementation; migrate affected consumers within scope. Avoid speculative abstraction and unification based only on appearance, size or repetition. Complete the required change.
  • Before adopting a new dependency or building substantial custom machinery, consider suitable mature alternatives. Reuse decisions whose conditions still hold; bound investigation to material gaps in target support, behavior, customization, maintenance, license and integration cost. Use a small runtime trial when needed to resolve uncertainty. Suitability, not popularity, decides; justified custom implementation remains valid. Local fixes do not trigger a new selection exercise.
  • UI may be implemented and iterated directly from conversation, references and code; an independent design system or formal handoff is not a prerequisite. Reuse confirmed direction and shared components. For affected UI with adopted resources, follow the owner's current reference and scope, actually view current visual references and inspect relevant prototypes or source and behavior descriptions. Adopted resources are requirements within their declared scope. Implement faithfully in the target runtime, compare actual results under relevant comparable conditions and repair deviations. Resolve and report inaccessible inputs, conflicts or platform limits; continue independent work. Do not silently replace confirmed designs. Ordinary repairs reuse current resources without regeneration or renewed adoption; authorized design changes update affected resources and owners.
  • Choose checks based on requirements, risk and project rules, including changed boundaries, affected consumers and relevant lifecycle/failure behavior. Reuse existing tests, add meaningful regressions when needed and observe actual outputs. Derive expectations from requirements rather than copying implementation. Repair failures and rerun affected checks after relevant input changes; do not repeatedly broaden checks without a new change, failure or specific concern.
  • Update the owning Context only when durable project facts change. Keep project-specific goals, boundaries, confirmed decisions (including adopted/rejected choices), reasons, material reassessment conditions and useful entrypoints; reference exact values rather than duplicating code. Keep current resource references and scope with their owner, resources outside Context, and indices as navigation; repair relevant stale references. Optional cross-session handoff information and temporary investigation records stay task-local, outside durable Context.
  • Report implementation, decisive tradeoffs, actual checks and material unresolved items honestly. Explain unverified scope and necessary human action. Installed instructions, structural validation, design adoption, static previews, historical results, tool success and subagent summaries do not establish current product correctness or agent compliance.

Read the full file on GitHub · 26 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. 1mo ago Changed · +1 lines · +314 tokens per session 3182c685a7c1
  2. 1mo ago Changed · -81 lines · -4,501 tokens per session a373868f55b5
  3. 2mo ago First seen · 106 lines · 5,179 tokens per session scan A b3b5871e1b5b

Subscribe to this mod's changes

project-tiny-context-harness AGENTS.md is an instructions file published in the GitHub repository Seven128/project-tiny-context-harness (4 stars, last pushed 11d ago), licensed MIT. It adds 992 tokens to every session, about $0.0040 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 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 · 9,715 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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 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 · 4,261 tokens