Agent-HTML: Instructions file for Codex

AGENTS.md

Agent-HTML AGENTS.md is an instructions file for Codex, OpenCode from Sayhi-bzb/Agent-HTML. It costs 530 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for a specific project, covering code exploration with GitNexus, documentation, content routes, and file-archiving rules.

In plain words
What is it for?
Use them when exploring code, changing shared functions or APIs, writing documentation, editing content routes, or verifying the scope of code changes.
Why use it?
They give coding agents project-specific rules and checks, reducing the risk of making changes that overlook dependencies or repository conventions.

Instructions file for CodexOpenCode

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

This is Sayhi-bzb/Agent-HTML's own configuration. It tells Codex and OpenCode how to work on Agent-HTML 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 Agent-HTML configures →

Reuse

Borrowing it

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

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 Agent-HTML AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sayhi-bzb/agent-html/agents-md"><img src="https://agentmods.dev/badge/instructions/sayhi-bzb/agent-html/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 530 This file is loaded in full into every session.
When invoked 530 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.00530 $0.00530
Opus 5.5 $0.00212 $0.00212
Sonnet 5.5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

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

Security

Grade A, and why

Agent-HTML 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 · 55 lines

How it starts

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

GitNexus

This repo is indexed by GitNexus as Agent-HTML. Use GitNexus MCP for code exploration, impact analysis, and change verification.

Rules:

  • Before editing any function, class, method, or shared API, run gitnexus_impact({ target: "<symbol>", direction: "upstream" }).
  • Before finishing a code-change task, run gitnexus_detect_changes({ scope: "all" }) and confirm the affected scope is expected.
  • If the index is stale, re-index only with npx gitnexus analyze --skip-agents-md.
  • Do not run bare npx gitnexus analyze; it rewrites the GitNexus sections in AGENTS.md and CLAUDE.md.

Useful resources:

  • gitnexus://repo/Agent-HTML/context
  • gitnexus://repo/Agent-HTML/processes
  • gitnexus://repo/Agent-HTML/process/{name}

Docs Writing Rules

Apply these rules when writing or editing docs.

  • Use high-information wording that locks direction with the fewest sufficient terms.
  • Do not add broad, repeated, or low-marginal words when existing terms already identify the concept.
  • Keep one source of truth for each fact, principle, or decision; link to it instead of restating it.
  • Keep one stable name for each concept.
  • Keep route files narrow: one page should own one kind of question.
  • Write docs as agent context routes and owner maps. Human-readable prose is the interface agents parse, cite, and follow.
  • Avoid human-oriented background or tutorial framing unless it changes the next correct agent action.
  • Prefer restrained, minimal, sufficient writing over exhaustive explanation.

Content Routes

Use the smallest route for the task before searching broadly.

  • Canvas: apps/docs/content/docs/index.mdx, then agent-html/README.md
  • Taste and agent ergonomics: taste/README.md
  • Archive: _archive/README.md

Canvas Constitution

Canonical source: apps/docs/content/docs/index.mdx.

Canvas governs the current isolated React artifact workspace for agents. Use the canonical source before changing Canvas docs, agent-html, artifact/block composition, local resources, host inspection, or block prompt behavior.

Read the full file on GitHub · 55 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 First seen · 55 lines · 530 tokens per session scan A 02f66e9ace76

Subscribe to this mod's changes

Agent-HTML AGENTS.md is an instructions file published in the GitHub repository Sayhi-bzb/Agent-HTML (349 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 530 tokens to every session, about $0.0021 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-30.

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,649 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,549 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,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens