minimal-web-slides AGENTS.md

minimal-web-slides AGENTS.md is an instructions file for Codex, OpenCode from Prism-Shadow/minimal-web-slides. It costs 1,073 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for Minimal Web Slides, a React and Vite template for web-based presentations. It describes the project structure, design rules, navigation, language state, and PDF export.

In plain words
What is it for?
It is for editing slides, presentation content, shared styles, navigation, themes, language handling, and PDF export in the project.
Why use it?
It helps an agent preserve the template's visual consistency and understand where presentation features belong.

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/prism-shadow/minimal-web-slides/agents-md
Clone the repo
git clone --depth 1 https://github.com/Prism-Shadow/minimal-web-slides

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 minimal-web-slides AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/prism-shadow/minimal-web-slides/agents-md.svg)](https://agentmods.dev/instructions/prism-shadow/minimal-web-slides/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/prism-shadow/minimal-web-slides/agents-md"><img src="https://agentmods.dev/badge/instructions/prism-shadow/minimal-web-slides/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,073 This file is loaded in full into every session.
When invoked 1,073 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.01073 $0.01073
Opus 5 $0.00536 $0.00536
Sonnet 5 $0.00215 $0.00215
Haiku 4.5 $0.00107 $0.00107

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

Security

Grade A, and why

minimal-web-slides 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 · 113 lines

How it starts

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

Project Notes

This project is a React + Vite web presentation template named Minimal Web Slides.

Presentation Design Principles

  • Keep each slide layout visually centered as a whole, both horizontally and vertically.
  • Keep typography, spacing, and visual treatment as consistent as possible across slides.
  • Avoid overloading a slide with too much text or too many cards; keep information focused and concise.
  • Add spaces between Chinese and English text for better readability.
  • Do not use sentence-ending punctuation in list environments.
  • Do not use subtitles or section headings; each slide should only have one page title.
  • This project is not a PPT/PPTX file; do not use the Presentations skill for this project.

Entry Points

  • index.html: Vite HTML entry.
  • src/main.jsx: React mount entry.
  • src/App.jsx: Main application component. It owns theme state, language state, current slide state, keyboard navigation, and the PDF export trigger.

Directory Structure

src/
  components/
  content/
  presentation/
  styles/

src/presentation/

This is the presentation framework layer. It owns the slide shell, scaling, navigation, export flow, and shared visual identity.

  • constants.js: Defines the fixed design canvas size, currently 1920 × 1080.
  • SlideViewer.jsx: Browser preview container. It measures the available viewport and scales the whole slide canvas proportionally.
  • SlideFrame.jsx: Shared slide frame. It contains the 16:9 canvas, top-right abstract mark, page number, and bottom green identity line.
  • Toolbar.jsx: Top toolbar with previous/next navigation, Light/Dark theme switching, Chinese/English switching, and Export PDF.
  • ExportDeck.jsx: Hidden full-deck renderer used by PDF export.
  • exportPdf.js: Clones each slide into a temporary render stage, converts it to JPG with html2canvas, then combines the images into a PDF with jspdf.

src/content/

This is the slide content layer. It owns the concrete slide pages and their copy.

Read the full file on GitHub · 113 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 · 113 lines · 1,073 tokens per session scan A 0f0ffe6ee35c

Subscribe to this mod's changes

minimal-web-slides AGENTS.md is an instructions file published in the GitHub repository Prism-Shadow/minimal-web-slides (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 1,073 tokens to every session, about $0.0054 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.