微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📝

手写笔记AI处理与双向同步

remarkable · vv1.1.0
效率 安全 S 级 作者 nickian 公开目录收录
952 下载 451 安装 2k 收藏 27.1k 浏览

简介

基于rmapi开源工具链,实现reMarkable平板手写笔记与AI处理的双向同步,支持草图增强、文字提取及文档推送。

原始描述

Send files and web articles to a reMarkable e-ink tablet via the reMarkable Cloud. Upload PDFs, EPUBs, or convert web articles to readable ebooks and send them to the device. Also browse and manage files on the device. Use when the user mentions reMarkable, wants to send an article or document to their e-reader, or manage reMarkable cloud files.

通过你的 Agent 添加

安装目录:remarkable/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/remarkable/
Codex CLI~/.codex/skills/remarkable/
DeepSeek Harness~/.agents/skills/remarkable/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

该 Skill 实现与 reMarkable 电子纸平板的双向数据同步,基于官方 Cloud API(rmapi 工具)。核心能力分为两大方向:

Fetch(平板 → AI):从云端下载笔记本(.rmdoc 格式),解压提取笔触数据(.rm 文件),经 rmc 转换为 SVG,再渲染为 PNG 供 AI 处理。支持手写笔记提取、素描获取、日记内容同步等场景。

Push(AI → 平板):将 AI 生成的图片、处理后的文档转换为 PDF,上传至 reMarkable 云端,自动同步到设备。支持阅读材料推送、AI 增强后的图像回传、创意作品存档等。

典型工作流包括:素描→AI 增强→回传闭环、手写日记→文本提取→知识库归档、PDF/EPUB 文档推送至平板离线阅读。

显著优点

  1. 硬件生态整合:打通物理手写输入与数字 AI 处理,弥补 reMarkable 原生 AI 能力不足
  2. 格式完整支持:覆盖从笔触原始数据到标准图像的全链路转换(.rm → SVG → PNG → PDF)
  3. 双向闭环设计:不仅提取内容,更能将 AI 成果返回到阅读设备,形成完整创作流
  4. 无代码依赖:纯 Markdown 文档,工具调用均为标准命令行,无隐藏可执行代码
  5. 云原生架构:利用官方 Cloud API,无需 USB 连接,支持多设备场景

潜在局限

  1. 外部工具依赖:需手动安装 rmapi、rmc、cairosvg、pillow 等工具链,配置门槛较高
  2. 格式限制:仅支持 PDF/EPUB 回传,图片需先转换,无法直接推送 PNG/JPG
  3. 同步延迟:依赖 reMarkable 云端同步,非实时传输,需手动刷新设备
  4. 笔触提取复杂:多页笔记本需遍历多个 .rm 文件,批量处理需自行脚本化
  5. 无原生 OCR:手写文本需调用外部视觉模型识别,非内置能力

适合人群

  • reMarkable 平板用户,希望将手写笔记纳入 AI 工作流
  • 设计师、插画师,需要手绘→AI 精修→回传查看的创意闭环
  • 知识管理用户,希望将手写日记、会议笔记结构化归档
  • 研究者、读者,需要推送论文、书籍至电子纸设备离线阅读

常规风险

  • 认证令牌安全:rmapi 将 OAuth 令牌保存在 ~/.rmapi,需确保运行环境可信
  • 供应链风险:建议锁定 rmapi 版本并校验哈希,避免自动下载 latest
  • 云端依赖:功能完全依赖 reMarkable 云服务,服务中断时不可用
  • 数据隐私:手写内容需上传至 reMarkable 云端,敏感信息需谨慎评估

技能正文


name: remarkable description: Bidirectional sync with reMarkable tablet via Cloud API (rmapi). Fetch handwritten notes/sketches, process with AI, and push content back. Use for sketch enhancement, journal extraction, or sending documents/images to the tablet.

reMarkable Tablet Integration (rmapi)

Bidirectional sync with reMarkable tablet via Cloud API. Fetch sketches and notes, process them (AI enhancement, text extraction), and push content back to the tablet.

Typical Use Cases

  1. Sketch → AI → Tablet loop — Fetch rough sketch → enhance with AI → push polished version back
  2. Journal entries — Fetch handwritten thoughts → interpret → append to memory/journal
  3. Brainstorming — Fetch diagrams/lists → extract structure → add to project docs
  4. Send reading material — Push PDFs/documents to tablet for offline reading
  5. AI art to tablet — Generate images → convert to PDF → push for viewing on e-ink

Bidirectional Pipeline

┌─────────────────────────────────────────────────────────────────┐
│                        FETCH (tablet → agent)                    │
├─────────────────────────────────────────────────────────────────┤
│  reMarkable → Cloud sync → rmapi get → .rmdoc                   │
│                                           ↓                      │
│                              unzip → .rm file → rmc → SVG       │
│                                                      ↓           │
│                                          cairosvg → PNG          │
│                                                      ↓           │
│                               ┌──────────┴──────────┐            │
│                          Text content?         Visual/sketch?    │
│                               ↓                      ↓           │
│                        OCR/interpret          AI image editing   │
│                               ↓                      ↓           │
│                        Add to memory        Enhanced image       │
└─────────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────────────┐
│                        PUSH (agent → tablet)                     │
├─────────────────────────────────────────────────────────────────┤
│  Image/document → Convert to PDF (if needed) → rmapi put        │
│                                                      ↓           │
│                                           Cloud sync → tablet    │
└─────────────────────────────────────────────────────────────────┘

Prerequisites

1. Install rmapi

Download the latest release from juruen/rmapi (ddvk fork recommended):

# Example for Linux amd64
curl -L https://github.com/ddvk/rmapi/releases/latest/download/rmapi-linux-amd64 -o ~/bin/rmapi
chmod +x ~/bin/rmapi

2. Install conversion tools

pip install --user rmc cairosvg pillow
  • rmc — Converts .rm stroke files to SVG
  • cairosvg — Converts SVG to PNG
  • pillow — Converts PNG to PDF for pushing back

3. Authenticate (ONE-TIME)

  1. Go to https://my.remarkable.com/connect/desktop
  2. Log in and copy the 8-character code
  3. Run rmapi and paste the code when prompted
  4. Token saved to ~/.rmapi — future runs are automatic

Commands

Fetch (Download from tablet)

# List files/folders
rmapi ls
rmapi ls -l -t              # Long format, sorted by time

# Refresh from cloud
rmapi refresh

# Navigate
rmapi cd "folder name"

# Find files
rmapi find --starred /              # Starred items
rmapi find --tag="my-tag" /         # By tag
rmapi find / ".*sketch.*"           # By regex

# Download single file
rmapi get "filename"
rmapi get "Folder/Notebook"

# Download with annotations (best for handwritten content)
rmapi geta "filename"

# Bulk download folder
rmapi mget -o ./sync-folder/ "/My Folder"

Push (Upload to tablet)

# Upload single file (PDF or EPUB only)
rmapi put document.pdf
rmapi put document.pdf "Target Folder/"

# Bulk upload
rmapi mput ./local-folder/ "Remote Folder/"

# Create folder on tablet
rmapi mkdir "New Folder"

Supported formats: PDF, EPUB

Conversion Workflows

Fetch: .rmdoc → PNG

reMarkable notebooks download as .rmdoc (a ZIP archive containing stroke data):

# 1. Download the notebook
rmapi get "Folder/MyNotebook"

# 2. Extract (it's a zip)
unzip "MyNotebook.rmdoc" -d extracted/

# 3. Find the .rm stroke file(s)
# Structure: extracted/<doc-uuid>/<page-uuid>.rm
find extracted -name "*.rm"

# 4. Convert .rm → SVG
rmc -t svg -o page.svg "extracted/<doc-uuid>/<page-uuid>.rm"

# 5. Convert SVG → PNG (reMarkable dimensions: 1404×1872)
python3 -c "
import cairosvg
cairosvg.svg2png(url='page.svg', write_to='page.png', output_width=1404, output_height=1872)
"

Push: Image → PDF

reMarkable only accepts PDF/EPUB, so convert images first:

from PIL import Image

img = Image.open('image.png')
rgb = img.convert('RGB')
rgb.save('image.pdf', 'PDF', resolution=150)

Then push:

rmapi put image.pdf "My Folder/"

Full Workflow Example

Sketch enhancement loop:

# 1. Fetch sketch from tablet
rmapi get "Sketches/MyDrawing"

# 2. Extract and convert to PNG
unzip MyDrawing.rmdoc -d MyDrawing_extracted/
RM_FILE=$(find MyDrawing_extracted -name "*.rm" | head -1)
rmc -t svg -o sketch.svg "$RM_FILE"
python3 -c "import cairosvg; cairosvg.svg2png(url='sketch.svg', write_to='sketch.png', output_width=1404, output_height=1872)"

# 3. [Your AI enhancement step here]
# Example: use any image-to-image AI tool to enhance sketch.png → enhanced.png

# 4. Convert to PDF and push back
python3 -c "from PIL import Image; Image.open('enhanced.png').convert('RGB').save('enhanced.pdf', 'PDF', resolution=150)"
rmapi put enhanced.pdf "Sketches/"

Sharing Strategies

Create a dedicated sync folder on your tablet, or use:

  • Tags — Tag items for discovery with rmapi find --tag
  • Stars — Star items for quick access with rmapi find --starred

Notes

  • Cloud sync required — Tablet must sync to cloud before files are available (pull down to refresh on tablet)
  • Format — .rmdoc is a ZIP containing JSON metadata + .rm binary stroke files
  • Warnings — rmc may show warnings about newer format versions — usually still works
  • Dimensions — reMarkable display is 1404×1872 pixels (portrait)
  • Text extraction — For handwritten text, use vision models to interpret visually rather than traditional OCR

Troubleshooting

Issue Solution
rmapi not connecting Re-authenticate: delete ~/.rmapi and run rmapi again
File not found after upload Wait for cloud sync, or refresh tablet manually
rmc format warnings Usually safe to ignore; output still generated
SVG looks empty Check if the correct .rm file was used (multi-page notebooks have multiple)

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

productivitycontent-mediadocsautomationdevice-integrationhandwriting

同类 Skill