libreoffice-calc

libreoffice-calc is a skill for Claude Code, Codex from dfk1352/LibreOffice-skills. It costs 51 tokens per session (2,922 once invoked), scanned A, original, MIT.

A toolkit for creating, editing, formatting, exporting, and reading LibreOffice Calc spreadsheets, including the .ods file format. It works with spreadsheet cells, sheets, ranges, charts, and related data.

In plain words
What is it for?
Use it to update spreadsheet cells and ranges, manage sheets and named ranges, apply formatting and validation, work with charts, extract data, and create snapshots of spreadsheet areas.
Why use it?
It removes the need to perform spreadsheet changes manually in LibreOffice or build low-level spreadsheet handling yourself. It also supports saving spreadsheets as PDF, Excel, or CSV files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to update spreadsheet cells and ranges, manage sheets and named ranges, apply formatting and validation, work with charts, extract data, and create snapshots of spreadsheet areas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dfk1352/libreoffice-skills/libreoffice-calc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dfk1352/LibreOffice-skills --skill libreoffice-calc
Clone the repo
git clone --depth 1 https://github.com/dfk1352/LibreOffice-skills

Made for: Claude Code, Codex.

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 libreoffice-calc

README.md
[![agentmods](https://agentmods.dev/badge/skills/dfk1352/libreoffice-skills/libreoffice-calc/github.svg)](https://agentmods.dev/skills/dfk1352/libreoffice-skills/libreoffice-calc)
Your own site
<a href="https://agentmods.dev/skills/dfk1352/libreoffice-skills/libreoffice-calc"><img src="https://agentmods.dev/badge/skills/dfk1352/libreoffice-skills/libreoffice-calc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for libreoffice-calc

Your own site · 80×15
<a href="https://agentmods.dev/skills/dfk1352/libreoffice-skills/libreoffice-calc"><img src="https://agentmods.dev/badge/skills/dfk1352/libreoffice-skills/libreoffice-calc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,922 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.00051 $0.02922
Opus 5 $0.00026 $0.01461
Sonnet 5 $0.00010 $0.00584
Haiku 4.5 $0.00005 $0.00292

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

Security

Grade A, and why

libreoffice-calc 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 11d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/calc/__init__.py, scripts/calc/core.py, scripts/calc/exceptions.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/libreoffice-calc/SKILL.md · 414 lines

How it starts

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

LibreOffice Calc

Use the bundled calc modules for UNO-backed Calc spreadsheet work. All paths must be absolute. Bundled modules live under scripts/ in this skill directory, so set PYTHONPATH=<skill_base_dir>/scripts. If setup or runtime issues appear, check references/troubleshooting.md.

API Surface

# Non-session utilities
create_spreadsheet(path, source=None)              # source: path to .json or .xml file to import
export_spreadsheet(path, output_path, export_format)   # formats: "pdf", "xlsx", "csv"
snapshot_area(doc_path, output_path, sheet="Sheet1", row=0, col=0, width=None, height=None, dpi=150)

# Session (primary editing API)
CalcSession(path) -> context manager

CalcSession methods:
  read_cell(target: CalcTarget) -> dict[str, object]
  write_cell(target: CalcTarget, value, value_type="auto")
  read_range(target: CalcTarget) -> list[list[dict[str, object]]]
  write_range(target: CalcTarget, data)
  format_range(target: CalcTarget, formatting: CellFormatting)
  list_sheets() -> list[dict[str, object]]
  add_sheet(name, index=None)
  rename_sheet(target: CalcTarget, new_name)
  delete_sheet(target: CalcTarget)
  define_named_range(name, target: CalcTarget)
  get_named_range(target: CalcTarget) -> dict[str, object]
  delete_named_range(target: CalcTarget)
  set_validation(target: CalcTarget, rule: ValidationRule)
  clear_validation(target: CalcTarget)
  create_chart(target: CalcTarget, spec: ChartSpec)
  update_chart(target: CalcTarget, spec: ChartSpec)
  delete_chart(target: CalcTarget)
  recalculate()
  patch(patch_text, mode="atomic") -> PatchApplyResult
  export(output_path, export_format)
  reset()
  close(save=True)

# Standalone patch utility
patch(path, patch_text, mode="atomic") -> PatchApplyResult

Structured Targets: CalcTarget

from calc import CalcTarget

CalcTarget(
    kind="cell" | "range" | "sheet" | "named_range" | "chart",
    sheet=None,
    sheet_index=None,
    row=None,
    col=None,
    end_row=None,
    end_col=None,
    name=None,
    index=None,
)

Read the full file on GitHub · 414 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. 11d ago First seen · 414 lines · 51 tokens per session scan A ea6ca66dc013

Subscribe to this mod's changes

libreoffice-calc is a skill published in the GitHub repository dfk1352/LibreOffice-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 2,922 once invoked, about $0.0003 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

add-excel

Adds Excel Online (Business) connector to a Power Apps code app. Use when reading or writing Excel workbook data from OneDrive or SharePoint.

microsoft/power-platform-skills · 33 tokens

csv-to-sif

Export a project's FF&E product-library CSV as dealer-system SIF. Use to produce a .sif schedule; use sif-to-csv for the reverse direction.

AlpacaLabsLLC/skills-for-architects · 38 tokens

product-data-cleanup

Clean a local FF&E CSV schedule by normalizing casing, dimensions, units, language, materials, and formatting. Use when asked to clean, fix, or standardize product data.

AlpacaLabsLLC/skills-for-architects · 42 tokens

product-data-import

Generate a formatted FF&E specification schedule from notes, CSV, or pasted lists and optionally save it to the project's 33-column CSV library. Use when asked to import products or build a schedule.

AlpacaLabsLLC/skills-for-architects · 43 tokens

sif-to-csv

Parse a SIF (Standard Interchange Format) input into a readable preview and optionally append canonical product rows to the project's CSV library. Use when asked to convert or inspect SIF dealer data. For the reverse direction use /as:csv-to-sif.

AlpacaLabsLLC/skills-for-architects · 58 tokens

pm-feedback

A feedback-analysis aid that turns spreadsheet data, CSV files, pasted text, or review screenshots into organized product insights. It groups themes, identifies sentiment, examines trends and sources, calculates NPS, and extracts user types.

serejaris/personal-corp-os · 132 tokens