margin-analyzer

Calculates per-item unit economics and gross margin from accounting and payment data with VAT adjustments.

16|4|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/ilyautov/small-business-ru --skill margin-analyzer-ilyautov
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: margin-analyzer
Source: https://github.com/ilyautov/small-business-ru/tree/main/small-business-ru/skills/margin-analyzer
Command: npx skills add https://github.com/ilyautov/small-business-ru --skill margin-analyzer-ilyautov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Revenue grows but cash does not, because margin is never calculated per product or service. This Skill breaks down unit economics position by position, cleans revenue of VAT where applicable, and shows the real numbers so the owner can make pricing decisions on facts instead of averages. ## Core Features & Use Cases - Per-item unit economics: Pulls cost data from accounting systems (1C, MoySklad, Kontur.Elba) and revenue from payment providers (YooKassa, Tinkoff Kassa, SBP), then computes revenue, cost of goods sold, gross profit, and margin percentage per position. - VAT-aware margin calculation: Adjusts for the 2026 simplified-tax VAT rules (5% / 7% / 22% above the 20 million RUB threshold) so margin is computed on VAT-free revenue and not overstated. - Price scenario modeling: Builds +5% / +10% / +15% price scenarios using historical volume elasticity where data allows, or explicit volume assumptions where it does not, without recommending a price. - Use Case: A clothing boutique owner asks whether to raise prices after supplier costs jumped. The Skill shows knitwear margin fell to 32% against a 45–65% category benchmark and models three price scenarios with estimated volume impact. ## Quick Start Ask the assistant to analyze your margin by product or service, for example: "Check my margin by product and show what happens if I raise prices by 10%."

Frequently Asked Questions about margin-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate gross margin per product from my sales data?▼

Connect your accounting system and payment provider, or upload CSV exports of revenue and costs. The Skill computes revenue, cost of goods sold, gross profit, and margin percentage per position, flagging anything below 20% margin.

How does VAT affect margin calculation for USN businesses in 2026?▼

Since 2026, simplified-tax businesses with revenue above 20 million RUB pay VAT at 5%, 7%, or 22%. Margin must be computed on VAT-free revenue (amount divided by 1 plus the rate), otherwise it is overstated by the VAT portion owed to the budget.

Can I analyze margin without connecting accounting software?▼

Yes. You can upload CSV or Excel exports from your bank client, YooKassa, or 1C instead. The Skill documents expected columns for revenue and cost files and handles messy exports with extra header rows, currency symbols, and mixed formats.

What data sources does the margin analysis support?▼

It works with accounting connectors like 1C:Bookkeeping, MoySklad, and Kontur.Elba for costs, and payment providers like YooKassa, Tinkoff Kassa, and SBP for revenue. Manual CSV upload is the fallback when nothing is connected.

Why does the skill not recommend a price after the analysis?▼

By design it only presents data: unit economics, benchmarks, and price scenarios. Pricing decisions depend on competitive position and customer relationships that only the owner knows, so the final call stays with the owner.

What happens if my cost data is not broken down by product?▼

The Skill asks you for rough per-item cost estimates instead of dividing a lump-sum cost across products, which would produce meaningless numbers. This limitation is noted in the data quality section of the output.