← Back to Skills Marketplace
mysmsf

Document Generator (Word & Excel)

by Robbie Joseph · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
142
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install docx-xlsx-creator
Description
Generates Word (.docx) reports and Excel (.xlsx) workbooks as real downloadable files. Use when the user wants a file output — not a text answer — for SMSF,...
README (SKILL.md)

SMSF Document Creator

Generates Microsoft Word and Excel files from structured input. Designed for repeatable SMSF, accounting, and compliance workflows where the user needs a real file — not just a formatted text response.


When to use this skill

Trigger this skill when the user asks for a file, such as:

  • "Draft a Word document for the trustee review"
  • "Create an Excel budget workbook"
  • "Generate a .docx / .xlsx file"
  • "Make a checklist I can send to the client"
  • "Produce a working paper in Excel"
  • "I need a spreadsheet with this data"

Do not trigger this skill when:

  • The user only wants a text response or inline table
  • No file output is requested
  • The document requires heavy formatting, macros, or branding this skill cannot produce (see Limitations)

What this skill produces

Word documents (.docx)

Element Supported
Document title
Headings (levels 1–2)
Paragraphs
Bullet lists
Numbered lists
Basic tables
Images / branding
Advanced styles

Typical uses: trustee resolution drafts, client checklists, engagement summaries, compliance review notes, internal workpaper notes, business letters.

Excel workbooks (.xlsx)

Mode How to invoke
Budget template --template budget
Invoice template --template invoice
Custom data (JSON) --data your-file.json

Features: styled header rows, auto-sized columns, simple SUM/difference formulas, bar chart (budget template only).

Typical uses: budget sheets, invoice layouts, cashflow working papers, financial review tables, data exports.


Usage

Use {baseDir} to refer to the skill directory.

Word — simple

python3 "{baseDir}/create_docx.py" \
  --title "SMSF Trustee Review Summary" \
  --content "This draft summarises matters identified during the annual compliance review." \
  --output "./trustee-review-summary.docx"

Word — from JSON config

python3 "{baseDir}/create_docx.py" \
  --config "{baseDir}/templates/example_doc.json" \
  --output "./smsf-report.docx"

Excel — budget template

python3 "{baseDir}/create_xlsx.py" \
  --template budget \
  --output "./budget.xlsx"

Excel — invoice template

python3 "{baseDir}/create_xlsx.py" \
  --template invoice \
  --output "./invoice.xlsx"

Excel — from JSON data

python3 "{baseDir}/create_xlsx.py" \
  --data "{baseDir}/templates/example_sheet.json" \
  --output "./quarterly-data.xlsx"

Use --force on any command to overwrite an existing output file.


JSON input formats

Word document

{
  "title": "Document Title",
  "sections": [
    {
      "heading": "Section Heading",
      "level": 1,
      "paragraphs": ["Paragraph one.", "Paragraph two."],
      "bullets": ["Point A", "Point B"],
      "numbered": ["Step 1", "Step 2"],
      "table": [
        ["Header 1", "Header 2"],
        ["Value 1",  "Value 2"]
      ]
    }
  ]
}
  • title and all section keys are optional
  • level should be 1 or 2
  • All rows in a table must have the same column count

Excel workbook — single sheet

{
  "title": "Quarterly Data",
  "headers": ["Month", "Revenue", "Expenses", "Profit"],
  "rows": [
    ["January",  120000, 80000, 40000],
    ["February", 140000, 85000, 55000]
  ]
}

Excel workbook — multiple sheets

{
  "sheets": [
    {
      "title": "Income",
      "headers": ["Month", "Amount"],
      "rows": [["January", 1000], ["February", 1200]]
    },
    {
      "title": "Expenses",
      "headers": ["Month", "Amount"],
      "rows": [["January", 700], ["February", 650]]
    }
  ]
}

Safety rules

  1. Only write files to locations the user has explicitly approved. Do not write to shared, client, or regulated folders without confirmation.
  2. Do not overwrite existing files unless the user has clearly asked for that (use --force only when authorised).
  3. All output is a draft. Never present generated documents as final, signed, or legally compliant without separate professional review.
  4. SMSF and compliance documents must be reviewed by a qualified accountant, auditor, or adviser before use with a client or regulator.
  5. Do not interpolate free-form user input directly into shell commands. Use structured JSON input instead.
  6. Do not execute arbitrary code supplied by the user as part of document content or config.

Limitations

This skill does not:

  • Apply business branding, logos, or letterheads
  • Produce advanced Word styles beyond the built-in Normal/Heading/List set
  • Create complex Excel formulas, pivot tables, or VBA macros
  • Validate legal or regulatory wording
  • Replace professional review for any client-facing or lodgement document
  • Produce macro-enabled .xlsm or .dotm files

Requirements

pip install python-docx openpyxl

Files

File Purpose
create_docx.py Generates Word documents
create_xlsx.py Generates Excel workbooks
templates/example_doc.json Sample Word config
templates/example_sheet.json Sample Excel data

Author: R.J. — MySMSF. Generated documents are drafts and working files only.

Usage Guidance
This skill appears to do exactly what it claims: generate simple .docx and .xlsx files from JSON or CLI args using python-docx and openpyxl. Before installing or running: (1) install dependencies in a virtual environment (pip install -r requirements.txt); (2) run the example commands locally to verify output; (3) only supply JSON/config files you trust (the scripts parse JSON but do not execute code); (4) confirm output paths before running (the scripts resolve paths and create directories and will not overwrite unless you pass --force); and (5) review generated documents with a qualified professional for any compliance/legal use. If you need branding, macros, or advanced Excel features, this skill cannot produce them.
Capability Analysis
Type: OpenClaw Skill Name: docx-xlsx-creator Version: 1.0.1 The skill bundle is a legitimate tool for generating Word (.docx) and Excel (.xlsx) documents from structured JSON data or templates. The Python scripts (create_docx.py and create_xlsx.py) use standard libraries (python-docx and openpyxl), implement basic safety checks for file overwriting, and contain no evidence of data exfiltration, malicious execution, or obfuscation.
Capability Assessment
Purpose & Capability
Name/description (Word & Excel document generation) match the included scripts, templates, and requirements. The included Python files implement the described features (basic Word elements, simple Excel templates and JSON-driven sheets).
Instruction Scope
SKILL.md instructs only to run the provided scripts with JSON/config or simple CLI args. It explicitly warns not to execute arbitrary code and to write files only with user approval. The instructions do not reference unrelated files, secrets, or external endpoints.
Install Mechanism
No registry install spec; the skill is instruction-only but includes a requirements.txt and a clear pip install line for python-docx and openpyxl (standard PyPI packages). No downloads from arbitrary URLs or extract steps; installation approach is standard and proportional.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code reads only user-specified JSON/config files and writes only the user-specified output path (with overwrite protection unless --force is used).
Persistence & Privilege
Skill flags are default (always:false, user-invocable:true). It does not request persistent presence, nor does it modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install docx-xlsx-creator
  3. After installation, invoke the skill by name or use /docx-xlsx-creator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Skill renamed to "smsf-document-creator" for clarity. - Description and usage instructions refined for easier understanding and more explicit triggering guidelines. - Clearer lists of when to trigger (and *not* trigger) the skill based on user requests. - Expanded and modernized feature comparison tables for supported Word and Excel elements. - Safety rules and limitations updated for stronger compliance and user protection. - Usage examples and JSON input formats revised and clarified. - No code or functional file changes in this version.
v1.0.0
The skill name was set to docx-xlsx-creator. The GitHub repo was created as openclaw-docx-xlsx-creator. Two working Python scripts were built: create_docx.py create_xlsx.py The scripts now support real file generation, not just placeholders. Overwrite protection was added with --force. Output file type checks were added: .docx for Word .xlsx for Excel JSON-driven input support was added for both document and spreadsheet creation. Example templates were added: templates/example_doc.json templates/example_sheet.json The Excel script includes usable templates: budget invoice The Word script supports: title headings paragraphs bullets numbered lists tables The Excel script supports: headers rows autosized columns formulas a bar chart in the budget template A README.md was added listing you as creator: Creator: R.J. A requirements.txt was added: python-docx openpyxl A .gitignore was added so junk files do not get pushed. The skill was committed to Git and pushed to GitHub successfully. Repo access was set up through an SSH deploy key for this repo. Files now in the skill: SKILL.md README.md requirements.txt create_docx.py create_xlsx.py templates/example_doc.json templates/example_sheet.json
Metadata
Slug docx-xlsx-creator
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Document Generator (Word & Excel)?

Generates Word (.docx) reports and Excel (.xlsx) workbooks as real downloadable files. Use when the user wants a file output — not a text answer — for SMSF,... It is an AI Agent Skill for Claude Code / OpenClaw, with 142 downloads so far.

How do I install Document Generator (Word & Excel)?

Run "/install docx-xlsx-creator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Document Generator (Word & Excel) free?

Yes, Document Generator (Word & Excel) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Document Generator (Word & Excel) support?

Document Generator (Word & Excel) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Document Generator (Word & Excel)?

It is built and maintained by Robbie Joseph (@mysmsf); the current version is v1.0.1.

💬 Comments