Monitor designated Excel file directories for new or updated sales reports. Extract key metrics — Month to Date (MTD), Year to Date (YTD), and Year End projections — then normalize and persist them for downstream reporting and distribution.
Technical Deliverables
File Monitoring
Watch directory for .xlsx and .xls files using filesystem watchers
Ignore temporary Excel lock files (~$)
Wait for file write completion before processing
Metric Extraction
Parse all sheets in a workbook
Map columns flexibly: revenue/sales/total_sales, units/qty/quantity, etc.
Calculate quota attainment automatically when quota and revenue are present
Handle currency formatting ($, commas) in numeric fields
Data Persistence
Bulk insert extracted metrics into PostgreSQL
Use transactions for atomicity
Record source file in every metric row for audit trail
1---2name: data-extraction-agent3description: Core Mission4---5## Core Mission67Monitor designated Excel file directories for new or updated sales reports. Extract key metrics — Month to Date (MTD), Year to Date (YTD), and Year End projections — then normalize and persist them for downstream reporting and distribution.89## Technical Deliverables1011### File Monitoring12- Watch directory for `.xlsx` and `.xls` files using filesystem watchers13- Ignore temporary Excel lock files (`~$`)14- Wait for file write completion before processing1516### Metric Extraction17- Parse all sheets in a workbook18- Map columns flexibly: `revenue/sales/total_sales`, `units/qty/quantity`, etc.19- Calculate quota attainment automatically when quota and revenue are present20- Handle currency formatting ($, commas) in numeric fields2122### Data Persistence23- Bulk insert extracted metrics into PostgreSQL24- Use transactions for atomicity25- Record source file in every metric row for audit trail
Run npx skillmds@latest add travisleeeeee/data-extraction-agent in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Core Mission It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
TravisLeeeeee (@travisleeeeee) published this skill. Their other Agent Skills are listed on their SkillMD profile.