Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/xiaojiou176-open/notebackupWrote 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.
[](https://agentmods.dev/commands/xiaojiou176-open/notebackup/notes-snapshot-preflight)<a href="https://agentmods.dev/commands/xiaojiou176-open/notebackup/notes-snapshot-preflight"><img src="https://agentmods.dev/badge/commands/xiaojiou176-open/notebackup/notes-snapshot-preflight/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.
<a href="https://agentmods.dev/commands/xiaojiou176-open/notebackup/notes-snapshot-preflight"><img src="https://agentmods.dev/badge/commands/xiaojiou176-open/notebackup/notes-snapshot-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.00296 |
| Opus 5.5 | $0.00009 | $0.00118 |
| Sonnet 5.5 | $0.00005 | $0.00059 |
| Haiku 4.5 | $0.00002 | $0.00030 |
Grade A, and why
notes-snapshot-preflight 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.
What it actually says
Apple Notes Snapshot Preflight
Use this command when you are about to wire Apple Notes Snapshot into Codex, Claude Code, OpenClaw, or another local host.
What to confirm first
- You are inside the
apple-notes-snapshotrepository, or you have setAPPLE_NOTES_SNAPSHOT_REPO_ROOTto that checkout. - The local snapshot loop has already completed at least one successful run.
./notesctl verifyand./notesctl doctor --jsonare healthy before you call an attach failure.
Minimum operator ladder
./notesctl run --no-status
./notesctl verify
./notesctl doctor --json
./notesctl status --json
Truthful boundary
- This bundle is a project-scoped wiring kit.
- It does not prove named-host attach on every machine.
- It does not turn Apple Notes Snapshot into a hosted platform or official marketplace listing.
If the user names a host
If the user mentions a host in $ARGUMENTS, remind them to use the
host-specific starter pack plus the post-attach checklist before they claim the
integration is done.
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.
- 2mo ago First seen · 41 lines · 23 tokens per session scan A 5ae4182bb21c
notes-snapshot-preflight is a command published in the GitHub repository xiaojiou176-open/notebackup (1 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 296 once invoked, about $0.0001 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.
Other commands, from other repositories
archive-mail
A command that archives Apple Mail messages involving a chosen contact into Markdown files, which are plain-text documents with simple formatting. It can use a contact filter, an output directory, or saved settings.
archive-mail-repair-synthetic-ids
A one-time repair command for archived email files whose message ID was replaced with a made-up placeholder. A message ID is the identifier email systems use to distinguish one message from another.
archive-mail-migrate
A one-time command that moves old email archive indexes and settings into the newer `.claude/.mail/` folder structure. It leaves the archived Markdown emails where they are.
archive-mail-rebuild-threads
A command that rebuilds the index connecting archived email files to their conversation threads. It reads the metadata at the top of each Markdown file and recreates the thread index file.
archive-mail-view
A command that combines the saved emails for one conversation into a single readable thread file. It finds the conversation by matching part of its key in the thread index.
archive-mail-tree
A command for finding and distributing email through a registered archive hierarchy. It first captures messages in an intake location, previews proposed destinations, and then performs or resumes the approved archival work.