stitch
Skill1 starsChanged 9 months agoMITView on GitHub
Run `stitch` to extract highlights from a Kindle or Kobo e-reader and write them to a JSON file. Use when the user wants to dump, export, or query their e-reader highlights.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- Dannykkh/skill-olympustheir own version, first seen Nov 29, 2026
- itamaker/skillstheir own version, first seen Nov 29, 2026
- delorenj/skillstheir own version, first seen Nov 8, 2026
- hemal08ce094/DesignSkillsSwiftUItheir own version, first seen Nov 8, 2026
- lachinovedhem/standards-mcptheir own version, first seen Oct 11, 2026
Used with
Projects with it also use bold, cafe and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bergsideSkillbold
Strong visual presence with heavyweight typography, high-contrast colors, and commanding layouts.
Also in 4 projects that use this
bergsideSkillcafe
Cozy cafe-inspired interface with warm tones, soft typography, and clean layouts for a relaxed browsing experience.
Also in 4 projects that use this
- +10 more from bergside
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- bergside/awesome-design-skills★ 2.9ksame name
- delorenj/skills★ 17same name
- Dannykkh/skill-olympus★ 9same name
- nassim-arifette/stitch-to-code★ 5same name
- aakash1552005/universal-agent-skills★ 4same name
- X24LABS/STITCH-AGENT★ 4same name
- openstory-so/skills★ 2same name
- hemal08ce094/DesignSkillsSwiftUI★ 0same name
- itamaker/skills★ 0same name
- lachinovedhem/standards-mcp★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
If arguments were provided ($ARGUMENTS), use them to infer the device type and/or output file.
- Very specific: line 36
Before running stitch, make sure the binary is installed.
- Very specific: line 44
Check that stitch is available by running which stitch.
- Very specific: line 47
Run stitch -t <type> [-i <input>] [-o <output>] using the Bash tool.
- Distinctive: line 48
If successful, read back the output JSON with the Read tool and summarise:
- Very specific: line 57
If the device file is not accessible, stitch exits 0 but logs a warning to stderr.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 koboor-t kindle— required-i <path>— path to the input file (overrides env vars and defaults)-o <path>— output JSON file (defaults tokobo.jsonorkindle.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 fileSTITCH_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
- Check that
stitchis available by runningwhich stitch. If not found, stop and direct the user to download it from the releases page above. - Determine device type from
$ARGUMENTSor ask the user. - Determine input path: check if
STITCH_KOBO/STITCH_KINDLEis set, or ask the user for the path. - Run
stitch -t <type> [-i <input>] [-o <output>]using the Bash tool. - 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
- Offer to filter or query the results further with
jq.
Notes
- The output always ends with a trailing
{}— this is expected, not an error. - If the device file is not accessible, stitch exits
0but logs a warning to stderr. Tell the user to check the device is mounted and the path is correct. idfields are base64-encoded SpookyHashes of the highlight text — stable across runs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

