officecli

officecli is a skill for Claude Code, Codex from NetMindAI-Open/NarraNexus. It costs 56 tokens per session (7,727 once invoked), scanned C, original, Apache-2.0.

A command-line skill for creating, inspecting, proofreading, and editing Word, Excel, and PowerPoint files. It uses officecli, a tool that does not require Microsoft Office to be installed.

In plain words
What is it for?
Use it to modify document content or formatting, inspect files, find problems, add charts, and work on specialized documents such as presentations, papers, or financial models.
Why use it?
It gives coding agents a defined way to work with office files and check the results, including a live preview when a document is created or edited.

Skill for Claude CodeCodex

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

Good fit Use it to modify document content or formatting, inspect files, find problems, add charts, and work on specialized documents such as presentations, papers, or financial models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/netmindai-open/narranexus/officecli
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 NetMindAI-Open/NarraNexus --skill officecli
Clone the repo
git clone --depth 1 https://github.com/NetMindAI-Open/NarraNexus

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/netmindai-open/narranexus/officecli/github.svg)](https://agentmods.dev/skills/netmindai-open/narranexus/officecli)
Your own site
<a href="https://agentmods.dev/skills/netmindai-open/narranexus/officecli"><img src="https://agentmods.dev/badge/skills/netmindai-open/narranexus/officecli/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 officecli

Your own site · 80×15
<a href="https://agentmods.dev/skills/netmindai-open/narranexus/officecli"><img src="https://agentmods.dev/badge/skills/netmindai-open/narranexus/officecli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,727 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.00056 $0.07727
Opus 5.5 $0.00022 $0.03091
Sonnet 5.5 $0.00011 $0.01545
Haiku 4.5 $0.00006 $0.00773

Measured 1mo ago against content hash 938c3486feef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

officecli 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 1mo 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.

NOT try to install, download, or `curl | bash` it. Just call it directly.

Makes network callslowCapability

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

NOT try to install, download, or `curl | bash` it. Just call it directly.
src/xyz_agent_context/module/skill_module/builtin_skills/officecli/SKILL.md · 481 lines

How it starts

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

officecli

AI-friendly CLI for .docx, .xlsx, .pptx. Single binary, no dependencies, no Office installation needed.

Availability

officecli is pre-installed on this platform and already on your PATH — do NOT try to install, download, or curl | bash it. Just call it directly.

Sanity-check once with officecli --version. In the rare case it is missing (command not found), do NOT attempt a global install (it will be blocked in the cloud sandbox and is unnecessary locally). Instead call send_message_to_user_directly and tell the user that officecli is unavailable in this environment so they can report it — then fall back to another approach.


Strategy

L1 (read) → L2 (DOM edit) → L3 (raw XML). Always prefer higher layers. Add --json for structured output.

Before doc work, check Specialized Skills (bottom of this file). Fundraising decks, academic papers, financial models, dashboards, and Morph animations need their own skill loaded first — load_skill once, then proceed.


Live preview in the panel (NarraNexus — IMPORTANT)

The user CANNOT open a raw .pptx / .docx / .xlsx in this chat. Whenever you create or edit a document, open a LIVE preview in the right-side panel so the user watches it take shape as you build it. Treat this as the delivery step — a document the user can't see is not delivered.

Register FIRST, then build. The live refresh only works while the preview is open, so you MUST register the document as an artifact immediately after officecli create — BEFORE you add any slides/content — and then keep editing. The user then watches it build slide by slide. If you register only at the end, the user stares at an empty panel the whole time and the point is lost.

Name the file meaningfully, and make the title match the filename. The panel tab shows the artifact title; if that differs from the workspace filename, the user can't find the file they're looking at. So give the document a real, descriptive filename up front (e.g. q4-report.pptx, not a generic deck.pptx) and pass that same filename as the title. Keep filenames simple — lowercase, hyphens/underscores, no spaces or special characters (spaces also make the officecli path string harder to keep identical).

Read the full file on GitHub · 481 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. 1mo ago First seen · 481 lines · 56 tokens per session scan C 938c3486feef

Subscribe to this mod's changes

officecli is a skill published in the GitHub repository NetMindAI-Open/NarraNexus (91 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 7,727 once invoked, about $0.0002 per session on Opus 5.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.