html-anything AGENTS.md

html-anything AGENTS.md is an instructions file for Codex, OpenCode from nexu-io/html-anything. It costs 386 tokens per session, scanned A, original, Apache-2.0.

A project guide for html-anything, whose application is organized as a Next.js app with separate browser tests. It explains the repository layout and the commands for installing, checking, developing, and testing the project.

In plain words
What is it for?
Use it when changing the Next application, running its checks, or adding Playwright browser tests.
Why use it?
It prevents files and tests from being placed in the wrong directory and avoids relying on outdated Next.js 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/nexu-io/html-anything/agents-md
Clone the repo
git clone --depth 1 https://github.com/nexu-io/html-anything

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 html-anything AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nexu-io/html-anything/agents-md.svg)](https://agentmods.dev/instructions/nexu-io/html-anything/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nexu-io/html-anything/agents-md"><img src="https://agentmods.dev/badge/instructions/nexu-io/html-anything/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 386 This file is loaded in full into every session.
When invoked 386 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.00386 $0.00386
Opus 5 $0.00193 $0.00193
Sonnet 5 $0.00077 $0.00077
Haiku 4.5 $0.00039 $0.00039

Measured 4d ago against content hash b8a1f7290c66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

html-anything 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 4d 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 · 25 lines

What it actually says

This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in next/node_modules/next/dist/docs/ before writing any code. Heed deprecation notices.

Workspace Shape

  • Root is the public harness boundary only: workspace metadata, .github/workflows/ci.yml, scripts/guard.ts, and repository docs.
  • next/ owns the complete Next application: app routes, components, app libraries, public assets, Next config, app TypeScript config, and app unit tests.
  • e2e/ owns browser-level tests as the only source of truth: Playwright config, e2e TypeScript config, helper scripts, and flat ui/*.test.ts cases.
  • Do not add Playwright tests under next/. Do not add app source back at root src/ or root app/.
  • Root package.json must not proxy app or e2e scripts. Use pnpm workspace filters from the repository root.

Commands

  • Install: pnpm install --frozen-lockfile
  • Guard shape: pnpm exec tsx scripts/guard.ts
  • App dev: pnpm -F @html-anything/next dev
  • App typecheck: pnpm -F @html-anything/next typecheck
  • App unit tests: pnpm -F @html-anything/next test
  • App build: pnpm -F @html-anything/next build
  • E2E typecheck: pnpm -F @html-anything/e2e typecheck
  • E2E tests: pnpm -F @html-anything/e2e test
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. 4d ago First seen · 25 lines · 386 tokens per session scan A b8a1f7290c66

Subscribe to this mod's changes

html-anything AGENTS.md is an instructions file published in the GitHub repository nexu-io/html-anything (8,640 stars, last pushed 11d ago), licensed Apache-2.0. It adds 386 tokens to every session, about $0.0019 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.

Related

Other instructions, from other repositories

open-design AGENTS.md

AGENTS.md instructions for nexu-io/open-design, covering directory guide, core documentation index, workspace directories, inactive or placeholder directories and development workflow.

nexu-io/open-design · 10,281 tokens

open-codesign CLAUDE.md

Instructions for OpenCoworkAI/open-codesign, covering claude.md — open codesign, what this project is, hard constraints (do not violate), stack & conventions and frontend stack (locked).

OpenCoworkAI/open-codesign · 1,789 tokens

open-codesign AGENTS.md

Instructions for OpenCoworkAI/open-codesign, covering agents.md - open codesign, what this project is, hard constraints, ai visibility for web work and current architecture direction.

OpenCoworkAI/open-codesign · 3,343 tokens

open-design CLAUDE.md

Claude Code instructions for nexu-io/open-design, a project described as: 🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files…

nexu-io/open-design · 5 tokens

llm-wiki CLAUDE.md

Instructions for ddsyasas/llm-wiki, covering project brief for claude code, read this first, core principles, do not violate, stack lock-in and working conventions.

ddsyasas/llm-wiki · 744 tokens

ai-atelie AGENTS.md

Instructions for aiatelie/ai-atelie, covering agents.md, what this is, workspaces, common commands and conventions.

aiatelie/ai-atelie · 1,453 tokens