본문으로 건너뛰기
cccskills
OpenClaw 공식무료GitHub에 공개

notcrawl

Use for local Notion archive search, sync freshness, Markdown/database exports, git-share snapshots, and Notcrawl repo/release work.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Notion
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Notcrawl

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.

Sources

  • DB: ~/.notcrawl/notcrawl.db
  • Config: ~/.notcrawl/config.toml
  • Cache: ~/.notcrawl/cache
  • Markdown archive: ~/.notcrawl/pages
  • Git share repo: ~/.notcrawl/share
  • Repo: the local notcrawl checkout
  • Preferred CLI: notcrawl; fallback to go run ./cmd/notcrawl from the repo if the installed binary is stale

Freshness

For 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.

Query Workflow

  1. Resolve scope: workspace, teamspace, page, database, author, keyword, or date range.
  2. Check freshness for recent/current requests.
  3. Use CLI for normal reads; use read-only SQL for precise counts/rankings.
  4. Report absolute date spans, counts, page/database titles, and known gaps.

Common commands:

notcrawl search "query"
notcrawl databases
notcrawl report
notcrawl sql "select count(*) from pages;"

SQL

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 the repository checkout before concluding the feature is missing.

Notion Boundaries

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.

Verification

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"

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고