notebackup: Instructions file for Codex

AGENTS.md

notebackup AGENTS.md is an instructions file for Codex, OpenCode from xiaojiou176-open/notebackup. It costs 1,209 tokens per session, scanned A, original, MIT.

Repository instructions for Apple Notes Snapshot, a macOS tool that saves copies of Apple Notes locally.

In plain words
What is it for?
Use them when developing, documenting, checking, or cleaning up the Apple Notes Snapshot project.
Why use it?
They set rules for safe, reviewable changes and help prevent secrets, personal data, and temporary files from entering the repository.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xiaojiou176-open/notebackup/agents-md"><img src="https://agentmods.dev/badge/instructions/xiaojiou176-open/notebackup/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,209 This file is loaded in full into every session.
When invoked 1,209 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.01209 $0.01209
Opus 5.5 $0.00484 $0.00484
Sonnet 5.5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

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

Security

Grade A, and why

notebackup 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 1mo 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 · 111 lines

How it starts

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

Apple Notes Snapshot Agent Guide

This repository is a local-first Apple Notes export wrapper for macOS.

Mission

Keep the repository reviewable, path-safe, and open-source friendly.

Rules

  • Keep changes surgical.
  • Prefer fixing repo-owned wrapper code over editing vendored upstream code.
  • Keep all repo-owned documentation in English.
  • Never let real secrets, tokens, session material, personal email addresses, or live diagnostic residue enter the tracked tree, Git history, release notes, screenshots, fixtures, or public docs.
  • Prefer placeholder paths such as ${HOME}/..., /path/to/..., or <local-reference-root>/... in docs, fixtures, and examples instead of real machine-specific absolute paths.
  • Treat any dirty worktree as meaningful until proven otherwise; preserve code before cleanup, rewrite, branch deletion, or remote cutover.
  • Before destructive Git or GitHub actions, record a truth anchor and create a rollback asset such as a bundle, backup branch, or equivalent snapshot.
  • Never track .agents/, .agent/, .codex/, .claude/, .serena/, .runtime-cache/, generated/launchd/, logs/, or runtime log files.
  • AGENTS.md and CLAUDE.md may be tracked when they are part of the public repository contract.
  • Keep current tracked tree, Git history, and GitHub control-plane statements separate.

Execution hygiene

  • Treat browser sessions, cloned browser profiles, Docker containers, and caches as scarce shared machine resources, not disposable scratch space.
  • Treat .serena/ as a local MCP/shared-tool cache surface. Keep it ignored and out of repo-owned janitor governance.
  • Treat the repo-managed isolated Chrome root as persistent runtime state for this repo. It is excluded from TTL/cap janitor cleanup.
  • Before using Chrome / Chromium, inventory the current machine state first: task-owned windows, tabs, and temporary profiles must be attributable to this task.
  • If the machine already has more than 6 Chrome/Chromium instances in play, do not open another one. Prefer non-browser evidence paths, wait for cleanup, or use a non-Chrome path that you can keep isolated and short-lived.
  • Treat 6 as the hard shared-machine cap. Within that cap, still prefer one task-owned browser session when the current proof does not require more.
  • Do not open or reuse Chrome / Chromium / browser instances that belong to a different repo or another active L1 worker on the same machine.
  • Prefer one task-owned browser session at a time; close extra tabs, windows, and temporary profiles as soon as the current proof is captured.
  • If a task requires a temporary browser profile, record the path, keep it repo-scoped under .runtime-cache/browser/<task-slug>/, and delete it when the task ends.
  • A single task should default to one task-owned browser instance and the smallest possible number of tabs.
  • If the task only needs to confirm login state, do not keep reopening browser instances. Try once or twice, classify the state, and move on.
  • If the browser tooling supports background or non-focus execution, prefer it so the task does not steal focus from other active work on the shared machine.
  • Do not leave repo-owned Docker containers, images, or caches running unless the current task still actively needs them.
  • If a task starts Docker/compose/temp-server resources, those resources must be identifiable as repo-owned and must be removed before closeout unless an explicit preserved reason is recorded.
  • Every task-owned branch, worktree, and PR must end in one of three states: merged to main, salvaged to main then deleted, or closed/deleted as confirmed no-value residue.
  • GitHub repo collaboration writes are allowed only when the task explicitly includes branch / PR / review / merge / release closeout for this repo.
  • Every non-GitHub external control plane stays read-only by default. Do not perform write actions against Search Console, registrars, social platforms, video platforms, or other outside accounts unless the user explicitly re-authorizes that exact write action in the current conversation.

Read the full file on GitHub · 111 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. 1mo ago First seen · 111 lines · 1,209 tokens per session scan A 70127b795e78

Subscribe to this mod's changes

notebackup AGENTS.md is an instructions file published in the GitHub repository xiaojiou176-open/notebackup (1 stars, last pushed 4mo ago), licensed MIT. It adds 1,209 tokens to every session, about $0.0048 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens