本文へ移動
cccskills
無料GitHub で公開日本語紹介

xlsx

既存のExcelやCSVを読み取り、編集、集計し、新しい表や財務モデルを作成します。データの変換やグラフ作成、書式調整、数式や構造の検証にも対応します。

原文原文の説明を見る

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; analyze data and output results as an Excel file with charts; convert between tabular file formats (CSV/TSV/JSON/PDF-table → XLSX, or XLSX → CSV/JSON); clean, merge, pivot, or transform tabular data. Trigger especially when the user references a spreadsheet file by name or path, says 'make a table/report/model', mentions Excel/CSV/数据分析/报表/汇总, asks to convert or export a spreadsheet (e.g. 'csv转excel', 'json转表格', 'export as CSV'), or wants data visualization inside a spreadsheet.

asgeirtj/system_prompts_leaksスター 70,416(GitHub 70,416 + cccskills 0)
連携ツールExcelWordPowerPoint

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • Excelファイルを作成・編集したいとき
  • 表データを分析・集計したいとき
  • CSVやJSONをExcelに変換したいとき
  • 予算表や財務モデルを作りたいとき
  • グラフ付きの表を作成したいとき

日本語での紹介

できること

ExcelやCSVなどの表計算ファイルを読み取り、既存ブックの編集、データの分析・整理、新しい表の作成を行います。CSV・TSV・JSONやPDF内の表とXLSXの相互変換、複数データの結合、ピボット集計、予算表や財務モデルの作成にも対応します。必要に応じてグラフを加え、書式を整えたうえで、数式エラーやブックの構造を検証します。作成・編集では、元ファイルを保全し、通常は別ファイルとして成果物を出します。

こんなときに便利

手元の表を集計したいとき、複数のCSVを一つのブックにまとめたいとき、予算や費用を管理する表を作りたいときに役立ちます。数式を使った複雑な財務モデルや、グラフ付きの分析結果をExcelで共有したい場合にも使えます。依頼に複数の作業が含まれる場合は、データ準備、分析、可視化、書式調整、検査の順に扱います。

使い方の例

  • 「このCSVを分析して、要点とグラフを含むExcelファイルにしてください」
  • 「複数のCSVを一つのブックにまとめ、集計シートを追加してください」
  • 「この予算表に次の四半期の列を加え、ピボット集計を作ってください」

注意点

ライセンスは独自ライセンスで、詳細は LICENSE.txt に記載されています。数式の再計算やCSVからXLSXへの変換など、LibreOfficeが必要な作業ではLibreOfficeを使用します。フォントの追加インストールは利用者の確認なしには行いません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
B一部不足LibreOfficeの必須インストール規則はあるが、実行時の確認範囲に不足がある。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足環境確認スクリプトや追加手順がある一方、LibreOffice導入条件もある。

点数には入れていません。 2026年10月24日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(17)

  • SKILL.md18.1 KB
  • engines/chart-templates.md4.7 KB
  • engines/chart.md3.2 KB
  • engines/design.md22.2 KB
  • engines/vba-templates.md12.8 KB
  • env_setup/setup.md13.0 KB
  • quality/pipeline.md10.7 KB
  • scenes/advanced.md6.6 KB
  • scenes/analyze-recipes.md6.5 KB
  • scenes/analyze.md3.7 KB
  • scenes/convert.md3.8 KB
  • scenes/create.md3.0 KB
  • scenes/edit-patterns.md7.1 KB
  • scenes/edit.md7.0 KB
  • scenes/finance_lite.md5.1 KB
  • scenes/finance.md9.4 KB
  • scenes/vba.md7.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

XLSX — Scene-Driven Spreadsheet Workbench

Environment Setup

Quick check — run this first. If it exits 0, skip to Pre-Flight:

source "<skill_directory>/env_setup/env_check.sh"

This auto-detects and exports XLSX_SKILL_DIR and FONT_DIR. No manual variable setup needed.

Only if the check fails, read env_setup/setup.md for full platform-specific installation instructions (dependencies, fonts, China mirrors).

🔴 LibreOffice is install-on-demand and NOT substitutable. env_check.sh reports it as
on-demand MISSING without failing, so a passing check does not mean it is present. The moment
a task needs recalc, .xlsx→PDF, or .csv→.xlsx, you MUST install it — using the user's
Excel/WPS/Numbers instead is forbidden, and a large download is not a reason to skip.
See HARD REQUIREMENT under Quality Gate.

VariableAuto-set by env_check.shDescription
XLSX_SKILL_DIRskill root directoryParent of this file
FONT_DIRmacOS: ~/Library/Fonts, Linux: /usr/share/fontsFont base directory

Local-font-first. Inspect fonts available in the user's local environment and prefer a suitable
installed font. Use bundled or downloaded fonts only as fallbacks; do not install fonts without the
user's confirmation.


Pre-Flight: Intent Gate

Before touching any code, confirm the user actually needs a spreadsheet:

  • Report / analysis summary (述职, 调研报告) → docx skill
  • Presentation (汇报, 演示, pitch deck) → pptx skill
  • Formal print document (合同, 证书, "PDF") → pdf skill
  • Charts only, no data table needed → charts skill
  • User explicitly says a format → respect it

If confirmed xlsx → proceed to Scene Router below.

Request Decomposition (do this every time):

  • Explicit needs: sheets, columns, formulas, metrics the user stated
  • Implicit needs: business context, downstream use (filter? sort? input?)
  • Multi-part requests: generate ALL parts — never silently drop a component

Multi-Intent Detection — some requests combine multiple scenes:

"Create a financial model with charts and export a PDF summary"
 → scenes/finance.md + engines/chart.md + (hand off PDF to pdf skill)

"Analyze this CSV, build a dashboard, and make it look professional"
 → scenes/analyze.md + engines/chart.md + engines/design.md

"Edit this budget file, add a new quarter column, and create a pivot"
 → scenes/edit.md + quality/pipeline.md (pivot command)

"Convert these 5 CSVs into one xlsx with a summary sheet"
 → scenes/convert.md + scenes/create.md (for summary)

When multiple intents detected, load all matching files and execute in logical order: data preparation → analysis → visualization → styling → QA.


File Loading Rules (MANDATORY)

Always load ALL matched files. No shortcuts, no lazy loading, no "on demand".

User Request
│
├─ 1. Read SKILL.md (this file) — always
├─ 2. Route to scene file(s) via Scene Router below — read COMPLETELY
├─ 3. If scene involves charts → ALSO read engines/chart.md
├─ 4. If scene produces styled output → ALSO read engines/design.md
├─ 5. If scene is analyze → ALSO read scenes/analyze-recipes.md
├─ 6. If scene is edit → ALSO read scenes/edit-patterns.md
├─ 7. If scene is VBA → ALSO read engines/vba-templates.md
└─ 8. QA: always run full pipeline (quality/pipeline.md)

Rule: when in doubt, read the file. The cost of reading an extra file is a few hundred tokens. The cost of NOT reading it is a broken output that needs to be redone.

Chart + Design engines are loaded by default unless the task is purely read-only (inspect/validate with no output file). If you are creating or editing an xlsx, you MUST read engines/design.md.


Scene Router

User Request
│
├─ Involves an existing file?
│  ├─ Yes → Modify content or structure?
│  │         ├─ Yes ──────────────────── → scenes/edit.md
│  │         └─ No (read/analyze only) ─ → scenes/analyze.md
│  │
│  └─ Format conversion (CSV↔XLSX, JSON, PDF tables)?
│     └─ Yes ────────────────────────── → scenes/convert.md
│
├─ Create from scratch?
│  ├─ Financial / budget / forecast / cost tracking?
│  │  ├─ Complex (DCF / LBO / three-statement linkage (三表联动) / sensitivity / IB model)?
│  │  │  └─ Yes ─────────────────────── → scenes/finance.md
│  │  └─ Simple (budget table (预算表) / expense report (费用报表) / revenue vs cost (收支对比) / project cost (项目成本) / personal finance (个人记账))?
│  │     └─ Yes ─────────────────────── → scenes/finance_lite.md
│  └─ General table / report / template
│     └─ ──────────────────────────── → scenes/create.md
│
├─ Batch processing / large files / protection / validation?
│  └─ Yes ───────────────────────────── → scenes/advanced.md
│
├─ VBA / macros / automation inside Excel?
│  └─ Yes ───────────────────────────── → scenes/vba.md + engines/vba-templates.md
│
├─ Needs charts or data visualization?
│  └─ Yes ───────────── append ────────→ engines/chart.md
│
└─ Needs styling / design system?
   └─ Yes ───────────── append ────────→ engines/design.md

Mixed requests: load all matching files. Engine files always append to a scene.

Finance detection:

  • finance.md (complex): DCF, LBO, P&L, 利润表, 资产负债, valuation, 估值, IRR, 三表联动, sensitivity, scenario
  • finance_lite.md (simple): 预算, budget, 费用, expense, 收支, 记账, 项目成本, cost tracking, 报销, ROI

VBA detection: 宏, macro, VBA, 自动化, automation, .xlsm, 按钮, button, auto-run, 批量处理脚本


Design Principles

1. Live Formula Guarantee

Every derived value SHOULD be an Excel formula so the spreadsheet stays dynamic.

Exception — Programmatic Verification: When the output file will be verified by Python (not opened in Excel), TOTAL/SUM rows should write computed values instead of formulas, because openpyxl cannot evaluate formulas and data_only=True returns None for newly-written formulas. Optionally add the formula as a cell comment for reference.

2. Zero Error Tolerance

Deliverables must have zero formula errors. All divisions wrapped with IFERROR or IF(denom=0,...). Absolute references ($C$42) for shared denominators.

3. Compatibility First

No dynamic array functions (FILTER, UNIQUE, XLOOKUP, SORT, SORTBY, XMATCH, SEQUENCE, LET, LAMBDA, RANDARRAY). No implicit array formulas — use SUMPRODUCT alternatives.

4. Preserve & Match

When editing existing files: study and exactly match format, style, conventions. Existing patterns always override defaults. Text starting with = must be prefixed with '.

5. Language Mirror

Output language (sheet names, headers, labels) matches user's input language.

6. Data Consistency Over Instructions

When user instructions conflict with the actual data patterns in the existing file:

  • First priority: match the existing data pattern (e.g., if existing data uses 0 for empty, don't switch to -)
  • Second priority: follow user instructions literally
  • Always flag the conflict to the user

Example: User says "show hyphen for zero" but existing data and answer key use numeric 0 → Use 0 and notify user of the discrepancy.

7. Original File Preserved

User-provided input files are read-only by default. Deliverables go to new files; edit an original in place only when the user explicitly asks.


Toolchain

Script Path Setup (MANDATORY before any script call)

All CLI tools live relative to this skill's directory. Before calling any script, resolve the absolute path once:

XLSX_SKILL_DIR="<skill_directory>"   # ← parent directory of this SKILL.md

# Then all commands use absolute paths:
python3 "$XLSX_SKILL_DIR/xlsx.py" inspect data.xlsx --pretty
python3 "$XLSX_SKILL_DIR/xlsx.py" pivot data.xlsx output.xlsx --rows Region --values Revenue
python3 "$XLSX_SKILL_DIR/xlsx.py" validate output.xlsx

For Python imports (when generation code needs to import skill modules):

import sys, os
XLSX_SKILL_DIR = "<skill_directory>"
for sub in [XLSX_SKILL_DIR, os.path.join(XLSX_SKILL_DIR, "templates")]:
    if sub not in sys.path:
        sys.path.insert(0, sub)

⚠️ NEVER use bare python3 xlsx.py ... — it only works if cwd happens to be the skill directory. Always use the absolute path.

Tool Reference

ToolUse
openpyxlFormulas, formatting, charts, cell-level control
pandasData analysis, bulk operations, CSV/TSV
load_workbook(read_only=True)Large file reads
Workbook(write_only=True)Large file writes
templates/base.pyDesign tokens, font resolution, style factories, utilities (single source of truth)
xlsx.pyQA commands (see quality/pipeline.md)

Workbook metadata: wb.properties.creator = "Z.ai"

All code MUST import from templates/base.py for colors, fonts, and style helpers. Never hardcode hex values or font names.


Quality Gate

Every deliverable must pass the full integrity pipeline before delivery.

→ Load quality/pipeline.md for the role-based integrity workflow.

Quick reference:

Blueprint → Build & Self-check (per-sheet) → Inspect → Pivot (if needed) → Release

🔴 HARD REQUIREMENT — LibreOffice is missing

recalc (formula recalculation), .xlsx → PDF, and .csv → .xlsx all run through
LibreOffice/soffice. It is install-on-demand only in the sense that it is installed the moment a task needs it.

If LibreOffice is not installed, you MUST install it. This is not a choice.

FORBIDDEN — do not do any of these:

  • ❌ Using Microsoft Excel, WPS Office, Numbers, or any other program already on the user's machine instead of installing LibreOffice.
  • ❌ Deciding on the user's behalf that the download is "too large", "too slow", or "not worth it".
    The package being large is NOT a reason to skip the install. It is expected to be large.
  • ❌ Asking the user "should I just use Excel instead to save time?" — that is the same violation dressed up as a question. Do not offer the substitution.
  • ❌ Skipping recalculation or the release gate altogether to avoid installing.

REQUIRED sequence — no steps skipped, in this order:

  1. Explain the necessity to the user. LibreOffice is what actually recalculates the formulas so errors (#REF!, #DIV/0!, #VALUE!) surface before delivery — without it, formula results are unverified and the Live Formula Guarantee cannot be honored.
  2. Tell them the download is large (roughly several hundred MB) and may take a while. This is information for the user, not a decision point for you — state it and proceed to install.
  3. Install it now. Preferred source — Tsinghua TUNA mirror: https://mirrors.tuna.tsinghua.edu.cn/libreoffice/libreoffice/stable/26.8.0/ — pick the subdirectory for the platform/arch (deb/x86_64, deb/aarch64, rpm/x86_64, mac/aarch64, mac/x86_64, win/x86_64, win/aarch64) and install the main package from it. If 26.8.0 is gone, use the newest version under .../libreoffice/stable/. Full per-platform commands: env_setup/setup.md → "LibreOffice — Recommended Download Source". Package-manager fallback, only if the mirror is unreachable: macOS brew install --cask libreoffice; Linux (Debian/Ubuntu) sudo apt install libreoffice-core; Windows winget install TheDocumentFoundation.LibreOffice.
  4. Register the binary on PATH, then re-verify. An install that leaves soffice off the executable search path looks identical to "not installed" on the next probe — that is what causes the same several-hundred-MB package to be downloaded twice. The mechanism differs per OS (Linux/macOS: symlink into /usr/local/bin; Windows: append the program dir to the user PATH with setx). Full per-OS commands: env_setup/setup.md → "Register the binary on PATH". Re-run soffice --version and only continue once it prints a version.
    Corollary: probe before installing — if the binary already exists on disk but off-PATH, register it instead of reinstalling.
  5. Only after that install has actually been attempted AND failed may you use software already on the user's machine (Excel, WPS, Numbers). Report the install failure and which verification steps were skipped.

The gate is simple: no install attempt = no substitute program. If you have not run the
install command and seen it fail, using Excel/WPS/Numbers is a violation of this skill.


Capability Matrix

CapabilitySupportedScene/Engine
Create from scratch✅scenes/create
Edit existing file✅scenes/edit
Data analysis & EDA✅scenes/analyze
Format conversion✅scenes/convert
Financial models (DCF/LBO/P&L)✅scenes/finance
Simple budgets & expenses✅scenes/finance_lite
VBA macros & automation✅scenes/vba + engines/vba-templates
Batch processing✅scenes/advanced
Embedded charts✅engines/chart
Smart chart recommendation✅engines/chart
Design system & styling✅engines/design
PivotTable creation✅quality/pipeline (pivot cmd)
Formula validation✅quality/pipeline
Structural validation✅quality/pipeline
Data provenance tracking✅scenes/analyze
Large file handling✅scenes/advanced
Data protection & locking✅scenes/advanced

Final response citations

Place ::zcode-file-citation{...} inline in prose, not in a trailing list. Use purpose="source" for Q&A/no-op and purpose="output" for create/edit.

  • [HARD REQUIREMENT] Create/edit: cite each final file exactly once with a plain output citation. Summarize representative changes; do not cite every section/page or add a separate filename, path, or Markdown link. Example: Created ::zcode-file-citation{path="/abs/path/launch-plan.docx" purpose="output"}, highlighting the rollout and owners.
  • Q&A: do not edit/re-export.

Document

For page-specific evidence, use a page number verified against the latest render/inspection.

Locators support only page_number; otherwise use a plain citation. Do not guess or add object, label, paragraph, table, or cell IDs. Do not cite intermediates unless asked. Inspect complete relevant pages and preserve material headings, question/table labels, footnotes, sources, and sample sizes; cite each needed page once.

::zcode-file-citation{path="/abs/path/file.docx" purpose="source" artifact_kind="document" page_number=4}

PDF

Citations currently support only plain file citations. Do not add artifact_kind, page_number, or other locators. Never cite rendered PNGs, scratch files, builders, or QA intermediates unless asked. Inspect the complete relevant pages, preserve material headings, table/figure labels, footnotes, sources, and sample sizes, and cite each source PDF once with a plain source citation.

Presentation

inspect the complete relevant slide, including callouts, question wording, chart/table titles, totals/sample sizes, and source/methodology footers. Answer directly, group same-slide claims, and cite that slide once. For concrete chart/table/image/diagram/callout evidence, include exact inspected slide_id, object_id, and a useful label when available.

For non-in-place edits, preserve the source and export a copy; if unchanged, cite the source plainly.

Use only locators verified against the latest render/inspection:

::zcode-file-citation{path="/abs/path/deck.pptx" purpose="source" artifact_kind="presentation" slide_number=3}
::zcode-file-citation{path="/abs/path/deck.pptx" purpose="source" artifact_kind="presentation" slide_number=1 slide_id="sl/gs5z1kshq0xv" object_id="ch/pz9t1r3ka8vn" label="ARR by segment chart"}

If IDs are not exact, stop at slide_number; never guess or cite intermediates unless asked.

Spreadsheets

  • Cite whole-workbook claims plainly; otherwise use the narrowest reliable sheet + range (the exact cell for a discrete value). Cite discontiguous cells separately. For objects, use sheet + exact inspected object_id; add object_kind/label only when useful. Never cite a sheet alone or guess locators.
  • Calculations: cite only distinct inputs, drivers, formulas, or results the answer needs.
::zcode-file-citation{path="/abs/path/book.xlsx" purpose="source" artifact_kind="workbook" sheet="Revenue Model" range="C27"}

Never cite intermediates unless asked.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

3d-object

無料概要あり

立体物をthree.jsで作成し、あらゆる角度から確認できるビューアーに表示します。OBJ + MTLやGLBで保存し、他の3D制作ソフトへ持ち込めます。

  • 立体物を作って全方向から確認したいとき
  • Blenderで編集するモデルの作成
  • シルエットや素材の見え方の確認
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

a11y-debugging

無料概要あり

Chrome DevTools MCPでWebページのアクセシビリティを監査し、見出し構造、ラベル、キーボード操作、フォーカス、タップ領域、色のコントラストに関する問題を調べます。

  • ページ全体のアクセシビリティを監査したいとき
  • フォームのラベルや画像の代替テキストを確認したいとき
  • キーボード操作とフォーカスを点検したいとき
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

action-items

無料概要あり

個人用のタスク一覧に、やることや期限、返答待ち、作業が止まる理由を記録します。進捗や依存関係を更新し、重複や完了済みの項目も整理するスキルです。

  • 期限付きのタスクや約束の記録
  • 返答待ちや作業が止まる理由の整理
  • 前提タスク完了後の依存関係の更新
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agents

無料概要あり

作業の目標と完了条件を整理し、必要に応じて複数のエージェントへ分担します。進捗報告、成果の検証、PRのマージまで、プロジェクトとして進行を管理します。

  • 独立した作業を並行して進めたいとき
  • 進行中の各作業の状況確認
  • 中断したプロジェクトの再開
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agy-customizations

無料概要あり

Antigravityのカスタマイズの種類や読み込み順、検出場所を説明し、スキル、ルール、プラグイン、フック、MCPサーバーの作成方法を案内します。

  • カスタマイズの種類を選びたいとき
  • 読み込み場所や優先順位を確認したいとき
  • スキルやルールを作成したいとき
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

animated-video

無料概要あり

再生・一時停止や時間位置の指定ができるアニメーションをHTMLページとして制作します。場面の長さや速度を調整し、横長・縦長の動画書き出しに備えます。

  • 製品の操作紹介を動画にしたいとき
  • 文字と図形で内容を説明したいとき
  • 縦長のアニメーション制作
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

asgeirtj のスキルをすべて見る

このスキルの問題を報告する