agent-lighthouse: Instructions file for Codex

AGENTS.md

agent-lighthouse AGENTS.md is an instructions file for Codex, OpenCode from ForkPoint/agent-lighthouse. It costs 3,844 tokens per session, scanned C, original, Apache-2.0.

Contributor instructions for Agent Lighthouse, a tool that scans websites to check whether AI agents can discover, read, cite, and act on their content. The repository includes command-line, web, report, and MCP components.

In plain words
What is it for?
Use them when changing audit checks, scan orchestration, command-line or web reports, the MCP server, or the website generated from audit evidence.
Why use it?
They set the evidence rule for audits: a report may claim only what documented sources support.

Instructions file for CodexOpenCode

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

This is ForkPoint/agent-lighthouse's own configuration. It tells Codex and OpenCode how to work on agent-lighthouse 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-lighthouse configures →

Reuse

Borrowing it

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

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-lighthouse AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forkpoint/agent-lighthouse/agents-md"><img src="https://agentmods.dev/badge/instructions/forkpoint/agent-lighthouse/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,844 This file is loaded in full into every session.
When invoked 3,844 The same file — it is already loaded in full.
Security scan C 1 finding. 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.03844 $0.03844
Opus 5.5 $0.01538 $0.01538
Sonnet 5.5 $0.00769 $0.00769
Haiku 4.5 $0.00384 $0.00384

Measured 12d ago against content hash fd9ba92d7fcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

agent-lighthouse AGENTS.md scanned grade C with 1 finding 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 12d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

line that counts a different set with `<!-- registry-ignore -->`. Do not
AGENTS.md · 279 lines

How it starts

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

Working in this repository

Agent Lighthouse scans a website and reports whether AI agents can discover, read, cite and act on it. This file is the contributor guide for anyone — human or agent — changing the code.

One rule sits above the rest, and everything below is a consequence of it:

An audit may only claim what a source documents. If no vendor documents a consumer, the check does not affect a site's score. Ever.

Layout

Package What it is
packages/core The audit registry, the scan orchestrator, the gatherer layer. Everything else consumes it.
packages/cli npx @forkpoint/agent-lighthouse <url>
packages/report Terminal, HTML, JSON and Markdown renderers
packages/mcp MCP server exposing a scan as a tool
packages/server Task server: runs scans as tasks and streams progress over SSE (agent-lighthouse serve)
packages/website The Astro site, built from the registry and docs/evidence/ at build time

Audits live in packages/core/src/audits/<category>/<slug>.ts, one of eight categories: access-crawl-control, agent-interfaces, agentic-commerce, answer-readiness, content-extraction, machine-discovery, operability-safety, structured-data. An audit's id is category/slug, capped at 64 characters by packages/core/src/schemas.ts.

Central audit index

Start with docs/evidence/audit-map.json for audit discovery. Its readingGuide explains each field. Select audits[] by exact ID or feature tag instead of loading all dossiers. The index includes purpose, feature tags, current page-type scope, evidence requirements, scoring metadata and source/test/dossier paths, all read from audit metadata. docs/evidence/audit-map.md has field definitions and jq examples. Read the source and dossier before changing behavior. Regenerate with pnpm build:audit-map; CI runs pnpm check:audit-map to reject stale output. Do not hand-edit generated active records.

Read the full file on GitHub · 279 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. 12d ago Changed fd9ba92d7fcc
  2. 14d ago Changed · +16 lines · +249 tokens per session scan A → C b27e41425705
  3. 15d ago Changed · -2 lines · +3 tokens per session f202b65672ae
  4. 17d ago Changed · +3 lines · +80 tokens per session 2a35480af517
  5. 18d ago Changed · +1 lines · +27 tokens per session 3423e606089d
  6. 20d ago Changed · -2 lines · +4 tokens per session 6ff3b033ce18
  7. 26d ago Changed · +59 lines · +1,000 tokens per session abf34d3d2017
  8. 1mo ago Changed · +15 lines · +226 tokens per session f14cf5101254
  9. 2mo ago Changed · +26 lines · +452 tokens per session d884ed330d7c
  10. 2mo ago First seen · 163 lines · 1,803 tokens per session scan A 16f85880350b

Subscribe to this mod's changes

agent-lighthouse AGENTS.md is an instructions file published in the GitHub repository ForkPoint/agent-lighthouse (17 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,844 tokens to every session, about $0.0154 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-lighthouse AGENTS.md compared with instructions from other repositories

agent-lighthouse AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-lighthouse AGENTS.mdForkPoint/agent-lighthouseInstructions file17yesterdayApache-2.0C3,844Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode