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.txtsites, pasted text, and Markdown, text and subtitle files (.md,.markdown,.txt,.srt,.vtt). Audio and video:.mp3,.m4a,.wav,.flac,.ogg,.opus,.mp4,.mov,.mkvand.webmfiles, plus YouTube, Vimeo and other video links and playlists (up to 50 videos). Recordings are transcribed on your machine and cited ast=HH:MM:SS; they run as background jobs with progress, at most 6 hours and 2 GB each. - Course folders and PDFs as jobs: a folder with a
course.mdis read as one course, each file under its lecture, and cited to its lecture and file (the lecture's link is kept, never fetched). Code files and.ziparchives are read inside a course only. Every PDF and every course runs as a background job:ingestwaits up towait_s, then returns ajob_idforingest_status. catch-the-gist never opens, browses or downloads from a course site. See Turning a course into a skill. - 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
ffmpegon your PATH; YouTube downloads may fail withoutdeno;doctorchecksffmpeg,yt-dlp,denoand 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. - Video pictures: a video's slides, diagrams and on-screen text are read too. Frames are read from local video files and video links (YouTube, Vimeo, playlists); pass
frames: falseto skip them. They are on by default;--no-frames(CLI) orframes: false(MCP) gives a transcript-only document. With frames on, a playlist plan shows the estimated picture download size (est_download_bytes) and frame time (est_frames_s) next to the transcription estimate. Text on the frames is read by OCR on your machine, with no model calls. Chunks mark each frame with its time and OCR text, and mark diagrams and codelookso the agent views them throughget_framesbefore writing about them. Each frame is labeledslide,screen(a screen recording, one frame per change),talking headorfootage;lookalso marks frames where the speaker pointed at the screen (pointed), timed by where the phrase falls in the transcript cue. A still slide under a moving pointer or toolbar keeps one frame. Faces are found locally with the bundled YuNet model. - Scanned pages and images: scanned PDF pages and images are read by OCR too. A scanned page's OCR text is the page's own text in the chunks, so
get_chunkswith aqueryfinds it; an image's OCR text sits under its marker. Theframesswitch does not affect this;frames: falseonly skips video pictures. - 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_framesto look at the pages, slides or images. An image goes into the skill'sassets/folder only when text would lose its meaning, such as a photo. catch-the-gist doctorchecks what is installed. LibreOffice is optional: with it, PowerPoint slides render as images forget_frames; without it,doctorwarns 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.
The guide
Every skill also gets GUIDE.md and GUIDE.html next to SKILL.md: write_skill writes them when the spec includes guide, which the agent instructions always ask for. They are for you, not for the agent: they say what the skill is, how to use it, what it learned from your content, how it works, what was left out and which frames the agent viewed, and what each file holds. A course skill's guide also lists the course's lectures, with the files and cited notes for each and per-video coverage, and marks the skill for personal use. Open GUIDE.html in any browser. Agents never load either file, so they cost no context.
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. Video frames are extracted and read by OCR locally, with no model calls and no extra network access. 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.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| catch_the_gist-0.0.9.tar.gz | 895.8 kB | Without provenance | Details for catch_the_gist-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| catch_the_gist-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for catch_the_gist-0.0.9-py3-none-any.whl |
Total release size: 1.3 MB
Release files / catch_the_gist-0.0.9.tar.gz
| Download URL | catch_the_gist-0.0.9.tar.gz |
|---|---|
| Size | 895.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e73fcdee45496a93f97a4f63459a2e8975278d000c119aaef570f1b10350dc6
|
|
BLAKE2b-256 checksum How to use checksums |
b026d67965660e8935aeaa833ad612bf656a8c1a056dc27fb905291dc393309a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.9-py3-none-any.whl
| Download URL | catch_the_gist-0.0.9-py3-none-any.whl |
|---|---|
| Size | 392.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af7d1ceae863a341453893126ecfb9eb3202e9d5f167402cf5532a0726b08567
|
|
BLAKE2b-256 checksum How to use checksums |
06f679df4072cfca6c4f08b1e0ece105ed0ff6b00273f18e3f55ea755f99ca64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.9
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.