Skip to content

Read Supernote notebooks

Your notebooks sync to Google Drive as .note files. The freehand-read skill reads them a page at a time, keeps track of which pages are new, changed or read, and files what’s on them into whatever notes system you use. You can run it from your computer (the quickest way in) or let GitHub read for you whenever you sync.

  • Your first notebook pages, if you haven’t done it. This guide assumes you know what a scan does.
  • uv, or Python 3.10 or later with pip install -r skills/read/requirements.txt.
  • Your AI agent has Freehand’s skills (npm run skills:link from a clone).
  • A state folder, ideally in your notes repo, for example freehand/pages/. It holds page ids, dates, ink fingerprints and statuses, with nothing about what your pages say, so it’s safe to commit.
  1. Scan the notebooks that changed:

    Terminal window
    freehand pages --state freehand/pages scan "<your drive>/Supernote/Note/Ideas.note" --out ~/pages-scratch > ~/scan.json

    Every page is recorded. Each page still waiting is drawn as <out>/<notebook>/p<page>.png with a .json beside it. For a first scan of an old notebook, add --since <date> to set aside older pages.

  2. Ask your AI: “read my new pages.” It follows the skill:

    • Parse: it looks at each waiting page, oldest first, and writes down exactly what’s on it in your words. An unreadable word is [?], a guess is [word?], a drawing is one line in italics. Then it runs freehand pages … set <notebook> <page> parsed.
    • Process: it files each parsed page the way your notes system works: a thought into a note of its own, a task into your to-do list, something about a person, book or project onto theirs. A question or instruction for the AI gets done or raised with you. What it can’t place, it leaves with a question. Then set … processed.
  3. Delete the pictures. They’re your handwriting and live only in the scratch folder.

On your computer. Put a then: command in your watch config and freehand watch runs it whenever new pages have synced and the folder has gone quiet:

drive: ~/Library/CloudStorage/GoogleDrive-<account>/My Drive
notebooks: [Supernote/Note]
on:
pages:
state: ~/notes/freehand/pages
then: claude -p "read my new pages in $FREEHAND_PAGES"

Run it in the background so it keeps going.

On GitHub, with the laptop shut. The freehand script’s watcher notices a sync and starts a workflow in your notes repo:

  1. Copy skills/read/supernote.example.yml into your notes repo as .github/workflows/supernote.yml.
  2. Set what its comments list: the variable FREEHAND_NOTEBOOKS_FOLDER_ID (the Drive ID of your notebooks folder), a read-only Google service account the folder is shared with as a Viewer (keyless sign-in is preferred), and, if you want Claude to read the pages, an ANTHROPIC_API_KEY secret. Without a key it only records what’s waiting.
  3. Give the script the watcher’s settings: GITHUB_TOKEN, GITHUB_REPO, FOLDER_IDS and a first setup run. The steps are in the script’s README, step 7.

The workflow downloads only the notebooks that changed (freehand fetch), records each page and, with a key, has Claude follow the skill and commit what it wrote. Page pictures exist only on the runner for the length of the run. What Claude writes is committed in plain text, so keep the notes repo private.

  • Their words are yours. A transcription is what the page says. Your AI’s reading of it goes in its reply, never mixed into your words.
  • Changed means read again. A page whose ink or keywords change after it was read comes back as changed.
  • Keywords you add on the device are hints about where a page belongs.
  • Notebooks you don’t want read: list them under exclude in the config, or FREEHAND_EXCLUDE for the workflow.
  • Encrypting transcriptions: if you want pages encrypted at rest, encrypt them with a key only you hold, for example with age.