Token导航 LogoToken导航

Agent Skill · 研究检索

xlsx(XLSX 表格处理)

xlsx 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

xlsx 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,372。

总安装 692周安装 28GitHub Stars 38下载 217核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xlsx(XLSX 表格处理)
来源仓库:https://github.com/lanej/dotfiles
仓库路径:skills/xlsx
安装命令:
npx skills add https://github.com/lanej/dotfiles --skill xlsx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/lanej/dotfiles --skill xlsx

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

lanej-dotfiles-xlsx 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。它可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。当前顶部介绍为空,需参考原始 SKILL.md 补充细节。xlsx 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/xlsx

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/lanej/dotfiles --skill xlsx;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

xlsx 怎么安装?

在终端执行 npx skills add https://github.com/lanej/dotfiles --skill xlsx。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

xlsx 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

xlsx 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/lanej/dotfiles --skill xlsx;npx skills add lanej/dotfiles --skill "xlsx" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

xlsx 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

xlsx 用的人多吗?

公开数据是累计安装 692 次,近一周安装 28 次,下载 217 次,GitHub 38 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

xlsx 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
xlsx

XLSX 表格处理 · 本页

69238执行命令MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

XLSX Skill - Excel File Manipulation

You are an Excel file manipulation specialist using the xlsx command-line tool. This skill enables you to read, write, edit, query, and analyze.xlsx files without requiring Python or Node.js libraries.

Core Capabilities

The xlsx binary provides comprehensive Excel file manipulation:

  1. Reading & Viewing: view, headers, sheets, select, slice
  2. Searching & Filtering: search, filter (SQL-like queries)
  3. Editing: set (cell values), insert (rows/columns), delete (rows/columns), copy
  4. Conversion: to-csv, from-csv
  5. Analysis: stats, count
  6. Formulas: get-formula, eval
  7. Advanced: format, validate, names (named ranges), pivot, chart

Common Operations

1. Viewing Data

List all sheets:

xlsx sheets file.xlsx

View sheet contents:

xlsx view file.xlsx
xlsx view file.xlsx --sheet "Sheet2"
xlsx view file.xlsx --sheet "Sheet2" --limit 50
xlsx view file.xlsx --format json
xlsx view file.xlsx --format csv

Show headers:

xlsx headers file.xlsx
xlsx headers file.xlsx --sheet "Sales Data"

Select specific columns:

xlsx select file.xlsx "A,C,E"
xlsx select file.xlsx "A-E" --sheet "Data"

Slice rows:

xlsx slice file.xlsx 10 20  # rows 10-20

2. Searching Data

Basic search:

xlsx search file.xlsx "pattern"
xlsx search file.xlsx "pattern" --ignore-case
xlsx search file.xlsx "pattern" --regex --sheet "Sheet1"

SQL-like filtering (powerful):

# Basic comparison
xlsx filter file.xlsx --where "Status = 'Active'"
xlsx filter file.xlsx --where "Age > 30"

# Pattern matching
xlsx filter file.xlsx --where "Email LIKE '%@example.com'"

# Multiple conditions
xlsx filter file.xlsx --where "Department = 'Sales' AND Active = TRUE"
xlsx filter file.xlsx --where "(Status = 'Active' OR Status = 'Pending') AND Age > 25"

# Column names with spaces (use brackets)
xlsx filter file.xlsx --where "[First Name] = 'John'"
xlsx filter file.xlsx --where "[Job Title] LIKE '%Engineer%'"

# Membership testing
xlsx filter file.xlsx --where "Status IN ('Active', 'Pending', 'Review')"

# Range testing
xlsx filter file.xlsx --where "Age BETWEEN 25 AND 35"

# Null checks
xlsx filter file.xlsx --where "Manager IS NULL"
xlsx filter file.xlsx --where "Email IS NOT NULL"

# Output formatting and column selection
xlsx filter file.xlsx --where "Department = 'Sales'" --columns "Name,Email,Phone"
xlsx filter file.xlsx --where "Age > 30" --format csv --output results.csv
xlsx filter file.xlsx --where "Active = TRUE" --format json

3. Editing Data

Set cell value:

xlsx set file.xlsx A1 "Hello"
xlsx set file.xlsx B5 42 --value-type number
xlsx set file.xlsx C1 "2025-01-15" --value-type date
xlsx set file.xlsx D1 "=SUM(A1:A10)" --value-type formula

# Set range of cells
xlsx set file.xlsx B5:B10 "Same Value"

Insert rows/columns:

xlsx insert file.xlsx row 5
xlsx insert file.xlsx column C --sheet "Sheet1"

Delete rows/columns:

xlsx delete file.xlsx row 5
xlsx delete file.xlsx row 5:10  # delete rows 5-10
xlsx delete file.xlsx column C
xlsx delete file.xlsx column C:E  # delete columns C through E

4. Conversion

Convert XLSX to CSV:

xlsx to-csv input.xlsx output.csv
xlsx to-csv input.xlsx output.csv --sheet "Data"
xlsx to-csv input.xlsx output.csv --date-format iso8601

Convert CSV to XLSX:

xlsx from-csv input.csv output.xlsx
xlsx from-csv input.csv output.xlsx --sheet "ImportedData"

5. Analysis

Count rows and columns:

xlsx count file.xlsx
xlsx count file.xlsx --sheet "Sheet2"

Calculate statistics:

xlsx stats file.xlsx
xlsx stats file.xlsx --sheet "Data"

6. Formulas

Get cell formula:

xlsx get-formula file.xlsx A1
xlsx get-formula file.xlsx C10 --sheet "Calculations"

Evaluate formula:

xlsx eval "=SUM(1,2,3)"
xlsx eval "=IF(A1>10, 'High', 'Low')"

Date Formatting

All commands support --date-format for consistent date handling:

Presets:

  • iso8601 (default): 2025-01-15T10:30:00
  • mdy or us: 1/15/2025
  • us-padded: 01/15/2025
  • us-time: 1/15/2025 10:30 AM
  • unix: Unix timestamp
  • excel-serial: Excel serial number
  • excel: Excel date format

Custom format:

xlsx view file.xlsx --date-format "%Y-%m-%d"
xlsx to-csv file.xlsx output.csv --date-format "%m/%d/%Y %H:%M"

Backup Protection

By default, xlsx creates backups before editing operations. Use --no-backup to skip:

xlsx set file.xlsx A1 "value" --no-backup

Common Workflows

Workflow 1: Extract specific data to CSV

# Filter data and export to CSV
xlsx filter data.xlsx --where "Status = 'Active'" --columns "Name,Email,Department" --format csv --output active_users.csv

Workflow 2: Update multiple cells

# Set header values
xlsx set report.xlsx A1 "Name"
xlsx set report.xlsx B1 "Email"
xlsx set report.xlsx C1 "Status"

# Set data values
xlsx set report.xlsx A2 "John Doe"
xlsx set report.xlsx B2 "john@example.com"
xlsx set report.xlsx C2 "Active"

Workflow 3: Search and analyze

# Find all instances of a pattern
xlsx search data.xlsx "error" --ignore-case

# Get statistics on the data
xlsx stats data.xlsx --sheet "Results"

# Count total rows
xlsx count data.xlsx

Workflow 4: Convert and process

# Convert XLSX to CSV for processing
xlsx to-csv input.xlsx temp.csv

# Process the CSV (using other tools)
# ... do work ...

# Convert back to XLSX
xlsx from-csv processed.csv output.xlsx --sheet "Results"

Workflow 5: Read and display data

# Quick view of first 20 rows
xlsx view data.xlsx --limit 20

# View specific sheet as JSON for processing
xlsx view data.xlsx --sheet "Orders" --format json

# Get column headers to understand structure
xlsx headers data.xlsx

Best Practices

  1. Always check sheet names first: Use xlsx sheets file.xlsx to see available sheets
  2. View headers before filtering: Use xlsx headers file.xlsx to know column names
  3. Use --limit for large files: Prevent overwhelming output with --limit N
  4. Quote column names with spaces: Use brackets: [First Name] not First Name
  5. Use appropriate output formats:

- --format table for human viewing (default) - --format json for programmatic processing - --format csv for data export

  1. Test filters first: Use --limit 10 when testing filter expressions
  2. Backups are your friend: Don't use --no-backup unless you're sure

Important Notes

  • All xlsx commands modify files in-place for editing operations (with backup unless --no-backup)
  • Row numbers are 1-based (first row is 1)
  • Column letters are A-Z, AA-ZZ, etc.
  • Sheet names are case-sensitive
  • Default sheet is always the first sheet if --sheet is not specified
  • Filter WHERE clauses are case-insensitive by default (use --case-sensitive to change)

Error Handling

When operations fail:

  1. File not found: Verify the file path is correct
  2. Sheet not found: Use xlsx sheets file.xlsx to list available sheets
  3. Invalid cell reference: Check that cell/range format is correct (e.g., A1, B5:B10)
  4. Permission denied: Ensure the file is not open in Excel or locked

Examples by Use Case

Data Analysis

# Find all high-value transactions
xlsx filter sales.xlsx --where "Amount > 1000" --format table

# Get statistics on revenue
xlsx stats sales.xlsx --sheet "Revenue"

# Count records by criteria
xlsx filter customers.xlsx --where "Status = 'Active'" | wc -l

Data Cleaning

# Find null emails
xlsx filter users.xlsx --where "Email IS NULL"

# Search for invalid data
xlsx search data.xlsx "ERROR" --ignore-case

# View problematic rows
xlsx filter data.xlsx --where "Age < 0 OR Age > 150"

Reporting

# Extract executive summary data
xlsx select report.xlsx "A,E,F" --limit 10

# Convert to CSV for email
xlsx to-csv monthly_report.xlsx summary.csv --sheet "Summary"

# Get formatted view
xlsx view report.xlsx --sheet "Dashboard" --limit 50

Bulk Operations

# Set header row
xlsx set data.xlsx A1:E1 "ID,Name,Email,Status,Date"

# Insert calculated column
xlsx insert data.xlsx column F
xlsx set data.xlsx F1 "Total" --value-type string
xlsx set data.xlsx F2 "=SUM(D2:E2)" --value-type formula

Integration with Other Tools

The xlsx tool works well with standard Unix tools:

# Count matching rows
xlsx filter data.xlsx --where "Status = 'Active'" --format csv | wc -l

# Process with jq
xlsx view data.xlsx --format json | jq '.[] | select(.age > 30)'

# Chain operations
xlsx to-csv input.xlsx - | grep "pattern" | xlsx from-csv - output.xlsx

When to Use Each Command

  • view: Quick inspection, data exploration, exporting to different formats
  • filter: Complex queries, SQL-like data extraction, conditional exports
  • search: Finding text patterns, debugging data issues
  • set: Updating cell values, bulk updates, formula insertion
  • to-csv/from-csv: Integration with other tools, data exchange
  • headers: Understanding data structure before operations
  • sheets: Multi-sheet workbook navigation
  • select: Column-focused extraction
  • stats/count: Quick data analysis and validation

Quick Reference

# View
xlsx sheets <file>                    # list sheets
xlsx view <file>                      # view data
xlsx headers <file>                   # show headers

# Search
xlsx search <file> <pattern>          # search
xlsx filter <file> --where <expr>     # SQL-like filter

# Edit
xlsx set <file> <cell> <value>        # set cell
xlsx insert <file> row <n>            # insert row
xlsx delete <file> row <n>            # delete row

# Convert
xlsx to-csv <xlsx> <csv>              # to CSV
xlsx from-csv <csv> <xlsx>            # from CSV

# Analyze
xlsx count <file>                     # count rows/cols
xlsx stats <file>                     # statistics

平台分布

Claude Code

27.96%
按下载量换算61

OpenCode

21.71%
按下载量换算47

Codex

19.03%
按下载量换算41

Antigravity

12.78%
按下载量换算28

Gemini CLI

8.01%
按下载量换算17

windsurf

3.45%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/lanej/dotfiles --skill xlsx;npx skills add lanej/dotfiles --skill "xlsx" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills