OfficeRoutines
Latest: v0.1.0
First version: set up OfficeRoutines for OpenClaw, and use its Excel, Word, and PowerPoint tools well.
OfficeRoutines
OfficeRoutines gives an agent Excel, Word, and PowerPoint. It changes saved files through a locked working copy and reads the result back before it counts, changes documents open in Office as one transaction that is undone if a step fails, and replays repeated work as saved recipes. It runs on this computer, and it is built on OfficeCLI.
This skill tells OpenClaw how to work with OfficeRoutines. It installs nothing and runs no commands.
Set it up
-
Install OfficeRoutines for your computer from https://github.com/recued/office-routines/releases, and install OfficeCLI too.
-
Add OfficeRoutines to OpenClaw:
text ofrt job mcp install openclawWhen the Office companion is running, this also passes its connection file, so OpenClaw can change documents open in Office. Add
--allow-folder <folder>once per folder to limit which saved files OpenClaw can open; without it, OpenClaw can open any file your account can. -
Start a new OpenClaw session, then check it with
openclaw mcp probe officeroutines. It lists 18 tools.
Working with OfficeRoutines
- OpenClaw shows the tools with the server's name in front, such as
officeroutines__officeroutines_help. - Start with
officeroutines_help. It lists the commands and the documents open in Office with their pane, each with an alias you can pass asfile. - Name a saved file by its full path. Read with
officeroutines_get,officeroutines_query, orofficeroutines_viewbefore you change it. officeroutines_set,officeroutines_add,officeroutines_remove, andofficeroutines_movemake one change;officeroutines_batchmakes several as one. In a document open in Office, the change appears on screen, and a batch that fails partway is undone.save: falsekeeps a change on screen for the user to review;officeroutines_savemakes it permanent.- Give a change a
run_idwhen it must happen only once. If the call is cut off,officeroutines_read_batch_runwith the samerun_idsays how it ended; do not send the change again before you know. - For work the user repeats, look for a recipe first:
officeroutines_list_recipes,officeroutines_read_recipe, thenofficeroutines_apply_recipe. A recipe replays without the model working out each step again. officeroutines_copycopies a file, or makes a PDF of it. It never replaces an existing file.- If OfficeRoutines refuses a path as outside the allowed folders, tell the user; only they can change which folders OpenClaw may use.
Privacy
OfficeRoutines works on files on this computer, and OpenClaw's model sees only what a tool returns.
