{"slug":"media-digest","title":"media-digest","summary":"Reads anything long — a video, podcast, talk, article, PDF or a recording of their own — and hands it back short. Use it when the user points at one and asks what is in it, wants a meeting or lecture they recorded written up, or asks which videos on a topic are worth watching.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-10-28T19:54:07.381526Z","repo":{"url":"https://github.com/cgoinglove/thursday-agent","stars":58,"forks":13,"license":"MIT","updatedAt":"2026-11-10T21:07:18Z"},"bodyHtml":"<hr>\n<h2>name: media-digest\ndescription: \"Reads anything long — a video, podcast, talk, article, PDF or a recording of their own — and hands it back short. Use it when the user points at one and asks what is in it, wants a meeting or lecture they recorded written up, or asks which videos on a topic are worth watching.\"</h2>\n<h1>Media digest</h1>\n<p>Every script is <code>node &lt;this skill's dir&gt;/scripts/&lt;name&gt;.mjs</code>, needs no key and prints a few\nlines; the text itself goes to a file. Chain them with <code>&amp;&amp;</code> in one bash call.</p>\n<pre><code>S=&lt;this skill's dir&gt;/scripts\nnode $S/yt.mjs transcript &lt;url|id&gt;... --out &lt;scratch&gt; [--lang de]   # &lt;id&gt;.txt + &lt;id&gt;.json per video\nnode $S/yt.mjs search \"&lt;query&gt;\" [--within hour|day|week|month|year] [--length short|medium|long] [--sort relevance|views|date] [--max 20] --out &lt;scratch&gt;/rows.json\nnode $S/text.mjs &lt;article url | pdf url | file.pdf&gt; --out &lt;scratch&gt;/&lt;name&gt;.txt\nnode $S/part.mjs &lt;file&gt; &lt;n&gt;                                         # part n of a long file, one read\nnode $S/audio.mjs cut &lt;url|file&gt; --out &lt;scratch&gt;/audio [--minutes 10]   # no captions: pieces to transcribe\nnode $S/digest.mjs &lt;digest.json&gt; --name &lt;page&gt;                      # the page, in your artifacts folder\nnode $THURSDAY_SKILLS/artifact/scripts/document.mjs pdf &lt;page path&gt;   # a PDF beside it, when asked for one\n</code></pre>\n<p>Two facts decide the work:</p>\n<ul>\n<li><strong>One bash call shows only so much of what it prints; the rest is cut.</strong> So every file these scripts\nwrite is split into <code>## Part N</code> blocks that each fit one read, and the head they print says\nhow many. One part per bash call — two in one call are cut — and the calls for several\nparts sent together in one step. A question about one thing is <code>grep -n -i</code> on the file first, then only the parts\nthat hit; a summary reads every part. How: <code>references/reading.md</code>.</li>\n<li><strong>A timestamp is only worth giving when it comes from the file.</strong> Each transcript line\nstarts with <code>[m:ss]</code>; cite that time, never one worked out. A <code>~</code> marks a time estimated\nfrom where the words fall in a piece of audio; cite it with the <code>~</code>, which still opens the\nsource at that second.</li>\n</ul>\n<p>YouTube is read with yt-dlp, which the first <code>yt.mjs</code> or <code>audio.mjs</code> call fetches into\n<code>projects/</code> once (~50 MB); after that a video takes a few seconds.</p>\n<p><code>references/page.md</code> is the page's JSON and how an answer is shaped; <code>references/no-captions.md</code>\nis a video, podcast or recording with no transcript. A meeting or lecture they recorded is written\nup as notes — what was decided, who does what and by when, each point with its <code>[m:ss]</code> — in the\nartifact skill's <code>templates/document/notes.md</code>, not as a digest page.</p>\n","files":[{"path":"references/no-captions.md","sizeBytes":1637,"isText":true},{"path":"references/page.md","sizeBytes":3274,"isText":true},{"path":"references/reading.md","sizeBytes":2936,"isText":true},{"path":"scripts/audio.mjs","sizeBytes":7701,"isText":false},{"path":"scripts/digest.mjs","sizeBytes":17792,"isText":false},{"path":"scripts/lib.mjs","sizeBytes":9033,"isText":false},{"path":"scripts/part.mjs","sizeBytes":748,"isText":false},{"path":"scripts/text.mjs","sizeBytes":10053,"isText":false},{"path":"scripts/yt.mjs","sizeBytes":15363,"isText":false},{"path":"SKILL.md","sizeBytes":2647,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-10-28T19:54:58.401734Z","sha256":"9FCA2365FC4DFBD27CB4683F48D6BAD12F13F969E758012067DAD7B5F93AD60E","sizeBytes":29949},"review":null,"source":{"repositoryUrl":"https://github.com/cgoinglove/thursday-agent","path":"skills/media-digest","license":"MIT","commit":"12bbc84871eb8bf9a5bbd0304a8014d34c4ecc77","subtreeSha":"FB399038FF270E8957A9FC74CB1A35888339BBE99AF1E793D9CD790BB3E5DC42","lastSyncedAt":"2026-11-19T19:26:38.279652Z"},"reviewedAt":"2026-10-28T19:56:42.759081Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/cgoinglove/thursday-agent/tree/main/skills/media-digest"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install cgoinglove-thursday-agent@llmmart"},{"target":"git","command":"git clone https://github.com/cgoinglove/thursday-agent.git"}]}