| name | remarkable |
| description | Fetch handwritten notes, sketches, and drawings from a reMarkable tablet via Cloud API (rmapi). Process content by refining artwork with AI image generation, extracting handwritten text to memory/journal, or using sketches as input for other workflows. Use when working with reMarkable tablet content, syncing handwritten notes, processing sketches, or integrating tablet drawings into projects. |
reMarkable Tablet Integration (rmapi)
Fetch handwritten notes, sketches, and drawings from a reMarkable tablet via Cloud API. Process them â refine artwork with AI image generation, extract text to memory/journal, or use as input for other workflows.
Typical Use Cases
- Journal entries â User writes thoughts on reMarkable â fetch â OCR/interpret â append to
memory/YYYY-MM-DD.md or a dedicated journal file
- Sketch refinement â User draws a rough graphic â fetch â enhance with nano-banana-pro (AI image editing) â return polished version
- Brainstorming/notes â User jots down ideas, lists, diagrams â fetch â extract structure â add to project docs or memory
- Illustrations â User creates hand-drawn art â fetch â optionally stylize â use in blog posts, social media, etc.
Processing Pipeline
reMarkable tablet â Cloud sync â rmapi fetch â PDF/PNG
â
âââââââââââââââŽââââââââââââââ
â â
Text content? Visual/sketch?
â â
OCR / interpret nano-banana-pro
â (AI enhance)
â â
Add to memory/ Return refined
journal/project image to user
Setup
- Tool: rmapi (ddvk fork) v0.0.32
- Binary:
~/bin/rmapi
- Config:
~/.rmapi (device token after auth)
- Sync folder:
~/clawd/remarkable-sync/
Authentication (ONE-TIME)
- User goes to https://my.remarkable.com/connect/desktop
- Logs in, gets 8-character code
- Run
rmapi and enter the code
- Token saved to
~/.rmapi â future runs are automatic
Commands
rmapi ls
rmapi ls --json
rmapi cd "folder name"
rmapi find --tag="share-with-gandalf" /
rmapi find --starred /
rmapi find / ".*sketch.*"
rmapi get "filename"
rmapi geta "filename"
rmapi mget -o ~/clawd/remarkable-sync/ "/Shared with Gandalf"
Sharing Workflows
Option A: Dedicated Folder
User creates "Shared with Gandalf" folder on reMarkable â moves items there â agent fetches with rmapi mget
Option B: Tag-Based
User tags documents with share-with-gandalf â agent discovers with rmapi find --tag
Option C: Starred Items
User stars items â agent fetches with rmapi find --starred
Fetch Script
~/clawd/scripts/remarkable-fetch.sh
~/clawd/scripts/remarkable-fetch.sh --starred
~/clawd/scripts/remarkable-fetch.sh --tag="share-with-gandalf"
Notes
- Tablet must cloud-sync before files are available
geta renders annotations into PDF (preferred for handwritten content)
- Use
convert (ImageMagick) to go from PDF â PNG for image processing
- For text extraction, interpret the handwriting visually (vision model) rather than traditional OCR