一键导入
office-excel
Read and write Microsoft Excel (.xlsx) files. Use when the user asks to read, analyze, create, or convert Excel spreadsheets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read and write Microsoft Excel (.xlsx) files. Use when the user asks to read, analyze, create, or convert Excel spreadsheets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read and write Microsoft PowerPoint (.pptx) files. Use when the user asks to read, analyze, create, or convert PowerPoint presentations.
Read and write Microsoft Word (.docx) files. Use when the user asks to read, analyze, create, or convert Word documents.
Convert PDF files to Markdown format and create PDFs from Markdown. Use when the user asks to read, analyze, extract content from PDFs, or generate PDF documents.
| name | office-excel |
| description | Read and write Microsoft Excel (.xlsx) files. Use when the user asks to read, analyze, create, or convert Excel spreadsheets. |
Converts all sheets of an .xlsx to Markdown tables:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/read_excel.py "<path_to_xlsx>"
Read a specific sheet:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/read_excel.py "<path_to_xlsx>" "SheetName"
Save as .md file:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/read_excel.py "<path_to_xlsx>" "<output.md>"
Pipe markdown table content directly into the script using --stdin. This avoids creating temporary files:
echo '<markdown_content>' | uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/write_excel.py --stdin "<output.xlsx>"
For multi-line content, use a heredoc:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/write_excel.py --stdin "<output.xlsx>" <<'EOF'
## Sheet Name
| Col1 | Col2 |
|------|------|
| a | b |
EOF
If a .md file with tables already exists, use it directly:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/write_excel.py "<input.md>" "<output.xlsx>"
If you had to create the .md file as an intermediate step (it didn't exist before), delete it after generating the Excel.
Create a .json file with an array of objects, then:
uv run --with openpyxl ~/.kiro/skills/office-excel/scripts/write_excel.py "<input.json>" "<output.xlsx>"
--stdin. If you must create one (e.g., content is too large for a heredoc), always delete it after generating the Excel.