Agent skill

Officecli

by grandamenium in grandamenium/cortextos

Create, read, and edit Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files.

MITAuto-check passedDocuments & Office

Install Officecli

skills CLI
$ npx skills add grandamenium/cortextos --skill officecli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install grandamenium/cortextos officecli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/grandamenium/cortextos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/community/skills/officecli .claude/skills/officecli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
officecli
GitHub stars
101
Token cost
~1.4k tokens
SKILL.md length
236 words
Files
1
Skills in repo
55
Repo updated
First seen
Licence
MIT

At a glance

Create, read, and edit Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files.

  • A task requires generating a report
  • SKILL.md covers Installation, Core Commands, Word (.docx) Patterns and Excel (.xlsx) Patterns, plus 4 more sections
  • Calls curl; reaches github.com
  • Analysis spreadsheet

What it does

Officecli is an agent skill from grandamenium/cortextos. Create, read, and edit Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files. Use when a task requires generating a report, analysis spreadsheet, or presentation. No Office installation needed — single binary, works offline.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Excel spreadsheets, PowerPoint presentations and Word documents. It works with Microsoft Excel, Microsoft PowerPoint and Microsoft Word. The licence is MIT.

When your agent uses it

  • A task requires generating a report
  • Analysis spreadsheet

Example prompts

  • “/officecli”

What it can do on your machine

Read from SKILL.md and the folder at commit 6f93838. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Officecli loads about 1.4k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 236 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from grandamenium/cortextos at commit 6f93838, republished under its MIT licence (© grandamenium). 236 words, ~1,381 tokens.

Download SKILL.mdSave it as .claude/skills/officecli/SKILL.md (or your agent's skills folder).
name
officecli
description
Create, read, and edit Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files. Use when a task requires generating a report, analysis spreadsheet, or presentation. No Office installation needed — single binary, works offline.
effort
low
triggers
word document, excel, spreadsheet, powerpoint, presentation, docx, xlsx, pptx, generate report, create report, monthly report, owner report, work order…

OfficeCLI — Word, Excel, PowerPoint from the Terminal

Create and edit Office documents without Microsoft Office. Single binary, no auth, no cloud. Works on any file the agent can read/write.


Installation

bash
curl -L https://github.com/iOfficeAI/OfficeCLI/releases/download/v1.0.47/officecli-mac-arm64 \
  -o ~/bin/officecli && chmod +x ~/bin/officecli

# Register as MCP (enables tool calls directly from Claude)
officecli mcp claude

Verify: officecli --version


Core Commands

CommandWhat it does
officecli create file.docxCreate blank document
officecli view file.docx outlineRead structure (low token cost)
officecli view file.docx textRead all text content
officecli add file.docx /body --type paragraph --prop text="..."Add content
officecli set file.docx /body/p[1]/r[1] --prop bold=trueEdit properties
officecli merge template.docx output.docx '{"key":"value"}'Template merge
officecli batch file.docx --input ops.jsonMulti-operation batch
officecli validate file.docxCheck schema integrity

All commands support --json for structured output.

Path addressing uses 1-based indexing: /body/p[1], /slide[2]/shape[3], /$Sheet:A1


Word (.docx) Patterns

Monthly Owner Report
bash
# Create and populate
officecli create ~/reports/owner-report-$(date +%Y-%m).docx
DOC=~/reports/owner-report-$(date +%Y-%m).docx

# Title
officecli add $DOC /body --type paragraph \
  --prop text="AscendOps Monthly Report — $(date +%B\ %Y)" \
  --prop style=Heading1

# Sections
officecli add $DOC /body --type paragraph \
  --prop text="Maintenance Summary" --prop style=Heading2
officecli add $DOC /body --type paragraph \
  --prop text="Open work orders: N. Completed this month: N. Avg close time: X days."

# Table for key metrics
officecli add $DOC /body --type table \
  --prop rows=4 --prop cols=3 \
  --prop header="Category,Count,Avg Days"
Template Merge (variable substitution)
bash
officecli merge template.docx output.docx '{
  "owner_name": "John Smith",
  "property": "123 Main St",
  "month": "April 2026",
  "open_orders": "3",
  "completed": "12"
}'

Excel (.xlsx) Patterns

Work Order Analysis
bash
officecli create ~/reports/work-orders.xlsx
XLS=~/reports/work-orders.xlsx

# Add a sheet with data from CSV
officecli add $XLS / --type sheet \
  --prop name="April WOs" \
  --prop csv=/path/to/work_orders.csv

# Add a summary formula
officecli add $XLS / --type sheet --prop name="Summary"
officecli set $XLS 'Summary!A1' --prop value="Total Open"
officecli set $XLS 'Summary!B1' --prop formula="=COUNTIF('April WOs'!D:D,\"Open\")"
Set cell values and formulas
bash
# Set a specific cell
officecli set report.xlsx 'Sheet1!A1' --prop value="Property"
officecli set report.xlsx 'Sheet1!B1' --prop value="Open WOs"

# Formula
officecli set report.xlsx 'Sheet1!C2' \
  --prop formula="=AVERAGE(B2:B20)" \
  --prop format="0.0"

PowerPoint (.pptx) Patterns

Onboarding / Welcome Deck
bash
officecli create ~/reports/onboarding.pptx
DECK=~/reports/onboarding.pptx

# Title slide
officecli add $DECK / --type slide \
  --prop title="Welcome to AscendOps" \
  --prop background=1A1A2E

# Content slide
officecli add $DECK / --type slide --prop title="Your AI Agent Team"
officecli add $DECK '/slide[2]' --type shape \
  --prop text="• Dane — Orchestrator\n• Blue — PM Specialist\n• Aussie — Analyst\n• Collie — Dev Agent" \
  --prop x=2cm --prop y=4cm --prop font=Arial --prop size=20

# Live preview while building
officecli watch $DECK --port 26315

Reading Documents

bash
# Low-token outline (structure only)
officecli view report.docx outline

# Full text
officecli view report.docx text

# Stats (word count, page count, etc.)
officecli view report.docx stats

# JSON output for programmatic use
officecli get report.docx /body/p[1] --json

Batch Operations (multi-step)

Write a JSON file with operations, run in one call:

json
[
  {"op": "add", "path": "/body", "type": "paragraph", "props": {"text": "Section 1", "style": "Heading2"}},
  {"op": "add", "path": "/body", "type": "paragraph", "props": {"text": "Content here."}},
  {"op": "set", "path": "/body/p[1]/r[1]", "props": {"bold": true}}
]
bash
officecli batch report.docx --input ops.json --force

Tips

  • Use view outline before editing — cheaper than reading the full document
  • Use --json when the output will be parsed by code
  • merge is fastest for templated reports — create the template once, fill it each month
  • watch is useful when iterating on a presentation — live browser preview
  • Resident mode (officecli open → edit → officecli close) reduces per-operation latency for many sequential edits

No auth required. File must be accessible (not locked by another process). Supported formats: .docx, .xlsx, .pptx only.

© grandamenium, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in community/skills/officecli of grandamenium/cortextos.

Open the folder on GitHubat commit 6f93838

Compare with similar skills

Officecli next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Officecli compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Officecli this skillgrandamenium/cortextos101—~1.4kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Docx4jplutext/docx4j2.4k—~2.5kAutomated safety check: PassNone
Cyber Pptcrazyykhllc-bit/CyberPPT1.8k—~10kAutomated safety check: PassMIT
Markitshift-labs-ai/markit1.3k—~299Automated safety check: PassMIT
Markitdownjimmc414/Kosmos5942 repos~1.7kAutomated safety check: PassNone

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Docx4j

    plutext/docx4j

    A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…

    2.4k GitHub stars~2.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Cyber Ppt

    crazyykhllc-bit/CyberPPT

    当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。

    1.8k GitHub stars~10k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Markit

    shift-labs-ai/markit

    Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.

    1.3k GitHub stars~299 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    594 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed
  • Liteparse

    bastani-inc/atomic

    A skill your agent uses whenever a task involves a document file (PDF, DOCX, PPTX, XLSX, or image) and you need to read it or pull text, tables, or specific values out of it — to answer a question…

    846 GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed

More from grandamenium/cortextos

All 55 skills in this repo
  • Cortext Self Diagnosis

    grandamenium/cortextos

    Diagnose cortextOS itself when the framework misbehaves — an agent has gone silent or wedged, agents are crash-looping, Telegram or agent-to-agent messages are not arriving, crons did not fire, an…

    101 GitHub stars~3.7k tokensUpdated 15 days ago
    Auto-check passed
  • Activity Channel

    grandamenium/cortextos

    You have completed something significant and want the whole org — all agents and the user — to know about it.

    101 GitHub stars~624 tokensUpdated 15 days ago
    Auto-check passed
  • Agentcard Purchase

    grandamenium/cortextos

    You need to make a purchase on behalf of the user — buy a SaaS subscription, pay for an API, purchase a domain, or any transaction requiring a credit card.

    101 GitHub stars~1.1k tokensUpdated 15 days ago
    Auto-check passed
  • Claude To Codex Migration

    grandamenium/cortextos

    Migrate ANY cortextOS agent from the claude-code runtime to the live codex-app-server runtime.

    101 GitHub stars~12k tokensUpdated 15 days ago
    Auto-check: warnings
  • Bus Reference

    grandamenium/cortextos

    Complete cortextos bus CLI reference - all available commands with examples.

    101 GitHub stars~3.8k tokensUpdated 15 days ago
    Auto-check passed
  • Business News Monitor

    grandamenium/cortextos

    Daily cron-driven scan of news/forums/social in a domain to surface market shifts, new competitors, regulatory changes, and net-new opportunities.

    101 GitHub stars~1.3k tokensUpdated 15 days ago
    Auto-check passed

Questions about Officecli

What does Officecli do?

Create, read, and edit Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files. Officecli is an agent skill from grandamenium/cortextos.pptx) files.

When should I use Officecli?

Officecli fits situations like: A task requires generating a report; analysis spreadsheet.

How do I install Officecli in Claude Code?

Run `npx skills add grandamenium/cortextos --skill officecli -a claude-code`. Or copy the skill folder (community/skills/officecli in grandamenium/cortextos) into .claude/skills/officecli in your project. Claude Code loads it when a task matches its description.

How do I install Officecli in Codex?

Run `npx skills add grandamenium/cortextos --skill officecli -a codex`. Or copy the skill folder (community/skills/officecli in grandamenium/cortextos) into .agents/skills/officecli in your project. Codex loads it when a task matches its description.

Can I use Officecli in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add grandamenium/cortextos --skill officecli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/officecli, .gemini/skills/officecli, .github/skills/officecli and .opencode/skills/officecli in your project.

What does Officecli need to run?

Going by SKILL.md and its folder, Officecli needs the command-line tools its instructions call (curl).

Does Officecli access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Officecli safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Officecli use?

Officecli is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Officecli use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Officecli?

Skills that share tags, products or a category with Officecli: Markitdown (ImCa0/just-laws, 781 stars), Docx4j (plutext/docx4j, 2.4k stars), Cyber Ppt (crazyykhllc-bit/CyberPPT, 1.8k stars) and Markit (shift-labs-ai/markit, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Officecli?

grandamenium (a GitHub user) maintains it in grandamenium/cortextos, which has 101 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on September 23, 2026.

Source: grandamenium/cortextos on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.