media
/media
Wyciąga tekst z PDF i epub oraz konwertuje audio i wideo do materiałów do nauki, zapisując wyniki w folderze media/out.
- Autor
- rdennler ↗
- Repozytorium
- thinkpad ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Wyciąga tekst z PDF i epub oraz konwertuje audio i wideo do materiałów do nauki, zapisując wyniki w folderze media/out.
Wyzwalacze z opisu
Oryginalny opis (EN)
PDF/epub text extraction and audio/video conversion for study material. Triggers on "extract this pdf", "absorb this book/pdf", "convert this video/audio", "transcribe this pdf". Outputs land in media/out/; absorbed sources also get ontology graph nodes.
Jak działa
- Tools
- Dropoff Convention (absorb pipeline)
- Output Convention
- Flows
- Invariants
Podgląd SKILL.md
--- name: media description: PDF/epub text extraction and audio/video conversion for study material. Triggers on "extract this pdf", "absorb this book/pdf", "convert this video/audio", "transcribe this pdf". Outputs land in media/out/; absorbed sources also get ontology graph nodes. metadata: api: 1 kind: infra mode: infra terminal: allowed triggers: ["extract this pdf", "absorb this book", "convert this video", "convert this audio"] reads: ["media/<env>/"] writes: ["media/out/", "memory/ontology/graph.jsonl"] requires: ["bin:pdftotext", "bin:ffmpeg"] graph_reads: [] graph_writes: ["Resource", "Concept", "Person"] --- # tp:media — PDF Extraction & A/V Conversion Turns source material (PDF, epub, audio, video) into text or a different format so a learning env can use it. **Terminal:** infra skill, so shell commands are fine here. The learning-session terminal rule does not apply while this skill runs. ## Tools | Job | Tool | |---|---| | PDF → text | `pdftotext -layout in.pdf out.txt` (poppler) | | PDF page → PNG | `pdftoppm -png -r 150 -f N -l N in.pdf out` | | A/V convert, trim, extract audio | `ffmpeg` (native) | Run `<tool> --help` before the first use in a session; flags differ between versions. ## Dropoff Convention (absorb pipeline) Source files land in `media/<env>/`. Absorbing a source means: 1. Extract to `media/out/<source-stem>/`. 2. Through `tp:memory`, create one `Resource` node (`part_of` the env), plus a `Concept` node per chapter or topic (`part_of` the env, its `refs` property naming the extract section). Link the Resource `about` each Concept. Env scoping lives in the graph relations, so one env never sees another env's resources. ## Output Convention - Outputs go to `media/out/` unless the user names a destination. - Name outputs after the source: `<stem>.txt`, `<stem>-p<NN>.png`, `<stem>.<newext>`. - Never overwrite silently. Suffix `-2`, `-3`, or ask. ## Flows 1. **Extract a PDF:** extract text. Report the page count and any pages that came back empty (likely scanned images). Render those pages to PNG and flag them rather than pretending the text is complete. 2. **Convert A/V:** use a native ffmpeg one-liner. Report the exact command, output path and size. Recipes: `references/recipes.md`. 3. **Absorb a book:** extract, then log to the graph as above. ## Invariants - Report the command you ran and where output landed, one line each. - The shell may be fish: use `(cmd)` for substitution, not `$(cmd)`.
Pliki w paczce (2)
- SKILL.md 2 KB
- references/recipes.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · rdennler/thinkpad | 90 | Apache-2.0 |
| unsady/den | 100 | Apache-2.0 |
| PIXARTSeu/Synapse | 95 | AGPL-3.0 |
| markusleben/ha-nova | 90 | MIT |
| rdennler/yat | 90 | Apache-2.0 |
| tpc-pascal/skillsmith | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 3f4f7d32fff3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100interview-ingest
Transkrybuje nagrania audio wywiadów i konwertuje dokumenty PDF, przygotowując dane do etapu 1 lub 2 projektu badawczego. - 100pdf-extraction
Wyciąga tekst z PDF-ów przez zdalne API OCR Asta, także ze skanów dokumentów. - 100book-to-obsidian
Wyciąga tekst z EPUB lub PDF, analizuje książkę czterema etapami czytania i zapisuje notatki w folderze w Obsidianie. - 100video-transcript-downloader
Pobiera, transkrybuje, bada, streszcza lub konwertuje źródła wideo i audio: transkrypty, napisy, ekstrakcja audio i pobieranie multimediów. - 100study-material
Wyciąga pełną treść z PDF, dokumentów i obrazów, a potem porządkuje ją w strukturalne materiały HTML do nauki. - 100add-source
Wprowadza nowe źródło, np. PDF, EPUB, nagranie, film albo stronę, do biblioteki Assara: od wyodrębnienia tekstu po indeks i katalog.