1. Habit
  2. Skills
  3. Office Automation skill
texiaoyao · 3K installs

Office Automation skill
Runs by itself, every Friday afternoon.

One merged sheet every week.

Install the Office Automation skill and make it a habit: follow https://gethabit.dev/skills/texiaoyao/office-automation.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

3K installs7 starsMIT licenceSource on GitHub ↗

Office Automation

by texiaoyao · 3K installs

The skill

The office automation skill gives an agent Python scripts to read, write, fill and format Word .docx files and to read, merge, convert and analyze Excel sheets.

Only when you ask.

The habit

One merged sheet every week.

↻ Runs by itselfevery Friday afternoon

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one folder per run and one retry; files over 100MB are left for a split run.

  1. 01

    Read the log

    Your agent checks which files it merged last time.

  2. 02

    Merge the sheets

    It runs excel_processor.py merge on the folder with --output merged.xlsx.

  3. 03

    Read it back

    It runs excel_processor.py read on the merged file to confirm it holds data.

  4. 04

    Analyze the data

    It runs excel_processor.py analyze with --pivot for a short summary.

  5. 05

    Fill the report

    It runs word_processor.py template with --data to fill the weekly report.

  6. 06

    Log the run

    It writes the file names and row counts to the run log.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Office Automation skill helps.

Use it when

  • ✓ You merge many Excel files
  • ✓ You fill Word templates with data
  • ✓ You convert Excel to CSV

Skip it when

  • – Your files are old .doc format
  • – You need live collaborative editing

Questions

Office Automation skill, answered.

Does it read old .doc files?

No. The skill supports .docx only, and .xlsx or .xlsm for Excel.

What does it need installed?

python3 with python-docx, openpyxl and pandas.

How do I install the Office Automation skill?

Copy the prompt at the top into your agent. It installs the skill from texiaoyao/office-automation-skill and sets up the habit. Or run npx skills add texiaoyao/office-automation-skill --skill office-automation.

Is the Office Automation skill free?

Yes. It is published under MIT. Habit is free too.

Office Automation. Now as a habit.

Install the Office Automation skill and make it a habit: follow https://gethabit.dev/skills/texiaoyao/office-automation.md

  • Free
  • No account
  • Undo in one line

All texiaoyao skills →More docs skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by texiaoyao, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.