excel-assistant

excel-assistant is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 86 tokens per session (952 once invoked), scanned A, original, Apache-2.0.

A spreadsheet-cleaning and analysis workflow for Excel files and CSVs. It inspects the data, fixes common problems such as dates stored as text, and reports what changed.

In plain words
What is it for?
Use it to clean tables, find duplicates or missing values, calculate summaries, analyze trends, and deliver a cleaned spreadsheet with findings.
Why use it?
It helps avoid incorrect totals and conclusions caused by messy spreadsheet data. It keeps the original file unchanged and provides before-and-after evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to clean tables, find duplicates or missing values, calculate summaries, analyze trends, and deliver a cleaned spreadsheet with findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/excel-assistant
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill excel-assistant
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for excel-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/excel-assistant/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/excel-assistant)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/excel-assistant"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/excel-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for excel-assistant

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/excel-assistant"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/excel-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.00952
Opus 5 $0.00043 $0.00476
Sonnet 5 $0.00017 $0.00190
Haiku 4.5 $0.00009 $0.00095

Measured 9d ago against content hash 95132315b051, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

excel-assistant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scenarios/excel-assistant/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Excel Assistant (inspect → clean → answer)

Never modify the user's original file. Copy first, clean the copy, show before/after evidence for every change, and end with a written findings note.

Inputs

Input Required Default Notes
file path yes xlsx / xls / csv
goal yes e.g. 汇总各月销售额 / 找出重复客户 / 画趋势
constraints no columns to preserve, output format

If anything required is missing, ask ONCE:

请提供:① 表格文件路径;② 你想得到什么结果(一句话即可)。 可选:哪些列不能动、希望输出 xlsx 还是 csv。

Preflight self-check

python -c "import pandas, openpyxl; print('xl-ok')"
  • xl-ok → automated path below.
  • ImportError → tell the user exactly which import failed and offer pip install pandas openpyxl; without consent, proceed in guide-only mode: give precise manual steps instead of running code, and say so plainly.

Workflow

Step 1: Inspect before touching anything

import pandas as pd
df = pd.read_csv(PATH, encoding="utf-8-sig")   # or read_excel(PATH)
print(df.shape); print(df.dtypes); print(df.head(3))
print(df.isna().sum())

Expected: shape, dtypes, sample rows, null counts. Record these numbers — they are your before-evidence. CSV garbled? Retry encodings in order: utf-8-sig → gbk → gb18030.

Step 2: Clean with one change per step

Apply at most one fix per step, re-running inspection after each: ①去重(df.duplicated() 先看再删)→ ②补/标缺失(填充规则要写进交付说明) → ③日期列转 datetime(pd.to_datetime(col, errors="coerce") 后检查 NaT 数) → ④数值列剥离单位字符再转类型。Each step's expected result: null/dup counts move exactly as predicted; if not, undo and investigate — never chain blind fixes.

Step 3: Answer the goal

Compute the requested aggregation/trend/ranking. Expected: a number-or-table that directly answers the user's sentence from Inputs, not adjacent trivia.

Step 4: Deliver

df.to_excel(PATH_stem + "_cleaned.xlsx", index=False)

Plus a short findings.md: what was wrong, what you changed, the answer, and any rows you had to drop (count them).

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 103 lines · 86 tokens per session scan A 95132315b051

Subscribe to this mod's changes

excel-assistant is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 952 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens

officecli-xlsx

Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or…

iOfficeAI/OfficeCLI · 119 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

agentscope-ai/QwenPaw · 201 tokens

xlsx

A guide for working with spreadsheet files such as Excel workbooks, CSV files, and TSV files.

agentscope-ai/QwenPaw · 232 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens