ods

ods is a skill for Claude Code from leiverkus/open-document-skills. It costs 72 tokens per session (4,117 once invoked), scanned A, original, MIT.

A skill for creating, reading, editing, converting, repairing, inspecting, and analysing OpenDocument spreadsheets, whose files usually end in .ods.

In plain words
What is it for?
Use it to work with ODS data and formulas, create styled workbooks, add spreadsheet features, inspect files, or convert between ODS and Excel formats.
Why use it?
Spreadsheet files can contain formulas, formatting, charts, and package files that are easy to damage with simple text edits. This skill provides ways to preserve and check that structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

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

Good fit Use it to work with ODS data and formulas, create styled workbooks, add spreadsheet features, inspect files, or convert between ODS and Excel 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/ods

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 ods

README.md
[![agentmods](https://agentmods.dev/badge/skills/leiverkus/open-document-skills/ods.svg)](https://agentmods.dev/skills/leiverkus/open-document-skills/ods)
Your own site
<a href="https://agentmods.dev/skills/leiverkus/open-document-skills/ods"><img src="https://agentmods.dev/badge/skills/leiverkus/open-document-skills/ods.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,117 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.00072 $0.04117
Opus 5 $0.00036 $0.02058
Sonnet 5 $0.00014 $0.00823
Haiku 4.5 $0.00007 $0.00412

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

Security

Grade A, and why

ods 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 23 executable files (scripts/add_chart.py, scripts/add_conditional_format.py, scripts/add_data_validation.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/ods/SKILL.md · 413 lines

How it starts

The opening of the file, as written. The whole thing — 413 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ODS creation, editing, and analysis

Overview

An .ods file is an OpenDocument ZIP package for spreadsheets. Important package files:

  • mimetype - should be the first ZIP entry and stored uncompressed as application/vnd.oasis.opendocument.spreadsheet
  • content.xml - sheets, rows, cells, formulas, charts, and most content
  • styles.xml - cell, table, page, and number styles
  • meta.xml - document metadata
  • settings.xml - application settings
  • META-INF/manifest.xml - package manifest

Quick Reference

Task Preferred approach
Read sheets/data Use scripts/extract_sheets.py or parse content.xml
Create simple workbook Generate ODS package XML directly
Create styled/model workbook Start from an .ods template and edit cells XML-safely
Extract/check formulas Use scripts/extract_formulas.py
Convert CSV/XLSX to ODS Use LibreOffice only when the source already exists or interoperability requires it
Validate formulas/recalc Recalculate with LibreOffice, then inspect formulas, CSV/PDF, and error values

Tool Checks

Before starting a real ODS task, check available tools:

python3 -c "import pandas, odf; print('pandas and odfpy available')"

Resolve the LibreOffice command as described in docs/soffice-resolver.md.

Use the bundled workspace Python when normal python3 lacks pandas or other spreadsheet libraries.

Reading Data

When pandas and odfpy are available:

import pandas as pd

sheets = pd.read_excel("input.ods", sheet_name=None, engine="odf")
for name, df in sheets.items():
    print(name, df.shape)

When the ODF engine is unavailable, prefer LibreOffice conversion:

# Resolve SOFFICE as shown in Tool Checks.
"$SOFFICE" --headless --convert-to xlsx input.ods --outdir converted

Then inspect the resulting XLSX with normal spreadsheet tooling.

For raw package inspection:

python -m zipfile -e input.ods unpacked_ods

Read the full file on GitHub · 413 lines

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 · 413 lines · 72 tokens per session scan A 40337495702c

Subscribe to this mod's changes

ods is a skill published in the GitHub repository leiverkus/open-document-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 4,117 once invoked, about $0.0004 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