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.
npx agentmods add commands/xiaojiou176-open/notebackup/notes-snapshot-preflightgit 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.svg" alt="Measured on agentmods" 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 | $0.00012 | $0.00148 |
| Sonnet 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 5d 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.
- 5d 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 2mo ago), licensed MIT. It adds 23 tokens to every session and 296 once invoked, about $0.0001 per session on Opus 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-migrate
一次性把所有舊 archive 的 indices + config 搬到 .claude/.mail/ namespace.
archive-mail-rebuild-threads
從 per-email md 的 frontmatter 重建 .threads.json.
archive-mail-view
從 .threads.json 生成指定 thread 的聚合視圖.
archive-mail-repair-synthetic-ids
掃描歸檔目錄中 messageid 匹配 ^synthetic: 的 markdown 檔,嘗試從 Mail 重新解析真實 RFC 5322 Message-ID 並就地修復 frontmatter + emailindex.json。保守優先:寧可留 unparseable 交人工,絕不錯誤合併兩封不同的信。.
undo
되돌리기 — 최근 백업 목록에서 "방금 잃은 것"을 골라 안전하게 복구 (초보자용).
fix
자주 막히는 문제를 증상→원인→해결 순서로 안내 (초보자용).