# Notion Archive Search

Search Notion pages and databases in a local archive and export Markdown.

- Repository: https://github.com/openclaw/openclaw (393636 stars)
- Category: Data and ML
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openclaw/openclaw --skill notcrawl -g -a claude-code -y`
Codex: `npx skills add openclaw/openclaw --skill notcrawl -g -a codex -y`
Cursor: `npx skills add openclaw/openclaw --skill notcrawl -g -a cursor -y`
Gemini CLI: `npx skills add openclaw/openclaw --skill notcrawl -g -a gemini-cli -y`

## Description

Notion archive: search, sync freshness, pages/databases, Markdown exports, SQL counts, and Notcrawl repo work.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Notcrawl

Use local Notion archive data before browsing or live Notion API calls. Check freshness for recent/current questions:

```bash
notcrawl doctor
notcrawl status --json
```

Refresh only when stale or asked:

```bash
notcrawl sync --source desktop
notcrawl sync --source api
```

Query with bounded reads:

```bash
notcrawl search --limit 20 "query"
notcrawl databases
notcrawl report
notcrawl export-md  # only when Markdown files need refreshing
notcrawl sql "select count(*) from pages;"
```

Report workspace/teamspace, page/database titles, absolute date spans, counts, and known gaps. Use read-only SQL only; never mutate the archive. API mode requires `NOTION_TOKEN`; do not assume token availability.

