Works with the AI Agents you already use

    Profil: Exact Table Stats & Pivots for Excel, CSV, JSON

    by brainbooth

    1

    Total rows get counted twice, "north " and "North" become two regions, an "n/a" can turn into a zero.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    What it does

    • Summarises any spreadsheet in a short report your AI can read cheaply
    • Calculates exact totals, averages and counts per group or per month
    • Finds total rows, typos, duplicates and "n/a" values before they skew results
    • Leaves out total rows and footnotes so nothing is counted twice
    • Lists the largest, smallest or matching rows, filtered by any column
    • Keeps your files on your computer, with the same result every time

    Who it's for

    Excel and office users

    Correct totals and averages from big spreadsheets, without copying data into the chat.

    Try asking: “What was the revenue per region in sales.xlsx, and is anything wrong with the data?”

    Analysts and finance teams

    Exact monthly and quarterly figures with every excluded row named.

    Try asking: “Show revenue per month and product for Q4 from orders.csv.”

    Developers building AI agents

    A cheap, reliable first look at any table before the agent decides what to do.

    Try asking: “Profile customers.json and tell me which columns have problems.”

    Researchers and students

    Quick statistics and counts per group for survey or study data.

    Try asking: “Count the answers per group in survey.xlsx and give me the averages.”

    Profil: Exact Table Stats & Pivots for Excel, CSV, JSON

    Profil: Exact Table Stats & Pivots for Excel, CSV, JSON

    Example session with this skill installed

    What was the revenue per region in sales_q4_report.xlsx, and is anything wrong with the data?

    • Read your context and instructions
    • Compiled the profil

    I profiled sales_q4_report.xlsx and computed everything with profil, so every number below comes from the tool, not from mental arithmetic.

    The table: 60 orders from Q4 2026 (2026-10-01 → 2026-12-31), 7 columns, one row per order, Order ID is unique.

    Three things you should know first

    1. The last row is a total row ("Total", row 62). It is left out, otherwise all revenue would be counted twice.
    2. "north " (lower case, with a space) appears once (order Q4-1008) next to "North". It is the same region, so it is merged into North below.
    3. One order has "n/a" as Units (Q4-1013, row 14). It is left out of the unit averages; its revenue is included.

    Revenue per region

    RegionOrdersRevenueShareAvg. units per order
    North17163,828.6050.5%13.06
    South1775,127.4023.2%14.94
    East1557,903.1017.9%10.79
    West1127,456.208.5%11.82
    Total60324,315.3012.83

    North brings in half of the quarter's revenue.

    Why North is so strong

    The four largest orders are all Laptop Pro 14 orders from North:

    OrderDateRevenue
    Q4-10082026-10-2132,475.00
    Q4-10312026-10-0732,475.00
    Q4-10122026-11-2831,176.00
    Q4-10452026-12-0231,176.00

    How I got there

    node profil.mjs sales_q4_report.xlsx
    node profil.mjs pivot sales_q4_report.xlsx --by Region --sum Revenue --mean Units --merge-case
    node profil.mjs rows sales_q4_report.xlsx --sort Revenue:desc --limit 4
    

    Next steps

    I can break this down by month (--by Date:month), by product, or only for December (--where "Date>=2026-12-01"). Should I fix "north " and "n/a" in a cleaned copy of the file?

    Connects securely to your tools. The creator never sees your data.

    About this skill

    AI agents struggle with spreadsheets in two ways: reading thousands of rows costs a fortune in tokens, and adding up numbers "in their head" goes wrong more often than you think. Total rows get counted twice, "north " and "North" become two regions, an "n/a" can turn into a zero.

    profil fixes both. It reads the file locally and gives your agent:

    • A profile in a few hundred tokens, no matter if the table has 60 or 600,000 rows: every column's type and role, sums, means, medians, ranges, top values, date ranges, and the kind of table (records, time series, list, wide).
    • Exact totals (pivot): counts, sums with each group's share, means, min and max per category or per day, week, month, quarter or year, with filters and an overall total. Your agent quotes real numbers instead of estimating.
    • The right rows (rows): the largest orders, a ranking, or every entry matching a filter, sorted, with row numbers, and with a warning when there is a tie at the cut-off. No more guessing which orders were the biggest.
    • Data problems before they become wrong answers: total rows and footnotes (left out automatically and reported), spelling variants, values like "n/a" in number columns, duplicate rows, title rows, several tables on one sheet, Excel errors and formulas without stored values.

    Built to be trusted

    • Runs 100% locally. Your files never leave your machine: no uploads, no network calls, no telemetry.
    • Deterministic: the same file always gives the same report, byte for byte. Plain code, not an AI guess.
    • Never changes your data and never guesses silently: everything it leaves out or suspects is named, with row numbers.
    • No dependencies to install: one self-contained, readable script.
    • Cell contents are treated as data, never as instructions to your agent.

    Requirements: Node.js 20 or newer. Supports Excel (.xlsx/.xls), CSV (comma, semicolon or tab; UTF-8, Windows-1252 or UTF-16) and JSON arrays of flat objects. Reads numbers in both formats, 1,234.50 and 1.234,50, detected per column (or set with --decimal), and says when a value like 1.234 is ambiguous.

    Requires Node.js 20+. Tabular data only: Excel, CSV and JSON files; no Markdown tables, nested JSON, PDFs, images or free text. Pivot groups by at most two columns. Spelling variants are reported and merged only on request (upper/lower case and spaces, not typos like "Nroth"). Suspected total rows are recognised by words like "Total" or "Summe" in the first filled cell. A column with only values like 1.234 (no other hint) is read with a decimal point and reported as ambiguous; use --decimal comma if the point separates thousands. Default input limit 50 MB per file (adjustable), max. 1,000,000 rows and 10,000 columns.

    Built and tested for Claude Code; works with any agent that supports SKILL.md skills and can run shell commands. Requires Node.js 20+. No npm install, no API key, no network. Files: SKILL.md, scripts/profil.mjs (one self-contained, unminified ES module, ~670 KB), LICENSE.txt, THIRD_PARTY_NOTICES.txt. Usage: profil.mjs <file...> [--sheet name] [-o report.md] profil.mjs pivot <file> --by <col>[:day|week|month|quarter|year] [--sum|--mean|--min|--max <col>] [--where "<cond>"] [--merge-case] profil.mjs rows <file> [--where "<cond>"] [--sort <col>[:desc]] [--limit n] [--columns "A,B"] Input: .xlsx, .xls, .csv (comma, semicolon, tab; UTF-8, Windows-1252, UTF-16), .json (flat objects). Output: Markdown on stdout, errors on stderr. Exit code 0 on success, 1 on error. Profile: type, role, fill, distinct, sum/mean/median/min/max, top values, date range per column; table kind and key; duplicates, spelling variants, mixed types, outliers, total rows, footnotes, title rows, Excel errors. Decimal point/comma detected per column (--decimal to force). Size depends on columns, not rows. Pivot: up to 2 group columns, ISO weeks, filters (= != > < >= <=), shares, optional case merge, total row. Rows: filter, sort, limit, tie warning. Total rows and footnotes are left out unless --keep-flagged. Limits: 50 MB per file (adjustable), 1,000,000 rows, 10,000 columns. Formulas never executed. Deterministic. Bundles SheetJS xlsx 0.20.3 (Apache-2.0).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Node.js 20+

    No npm install needed. In default permission mode your agent asks once before running the local node script.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    *.xlsx
    *.xls
    *.csv
    *.json
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    It gives your AI agent a short, exact report about a spreadsheet, computes totals per group and lists matching rows, so the agent doesn't have to read every row or do arithmetic itself.

    Reading large tables costs many tokens, and AI models make mistakes when adding up many numbers. profil computes the numbers with plain code and only hands over the result.

    Any agent that supports SKILL.md skills and can run a command with Node.js 20+. Tested with Claude Code, where the agent picked the skill on its own for spreadsheet questions.

    No. Everything runs locally in a Node.js process. No uploads, no network calls, no API keys.

    Total rows and footnotes are left out of calculations and reported with their row number. Spelling variants, "n/a" values, duplicates, title rows and Excel errors are named so your agent can tell you instead of guessing.

    Yes. The decimal separator is detected per column from unambiguous values, or set with --decimal. If a value like 1.234 stays ambiguous, the report says so instead of guessing silently.

    Never. It only reads. A report is written only if your agent asks for it with -o.

    Excel (.xlsx, .xls), CSV and JSON arrays of flat objects. Markdown tables, nested JSON, PDFs and images are not supported.

    New in Research & Analysis

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.