agentic-formats
Read and write open office files: ODF and OOXML for documents, spreadsheets, and slides. Keywords: odf,ooxml,odt,ods,odp,docx,xlsx,pptx,office,documents,import,export,agents,mcp,cli.
Source facts
- Repository
- pooriaarab/agentic-formats
- Last source activity
- October 29, 2026 at 11:29
- Detected SKILL.md language
- English
- Stars
- 0
- Forks
- 0
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- agentic-formats
- description
- Read and write open office files: ODF and OOXML for documents, spreadsheets, and slides. Keywords: odf,ooxml,odt,ods,odp,docx,xlsx,pptx,office,documents,import,export,agents,mcp,cli.
# agentic-formats
Read and write open office files: ODF and OOXML for documents, spreadsheets, and slides.
## Use the SDK
```js
import { convert, inspect, readOdt, writeDocx } from "agentic-formats";
const { model, warnings } = readOdt(bytes);
const { bytes: docx } = writeDocx(model);
const result = convert(bytes, "odt", "docx"); // { bytes, warnings, from, to }
```
## Use the CLI
```sh
agentic-formats convert report.odt report.docx
agentic-formats inspect report.docx
```
Output is JSON on stdout. A refusal exits with 1 and prints the reason on stderr.
`convert` replaces no file unless you pass `--force`.
## Use the MCP server
Start it with `agentic-formats mcp`. Call `inspect_file`, `read_model`, or `convert_file`.
The tools read and write only the working folder of the server, which is never `/` or the home folder (the server refuses to start there). Set `AGENTIC_FORMATS_ROOT` to
use another folder. Set `AGENTIC_FORMATS_UNSAFE_ANY_PATH=1` only when the user asked for any path.
A path outside the folder returns an "outside the allowed folder" error: do not look for a way around it.
## Rules
- Every file is hostile input. Keep the limits.
- Report a `FormatError` and every warning to the user.
- Replace a file only when the user asked.
View on GitHub