Read XLSX

读取 Microsoft Excel (.xlsx / .xls) 电子表格的内容,并以结构化方式(Markdown 表格/CSV/摘要)返回。 当用户需要查看表格数据、分析特定 Sheet 或提取单元格内容时使用。

5 stars 2 forksDocuments & Office Files

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-xlsx
Manual install
git clone --depth 1 https://github.com/GAGAA-HUE/ASHUO-claude-skills.git /tmp/ASHUO-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/ASHUO-claude-skills/read-xlsx ~/.claude/skills/read-xlsx

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# read-xlsx Skill

## 触发条件

用户输入 `/read-xlsx <路径>` 时,本 skill 生效。

## 执行流程

1. **检查依赖**:使用 Bash 检查 `python` 或 `python3` 是否可用,以及 `openpyxl` 库是否已安装。
   - 若未安装,自动运行:
     ```bash
     pip install openpyxl
     ```

2. **验证文件**:确认路径存在且以 `.xlsx` 或 `.xls` 结尾。

3. **提取内容**:运行以下 Python 脚本获取工作表列表和指定 Sheet 的数据:
   ```python
   import openpyxl
   wb = openpyxl.load_workbook("<路径>")
   print("Sheets:", wb.sheetnames)
   ws = wb["<Sheet名>"]
   for row in ws.iter_rows(values_only=True):
       print(row)
   ```

4. **数据呈现**:
   - 如果表格较小(< 50 行),直接输出完整的 Markdown 表格。
   - 如果表格较大,输出前 20 行 + 表头,并告知总行数和总列数,询问用户是否需要查看更多或筛选特定内容。

5. **支持 .xls 格式**:
   - 如果是 `.xls` 文件且 `openpyxl` 无法打开,自动安装 `xlrd` 并使用其读取。

## 输出要求

- 始终使用中文回复用户。
- 先列出所有可用的 Sheet 名称。
- 用 Markdown 表格展示数据,保持对齐。
- 若用户未指定 Sheet,默认读取第一个 Sheet。
- 若提取失败,给出具体错误原因。
Read the full skill on GitHub

Details

Skill name
read-xlsx
Path
read-xlsx/SKILL.md
Repo updated
3 November 2026

FAQ

What does the Read XLSX skill do?

读取 Microsoft Excel (.xlsx / .xls) 电子表格的内容,并以结构化方式(Markdown 表格/CSV/摘要)返回。 当用户需要查看表格数据、分析特定 Sheet 或提取单元格内容时使用。

How do I install the Read XLSX skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-xlsx. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Read XLSX popular?

It lives in GAGAA-HUE/ASHUO-claude-skills, which has 5 GitHub stars and 2 forks.

Related skills

Domain Modeling

5

GAGAA-HUE/ASHUO-claude-skills

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

AI, LLMs & AgentsIn 2 lists

Git Guardrails Claude Code

5

GAGAA-HUE/ASHUO-claude-skills

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Git & Code ReviewIn 2 lists

Setup Pre Commit

5

GAGAA-HUE/ASHUO-claude-skills

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Testing & QAIn 2 lists

Slides

5

npow/claude-skills

Turns bullet points, research, or structured content into a browser-based Reveal.js slide deck. Use when the user asks to create slides, a presentation, a deck, a slideshow, or says "present this", "turn this into slides", "make a deck", or mentions keynote, powerpoint, or reveal.

Documents & Office Files

Read PPTX

5

GAGAA-HUE/ASHUO-claude-skills

读取 Microsoft PowerPoint (.pptx) 演示文稿的文本内容,并按幻灯片结构返回。 当用户需要总结、分析或提取 PPT 中的文字信息时使用。

Documents & Office Files

Keynote Generator

5

Dreydrey9000/claude-skills

Generate Steve Jobs-style keynote presentations as single-file HTML. Full-screen scroll-driven slides, black background, massive typography, fade-in animations, zero clutter. Story arc: Problem → Tension → Reveal → How It Works → Demo → Proof → Numbers → One More Thing → Close. Triggers: "keynote", "presentation", "pitch deck", "present this", "Steve Jobs style", "make a deck", "show this to [person]", "explain this visually", "Taco Bell keynote style".

Documents & Office Files

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.