ghostlight AGENTS.md

ghostlight AGENTS.md is an instructions file for Codex, OpenCode from sylin-org/ghostlight. It costs 3,293 tokens per session, scanned A, original, Apache-2.0.

A repository guide for Ghostlight that tells coding agents what project documents to read, in what order, and which records define the project’s current decisions and status.

In plain words
What is it for?
Use it when starting work in the Ghostlight repository, especially before changing a subsystem or reviewing its architecture.
Why use it?
It helps agents recover the project’s history and rules instead of relying on memory or making conflicting changes.

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/sylin-org/ghostlight/agents-md
Clone the repo
git clone --depth 1 https://github.com/sylin-org/ghostlight

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sylin-org/ghostlight/agents-md.svg)](https://agentmods.dev/instructions/sylin-org/ghostlight/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sylin-org/ghostlight/agents-md"><img src="https://agentmods.dev/badge/instructions/sylin-org/ghostlight/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,293 This file is loaded in full into every session.
When invoked 3,293 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.03293 $0.03293
Opus 5 $0.01647 $0.01647
Sonnet 5 $0.00659 $0.00659
Haiku 4.5 $0.00329 $0.00329

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

Security

Grade A, and why

ghostlight 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 · 231 lines

How it starts

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

Ghostlight -- agent guide

This is the canonical onboarding document for any coding agent (or human) working in this repository, regardless of which tool or model you are. CLAUDE.md is a thin pointer here. Assume you have no memory of prior sessions: everything you need is in this file and the documents it points to.

Read this first (in order)

  1. docs/MEMORY.md -- the cross-agent project memory: the owner's standing working preferences, durable cross-cutting learnings, and a pointer index to everything below. Read it first; it tells you where each kind of durable fact lives. Its sensitive/machine-local counterpart is local/NOTES.md (gitignored).
  2. docs/STATUS.md -- where the project stands right now: version state, open PRs, in-flight work, and the owed-items list. Read it before starting anything.
  3. docs/1.0/INTENT.md, docs/1.0/LANGUAGE.md, docs/1.0/ARCHITECTURE.md, and docs/1.0/ACCEPTANCE.md -- the current implementation contract.
  4. docs/adr/README.md -- the ADR index. Before touching a subsystem, read its ADR(s). ADRs are the authoritative record of every design decision; do not re-litigate a decided question, and do not silently contradict one. To change a decision, write a new ADR (or a marked amendment), never rewrite history.
  5. docs/SPEC.md -- the original design specification. Still the best deep explanation of the governance model, but ADRs supersede it where they differ.
  6. docs/DEV-LOOP.md -- read before any build/run/deploy work on a dev machine. It starts with a "when code changes, do this" table.
  7. local/MACHINE-STATE.md and local/NOTES.md -- if present (both gitignored): machine-local truth (which engine is running, install state, local gotchas) and sensitive/working memory (owner context, credential locations, session handoffs). Do not read them without explicit owner authorization. See local/README.md.
  8. CONTRIBUTING.md -- test tiers, PR expectations, and the whole-repo Apache-2.0 OR MIT / DCO contribution terms.

Read the full file on GitHub · 231 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. 4d ago First seen · 231 lines · 3,293 tokens per session scan A e2f1f03fc011

Subscribe to this mod's changes

ghostlight AGENTS.md is an instructions file published in the GitHub repository sylin-org/ghostlight (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,293 tokens to every session, about $0.0165 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-31.

Related

Other instructions, from other repositories