reboot-cms: Instructions file for Codex

AGENTS.md

reboot-cms AGENTS.md is an instructions file for Codex, OpenCode from shaack/reboot-cms. It costs 1,227 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working on Reboot CMS, a database-free PHP content-management system where pages are stored as Markdown or PHP files.

In plain words
What is it for?
Use it to navigate and modify Reboot CMS projects, including pages, content blocks, add-ons, templates, configuration, web assets, and tests.
Why use it?
It gives an agent the project’s layout and routing rules, reducing the chance of editing the wrong files or misunderstanding how URLs and content work.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to shaack/reboot-cms. 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/shaack/reboot-cms/distrib/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/shaack/reboot-cms

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 reboot-cms AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shaack/reboot-cms/agents-md"><img src="https://agentmods.dev/badge/instructions/shaack/reboot-cms/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,227 This file is loaded in full into every session.
When invoked 1,227 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.01227 $0.01227
Opus 5.5 $0.00491 $0.00491
Sonnet 5.5 $0.00245 $0.00245
Haiku 4.5 $0.00123 $0.00123

Measured today against content hash 71f7dc2fca20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reboot-cms 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 today.

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 · 131 lines

How it starts

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

AGENTS.md

Guidance for AI coding agents working in a Reboot CMS project.

This file is a condensed orientation. For the full reference — installation, configuration, addons, blocks and multilingual navigation — read the project's README.md in full before making non-trivial changes.

What this is

Reboot CMS is a flat-file, database-free CMS in PHP. Content is plain Markdown, pages render through optional blocks, and every URL maps directly to a file. There is no database, no schema, and no build step for content.

Project layout

  • core/src/Shaack/ — CMS core classes (Reboot, Site, Page, Block, Request, AddOn, AddOnLoader)
  • core/addons/<Name>/ — AddOns shipped with the CMS (EmailObfuscation, LanguageRedirect, ProtectedAreas, SecureDownloads), one folder each
  • core/admin/ — admin interface (itself a Reboot CMS site)
  • site/ — the site you edit:
    • pages/ — content pages (.md or .php)
    • blocks/ — PHP templates for content blocks
    • addons/<Name>/<Name>.php — site-specific addons, one folder each with optional src/ and admin/
    • template.php — main HTML template
    • config.yml — navigation, addon registration, multilingual settings
  • web/ — document root (index.php, static assets)
  • local/ — environment config (config.yml, .htpasswd) — not in Git
  • tests/ — test suite

Routing: file = URL

A request path maps straight onto site/pages/:

  • / → pages/index.md
  • /about → pages/about.md
  • /howto/git → pages/howto/git.md
  • a folder is served by its index.md

To find a page's source, append the URL path to site/pages/. To add a page, create the file — no route registration needed. A .php page is used when no .md exists at that path.

Pages

A page is Markdown. Optional YAML frontmatter at the top sets metadata:

---
title: About
hide-nav: true
---

Templates read it with $page->meta('title', 'Default'), escaped for HTML; $page->meta('key', null, false) returns a string unescaped.

Read the full file on GitHub · 131 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. today Changed · +2 lines · +29 tokens per session 71f7dc2fca20
  2. 19d ago Changed · +1 lines · +37 tokens per session 211c75543a91
  3. 21d ago Changed · +63 tokens per session de0610c29ca9
  4. 23d ago Changed · +1 lines · +55 tokens per session 1e4e844e9e94
  5. 2mo ago First seen · 127 lines · 1,043 tokens per session scan A 53a5105f6972

Subscribe to this mod's changes

reboot-cms AGENTS.md is an instructions file published in the GitHub repository shaack/reboot-cms (51 stars, last pushed yesterday), licensed MIT. It adds 1,227 tokens to every session, about $0.0049 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

reboot-cms AGENTS.md compared with instructions from other repositories

reboot-cms AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reboot-cms AGENTS.mdshaack/reboot-cmsInstructions file51yesterdayMITA1,227Codex, 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