xlsx
できること
このスキルは、エージェントがExcelのスプレッドシートとCSVのデータファイルを扱えるようにします。ワークブックの作成、整理、変換が必要な人向けです。
使う場面
- ✓リストや他のデータから、新しいExcelのワークブックを作りたいとき。
- ✓既存のスプレッドシートの数式、書式、行を編集したいとき。
- ✓雑然としたCSVデータを、整った表計算にしたいとき。
スキルのリンク
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/xlsx/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“顧客の注文のこのCSVを整理して、合計の列を入れたExcelファイルにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはまずワークブックを調べ、その後、補助スクリプトを使って変更を新しいファイルに書き込みます。LibreOfficeが使える場合は、そこを通じて数式を再計算できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Excel workbooks
Use this Skill for .xlsx and CSV creation, analysis, editing, restructuring, formula work, and export.
Start here
Call skill_view for this Skill and use its baseDirectory; helpers live under <baseDirectory>/scripts.
Default to a new output file. Inspect workbook sheets, dimensions, formulas, merged cells, names, tables, charts, validations, hidden content, and external links before modifying an existing file.
Core dependency:
python3 -m pip install openpyxl
Formula recalculation and visual rendering may require LibreOffice. Check first and do not silently install dependencies.
Helpers
- xlsx_read.py: inspect workbook values, formulas, styles, structure, and metadata.
- xlsx_create.py: create a workbook from structured JSON.
- xlsx_edit.py: perform targeted cell, range, formula, style, row, column, and sheet edits.
- xlsx_restructure.py: split, merge, normalize, pivot, or reshape tabular data.
- xlsx_recalc.py: recalculate through LibreOffice when available.
- csv_to_xlsx.py and xlsx_to_csv.py: convert formats.
Run helpers through terminal_exec with python3 and an argument array. Use --help for exact options.
python3 <baseDirectory>/scripts/xlsx_read.py input.xlsx --json
python3 <baseDirectory>/scripts/xlsx_create.py spec.json -o output.xlsx
python3 <baseDirectory>/scripts/xlsx_edit.py input.xlsx edits.json -o output.xlsx
python3 <baseDirectory>/scripts/xlsx_recalc.py output.xlsx
For non-trivial data reshaping, read references/restructuring.md through skill_view.
Workflow
- Inspect the workbook and identify the authoritative sheets, headers, formulas, and units.
- Validate source data types and row counts before transforming data.
- Apply the smallest requested edit into a new workbook.
- Re-read formulas and values. Recalculate when the output depends on formula results.
- For visible formatting or charts, export relevant sheets to PDF with LibreOffice, render the pages with the bundled pdf Skill, and inspect them using view_image.
- Return the absolute path plus any assumptions about formulas, locale, dates, or missing recalculation.
Data integrity
- Never invent missing values. Mark unknown data explicitly.
- Preserve formulas unless the user asks to replace them with values.
- Treat hidden sheets, filters, named ranges, validations, macros, and external links as meaningful.
- .xlsx sheet protection is not encryption; do not represent it as secure access control.
- Do not execute workbook macros or refresh untrusted external data sources.
よくある質問
元のスプレッドシートを変えますか?
いいえ。既定では新しい出力ファイルを書き、あなたが依頼した場合にのみ元のファイルを編集します。
数式は扱えますか?
はい。LibreOfficeが使える場合、数式の読み取り、編集、再計算ができます。
スプレッドシートをCSVに変換できますか?
はい。ExcelとCSVの形式の間を、両方向で変換できます。
詳細
作者による元の説明
Create, inspect, edit, restructure, recalculate, convert, and visually verify Excel .xlsx workbooks and CSV data.
repo: EKKOLearnAI/ekko-studio
人気
- GitHubのスター
- 12k
- ランキング
- #11581
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
1password
12kエージェントが、1PasswordのCLIを使って、コマンドや設定ファイルに必要な秘密情報を、チャット、ログ、保存されたファイルに表示せずに取得できるよう支援します。
apple-notes
12kエージェントが、memoコマンドラインツールを使って、Macのメモ(Apple Notes)を作成、検索、読み取り、編集、移動、削除できるよう支援します。
apple-reminders
12kエージェントが、remindctlツールを使って、Macのリマインダーとリマインダーのリストを一覧表示、作成、編集、完了、削除できるよう支援します。
document-to-action-items
12kエージェントが、文書、会議の書き起こし、メモを、タスク、担当者、期限、決定事項の明確な表に変換できるよう支援します。
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。