一键导入
notcrawl
Use for local Notion archive search, sync freshness, Markdown/database exports, git-share snapshots, and Notcrawl repo/release work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use for local Notion archive search, sync freshness, Markdown/database exports, git-share snapshots, and Notcrawl repo/release work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | notcrawl |
| description | Use for local Notion archive search, sync freshness, Markdown/database exports, git-share snapshots, and Notcrawl repo/release work. |
Use local archive data first for Notion questions. Browse or hit the Notion API only when the archive is stale, missing the requested scope, or the user asks for current external context.
~/.notcrawl/notcrawl.db~/.notcrawl/config.toml~/.notcrawl/cache~/.notcrawl/pages~/.notcrawl/share~/GIT/_Perso/notcrawlnotcrawl; fallback to go run ./cmd/notcrawl from the repo if the installed binary is staleFor recent/current questions, check freshness before analysis:
sqlite3 ~/.notcrawl/notcrawl.db \
"select coalesce(max(synced_at), 0) from sync_state;"
Routine refresh:
notcrawl doctor
notcrawl sync --source desktop
API refresh:
notcrawl sync --source api
Use notcrawl sync --source all only when both desktop and API sources are
configured and the broader refresh is intentional.
Common commands:
notcrawl search "query"
notcrawl databases
notcrawl report
notcrawl sql "select count(*) from pages;"
Use notcrawl sql for exact counts, joins, and database/page inventory queries
when normal CLI reads are too coarse. The command only allows read-only
select, with, and pragma queries.
Useful examples:
notcrawl sql "select count(*) as pages from pages;"
notcrawl sql "select parent_table, count(*) as pages from pages group by parent_table order by pages desc;"
notcrawl sql "select title, last_edited_time from pages order by coalesce(last_edited_time, created_time, 0) desc limit 20;"
Do not use SQL to mutate the archive.
When the installed CLI lacks a new feature, build or run from
~/GIT/_Perso/notcrawl before concluding the feature is missing.
Desktop mode snapshots the local Notion SQLite database read-only and must not
write to Notion application storage. API mode requires NOTION_TOKEN; do not
invent token availability. Git-share snapshots and Markdown exports must not
include secrets.
For repo edits, prefer existing Go gates:
GOWORK=off go test ./...
Then run targeted CLI smoke for the touched surface, for example:
notcrawl doctor
notcrawl status --json
notcrawl search "test"