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). Video links arrive in a later version. - 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.
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] [--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.
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, when your agent asks to see them, the images those pages show. 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.7
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.7.tar.gz | 467.4 kB | Without provenance | Details for catch_the_gist-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| catch_the_gist-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for catch_the_gist-0.0.7-py3-none-any.whl |
Total release size: 556.1 kB
Release files / catch_the_gist-0.0.7.tar.gz
| Download URL | catch_the_gist-0.0.7.tar.gz |
|---|---|
| Size | 467.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a0df7407e8ac50a08804b89384771649784a6d9950309b378c6e67a1951dd33
|
|
BLAKE2b-256 checksum How to use checksums |
4a0087750afe808f812d611c237e7072b914c7ff5301c33710434094d51354f8
|
| 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.7-py3-none-any.whl
| Download URL | catch_the_gist-0.0.7-py3-none-any.whl |
|---|---|
| Size | 88.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
955e8be0e43484105c5961910b00354902d8920e4f7a199d54d1c6b53625c222
|
|
BLAKE2b-256 checksum How to use checksums |
1de9fe24dd901995f113a31dfc1211f2e817453ed0026d3eb0e93d3c81fc9d00
|
| 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.7
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.