- Home
- Skills
- Research & Analysis
- Daily Retail Ledger Analytics
More screenshots
Works with the AI Agents you already use
Daily Retail Ledger Analytics
Consolidate retail sales logs into verified Excel ledgers and interactive Chart.js profit analytics dashboards.
$9
Daily Retail Ledger Analytics
Example session with this skill installed
I have 24 daily spare-parts sales workbooks (sales_2026_10_26.xlsx through sales_2026_11_21.xlsx) in EXCEL_OUTPUT/. Merge all sheets, strip out the K:L summary panels, audit missing cost prices and zero-profit lines, load them into SQLite, and build an interactive dashboard in Naira (₦).
- Read your context and instructions
- Compiled the daily retail ledger
- Generated the data export
Daily Spare Parts & Retail Ledger Consolidation Complete
Consolidated
1,298 transaction lines across 24 trading days (2026-10-26 – 2026-11-21, 10,846 total units) into a 3-sheet formatted Excel workbook (Transactions, Daily_Executive_Summary, Category_Summary), SQLite warehouse (retail_ledger.db), and interactive Chart.js dashboard:
| Metric / Audit | Verified Result | Artifact |
|---|---|---|
| Grand Total Revenue | ₦5,944,723.20 (₦247,696.80 daily avg across 10,846 units) | consolidated_ledger.xlsx |
| Grand Net Profit & True Margin | ₦867,174.20 (14.6% Recorded · 14.7% Costed · 13.0% Clean normalized) | consolidated_ledger.csv |
| Top Revenue Category | Covers & Body — ₦1,542,900.00 (26.0% share, 1,592 units) | retail_ledger_dashboard.html |
| Cost-Coverage & Margin Audit | Flagged 11 blank C/P lines (₦33.4k uncosted), 26 zero/at-cost lines (₦91.8k, e.g., Hook, New star grease), and 6 high-margin outliers (~₦113.7k profit) | retail_ledger_dashboard.html |
| SKU Hygiene & Pareto 80/20 | Standardized 636 → 582 case-folded SKUs; 179 core SKUs (30.8%) drive 80% of revenue (13 washer leads volume at 460 units) | retail_ledger.db |
Category Economics Highlights
- Highest True Margin:
Fasteners & Hardwareat
22.2% (3,767 units sold), followed by Lighting & Mirrors (17.7%) and Plates & Accessories (15.2%).
- Peak Rhythm: Tuesday drives the highest daily sales (
₦377.8k/dayavg) vs
Wednesday (₦143.0k/day);
Saturday records the highest markup (18.3%).
Priority Next Steps
- Enforce
C_Pentry on the
11 uncosted lines (0.6% of sales) to recover visibility into ~₦4.3k of unlogged profit.
2. Audit the
26 zero-profit / at-cost lines (₦91.8k total revenue) inside the dashboard's
Inspect 0% Sales → filter to separate clearance from pricing slips.
3. Stage replenishment for the
179 core Pareto SKUs ahead of Tuesday's demand peak and schedule stock counts on Wednesday.
consolidated_ledger.xlsx
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Retailers often struggle to merge fragmented daily sales logs or transcribe handwritten records into actionable insights. This skill automates the consolidation of multiple CSV or Excel workbooks into a single, verified master ledger with built-in financial auditing.
What it does
- Multi-source consolidation merges daily sales files (
sales_YYYY_MM_DD.xlsxor.csv) into a single master ledger. - Financial auditing flags uncosted items, zero-profit sales, and outlier transactions using strict formula integrity checks.
- Logbook transcription converts photos or scans of handwritten sales sheets into structured digital rows.
- Interactive dashboarding generates a standalone Chart.js HTML file with KPI cards, revenue trends, and Pareto 80/20 SKU analysis.
- Multi-format export produces both flat CSVs and formatted multi-sheet Excel workbooks with executive summaries.
How it works
- Prepare inputs by providing a single ledger file or a directory of daily sales workbooks.
- Validate schema using the
--validate-onlyflag to check for missing columns likeQty,Particulars, orS_P. - Execute pipeline via
run_ledger_pipeline.pyto calculate missingTotalandProfitvalues while auditing cost coverage. - Inspect outputs to view the interactive HTML dashboard and the multi-sheet Excel summary in your working directory.
Frameworks & tools
This system is built on pandas, openpyxl, and SQLAlchemy. It uses Chart.js for the frontend analytics visualization.
Why this beats prompting it yourself
Generic prompts often fail to maintain formula integrity across hundreds of rows or miss "uncosted" items where the cost price is zero. This skill provides a rigid schema-validation engine and a production-ready dashboard that a standard LLM cannot generate as a single cohesive file.
Use cases
- Consolidate 30 days of fragmented CSV sales logs into one executive report.
- Audit retail margins to find products sold without recorded cost prices.
- Generate a weekly performance dashboard for a physical storefront.
- Digitize handwritten sales slips into a searchable transaction database.
Known limitations
Requires specific column headers or aliases like Qty and S_P to function. Handwritten transcription requires a manual review step to ensure OCR accuracy before running the audit.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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 8 days ago
- Software
Python 3.10+pandas +openpyxlSQLAlchemy
- Optional
- PostgreSQL (or built-in SQLite)
Runs locally out of the box after pip install -r requirements.txt with zero API keys. Use --input-dir to merge multiple daily sales_*.xlsx/*.csv files, --currency to customize symbol (e.g. $, ₦, £), and optional --db-url for SQLite/PostgreSQL persistence.
Permissions
File Scopes
What's inside
Frequently Asked Questions
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.