stitch

stitch is a skill for Claude Code from robrohan/claude-skills. It costs 43 tokens per session (710 once invoked), scanned A, original, MIT.

A command-line tool that extracts highlights from Kindle or Kobo e-readers and saves them as JSON, a structured text format.

In plain words
What is it for?
Exporting and querying highlights from a Kindle clippings file or a Kobo database file.
Why use it?
It removes the need to copy reading highlights manually from an e-reader.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Exporting and querying highlights from a Kindle clippings file or a Kobo database file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robrohan/claude-skills/stitch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add robrohan/claude-skills --skill stitch
Clone the repo
git clone --depth 1 https://github.com/robrohan/claude-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stitch

README.md
[![agentmods](https://agentmods.dev/badge/skills/robrohan/claude-skills/stitch/github.svg)](https://agentmods.dev/skills/robrohan/claude-skills/stitch)
Your own site
<a href="https://agentmods.dev/skills/robrohan/claude-skills/stitch"><img src="https://agentmods.dev/badge/skills/robrohan/claude-skills/stitch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stitch

Your own site · 80×15
<a href="https://agentmods.dev/skills/robrohan/claude-skills/stitch"><img src="https://agentmods.dev/badge/skills/robrohan/claude-skills/stitch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00710
Opus 5 $0.00022 $0.00355
Sonnet 5 $0.00009 $0.00142
Haiku 4.5 $0.00004 $0.00071

Measured 10d ago against content hash 09712c11a05c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

stitch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/Stitch/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The user wants to run stitch to extract e-reader highlights.

If arguments were provided ($ARGUMENTS), use them to infer the device type and/or output file. Otherwise, ask the user which device type they want (kobo or kindle) and whether they have an input path or want to rely on environment variables.

How to run stitch

stitch [-i input_file] [-o output_file.json] -t [kobo|kindle]

Options:

  • -t kobo or -t kindlerequired
  • -i <path> — path to the input file (overrides env vars and defaults)
  • -o <path> — output JSON file (defaults to kobo.json or kindle.json)

Typical input paths:

OS Device Path
macOS Kindle /Volumes/Kindle/documents/My Clippings.txt
macOS Kobo /Volumes/KOBOeReader/.kobo/KoboReader.sqlite
Linux Kindle /media/$USER/Kindle/documents/My Clippings.txt
Linux Kobo /media/$USER/KOBOeReader/.kobo/KoboReader.sqlite

Environment variables (set these to skip -i each time):

  • STITCH_KOBO — path to the Kobo SQLite file
  • STITCH_KINDLE — path to the Kindle clippings file

Prerequisites

Before running stitch, make sure the binary is installed. If stitch is not found on the PATH, tell the user to download the appropriate binary for their platform from:

https://github.com/robrohan/stitch/releases

On macOS, after downloading, the user must right-click the binary in Finder and select "Open" once to bypass the unsigned binary warning before it can be used from the terminal.

Steps

  1. Check that stitch is available by running which stitch. If not found, stop and direct the user to download it from the releases page above.
  2. Determine device type from $ARGUMENTS or ask the user.
  3. Determine input path: check if STITCH_KOBO / STITCH_KINDLE is set, or ask the user for the path.
  4. Run stitch -t <type> [-i <input>] [-o <output>] using the Bash tool.
  5. If successful, read back the output JSON with the Read tool and summarise:
    • How many highlights were found
    • How many unique books/titles
    • Any annotations present
  6. Offer to filter or query the results further with jq.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 59 lines · 43 tokens per session scan A 09712c11a05c

Subscribe to this mod's changes

stitch is a skill published in the GitHub repository robrohan/claude-skills (1 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 710 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

offensive-vuln-classes

Exploit development curriculum covering core vulnerability classes with real-world CVE case studies: stack/heap buffer overflows, use-after-free, integer overflows, format strings, type confusion, and race conditions. Use when learning or teaching vuln classes, researching specific CVE patterns, or building exploit…

SnailSploit/Claude-Red · 0 tokens

explain-this

Explain whatever the user is pointing at right now in plain language: a pending question, a piece of code, an error, a command output, or an artifact like a plan or findings report. Use when the user asks to "explain this", "what am I being asked", "what's happening right now", "help me understand this", "what does…

tobihagemann/turbo · 102 tokens

understand-change

Teach the user to deeply understand a change through interactive tutoring: restating understanding, drilling into why/what/how, and quizzing until mastery. The active counterpart to a one-shot explanation. Use when the user asks to "understand this change", "teach me this change", "help me understand what changed"…

tobihagemann/turbo · 96 tokens

ape-quiz-me

Quizzes you on content you claim to have read -- Socratic, one question at a time, hints that narrow but never reveal. Ends with a verdict on what you understood versus merely recited. Trigger on "ape quiz me", "quiz me on this", "test my understanding", "did I actually get this", or any request to be tested on shared…

arpitbbhayani/ape-skills · 81 tokens

ape-write-pseudocode

Guidelines for writing pseudocode for functions and algorithms. Use this skill whenever the user asks to write pseudocode, sketch out an algorithm, or describe the logic of a function at a high level. Trigger on phrases like "write pseudocode", "sketch this algorithm", "pseudocode for this function", or "describe the…

arpitbbhayani/ape-skills · 75 tokens

cizhuan-mudiban-xuangou-zhinan

A Chinese-language knowledge guide about choosing and installing ceramic tiles and wood flooring.

zx029w/zhuangxiu-skills · 103 tokens