officecli-xlsx

officecli-xlsx is a skill for Claude Code, Codex from CES-Ltd/TitanX. It costs 119 tokens per session (4,964 once invoked), scanned C, original, Apache-2.0.

Instructions for using OfficeCLI with Excel .xlsx workbooks. OfficeCLI is a command-line tool for reading, analyzing, creating, and editing spreadsheets.

In plain words
What is it for?
Use it whenever a .xlsx file is involved, such as for extracting data, changing workbooks, or working with formulas, charts, and pivot tables.
Why use it?
It provides a defined workflow for spreadsheet tasks, including checking the tool version and choosing the right instructions for reading, editing, or creating files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it whenever a .xlsx file is involved, such as for extracting data, changing workbooks, or working with formulas, charts, and pivot tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ces-ltd/titanx/officecli-xlsx
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 CES-Ltd/TitanX --skill officecli-xlsx
Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/TitanX

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 officecli-xlsx

README.md
[![agentmods](https://agentmods.dev/badge/skills/ces-ltd/titanx/officecli-xlsx.svg)](https://agentmods.dev/skills/ces-ltd/titanx/officecli-xlsx)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/titanx/officecli-xlsx"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/officecli-xlsx.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 4,964 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.04964
Opus 5 $0.00060 $0.02482
Sonnet 5 $0.00024 $0.00993
Haiku 4.5 $0.00012 $0.00496

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

Security

Grade C, and why

officecli-xlsx scanned grade C with 2 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 7d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
src/process/resources/skills/officecli-xlsx/SKILL.md · 448 lines

How it starts

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

OfficeCLI XLSX Skill

BEFORE YOU START (CRITICAL)

Every time before using officecli, run this check:

if ! command -v officecli &> /dev/null; then
    echo "Installing officecli..."
    curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
    # Windows: irm https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.ps1 | iex
else
    CURRENT=$(officecli --version 2>&1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
    LATEST=$(curl -fsSL https://api.github.com/repos/iOfficeAI/OfficeCLI/releases/latest | grep '"tag_name"' | sed -E 's/.*"v?([0-9.]+)".*/\1/')
    if [ "$CURRENT" != "$LATEST" ]; then
        echo "Upgrading officecli $CURRENT → $LATEST..."
        curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
    else
        echo "officecli $CURRENT is up to date"
    fi
fi
officecli --version

Quick Reference

Task Action
Read / analyze content Use view and get commands below
Edit existing workbook Read editing.md
Create from scratch Read creating.md

Execution Model

Run commands one at a time. Do not write all commands into a shell script and execute it as a single block.

OfficeCLI is incremental: every add, set, and remove immediately modifies the file and returns output. Use this to catch errors early:

  1. One command at a time, then read the output. Check the exit code before proceeding.
  2. Non-zero exit = stop and fix immediately. Do not continue building on a broken state.
  3. Verify after structural operations. After adding a sheet, chart, pivot table, or named range, run get or validate before building on top of it.

Running a 50-command script all at once means the first error cascades silently through every subsequent command. Running incrementally means the failure context is immediate and local — fix it and move on.

Read the full file on GitHub · 448 lines

Files

What ships with it

2 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. 7d ago First seen · 448 lines · 119 tokens per session scan C bee715c6ea81

Subscribe to this mod's changes

officecli-xlsx is a skill published in the GitHub repository CES-Ltd/TitanX (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 4,964 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.