Home / 834063245-creator / lantaiagent · examples/office-cli/SKILL.md · GitHub

officecli skillA

officecli is agent-read markdown (skill) from 834063245-creator/lantaiagent: 用内置 office 域工具读写 Word/Excel/PPT(.docx/.xlsx/.pptx)——创建、读取、结构化查询、修改、模板批量填充、渲染截图、载入逐格式构建指南。当用户要产出或修改 Office 文档、从既有文档取内容或查格式问题、把研究结果交付成 Office 文件时用。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# office 域(OfficeCLI)——兰台一等工具的操作手册

兰台内置 **`office` 域工具**(`office(action, …)`),底层是 OfficeCLI 单二进制 Office 套件
(.docx/.xlsx/.pptx 读写 + 内置渲染/公式/透视引擎)。**执行面在强制层(Rust)**:命令由那边
拼装(二进制定位 + 引号 + 环境钉扎),经 `process_cap` 的 `office_exec` 动作在 os_sandbox 里
spawn;权限**只审你声明的目标文件**(`file` / `out`)——项目内直接放行,项目外或敏感路径才问
用户。plan 模式按动作分读写。

**你不需要写命令行**——动作与参数由工具层交成 argv,引号、路径、二进制定位都不归你管。
本手册讲的是"用哪个动作 + 参数怎么写才不出错"。

## 1. 动作面(12 个)

| 动作 | 干什么 | 关键参数 |
|---|---|---|
| `view` | 读数:`mode` = text / annotated / outline / stats / issues / html / svg / forms | `file` `mode` `page` `json` |
| `get` | 取某元素及其子节点 | `file` `path` `depth` `json` |
| `query` | CSS 式选择器查元素 | `file` `selector` `json` |
| `validate` | OpenXML schema 校验 | `file` |
| `create` | 建空白文件(类型由扩展名决定) | `file` |
| `set` | 改元素属性 | `file` `path` `props` |
| `add` | 加元素(可 `parent`/`type`) | `file` `parent` `type` `props` |
| `remove` | 删元素 | `file` `path` |
| `batch` | **≥3 处改动走它**:一次开关 + 原子回滚 | `file` `items` |
| `merge` | 模板 `{{key}}` 批量填充 | `file` `out` `data` |
| `screenshot` | 渲染成 PNG(页/整册) | `file` `out` `page` 或 `grid` |
| `playbook` | 载入逐格式构建指南(见 §6) | `playbook` |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add 834063245-creator/lantaiagent/officecli@git:20260915.de4f7d7
Exact content
mdr add 834063245-creator/lantaiagent/officecli@sha256:6619760f00458218

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_irhnpv6ov6o52ire.svg)](https://markdownregistry.com/a/art_irhnpv6ov6o52ire)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260915.de4f7d7 latest2026-09-15 de4f7d7 15,215 BA view · diff
git:20260915.ef036e22026-09-15 ef036e2 14,662 BA view · diff
git:20260915.4412ce82026-09-15 4412ce8 14,464 BA view · diff
git:20260913.2d540812026-09-13 2d54081 13,181 BB view · diff
git:20260913.09b09242026-09-13 09b0924 19,197 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15215 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

834063245-creator/lantaiagent · 25 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_irhnpv6ov6o52ire
GET https://markdownregistry.com/api/v1/resolve?ref=834063245-creator/lantaiagent/officecli
GET https://markdownregistry.com/api/v1/blob/6619760f004582188f0c97af95098d090f079630c94ad43ca40cedbb83696771

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from 834063245-creator/lantaiagent

AGENTS.md agents
834063245-creator/lantaiagent · AGENTS.md
git:20260918.89da9a0 · audit A · 25 stars
CLAUDE.md claude
834063245-creator/lantaiagent · CLAUDE.md
git:20260922.1f881dd · audit A · 25 stars

Every file in 834063245-creator/lantaiagent

Other files named officecli

officecli skill
team-commonly/commonly · backend/commonly-bundled-skills/officecli/SKILL.md · Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when…
git:20260504.69c67bb · audit B · 1,349 stars
officecli skill
mateaix/mateclaw · mateclaw-server/src/main/resources/skills/officecli/SKILL.md · Use the optional iOfficeAI/OfficeCLI engine for advanced inspection, validation, copy-on-write editing, template merge…
v1.0.0 · audit A · 1,127 stars
officecli skill
hhu3637kr/skills · officecli/SKILL.md · Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when…
git:20260725.41a1808 · audit B · 145 stars
officecli skill
tomcounsell/ai · .agents/skills/officecli/SKILL.md · Create, inspect, or edit Office files through officecli when that CLI is requested or appropriate to the existing…
git:20260914.89f8008 · audit A · 24 stars
officecli skill
tomcounsell/ai · .claude/skills/officecli/SKILL.md · Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) via officecli. Use when creating…
git:20260705.5a5efb9 · audit B · 24 stars
officecli skill
mlcyclops/lucidagentide · .agents/skills/officecli/SKILL.md · Give agents real Word, Excel, and PowerPoint capability through the pinned officecli binary, with no Office install…
git:20260830.a375cdc · audit B · 18 stars

Browse by kind, by grade A, or by owner.