Skip to content

Make Apple Notes search title-first and avoid slow full-text scans by default #4

@vinitu

Description

@vinitu

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:

  1. Fast title search using name contains ....
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions