- Home
- Skills
- E-commerce
- Shop Inventory & Profit Analyst
Works with the AI Agents you already use
Shop Inventory & Profit Analyst
Ask your agent "what should I reorder, and am I making money?" Get current stock, reorder alerts, margin per product and net profit from your shop's CSV, Excel or store exports. 100% offline.
Free
Shop Inventory & Profit Analyst
Example session with this skill installed
My shop's data is in ./exports (stock, purchases, sales). What should I reorder, and which products actually make money? Alert me at 8 units or less. We spent 450 TND on delivery.
- Read your context and instructions
- Compiled the shop inventory
- Generated the data export
Sample shop: 2026-09-01 to 2026-10-31
Data issues: none
Headline: revenue 5 909.900 TND, gross profit 2 470.086 TND (41.8%), net profit 2 020.086 TND after 450.000 TND delivery.
Reorder now
| Product | In stock | Sold in period | Suggested order |
|---|---|---|---|
| Miel de thym 500g | 0 (OUT) | 25 | 25 |
| Bol en poterie de Nabeul | 5 | 25 | 20 |
| Couffin en alfa | 1 | 9 | 8 |
Suggested order = the same period's sales minus current stock (an estimate). Chéchia rouge (8 units) is at the alert level but sold nothing, so no reorder.
What makes money
- Huile d'olive extra vierge 1L: 379.755 TND margin (32.0%)
- Fouta plage coton: 378.823 TND (48.1%)
- Dattes Deglet Nour 1kg: 331.539 TND (38.0%)
- Lowest margin %: Huile d'olive (32.0%). No product sold at a loss.
Cash tied up
- Chéchia rouge traditionnelle: 8 units, 160.000 TND at cost, no sales in two months.
Next steps
- Reorder 25 jars of thyme honey now. It's out of stock and brought in 850.500 TND.
- Review olive oil pricing. It's your top earner but has the lowest margin %; +1 TND per bottle at the same volume adds about 55 TND per period.
- Bundle or discount the chéchia to free up 160 TND.
Saved: inventory_report/report.md, stock_summary.csv, summary.json
stock_summary.csv
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
For small online stores, market sellers and boutiques that track stock in spreadsheets or a simple app, not an ERP. Built from running a real small online shop.
Point your agent at your stock, supplier purchases and sales. You get a clear report and an action list.
What you get
- Current stock for every product (opening + purchased − sold), with stock value at cost
- Reorder alerts with one threshold for all products or a reorder level per product (LOW / OUT / NEGATIVE), plus suggested reorder quantities
- Margin per product: revenue, cost of goods sold (weighted-average cost), margin and margin %
- Profit totals: revenue, COGS, gross profit, expenses (delivery, ads, fees) and net profit
- Highlights: most profitable product, best seller, lowest margin, items sold at a loss, slow movers tying up cash
- Saved files:
report.md,stock_summary.csvandsummary.json
Works with messy real data
- Reads CSVs with comma or semicolon separators, comma decimals (
14,500) and an Excel BOM - Recognises English and French headers automatically (
ref,désignation,quantité,prix_achat,seuil…) - Store order exports, Excel workbooks and SQL databases are mapped by the agent with an included guide, and it shows you the mapping first
- If you only know today's stock, it can rebuild opening stock from the period's sales and purchases
- Clear warnings for unknown SKUs, missing prices or bad dates, instead of silently wrong numbers
Why a script, not just a prompt
The numbers come from a deterministic Python script, so totals and weighted-average costs are exact and repeatable. The agent handles mapping your data and explaining the results.
Private by design
No network calls, no API keys, no telemetry. Your sales data never leaves your machine. The Python is plain and commented, with no obfuscation. Your original files are never modified.
What's included
SKILL.md with a defined output format, the analysis script, a column-mapping reference, a full example report, and two months of demo data you can try straight away ("run the shop inventory analyst demo").
Limits
Needs Python 3.9+ and pandas. It reports on the period covered by your data and doesn't forecast demand. Suggested reorder quantities are estimates based on the last period's sales.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.
Requires Python 3.9+ and pandas installed locally. Data must be provided in or converted to three specific CSV formats (stock, purchases, sales).
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 4 days ago
- Free with an Agensi account
- Software
Python 3.9+pandas
Fully offline: no network access, no API keys. Includes sample data, so you can try it with "run the shop inventory analyst demo".
Permissions
Terminal: runs the bundled Python script (scripts/analyze.py) locally. Read Files: reads the stock, purchases and sales files you point it at. Write Files: saves the report (report.md, stock_summary.csv, summary.json) to an output folder and writes converted CSVs to a working folder. Your original files are never modified. No network access.