ワンクリックで
xlsx
Use this skill for spreadsheet tasks — reading, creating, or analyzing .xlsx, .xls, .csv, or .tsv files.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use this skill for spreadsheet tasks — reading, creating, or analyzing .xlsx, .xls, .csv, or .tsv files.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use this skill to read or create Word documents (.docx files). Supports text extraction and document creation with headings and lists.
Use this skill whenever the user wants to do anything with PDF files — reading, extracting, creating professional documents, filling forms.
Create beautiful visual art in .png and .pdf documents using design philosophy. Use when the user asks to create a poster, piece of art, design, or other static visual piece.
Use this skill whenever the user wants to do anything with PowerPoint presentations — reading, extracting text, creating professional slide decks.
Use this skill when the user wants to interact with Feishu/Lark — manage calendars, send messages, create/edit documents, manage tasks, upload/download files, query contacts, or any Feishu workspace operations via the official lark-cli tool.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
| name | xlsx |
| description | Use this skill for spreadsheet tasks — reading, creating, or analyzing .xlsx, .xls, .csv, or .tsv files. |
| metadata | {"yiyi":{"emoji":"📊","requires":{}}} |
Drive everything through Python via run_python_script. The agent has
pip_install for any missing dependency. Bundled-friendly libraries:
openpyxl (xlsx read/write/formatting), pandas (analysis), csv (stdlib).
# read_xlsx.py
import sys
from openpyxl import load_workbook
wb = load_workbook(sys.argv[1], data_only=True)
sheet = wb[sys.argv[2]] if len(sys.argv) > 2 else wb.active
for row in sheet.iter_rows(values_only=True):
print("\t".join("" if v is None else str(v) for v in row))
For CSV/TSV use the stdlib csv module — no install needed.
# create_xlsx.py
from openpyxl import Workbook
from openpyxl.styles import Font
wb = Workbook()
ws = wb.active
ws.title = "Employees"
ws.append(["Name", "Age", "City"])
for cell in ws[1]:
cell.font = Font(bold=True)
ws.append(["Alice", 30, "Beijing"])
ws.append(["Bob", 25, "Shanghai"])
wb.save("/path/to/output.xlsx")
pandas; for simple per-row work, plain
openpyxl is enough and starts faster.csv.reader, write with openpyxl.openpyxl, write with csv.writer.pdf skill to extract text first, parse
rows in Python, then write via openpyxl.When an Excel file has formulas that show stale values or #VALUE!, recalculate them:
python3 scripts/recalc.py input.xlsx output.xlsx
This uses LibreOffice to open the file, recalculate all formulas, and save. Requires soffice CLI.
from openpyxl import Workbook
wb = Workbook()
ws = wb.active
ws.append(["Name", "Score"])
ws.append(["Alice", 95])
ws["C2"] = "=SUM(B2:B10)"
wb.save("output.xlsx")
Check: python3 -c "import openpyxl; print('OK')"
import pandas as pd
df = pd.read_excel("data.xlsx")
summary = df.groupby("Category").agg({"Amount": "sum"})
summary.to_excel("summary.xlsx")
| Task | Approach |
|---|---|
| Read xlsx | Python openpyxl (load_workbook(..., data_only=True)) |
| Read csv/tsv | Python stdlib csv |
| Create xlsx | Python openpyxl (Workbook + ws.append) |
| Simple analysis | One Python script: read + compute + print |
| Recalculate formulas | scripts/recalc.py (requires LibreOffice) |
| Complex formatting | Python openpyxl (Font, Alignment, …) |
| Data aggregation | Python pandas |