Readwiseのロゴ

Readwise

コミュニティ
ryanlyn
readwise

Use this skill to work with the Readwise Original API for creating, organizing, and reviewing highlights and books.

概要

公開者ryanlyn
リポジトリreadwise-skill
スキル名readwise
スター
26
フォーク
1
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ryanlynがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルReadwiseをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ryanlyn/readwise-skill/tree/main/plugins/readwise/skills/readwise
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ryanlyn/readwise-skill.git /tmp/readwise-skill
mkdir -p .claude/skills
cp -r /tmp/readwise-skill/plugins/readwise/skills/readwise .claude/skills/readwise
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでReadwiseを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にReadwiseを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Readwiseは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Readwise Original Skill

Use this skill to automate work with the Readwise "Original" API that powers highlight exports and metadata management.

Quick start

  1. Generate a token from https://readwise.io/access_token and store it in READWISE_TOKEN.
  2. Use uv run --project ${CLAUDE_PLUGIN_ROOT} python ${CLAUDE_PLUGIN_ROOT}/skills/readwise/scripts/readwise_client.py ... instead of calling the API directly; it handles retries, pagination, rate-limit surfacing, --dry-run, and tagging rules.
  3. Keep requests below the documented rate limit (currently 60 req/min). Batch operations and pause between pages when processing large libraries.

Example workflows

  • "Summarize my daily review and save highlights to a note" — uses highlights review to fetch today's highlights, then formats them
  • "Find all highlights from Meditations and export as markdown" — uses books to find the book ID, then highlights list to fetch
  • "Save this quote to my Readwise" — uses highlight create with the quote text

CLI commands

Global options --dry-run and --raw can appear anywhere in the command.

  • uv run --project ${CLAUDE_PLUGIN_ROOT} python ${CLAUDE_PLUGIN_ROOT}/skills/readwise/scripts/readwise_client.py [--dry-run] [--raw] highlight create --text ... [--book-id ID] [--title ...] [--author ...] [--category ...] [--image-url ...] [--generated] [--tags t1,t2] Creates a highlight or batch (--bulk-file ndjson). Use --book-id to target an existing book (the CLI resolves it to title/author/category for the API). Always specify --category when creating new sources—see "Category is critical" below. Use --image-url for cover images (recommended for books and podcasts, not needed for articles or tweets). If --generated is set, .generated is appended to tags and location_type defaults to none.
  • ... [--dry-run] highlight update <id> [--title --note --tags --generated] – partial updates.
  • ... highlight show <id> – fetch highlight details.
  • ... highlight delete <id> [--yes] – delete a highlight, --yes skips confirmation.
  • ... highlights list [--book-id 123] [--tag focus] [--category books] [--updated-after 2026-02-01] [--limit 50] – cursor-based listing. Dates are ISO format (e.g. 2026-02-01 or 2026-02-01T10:30:00Z).
  • ... highlights review – fetches today's daily review highlights (no parameters; returns the curated spaced-repetition set).
  • ... books [--title ...] [--author ...] [--limit N] – search books by title/author (case-insensitive substring match).
  • ... book <id> – fetch a single book's metadata.
  • ... auth validate – confirms your token works by hitting the /api/v2/auth/ endpoint.

Default output is human-readable markdown with only key fields. Use --raw to get full JSON with all fields.

Disambiguating book matches

books --title performs a case-insensitive substring match and often returns multiple books with the same title. Readwise creates separate book entries per source (Kindle, API, supplemental, etc.), so duplicates are common. When multiple results come back, review them all and use judgement to determine whether they are duplicates of the same work or entirely separate books:

  • Duplicates (same author, different sources): Readwise creates one entry per import source. A Kindle book and an API-created entry for the same work will share a title/author. Among duplicates, the entry with the most num_highlights is usually the primary one.
  • Distinct books: Different authors or categories mean genuinely different works. Treat these as separate and ask the user which one they mean if the intent is ambiguous.

Listing highlights for a book by name

  1. Find the book ID: ... books --title "book name"
  2. If multiple results, review all entries to determine which are duplicates vs distinct books. For duplicates, query the entry with the most highlights. For distinct books, clarify with the user.
  3. List its highlights: ... highlights list --book-id <id>

Adding a highlight to an existing book

  1. Search for the book: ... books --title "when breath becomes air"
  2. Note the book id from the output.
  3. Create the highlight: ... highlight create --text "the verbatim quote" --book-id <id> The CLI looks up the book's title/author/category and injects them into the payload so the Readwise API matches the highlight to the correct book. Only add --generated if the text is a summary or paraphrase, not a direct quote.

How Readwise matches sources

Readwise groups highlights into "books" (sources) using (title, author, source_url). The API de-duplicates highlights by matching all four fields: (title, author, source_url, text)—including nulls.

Critical: All highlights from the same content—whether verbatim quotes or generated summaries—MUST use identical (title, author, source_url) values to be grouped together. Inconsistent attributes will scatter highlights across separate book entries.

  • If you omit --title, highlights go into a generic "Quotes" book
  • If you omit --author, it stays blank (or uses the URL domain if source_url is set)
  • Use --book-id when adding to an existing book—the CLI fetches and injects the correct title/author/source_url

Category is critical

Always specify --category explicitly. The API defaults to articles if source_url is present, otherwise books—but these defaults often miscategorize content. Valid categories: books, articles, tweets, podcasts.

Content typeCategory
Physical/ebookbooks
Blog post, web articlearticles
Tweet/X posttweets
Podcast episodepodcasts
YouTube videopodcasts

YouTube videos should use podcasts, not articles. Readwise treats video content as podcast-like (time-based, spoken word). Using articles will cause display and organizational issues.

Mismatched categories create duplicate book entries and break the user's library organization. When in doubt, ask the user or check existing entries with books --title.

Agent interaction rules

  • Always quote highlights in full: Never reference a highlight in the abstract. When displaying or communicating about a highlight to the user, always include the full highlight text in its entirety as a quoted markdown block (using >).
  • Never save without confirmation: Never save a highlight (create or update) without explicit user confirmation first. Draft the highlight, show it quoted, and wait for approval before calling the API.

Data entry guidance

  • Generated snippets: Use --generated ONLY for highlights that are NOT verbatim quotes from the source content—e.g., AI-generated summaries, paraphrases, or synthesized insights. Do NOT use it for actual quotes or excerpts copied directly from the text. The CLI injects .generated for discoverability and sets location_type=none since generated content has no source location. Generated highlights should still use the SAME (title, author, source_url) as verbatim highlights from the same source.
  • Highlight text: supply --text, --text-file, or pipe content via stdin. The CLI refuses to guess. Bulk imports accept NDJSON rows with text, title, and tags.
  • Location best practices: omit --location unless you can provide an absolute, client-agnostic reference (page number, character offset). When --location is omitted the payload leaves location blank so Readwise can reconcile it later. Valid --location-type values: page (books), time_offset (podcasts/videos), order (articles). For generated quotes the CLI defaults to location_type=none.
  • Dry runs: add --dry-run to print the exact payload without calling the API. Dry-run output always shows the full payload (no field filtering).

Scripts

  • ${CLAUDE_PLUGIN_ROOT}/skills/readwise/scripts/readwise_client.py: full-featured CLI covering highlight create/read/update, daily review, and books list/detail. Commands surface remaining rate-limit headers when provided so agents can throttle work.
  • Shared helpers live in ${CLAUDE_PLUGIN_ROOT}/readwise_common/ (auth, HTTP retries, tag/location utilities); import from there when extending functionality to keep behavior consistent.

Testing & validation

  • Use the dry-run flag in the client to print payloads instead of sending them when iterating on workflows.
  • Run uv run --project ${CLAUDE_PLUGIN_ROOT} python -m compileall ${CLAUDE_PLUGIN_ROOT}/skills/readwise ${CLAUDE_PLUGIN_ROOT}/readwise_common before shipping changes to catch syntax issues.
  • For live smoke tests, set READWISE_TOKEN and exercise --dry-run highlight create, highlights list, and highlights review against a small limit to verify pagination + rate-limit logging.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Readwise」では何ができますか?

Use this skill to work with the Readwise Original API for creating, organizing, and reviewing highlights and books.

TypingMindでReadwiseを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Readwiseはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにReadwiseをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ryanlyn/readwise-skill/tree/main/plugins/readwise/skills/readwiseを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Readwiseを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Readwiseは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもReadwiseを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Readwise」は無料ですか?

はい。ryanlynがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇