Maple: Instructions file for Codex

AGENTS.md

Maple AGENTS.md is an instructions file for Codex, OpenCode from OpenSecretCloud/Maple. It costs 3,485 tokens per session, scanned A, original, MIT.

Repository-wide instructions for working on the Maple application, covering its product structure, code ownership, setup, runtime environment, and security rules. A worktree is the local folder containing a checked-out version of the code.

In plain words
What is it for?
Use them before changing Maple code, installing dependencies, configuring the frontend, or starting services.
Why use it?
They help agents understand where changes belong and avoid damaging shared configuration, running services, local changes, or privacy protections.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: $skill-name invocation.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/opensecretcloud/maple/agents-md"><img src="https://agentmods.dev/badge/instructions/opensecretcloud/maple/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,485 This file is loaded in full into every session.
When invoked 3,485 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.03485 $0.03485
Opus 5.5 $0.01394 $0.01394
Sonnet 5.5 $0.00697 $0.00697
Haiku 4.5 $0.00348 $0.00348

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

Security

Grade A, and why

Maple 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 · 294 lines

How it starts

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

Maple agent guide

This file applies to the entire repository. It defines the durable rules an agent should know before changing Maple. Task-specific procedures live under .agents/skills/; load the matching skill before doing that work.

Start here

  1. Confirm the checkout, branch, and worktree state. Preserve unrelated user changes and do not switch branches or rewrite history in a dirty checkout.
  2. Read the relevant source and tests before proposing placement. Do not treat historical design documents as stronger evidence than current code.
  3. Before creating configuration or starting or stopping services, determine whether an external development environment owns this checkout's ignored environment files, local Tauri overlay, ports, or processes. Preserve those resources and follow that environment's lifecycle instructions. Standalone setup and startup examples apply only when no external orchestrator owns the affected resource.
  4. Enter the pinned environment with nix develop. Install dependencies with just install and enable the repository hook with ./setup-hooks.sh.
  5. If frontend/.env.local is absent, create it with test -e frontend/.env.local || cp frontend/.env.example frontend/.env.local. Never overwrite an existing file: it may be externally managed or contain checkout-specific backend and application configuration. Record the selected OpenSecret, feature-flags, and billing endpoints in smoke-test evidence; never put secrets in VITE_* variables.
  6. Choose the runtime you actually need: just dev is web-only; just desktop-dev is the Tauri application and is required for Agent Mode and other native behavior.

Product and runtime map

Maple is a React/Vite application packaged with Tauri for desktop and mobile. OpenSecret is its required backend. Keep these runtime paths distinct:

  • Research chat: React -> OpenAI JavaScript client -> @opensecret/react encrypted custom fetch -> OpenSecret Responses and Conversations APIs.
  • Desktop Agent Mode: React -> Maple-owned Tauri commands/events -> MapleAgentService -> embedded pinned Goose -> MapleProvider -> Rust OpenSecret SDK -> /v1/chat/completions.
  • ACP: an external client edge over a protected local socket into the same Maple Agent service. ACP is not Agent Mode's internal abstraction.
  • Local proxy: a separate user-facing OpenAI-compatible relay. Research chat and Agent Mode do not internally route through it.

Read the full file on GitHub · 294 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 · 294 lines · 3,485 tokens per session scan A d05ffaeb05f7

Subscribe to this mod's changes

Maple AGENTS.md is an instructions file published in the GitHub repository OpenSecretCloud/Maple (92 stars, last pushed 2mo ago), licensed MIT. It adds 3,485 tokens to every session, about $0.0139 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

Maple AGENTS.md compared with instructions from other repositories

Maple AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Maple AGENTS.mdOpenSecretCloud/MapleInstructions file922mo agoMITA3,485Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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