notes-inventory
/notes-inventory
Wypisuje wszystkie konta, foldery (także zagnieżdżone) i liczbę notatek w każdym folderze Notatek macOS jako dane czytelne maszynowo, tylko do odczytu.
- Autor
- terrylica ↗
- Repozytorium
- cc-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 25.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wypisuje wszystkie konta, foldery (także zagnieżdżone) i liczbę notatek w każdym folderze Notatek macOS jako dane czytelne maszynowo, tylko do odczytu.
Wyzwalacze z opisu
Oryginalny opis (EN)
List every macOS Notes account, folder (including nested subfolders), and per-folder note count — the sidebar as machine-readable data. Use to see what exists before organizing, to answer "how many notes are in X", or as the first step of an audit/export. Read-only, safe. TRIGGERS - list my notes folders, notes inventory, how many notes, what folders do I have, show my notes structure.
Jak działa
- Post-Execution Reflection
Podgląd SKILL.md
---
name: notes-inventory
description: List every macOS Notes account, folder (including nested subfolders), and per-folder note count — the sidebar as machine-readable data. Use to see what exists before organizing, to answer "how many notes are in X", or as the first step of an audit/export. Read-only, safe. TRIGGERS - list my notes folders, notes inventory, how many notes, what folders do I have, show my notes structure.
allowed-tools: Bash
---
# notes-inventory — the Notes sidebar as data
> **Self-Evolving skill** — if macOS Notes' AppleScript behavior drifts from what's below (folder flattening, trash visibility, counts), fix this SKILL.md and the shared engine `scripts/lib/notes-core.ts` / `scripts/notes.ts` (+ a test in `notes-core.test.ts`); see the Post-Execution Reflection at the bottom.
Read-only survey of the whole Notes tree, across ALL accounts (iCloud, Google, Exchange…).
```bash
NC="$HOME/.claude/plugins/marketplaces/cc-skills/plugins/notes-commander/scripts/notes.ts"
bun "$NC" inventory # human tree: account → folders (indented) with counts
bun "$NC" inventory --json # [{account, path, count}, …] for analysis
```
- Nested folders appear as paths with `/` separators (e.g. `To-Do / Done`) — folder **names are not unique** (two "Done" folders is normal), paths are.
- Counts are **direct** notes per folder (subfolder notes count under the subfolder), matching the Notes sidebar.
- `Recently Deleted` IS visible to AppleScript (verified live 2026-07-18) — inventory shows it but reports its notes separately from the live total; `export` skips it entirely.
- First run may prompt once for Automation permission to control Notes; one AppleScript pass, so it's fast even on hundreds of notes.
- If it fails with `-600`/"not running" repeatedly, open Notes once, then retry (the engine already retries transient errors).
This is the data source the `notes-audit` skill analyzes and the `notes-organize` skill acts on.
## Post-Execution Reflection
After an inventory run, check: (1) did the tree match the Notes sidebar (folders, nesting, counts)? If not, the flattened-`folders of account` filter or trash handling drifted — fix `OSA_INVENTORY` in `scripts/notes.ts` and document the macOS change here. (2) Did a transient `-600`/`-1712` require a manual retry? If the built-in retry didn't absorb it, tune `runOsa` in `notes-core.ts`. Only update for real, reproducible drift — not speculation.
Wersje
W bazie nie ma innych skilli o nazwie notes-inventory.
Migawka bazy z 13.11.2026 · wersja paczki df2482f899f9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100notes-organize
Porządkuje Notatki macOS: tworzy foldery, przenosi notatki, zmienia nazwy i scala foldery, z trybem dry-run i wymaganą wcześniejszą kopią eksportu. - 100apple-notes
Zarządza Apple Notes na macOS: listuje, wyszukuje, czyta, tworzy, dopisuje, przenosi, usuwa i eksportuje notatki oraz zarządza folderami, lokalnie w Notes.app. - 86apple-notes
Zarządza Apple Notes na macOS przez CLI memo: tworzy, przegląda, edytuje, usuwa, wyszukuje, przenosi i eksportuje notatki oraz porządkuje foldery. - 100apple-notes
Obsługuje Apple Notes na macOS: tworzy, przeszukuje, aktualizuje i porządkuje notatki oraz foldery przez narzędzia MCP. - 90apple-notes
Tworzy, przegląda, edytuje, przenosi i eksportuje notatki Apple Notes z terminala na macOS przez CLI memo. - 100apple-notes
Zarządza Apple Notes na macOS przez CLI memo: tworzy, wyświetla, edytuje, usuwa, wyszukuje, przenosi i eksportuje notatki.