Chuyển đến nội dung
Skillpedia
PDF, Word và slide12k · #11581

xlsx

Skill này làm gì

Skill này giúp agent làm việc với bảng tính Excel và file dữ liệu CSV. Dành cho bất kỳ ai cần một workbook được xây dựng, làm sạch hoặc chuyển đổi.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một workbook Excel mới từ một danh sách hoặc dữ liệu khác.
  • ✓Khi bạn muốn sửa công thức, định dạng hoặc các dòng của một bảng tính có sẵn.
  • ✓Khi bạn có dữ liệu CSV lộn xộn và cần chuyển nó thành bảng tính gọn gàng.

Liên kết skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/xlsx/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/xlsx/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm sạch file CSV đơn hàng khách hàng này và biến nó thành file Excel có cột tổng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra workbook trước, rồi ghi các thay đổi vào một file mới bằng script trợ giúp. Nó có thể tính lại công thức qua LibreOffice khi công cụ đó có sẵn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Inspect the workbook and identify the authoritative sheets, headers, formulas, and units.
  2. Validate source data types and row counts before transforming data.
  3. Apply the smallest requested edit into a new workbook.
  4. Re-read formulas and values. Recalculate when the output depends on formula results.
  5. 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.
  6. 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.
Câu hỏi thường gặp

Nó có thay đổi bảng tính gốc của tôi không?

Không. Mặc định nó ghi một file đầu ra mới và chỉ sửa bản gốc khi bạn yêu cầu.

Nó có xử lý công thức không?

Có. Nó có thể đọc, sửa và tính lại công thức khi LibreOffice có sẵn.

Nó có chuyển bảng tính thành CSV không?

Có. Nó chuyển đổi giữa định dạng Excel và CSV theo cả hai chiều.

Chi tiết

Mô tả gốc của tác giả

Create, inspect, edit, restructure, recalculate, convert, and visually verify Excel .xlsx workbooks and CSV data.

repo: EKKOLearnAI/ekko-studio

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11581
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự