agentsclimarketplace

Stitch

Skill robrohan/claude-skills/skills/Stitch

A collection of skills / commands for Claude Code

Install
npx -y skills add robrohan/claude-skills --skill Stitch

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

2.7 KB, as published. Nobody here has run it

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:

OSDevicePath
macOSKindle/Volumes/Kindle/documents/My Clippings.txt
macOSKobo/Volumes/KOBOeReader/.kobo/KoboReader.sqlite
LinuxKindle/media/$USER/Kindle/documents/My Clippings.txt
LinuxKobo/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.

Notes

  • The output always ends with a trailing {} — this is expected, not an error.
  • If the device file is not accessible, stitch exits 0 but logs a warning to stderr. Tell the user to check the device is mounted and the path is correct.
  • id fields are base64-encoded SpookyHashes of the highlight text — stable across runs.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.