Sheet Agent
Paste the following prompt into your AI chat to install this skill:
Please install @user_15292d5a/yjkj-sheet-agent according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem and Use Cases
When working with CSV or .xlsx spreadsheets, the hard part is often not opening the file but answering business questions quickly: which orders have not been followed up for more than X days, which amounts exceed Y, which customers are VIP, and how to aggregate quantities by sales representative. Manual filtering, pivoting, and cleanup can interrupt the workflow, while direct model-driven edits may introduce mistaken writes, missing backups, or wrong assumptions about column meaning. sheet-agent targets these spreadsheet tasks by putting natural-language querying, anomaly checking, and change suggestions into a controlled workflow.
How It Works
The skill separates spreadsheet reading, business queries, anomaly detection, and pre-write confirmation. It supports CSV and .xlsx, recognizes column names and data types, and attempts to infer the business context, such as orders, inventory, leads, or daily reports. During querying, natural language can be turned into structured results, such as “orders with amount greater than 10000,” “quantity totals by sales representative,” or “all VIP customers.” Anomaly detection covers missing values, negative numbers, duplicate IDs, inconsistent date formats, and values outside reasonable ranges. For daily or weekly summaries, it detects the time range and outputs overall counts, averages, distributions, top items, anomaly records, and trend descriptions.
For write operations, the key mechanism is preview first: when a user requests a change, the agent shows a preview without writing yet; it executes only after confirmation and does nothing if the user cancels. It is read-only by default, automatically backs up the original file to the backup/ directory before writing, and asks when column meaning is unclear instead of guessing.
Boundaries and Caveats
This skill is best suited for single-file spreadsheet querying, inspection, and summary generation. The docs recommend a maximum of 100,000 rows per operation and support CSV and .xlsx; version 1 does not handle cross-spreadsheet joins. If a task requires multi-table joins, complex modeling, or high-risk bulk writes, treat it as an assistive analysis tool and keep manual review and backup controls.
Use Cases
- After receiving a customer order CSV, query un-followed leads over 3 days and amounts above 5000.
- Check inventory Excel for missing values, negative quantities, duplicate IDs, and date anomalies.
- Summarize sales daily sheets into a weekly report with totals, averages, top items, and anomalies.
- Before changing a row amount, preview the edit, confirm, then write with an automatic backup.
Best For
- Sales operations: quickly identify un-followed customers and abnormal order amounts.
- Data operations: check missing values, duplicates, and negative quantities in Excel.
- Operations leads: summarize multi-day sales data into weekly reports with totals, distributions, and anomalies.
- Business support: preview row edits before applying them to avoid damaging the source file.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.