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.
Trigger this skill when the user asks for a file, such as:
Do not trigger this skill when:
.docx)#ElementSupportedDocument 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.
.xlsx)#ModeHow to invokeBudget template--template budgetInvoice template--template invoiceCustom 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.
Use {baseDir} to refer to the skill directory.
bash
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"
bash
python3 "{baseDir}/create_docx.py" \
--config "{baseDir}/templates/example_doc.json" \
--output "./smsf-report.docx"
bash
python3 "{baseDir}/create_xlsx.py" \
--template budget \
--output "./budget.xlsx"
bash
python3 "{baseDir}/create_xlsx.py" \
--template invoice \
--output "./invoice.xlsx"
bash
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
{
"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 optionallevel should be 1 or 2table must have the same column countjson
{
"title": "Quarterly Data",
"headers": ["Month", "Revenue", "Expenses", "Profit"],
"rows": [
["January", 120000, 80000, 40000],
["February", 140000, 85000, 55000]
]
}
json
{
"sheets": [
{
"title": "Income",
"headers": ["Month", "Amount"],
"rows": [["January", 1000], ["February", 1200]]
},
{
"title": "Expenses",
"headers": ["Month", "Amount"],
"rows": [["January", 700], ["February", 650]]
}
]
}
--force only when authorised).This skill does not:
.xlsm or .dotm filesbash
pip install python-docx openpyxl
FilePurposecreate_docx.pyGenerates Word documentscreate_xlsx.pyGenerates Excel workbookstemplates/example_doc.jsonSample Word configtemplates/example_sheet.jsonSample Excel data
Author: R.J. — MySMSF. Generated documents are drafts and working files only.