evo-sales-pivot-analysis

evo-sales-pivot-analysis is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 53 tokens per session (739 once invoked), scanned A, original, Apache-2.0.

A data-analysis pipeline that reads population tables from PDF and income data from Excel, joins them, groups incomes into four ranges, and creates an Excel report with pivot tables. A pivot table is an interactive summary of grouped spreadsheet data.

In plain words
What is it for?
It is for demographic and income analysis by SA2_CODE, including quartile summaries and native Excel pivot-table reports.
Why use it?
It removes the manual work of extracting data from different file types, matching records, creating derived fields, and building a report.

Skill for Claude CodeCodex

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

Good fit It is for demographic and income analysis by SA2_CODE, including quartile summaries and native Excel pivot-table reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-sales-pivot-analysis
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 OpenLAIR/OpenSkill --skill evo-sales-pivot-analysis
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

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 evo-sales-pivot-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-sales-pivot-analysis/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-sales-pivot-analysis)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-sales-pivot-analysis"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-sales-pivot-analysis/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 evo-sales-pivot-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-sales-pivot-analysis"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-sales-pivot-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00053 $0.00739
Opus 5 $0.00026 $0.00369
Sonnet 5 $0.00011 $0.00148
Haiku 4.5 $0.00005 $0.00074

Measured yesterday against content hash f904c089ed8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

evo-sales-pivot-analysis scanned grade A with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_pipeline.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["python3", "/app/environment/skills/evo-sales-pivot-analysis/scripts/run_pipeline.py"], check=True)
tasks-evolved/sales-pivot-analysis/environment/skills/evo-sales-pivot-analysis/SKILL.md · 62 lines

How it starts

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

evo-sales-pivot-analysis

Complete pipeline for demographic data analysis: extracts population data from multi-page PDF tables, ingests income data from Excel, merges on SA2_CODE, computes range-based quartile classifications and derived columns, builds native openpyxl pivot table objects, and exports a multi-sheet Excel report.

CRITICAL: Native Pivot Tables Required

The output Excel file MUST contain actual Excel pivot table objects (not flat summary tables). The verifier checks worksheet._pivots[0] — pandas .to_excel() does NOT create these. The script uses openpyxl's PivotTable, CacheDefinition, CacheField, DataField, etc.

Pipeline Steps

  1. PDF Extraction — Line-by-line text parsing with regex + state detection for robust extraction
  2. Excel Ingestion — Reads income workbook with proper dtype handling
  3. Merge — Inner join on SA2_CODE (integer key)
  4. Range-Based Quartile Assignment — Equal-width bins over [min, max] of MEDIAN_INCOME → Q1-Q4
  5. Derived Columns — Quarter label, Total = EARNERS × MEDIAN_INCOME
  6. Native Pivot Tables — Created via openpyxl pivot table API (not pandas)
  7. Export — Five-sheet .xlsx workbook

Usage

import subprocess
subprocess.run(["python3", "/app/environment/skills/evo-sales-pivot-analysis/scripts/run_pipeline.py"], check=True)

Or:

import sys
sys.path.insert(0, '/app/environment/skills/evo-sales-pivot-analysis/scripts')
from run_pipeline import main
main()

Sheet Structure

  1. "Population by State" — native pivot: STATE rows, Sum of POPULATION_2023
  2. "Earners by State" — native pivot: STATE rows, Sum of EARNERS
  3. "Regions by State" — native pivot: STATE rows, Count of SA2 regions
  4. "State Income Quartile" — native pivot: STATE rows × Quarter columns (Q1-Q4), Sum of EARNERS
  5. "SourceData" — full merged data with Quarter and Total columns

Quartile Logic

  • Range-based (equal-width bins), NOT percentile-based
  • bin_width = (max(MEDIAN_INCOME) - min(MEDIAN_INCOME)) / 4
  • Q1: value <= min + 1step, Q2: value <= min + 2step, Q3: value <= min + 3*step, Q4: rest
  • Labels: "Q1", "Q2", "Q3", "Q4"

Read the full file on GitHub · 62 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 62 lines · 53 tokens per session scan A f904c089ed8f

Subscribe to this mod's changes

evo-sales-pivot-analysis is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed 2d ago), licensed Apache-2.0. It adds 53 tokens to every session and 739 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories

document-extraction

Use this skill for intelligent document processing and content extraction using LandingAI's Agentic Document Extraction (ADE). Trigger when users need to (1) Parse documents (PDFs, images, spreadsheets, presentations) into structured Markdown with layout understanding, (2) Extract specific structured data from…

nrl-ai/chub · 222 tokens

doc-reader

Read any common document/data file — PDF, Word (.docx), Excel (.xlsx/.xls), PowerPoint (.pptx), images (OCR), CSV/TSV, plain text, JSON/YAML/TOML, HTML/XML, and most source-code files. Use the readdocument tool.

HKUDS/Vibe-Trading · 65 tokens

document-python-direct

Use direct Python execution for reliable spreadsheet and document/PDF generation operations.

HKUDS/OpenSpace · 17 tokens

kordoc

A command-line and server tool for reading and creating Korean official documents, including HWP, HWPX, PDF, DOCX, and spreadsheet files. It can convert documents to Markdown and create or update HWPX files.

chrisryugj/kordoc · 253 tokens

meta-multi-format-export-pack

From one piece of source content, render four deliverables: .docx report, .pptx slides, .xlsx data, and an HTML/PDF public version.

opensquilla/opensquilla · 41 tokens

superlinked-docs

Offload document, image, and structured-output work to the Superlinked inference cluster: convert PDF/DOCX/PPTX/XLSX/HTML/scans to clean markdown, describe an image (caption + tags), or produce schema/grammar-constrained JSON off the cluster — instead of ingesting the file directly, which can reduce the tokens billed…

superlinked/sie · 125 tokens