Profit Margin Calculator Walmart
v0.1.0Walmart profit margin calculator for sellers. Calculate cost breakdowns including WFS fulfillment, storage fees, and referral fees. Includes comparison with...
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The skill name and SKILL.md say 'Walmart' / WFS, yet the included Python file is titled 'Amazon Profit Calculator' and uses Amazon-specific concepts and constants: REFERRAL_FEE_RATES that match Amazon category rates, variables named fba_fulfillment_fee and fba_storage_fee, and FBA_FULFILLMENT_FEES. The SKILL.md claims Walmart comparison, but the primary implementation appears Amazon-centric. Additionally the skill source/homepage are unknown, which increases the need for scrutiny.
Instruction Scope
SKILL.md instructs running the script with a JSON including 'wfs_fee' (example) but the visible code expects fields named like fba_fulfillment_fee / fba_storage_fee and category/referral logic for Amazon. This mismatch will likely cause runtime errors or incorrect calculations. The instructions do not tell the user to validate inputs or warn that the engine is Amazon-oriented. Otherwise, instructions do not request unrelated files or environment variables.
Install Mechanism
There is no install spec in the registry entry and the skill is effectively instruction + a local Python script. The SKILL.md shows an npx command to add the skill (user-facing instruction), but nothing in the package forces downloads or executes installers automatically. This is a low-risk install posture in itself.
Credentials
The skill declares no required environment variables, no credentials, and the visible code does not access environment variables or external secrets. Requested surface for credentials is proportionate (none).
Persistence & Privilege
The skill is not marked always:true, is user-invocable, and does not request elevated persistence or modify other skill/system configs. Autonomous invocation is allowed by default but is not combined with other high-risk flags here.
What to consider before installing
Key things to consider before installing or running this skill:
- Do not run the script on production or with sensitive data until you verify it. Run it in a sandbox/container first.
- The SKILL.md advertises a Walmart/WFS calculator, but the bundled Python is Amazon-focused (FBA terminology and Amazon referral rates). This likely produces incorrect results for Walmart sellers. Ask the author for clarification or an updated implementation that explicitly supports WFS and uses Walmart fee rules.
- The usage example passes 'wfs_fee' but the code appears to expect fields like 'fba_fulfillment_fee' / 'fba_storage_fee' — fix or map input field names before use to avoid runtime errors or silent miscalculations.
- Because the package source and homepage are unknown, inspect the full Python file (including the truncated portion) for any network calls or subprocess usage before execution. Search the script for imports or functions that indicate external communication (requests, urllib, socket, subprocess, os.system, ftplib, smtplib) or for hard-coded endpoints.
- If you only need Walmart calculations, consider either obtaining a version explicitly designed for WFS or adapting this engine: replace Amazon referral rates with Walmart rates, rename/mapping of fee fields, and verify formulas.
If you want, I can (a) search the remaining/truncated part of the script for network I/O or dangerous patterns, (b) produce a patch mapping 'wfs_fee' -> 'fba_fulfillment_fee' and replace Amazon referral rate table with a Walmart-appropriate table, or (c) draft questions to send to the skill author to get a clear claim of supported marketplaces.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Profit Margin Calculator — Walmart 💰
Calculate product profitability for Walmart Marketplace sellers — cost breakdowns, profit margins, and WFS fee analysis.
Installation
npx skills add nexscope-ai/eCommerce-Skills --skill profit-margin-calculator-walmart -g
Cost Components
| Cost Item | Description |
|---|---|
| Product Cost | FOB purchase price |
| Inbound Shipping | Sea/air freight to WFS |
| WFS Fulfillment | Walmart Fulfillment Services |
| WFS Storage | Monthly storage fee |
| Referral Fee | Platform commission (8-15%) |
| Advertising | Walmart Connect ads |
| Return Cost | Return processing loss |
Walmart vs Amazon
| Item | Walmart | Amazon |
|---|---|---|
| Fulfillment | WFS | FBA |
| Referral fee | Lower | Higher |
| Monthly storage | No fee | Yes |
| Competition | Lower | High |
Usage
python3 scripts/calculator.py
python3 scripts/calculator.py '{"selling_price": 24.99, "product_cost": 6, "wfs_fee": 4.95}'
Output Example
💰 **Walmart Profit Analysis Report**
Selling Price $24.99 100.0%
────────────────────────────────────────
Product Cost -$6.00 24.0%
WFS Fulfillment -$4.95 19.8%
Referral Fee -$3.75 15.0%
...
────────────────────────────────────────
Net Profit $6.19 24.8%
Walmart Advantages
| Advantage | Benefit |
|---|---|
| No long-term storage | Better for slow movers |
| Lower referral fees | 6-15% vs 8-15% |
| Less competition | Easier ranking |
| Growing marketplace | More opportunities |
Referral Fee Rates
| Category | Rate |
|---|---|
| Electronics | 8% |
| Apparel | 15% |
| Home & Kitchen | 15% |
| Most categories | 8-15% |
Part of Nexscope AI — AI tools for e-commerce sellers.
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
