shotluma: Instructions file for Codex

AGENTS.md

shotluma AGENTS.md is an instructions file for Codex, OpenCode from realZachi/shotluma. It costs 605 tokens per session, scanned A, original, MIT.

Repository instructions for Shotluma, a React and TypeScript editor built with Vite, a frontend development tool. They describe the required workflow, commands, architecture rules, and quality checks.

In plain words
What is it for?
Use them when modifying Shotluma to inspect related code, preserve user changes, update tests and documentation, run Bun commands, and pass the project's checks.
Why use it?
They give an AI coding assistant the project-specific rules needed to make safe, maintainable changes. They also specify how to verify changes before delivery.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/realzachi/shotluma/agents-md"><img src="https://agentmods.dev/badge/instructions/realzachi/shotluma/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 605 This file is loaded in full into every session.
When invoked 605 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.00605 $0.00605
Opus 5.5 $0.00242 $0.00242
Sonnet 5.5 $0.00121 $0.00121
Haiku 4.5 $0.00060 $0.00060

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

Security

Grade A, and why

shotluma 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 · 45 lines

How it starts

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

Shotluma agent instructions

Shotluma is a React 19, TypeScript, and Vite editor. Treat maintainability, user data, export accuracy, and secret handling as product behavior.

Required workflow

  1. Read this file and the linked rule documents relevant to the change.
  2. Inspect nearby code, tests, and git status before editing. Preserve unrelated user changes.
  3. Keep the change focused. Refactor an affected boundary first if the requested work would otherwise deepen a violation.
  4. Add or update tests and documentation with the implementation.
  5. Run bun run check before handing off. Do not hide failures with disabled rules or weaker thresholds.

Use Bun for all package and script operations. Never use npm or manually edit bun.lock.

Commands

  • bun install — install the locked dependencies.
  • bun run dev — start the editor at http://127.0.0.1:4173.
  • bun run typecheck — run strict TypeScript checks.
  • bun run lint — run typed ESLint, architecture, and complexity rules.
  • bun run test / bun run test:coverage — run the Vitest suite.
  • bun run build — type-check and build the production bundle.
  • bun run check — run every required local and CI quality gate.

Non-negotiable rules

  • Keep editor mutations immutable; undo/redo snapshots depend on it.
  • This public repository owns only the editor. The production marketing site is maintained privately and deployed separately; never add its source, styles, assets, or production-only configuration here.
  • Never commit secrets, private screenshots, unlicensed assets, PSD/PSB files, or generated dist/.
  • AI provider keys are entered in the browser (stored in localStorage) with optional .env.local VITE_* fallback for local dev; Moonshot and OpenCode use a same-origin CORS proxy. Never commit .env.local or deploy a keyed build.
  • Use shadcn/Base UI and Hugeicons for editor chrome. Do not add a parallel UI or token system.
  • Update generated src/components/ui/ files only with the shadcn CLI.
  • Use Conventional Commit messages and keep commits independently coherent.

Read the full file on GitHub · 45 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 · 45 lines · 605 tokens per session scan A cf40c1773ab8

Subscribe to this mod's changes

shotluma AGENTS.md is an instructions file published in the GitHub repository realZachi/shotluma (157 stars, last pushed 19d ago), licensed MIT. It adds 605 tokens to every session, about $0.0024 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

shotluma AGENTS.md compared with instructions from other repositories

shotluma AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shotluma AGENTS.mdrealZachi/shotlumaInstructions file15719d agoMITA605Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot