Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/leiverkus/open-document-skillsnpx agentmods add skills/leiverkus/open-document-skills/odtWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/leiverkus/open-document-skills/odt)<a href="https://agentmods.dev/skills/leiverkus/open-document-skills/odt"><img src="https://agentmods.dev/badge/skills/leiverkus/open-document-skills/odt.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00119 | $0.07068 |
| Opus 5 | $0.00060 | $0.03534 |
| Sonnet 5 | $0.00024 | $0.01414 |
| Haiku 4.5 | $0.00012 | $0.00707 |
Grade A, and why
odt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 669 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ODT creation, editing, and analysis
Overview
An .odt file is an OpenDocument ZIP package. Important package files:
mimetype- should be the first ZIP entry and stored uncompressed asapplication/vnd.oasis.opendocument.textcontent.xml- document bodystyles.xml- named styles and page layoutmeta.xml- document metadatasettings.xml- application settingsMETA-INF/manifest.xml- package manifest
Quick Reference
| Task | Preferred approach |
|---|---|
| Extract text and structure | Use scripts/extract_text.py or parse content.xml |
| Create styled/template document | Start from an .odt template, preserve styles/page layout, edit XML |
| Create simple structured document | Generate ODT package XML directly |
| Convert Markdown/HTML/DOCX to ODT | Use Pandoc/LibreOffice only when the source already exists or interoperability requires it |
| Preserve complex formatting | Unpack the ODT, edit XML with a structured XML parser, then repack carefully |
| Inspect raw structure | unzip -l file.odt; python -m zipfile -e file.odt unpacked/ |
Tool Checks
Before starting a real ODT task, check which tools are available:
which pandoc
python3 -c "import odf; print('odfpy available')"
Resolve the LibreOffice command as described in docs/soffice-resolver.md.
Reading Content
For plain text and semantic structure:
pandoc input.odt -t markdown -o output.md
For raw package inspection:
python -m zipfile -e input.odt unpacked_odt
Read content.xml with an XML parser. Do not use regex for XML edits.
Bundled scripts for common inspection tasks:
# Extract headings, paragraphs, lists, tables, and footnotes.
python scripts/extract_text.py input.odt
python scripts/extract_text.py input.odt --json
# Inspect package files, media references, styles, tables, and document structure.
python scripts/inspect_package.py input.odt
For the full script reference, see docs/script-reference.md.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- LICENSE.txt 1.0 KB
- scripts/_block_position.py 2.2 KB runs code
- scripts/add_alphabetical_index.py 3.6 KB runs code
- scripts/add_bibliography.py 4.0 KB runs code
- scripts/add_bookmark.py 4.7 KB runs code
- scripts/add_citation.py 7.0 KB runs code
- scripts/add_comment.py 5.4 KB runs code
- scripts/add_footnote.py 4.7 KB runs code
- scripts/add_illustration_index.py 5.1 KB runs code
- scripts/add_image.py 2.4 KB runs code
- scripts/add_index_mark.py 3.5 KB runs code
- scripts/add_math.py 6.6 KB runs code
- scripts/add_reference.py 5.5 KB runs code
- scripts/add_sequence.py 4.1 KB runs code
- scripts/add_toc.py 4.2 KB runs code
- scripts/apply_template.py 4.3 KB runs code
- scripts/convert.py 2.2 KB runs code
- scripts/create_from_markdown.py 22 KB runs code
- scripts/create_minimal_odt.py 11 KB runs code
- scripts/delete_block.py 3.3 KB runs code
- scripts/edit_table.py 6.2 KB runs code
- scripts/extract_template.py 9.8 KB runs code
- scripts/extract_text.py 4.5 KB runs code
- scripts/fill_citations.py 5.9 KB runs code
- scripts/insert_blocks.py 5.0 KB runs code
- scripts/inspect_package.py 2.2 KB runs code
- scripts/inspect_template.py 1.3 KB runs code
- scripts/list_changes.py 2.8 KB runs code
- scripts/list_citations.py 2.1 KB runs code
- scripts/list_comments.py 2.5 KB runs code
- scripts/list_notes.py 4.4 KB runs code
- scripts/list_refs.py 7.7 KB runs code
- scripts/list_styles.py 1.7 KB runs code
- scripts/md_parser.py 19 KB runs code
- scripts/odt_common.py 14 KB runs code
- scripts/pack_fodt.py 548 B runs code
- scripts/pack_odt.py 547 B runs code
- scripts/render.py 1.6 KB runs code
- scripts/replace_text.py 1.9 KB runs code
- scripts/resolve_changes.py 4.6 KB runs code
- scripts/restyle.py 3.6 KB runs code
- scripts/track_change.py 9.1 KB runs code
- scripts/unpack_fodt.py 535 B runs code
- scripts/update_indexes.py 6.1 KB runs code
- scripts/validate_refs.py 15 KB runs code
- templates/academic-paper/LICENSE.txt 679 B
- templates/academic-paper/PROVENANCE.md 717 B
- templates/academic-paper/README.md 1.6 KB
- templates/academic-paper/styles.xml 5.7 KB
- templates/cv/LICENSE.txt 679 B
- templates/cv/PROVENANCE.md 611 B
- templates/cv/README.md 2.1 KB
- templates/cv/styles.xml 5.3 KB
- templates/dissertation/LICENSE.txt 679 B
- templates/dissertation/PROVENANCE.md 772 B
- templates/dissertation/README.md 3.3 KB
- templates/dissertation/styles.xml 8.4 KB
- templates/grant-proposal/LICENSE.txt 679 B
- templates/grant-proposal/PROVENANCE.md 932 B
- templates/grant-proposal/README.md 2.5 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 669 lines · 119 tokens per session scan A 06f9bb626c23
odt is a skill published in the GitHub repository leiverkus/open-document-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 7,068 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
venue-templates
Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds. Use when selecting an official template, checking current page or anonymity rules, adapting academic writing to a venue, or inspecting a submission PDF.
xlsx
Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for…
convert-documents-to-markdown
Convert an attached Word document, presentation, spreadsheet, OpenDocument file, RTF, EPUB, CSV, or text-based PDF into local Markdown. Use when a message supplies a local attachment path that must be read without uploading it to an external parser.
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
pdf-design
Designs PDF reports and proposals from HTML with previews and branding. Use to create, export, or securely upload a PDF.