Skip to main content

catch-the-gist

catch-the-gist turns documents, transcripts and notes into Agent Skills for Claude Code and Codex. Your coding agent reads the source in chunks through a small set of deterministic MCP tools, drafts the skill with you, and catch-the-gist writes, validates and installs it. Every instruction in the generated skill carries a provenance anchor that points back to the source passage it came from.

What works now

  • Sources: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), CSV, saved HTML (.html, .htm), EPUB (.epub), images (.png, .jpg, .jpeg, .webp, .gif), web pages, llms.txt sites, pasted text, and Markdown, text and subtitle files (.md, .markdown, .txt, .srt, .vtt). Audio and video: .mp3, .m4a, .wav, .flac, .ogg, .opus, .mp4, .mov, .mkv and .webm files, plus YouTube, Vimeo and other video links and playlists (up to 50 videos). Recordings are transcribed on your machine and cited as t=HH:MM:SS; they run as background jobs with progress, at most 6 hours and 2 GB each.
  • Transcription is English only. Local files are not checked for language; only English is supported. Links use English captions written by a person when they exist; otherwise the audio is transcribed, and auto-generated English captions are the last resort. The first transcription downloads the NVIDIA Parakeet TDT 0.6B v2 model once to the Hugging Face cache. It needs ffmpeg on your PATH; YouTube downloads may fail without deno; doctor checks ffmpeg, yt-dlp, deno and the transcription model. The CLI and the MCP server do not share jobs, so run one catch-the-gist process at a time on a given media file.
  • Text first: when a page, slide or image holds text, a table, a chart or a diagram, the skill gets Markdown, a Markdown table, a data table or Mermaid instead of the picture. Chunks mark each visual, and the agent reads its extracted text first. Only when that is not enough does it call get_frames to look at the pages, slides or images. An image goes into the skill's assets/ folder only when text would lose its meaning, such as a photo.
  • catch-the-gist doctor checks what is installed. LibreOffice is optional: with it, PowerPoint slides render as images for get_frames; without it, doctor warns and slides still give you their text and embedded pictures.
  • Agent mode only: the agent you already run does the reading and writing. catch-the-gist itself makes no model calls.
  • Output is a standard Agent Skill folder (SKILL.md, references/, PROVENANCE.json), installed to .agents/skills/<name> with a symlink at .claude/skills/<name> (project scope) or the equivalent under your home directory (user scope).

Requirements

uv, so that uvx is on your PATH. The plugin and the npm package both run catch-the-gist through uvx, which fetches Python 3.13 on first use if you don't have it. Installing the CLI with pip instead needs Python 3.11 or later.

Install the plugin

Claude Code:

/plugin marketplace add Brainferno/catch-the-gist
/plugin install catch-the-gist@catch-the-gist

Codex:

codex plugin marketplace add Brainferno/catch-the-gist
codex plugin add catch-the-gist@catch-the-gist

The plugin starts the MCP server with uvx, pinned to the release tag of this repository that matches the plugin version.

Use it

In Claude Code:

/catch-the-gist:catch-the-gist path/to/notes.md

In Codex:

$catch-the-gist:catch-the-gist path/to/notes.md

The agent ingests the file, reads its chunks, proposes a skill name and description, and waits for your confirmation before writing and installing it. Approve the catch-the-gist tools when your agent asks.

CLI

The same package has a command line for the deterministic steps. It is published as catch-the-gist on PyPI and npm, with the short alias ctgist on both.

Run it without installing:

uvx catch-the-gist version
npx catch-the-gist version

Or install it:

uv tool install catch-the-gist     # or: pipx install catch-the-gist, or: pip install catch-the-gist
npm install -g catch-the-gist      # the npm package still runs the Python package through uvx

Commands:

catch-the-gist version
catch-the-gist doctor [--json]
catch-the-gist ingest <path-or-url> [--confirm-pages|--yes] [--json]
catch-the-gist ingest-status <job-id> [--json]
catch-the-gist ingest --text "<pasted text>" [--title <title>] [--json]
catch-the-gist validate .agents/skills/<name> [--json]
catch-the-gist install <skill-dir> [--scope project|user] [--agent claude-code|codex] [--force] [--copy] [--json]
catch-the-gist mcp

ctgist takes the same commands. validate exits 8 when the skill has errors. Set CATCH_THE_GIST_WORKDIR to run somewhere other than the current directory; the cache lives in <workdir>/.catch-the-gist/cache. Audio and video keep their download and a 16 kHz wav (about 115 MB per hour) under <workdir>/.catch-the-gist/cache/media/, so a rerun or a resumed job skips that work. The folder is safe to delete at any time; transcripts stay cached elsewhere, and a later ingest of the same recording only downloads and converts it again.

Run from a checkout

To work on catch-the-gist itself, run the CLI with uv run inside a clone (for example uv run catch-the-gist version), and point Claude Code's plugin at your working tree:

git clone https://github.com/Brainferno/catch-the-gist
CATCH_THE_GIST_FROM=$PWD/catch-the-gist claude --plugin-dir ./catch-the-gist/plugin

CONTRIBUTING.md covers tests, the Codex equivalent and releases.

Privacy

catch-the-gist makes no network calls except fetching the URLs you ask it to read and downloading its transcription model once. For a web page it fetches the URL you give and that site's robots.txt; if the URL redirects (at most 5 times) to another host, it also fetches that host's robots.txt before following. It never looks for an llms.txt on its own: it reads one only when that is the URL you give, and then fetches the pages listed there on the same host only after you confirm the page count. A link that serves a document (a PDF, Office file, EPUB, CSV or image) is saved under <workdir>/.catch-the-gist/cache/downloads and read like a local file. get_frames downloads an image named in an ingested page only when your agent asks to see it; such images can live on other hosts, and each of those hosts' robots.txt is fetched first. Each response is capped at 20 MB, and only http and https links are followed. It reads no credentials, including nothing under ~/.claude. It never calls claude or codex. Apart from that, the only network access is when the package itself is fetched: uvx (used by the plugin and the npm package) downloads catch-the-gist and its Python dependencies the first time it runs that version, and may also download a Python 3.13 interpreter; pip, npm and npx download from PyPI or npm in the usual way. Your sources stay on your machine, and what your agent does with the chunks it reads is governed by that agent's own settings.

License

Apache-2.0. See LICENSE and NOTICE.

Metadata

Release files for catch-the-gist 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for catch-the-gist 0.0.8
File Size Uploaded Provenance Actions
catch_the_gist-0.0.8.tar.gz 526.0 kB Without provenance Details for catch_the_gist-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for catch-the-gist 0.0.8
File Interpreter ABI Platform Actions
catch_the_gist-0.0.8-py3-none-any.whl Python 3 none any Details for catch_the_gist-0.0.8-py3-none-any.whl

Total release size: 646.0 kB

Release files / catch_the_gist-0.0.8.tar.gz

Download URL catch_the_gist-0.0.8.tar.gz
Size 526.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d89dc527b6327216d2c3d6e6bb47584dcaee97942b739788ac980872324c747
BLAKE2b-256 checksum
How to use checksums
9a27f1ef33ed079745bfdbc9038224a36c2fc333e8e5442818f26c965eecd29e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / catch_the_gist-0.0.8-py3-none-any.whl

Download URL catch_the_gist-0.0.8-py3-none-any.whl
Size 120.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55a36cd7cb986325f36d1355a0fe20c59029ed5c8612c6102d6899f317c3bcb5
BLAKE2b-256 checksum
How to use checksums
d6290cccf7a58a7b49376d3ea2069b229fa01b701b3f679285f633e734e1a29a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for catch-the-gist 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page