Skip to content

Notion Archive Search

Search and query a local archive of your Notion workspace, with optional sync and Markdown export.

Stars
7,433
Licence
MIT
Files
1 file

What it does

This skill teaches an AI agent to work with a local copy of your Notion pages and databases. The agent can refresh the local archive from the Notion desktop app's cache or from the Notion API, then search pages, run read-only SQL queries for counts and structure, and export pages to Markdown files. Once installed, the agent checks how fresh the archive is before answering recent questions and reports date ranges and source limits.

Great for

  • People who keep a lot of knowledge in Notion and want an AI to answer questions about it offline
  • Developers or analysts who want exact counts or schema checks over Notion content via SQL
  • Users who need Notion pages exported as Markdown for other tools

Skip it if

  • Teams that cannot allow a Notion integration token to be stored on the machine, since API sync requires NOTION_TOKEN and page access
  • Situations needing live, up-to-the-minute Notion data, because desktop reads come from a local cache that may be stale
  • Anyone who has not installed and set up the notcrawl CLI, since the skill only instructs the agent how to use it

Try asking

  • “Search my Notion archive for notes about the Q3 product roadmap and summarise the decisions”
  • “How many pages are in my Notion archive, and when was it last synced?”
  • “Refresh my Notion archive from the desktop app and export the project pages to Markdown”
  • “List my Notion databases and run a read-only query to count pages per database”
Step-by-step guide: how to use Notion Archive SearchInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    notcrawl.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip notcrawl.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip notcrawl.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Run a freshness check (notcrawl status) before answering questions about recent Notion content, and prefer desktop sync unless you specifically need the API
  • Keep NOTION_TOKEN scoped to only the pages you want archived, and avoid pasting it into chat
  • Ask for exact counts through SQL and for topic questions through search, and check the reported date span in answers

What's inside

  • SKILL.md

Redistributed unmodified from steipete/agent-scripts under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.