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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sayhi-bzb/agent-html/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00530 $0.00530
Opus 5 $0.00265 $0.00265
Sonnet 5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured 5d ago against content hash 02f66e9ace76, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (542 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 530 tokens to every session, about $0.0027 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-08-30.