Snaptium: Instructions file for Codex

AGENTS.md

Snaptium AGENTS.md is an instructions file for Codex, OpenCode from jetyu/Snaptium. It costs 1,040 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Snaptium coding agents. It explains which other guidance files to read and sets rules for architecture, TypeScript, Electron, communication between processes, translations, services, testing, and releases.

In plain words
What is it for?
It is for directing agents to relevant project rules, checking files before coding, preserving existing patterns, and making minimal verified changes.
Why use it?
It gives an agent the project context and boundaries needed to modify Snaptium code without guessing or changing unrelated parts.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; reads ~/.codex paths; mentions Codex.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jetyu/snaptium/agents-md"><img src="https://agentmods.dev/badge/instructions/jetyu/snaptium/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,040 This file is loaded in full into every session.
When invoked 1,040 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.01040 $0.01040
Opus 5.5 $0.00416 $0.00416
Sonnet 5.5 $0.00208 $0.00208
Haiku 4.5 $0.00104 $0.00104

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

Security

Grade A, and why

Snaptium 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 · 104 lines

How it starts

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

Snaptium Agent Instructions

This file is the short, always-loaded entrypoint for AI coding agents.

Reference rule files

Follow these files when they are relevant to the task:

  • CLAUDE.md — coding behavior: think first, keep changes simple, make surgical edits, and verify.
  • docs/DevGuide.md — Snaptium architecture, TypeScript rules, Electron boundaries, IPC, i18n, service layering, testing, and release checks.

Do not copy the full contents of those files here. Read them when the task touches their scope.

Core behavior

  • Read the relevant project files before answering code questions or making changes.
  • Do not guess from memory.
  • State important assumptions before implementing.
  • If ambiguity affects architecture, data safety, security, public behavior, or user data, ask before changing.
  • For low-risk implementation details, choose the smallest reasonable solution and mention the assumption.
  • Make the minimum necessary change.
  • Do not add features that were not requested.
  • Do not refactor unrelated code.
  • Do not reformat unrelated files.
  • Match the existing style of the touched files.
  • Hard constraint: only use file naming and layering patterns already established in this repository. Do not invent a file type, suffix, or architectural layer that is neither defined by the project rules nor demonstrated by an existing repository precedent.
  • Remove only unused code introduced by your own changes.

Snaptium architecture rules

  • Snaptium is an Electron + Vue 3 + TypeScript app.
  • Respect the Electron layer boundary: Renderer → Preload/Bridge → Main.
  • Renderer must not access Node.js APIs directly.
  • Renderer must use window.electronAPI for system capabilities.
  • IPC channels must be centralized in electron/main/constants/ipc.constants.ts.
  • IPC input must be validated at the boundary.
  • Main process services provide system capabilities.
  • Renderer services should handle business orchestration.
  • Avoid duplicate logic. Reuse existing utils, services, shared, or core code before adding new helpers.

Read the full file on GitHub · 104 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 · 104 lines · 1,040 tokens per session scan A fd64fbe47b17

Subscribe to this mod's changes

Snaptium AGENTS.md is an instructions file published in the GitHub repository jetyu/Snaptium (64 stars, last pushed 12d ago), licensed Apache-2.0. It adds 1,040 tokens to every session, about $0.0042 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

Snaptium AGENTS.md compared with instructions from other repositories

Snaptium AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Snaptium AGENTS.mdjetyu/SnaptiumInstructions file6412d agoApache-2.0A1,040Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode