- Home
- Skills
- E-commerce
- Target Price — Paste Costs and Fees, Get Price for a Margin
Target Price — Paste Costs and Fees, Get Price for a Margin
Calculate break-even and target-margin prices from pasted product costs and user-supplied fee rates. No marketplace fee table or price recommendations are included.
$5
Works with the AI Agents you already use
Target Price — Paste Costs and Fees, Get Price for a Margin
Example session with this skill installed
python3 scripts/target_price.py examples/costs.csv
- Read your context and instructions
- Compiled the target price
- Generated the data export
Input (examples/costs.csv):
product,cost,fixed_cost,fee_rates,per_item_fee,target_margin
Notebook,"$40.00","$10.00","5%; 3%","$2.00",20%
Output
Target Price — calculations from supplied values only.
Break-even price = (cost + fixed cost + per-item fee) / (1 − total fee rates).
Target price = same numerator / (1 − total fee rates − target margin). No price recommendations are made.
Product | Fee rates added | Total fee rate | Target margin | Break-even price | Target price | Notes
Notebook | 2 | 8.00% | 20.00% | $56.52 | $72.22 | —
costs.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
Paste one product per row with its cost, fixed costs, fee rates, per-item fee and target gross margin. Get a break-even price and a price at the supplied margin. Fee percentages are supplied by you; the tool has no marketplace rate table and does not recommend prices.
Input: a CSV or TSV with the columns product, cost, fixed_cost, fee_rates, per_item_fee and target_margin, in any order; extra columns are ignored, and extra cells on a row make that row unavailable. fee_rates holds one or more percentages, each ending in %, separated by semicolons (for example 5%; 3%); the tool adds them. Amounts accept $, €, £ or ¥, correctly grouped thousands and decimals. Use a single currency marker across marked amounts; mixed markers make the affected rows unavailable. A row with no marker stays unmarked in text and Markdown output. Rates are never inferred or fetched. Negative and malformed amounts are unavailable with a row note. Inputs are limited to 100,000 bytes and 2,000 rows.
Formulas: break-even price = (cost + fixed_cost + per_item_fee) ÷ (1 − sum of fee rates); target price = (cost + fixed_cost + per_item_fee) ÷ (1 − sum of fee rates − target margin). If a denominator is zero or below zero, that price is unavailable and the output explains why.
Options: --format text|markdown|json|csv, --delimiter auto|comma|tab, --output PATH (writes a new file; existing files and symlinks are refused) and standard input. Requires Python 3.9+; standard library only.
Limits: the tool reports arithmetic only. It does not propose a price or account for taxes, discounts or costs that are not supplied.
Included: the Python script, unit tests, a sample table and its sample report, and a README.
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.
The tool has no marketplace fee table and does not recommend prices; fee rates are supplied by you. It reports arithmetic only and does not account for taxes, discounts, or costs that are not supplied. Use a single currency marker across marked amounts. Inputs are limited to 100,000 bytes and 2,000 rows.
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.9+