seller-profit-calculator
Multi-platform Order Profit Calculator — upload order exports from any e-commerce platform or ERP, get instant profit reports by order, store, SKU, and platform.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/billjamno58/ecom-seller-profitSeller Profit Calculator
Upload order exports from any e-commerce platform or ERP → get instant profit breakdown by order, store, SKU, and platform.
What It Does
Upload one Excel file → get a complete profit breakdown:
- 📋 Overall summary: total orders, completed, cancelled, total revenue, total cost, net profit, net margin %
- 🌍 By platform: revenue / expense / cost / profit per platform
- 🏪 By store: revenue / expense / cost / profit per store
- 🔴 Bottom 5 orders: worst loss-making orders highlighted
- 🟢 Top 5 orders: best performing orders highlighted
- ✅ Cross-check: calculated profit vs platform-declared profit — validates accuracy per order
How It Works — Agent-Powered Field Mapping
This Skill is not a static field-mapping tool. The AI Agent handles the messy reality of real export files.
The Workflow
You upload any Excel order export
↓
Agent reads headers + sample rows (analyze_headers.py)
↓
Agent identifies each column's meaning (LLM reasoning)
↓
Agent builds field_map JSON → passes to parse_orders.py
↓
parse_orders.py calculates with full field context
↓
Report with per-order breakdown + accuracy notes
Field Map Example
{
"buyer_total_paid": "buyer_total_paid",
"cost_of_goods": "cost_of_goods",
"net_profit": "net_profit",
"store_name": "store_name",
"country": "country"
}
What the Agent Does
- Auto-detects standard fields — 38 standard field names recognized across Allegro, Temu, TikTok, Amazon, etc.
- Semantic matching for unknown columns — if a column isn't in the standard list, the Agent infers its meaning from the column name + sample values
- Handles missing fields — if a required field is absent, the Agent notes it and estimates impact
- Produces field_map JSON — passed directly to the parser via
--field-map
CLI Usage
# Auto-detect (works if column names match standard fields)
python3 scripts/parse_orders.py orders.xlsx
# With Agent-provided field mapping
python3 scripts/parse_orders.py orders.xlsx --field-map '{"buyer_paid":"buyer_paid","item_cost":"item_cost"}'
# Or load from file
python3 scripts/parse_orders.py orders.xlsx --field-map @my_mapping.json
# Analyze file headers first (for Agent to inspect)
python3 scripts/analyze_headers.py orders.xlsx --json headers.json
Supported Platforms
All e-commerce platforms and ERPs that export order data with standard fields: order ID, revenue, costs, profit.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-billjamno58-ecom-seller-profit": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
amazon-monitor
亚马逊商品监控技能 - 监控自有产品及竞品数据,支持价格追踪、评论分析、竞品对比和运营建议 | Amazon product monitoring skill - track your products and competitors with price tracking, review analysis, competitor comparison and operational recommendations
ecommerce-return-intelligence
分析退货原因并区分产品问题、预期错配、物流问题和描述问题。;use for ecommerce, returns, analysis workflows;do not use for 伪造订单数据, 替代客服系统.
chaterimo
AI Customer Service for Shopify & E-commerce - Query conversations, analyze chatbot performance, and manage your Chaterimo AI assistant
ecommerce-product-pro
AI-powered ecommerce product research tool for Amazon FBA, Shopify, and dropshipping. Find winning products, analyze competition, estimate profits, and track trends.
ecommerce-product-pro
AI-powered ecommerce product research tool for Amazon FBA, Shopify, and dropshipping. Find winning products, analyze competition, estimate profits, and track trends.