carouselbot: Instructions file for Codex

AGENTS.md

carouselbot AGENTS.md is an instructions file for Codex, OpenCode from alexgusevski/carouselbot. It costs 815 tokens per session, scanned A, original, MIT.

Repository instructions for CarouselBot, a local-first browser editor. They describe the source layout, important modules, project rules, and verification requirements.

In plain words
What is it for?
Working on the editor model, state, storage, rendering, interactions, projects, and related build or deployment tasks.
Why use it?
They help coding agents change the correct source files while avoiding generated files and unintended behavior changes.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alexgusevski/carouselbot/agents-md"><img src="https://agentmods.dev/badge/instructions/alexgusevski/carouselbot/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 815 This file is loaded in full into every session.
When invoked 815 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.00815 $0.00815
Opus 5.5 $0.00326 $0.00326
Sonnet 5.5 $0.00163 $0.00163
Haiku 4.5 $0.00081 $0.00081

Measured 2mo ago against content hash 5a7eac65a90a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

carouselbot 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 2mo 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 · 57 lines

How it starts

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

Repository guidance

CarouselBot is a dependency-light, local-first browser editor. Keep changes focused and preserve existing behavior unless the task explicitly calls for a product change.

Source layout

Browser application source lives in src/. The root app.js is only the compatibility bootloader; do not add editor logic to it. dist/ is generated and must not be edited directly.

  • src/editor-model.mjs — constants and browser-independent model, color, geometry, text-wrapping, and filename helpers.
  • src/editor-state.mjs — shared editor state, selectors, selection, and state-aware geometry.
  • src/project-store.mjs — IndexedDB revision checks and cross-tab project notifications.
  • src/editor-view.mjs — markup and DOM/text painting.
  • src/slide-renderer.mjs — full-resolution canvas rendering.
  • src/layer-interactions.mjs — pointer, crop, drag, resize, rotate, and inline-text interactions. It receives stateful controller callbacks instead of importing the controller.
  • src/editor-projects.mjs — project history, persistence coordination, routing, migration, and dashboard workflows.
  • src/editor-actions.mjs — layer, text, slide, asset, upload, drop, and clipboard workflows.
  • src/editor-output.mjs — dashboard covers, slide thumbnails, PNG downloads, and sharing.
  • src/editor-ui.mjs — editor/dashboard rendering, DOM event binding, menus, inspector controls, selection, and canvas behavior.
  • src/editor.mjs — composition, initialization, global event wiring, and the stable controller facade.
  • src/agent-commands.mjs — compatibility agent command surface; it is a leaf module.
  • src/main.mjs — startup only.

The dependency direction is documented in docs/ARCHITECTURE.md. Feature controllers receive their cross-workflow dependencies from editor.mjs; they must not import one another or the facade. Use narrowly scoped callbacks when a workflow crosses an ownership boundary.

Invariants

  • Projects remain local to IndexedDB. Do not add network storage or uploads.
  • Preserve the canonical carouselbot-db, legacy slide-studio-db, projects store, project revision compare-and-swap behavior, and cross-tab notifications.
  • Export dimensions remain 1080 × 1920. Layer positions and sizes are normalized to the stage.
  • The model calls placed images overlays; the public agent protocol calls them images. Preserve that translation.
  • Preserve window.carouselBotReady, window.slideStudioReady, window.carouselBotAgent, and window.slideStudioAgent.
  • Keep the MCP protocol version and command behavior compatible with the companion package.
  • Do not change design, copy, DOM hooks, geometry, or rendering as part of an architectural cleanup.

Read the full file on GitHub · 57 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. 2mo ago First seen · 57 lines · 815 tokens per session scan A 5a7eac65a90a

Subscribe to this mod's changes

carouselbot AGENTS.md is an instructions file published in the GitHub repository alexgusevski/carouselbot (27 stars, last pushed 1mo ago), licensed MIT. It adds 815 tokens to every session, about $0.0033 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

carouselbot AGENTS.md compared with instructions from other repositories

carouselbot AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
carouselbot AGENTS.mdalexgusevski/carouselbotInstructions file271mo agoMITA815Codex, 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