Problem
Full-text scanning plaintext across all Apple Notes can be slow on large accounts. In one real account with ~1,300 notes, a full scan can hang long enough to require killing osascript.
Desired behavior
Search should run in two phases:
- Fast title search using
name contains ....
- Optional body search using
plaintext contains ... only when needed.
Example CLI:
# Fast default: title search only
scripts/commands/search.sh --title-only Cerato
# Full scan when explicitly requested
scripts/commands/search.sh --include-body Cerato
Default behavior can be either:
- title-first then body scan with a warning; or
- title-only by default, with
--include-body for full text.
Implementation notes
- Document performance tradeoffs in
SKILL.md.
- If full body scan is enabled, print a short message before running it.
- Consider adding
--folder "Notes" to limit scope.
Acceptance criteria
- Title-only search returns quickly for notes whose names match.
- Full body search is explicit or clearly warned.
- The skill recommends title-first search for broad queries.
Problem
Full-text scanning
plaintextacross all Apple Notes can be slow on large accounts. In one real account with ~1,300 notes, a full scan can hang long enough to require killingosascript.Desired behavior
Search should run in two phases:
name contains ....plaintext contains ...only when needed.Example CLI:
Default behavior can be either:
--include-bodyfor full text.Implementation notes
SKILL.md.--folder "Notes"to limit scope.Acceptance criteria