odt

odt is a skill for Claude Code from leiverkus/open-document-skills. It costs 119 tokens per session (7,068 once invoked), scanned A, original, MIT.

A skill for creating, reading, editing, converting, repairing, and inspecting OpenDocument text files, whose files usually end in .odt.

In plain words
What is it for?
Use it to create or edit letters, CVs, academic papers, grant proposals, and dissertations, or convert documents between ODT and Word formats.
Why use it?
Text documents can include styles, page layouts, footnotes, citations, and other structure that can be lost during conversion or editing. This skill helps preserve and check those elements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is zip -0 -X ../output.odt mimetype.

Part of the open-document-skills plugin — 4 skills shipped together

Good fit Use it to create or edit letters, CVs, academic papers, grant proposals, and dissertations, or convert documents between ODT and Word formats.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/leiverkus/open-document-skills
agentmods
npx agentmods add skills/leiverkus/open-document-skills/odt

Made for: Claude Code.

Or install open-document-skills, the plugin that ships this one along with the rest of its 4 skills.

Wrote 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.

agentmods badge for odt

README.md
[![agentmods](https://agentmods.dev/badge/skills/leiverkus/open-document-skills/odt.svg)](https://agentmods.dev/skills/leiverkus/open-document-skills/odt)
Your own site
<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>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,068 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash 06f9bb626c23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 44 executable files (scripts/_block_position.py, scripts/add_alphabetical_index.py, scripts/add_bibliography.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/odt/SKILL.md · 669 lines

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 as application/vnd.oasis.opendocument.text
  • content.xml - document body
  • styles.xml - named styles and page layout
  • meta.xml - document metadata
  • settings.xml - application settings
  • META-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.

Read the full file on GitHub · 669 lines

Files

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.

Changes

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.

  1. 8d ago First seen · 669 lines · 119 tokens per session scan A 06f9bb626c23

Subscribe to this mod's changes

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.

Related

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.

K-Dense-AI/scientific-agent-skills · 56 tokens

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.

K-Dense-AI/scientific-agent-skills · 57 tokens

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…

K-Dense-AI/scientific-agent-skills · 94 tokens

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.

nanocoai/nanoclaw · 57 tokens

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.

JimLiu/baoyu-skills · 107 tokens

pdf-design

Designs PDF reports and proposals from HTML with previews and branding. Use to create, export, or securely upload a PDF.

jamditis/claude-skills-journalism · 28 tokens