Skip to main content
skill CX Codex

sales-brief — Claude Code skill: sales analysis and installation

Reviews sales data, spots seasonal patterns, and drafts a two-week content brief. Use it to choose which products to feature and which to discount.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ilyautov/small-business-ru --skill sales-brief -a claude-code
Open on GitHub

What sales-brief does

The skill groups transactions by product or service and ranks items by revenue, units sold, and margin when that figure is available. It compares revenue share with the equivalent previous period to identify leading products and items with declining sales. Seasonal comparisons use the same period from the previous year when historical records are available.

It then examines possible reasons for changes and checks campaign activity in the CRM. The brief distinguishes evidence-backed explanations from inferred ones. Its output includes promotion ideas for leading products, clearance suggestions, and a two-week publishing calendar. Set the review window to 30d, 60d, or 90d; the default is 30d.

An owner reviews the brief before any content is made public: the skill does not schedule or publish posts. Sales analysis requires at least one revenue source, either payment records or accounting data. Without both sources, it stops; without a CRM connection, it skips the campaign check.

What it helps with

  • identify products gaining a larger share of revenue
  • flag items with falling sales
  • compare demand with last year's seasonal pattern
  • draft a two-week content calendar
  • trace possible causes of sales changes

Example prompts for the agent

  • Run sales-brief to review sales from the last 30 days.
  • Call sales-brief with a 60d review window and draft a two-week brief.
  • Run sales-brief and separate CRM-backed explanations from inferred causes.

How to install sales-brief

1Skills CLI (Vercel)

npx skills add ilyautov/small-business-ru --skill sales-brief -a claude-code

2Manually: put the files in place

~/.claude/skills/sales-brief/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sales-brief/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sales-brief

How do I install sales-brief in Claude Code?

Run npx skills add ilyautov/small-business-ru --skill sales-brief -a claude-code. The skill file is located at ~/.claude/skills/sales-brief/SKILL.md.

What does sales-brief do?

It analyzes sales, identifies leading and declining products, and prepares a two-week content brief. It labels explanations as supported by data or inferred.

What data does sales-brief need?

It needs at least one revenue source: payment records or accounting data. Connect a CRM to compare sales changes with campaign activity.

Source text

SKILL.md · Apache-2.0
---
name: sales-brief
description: >
  Выносит топовых и слабых продавцов, находит сезонные паттерны и собирает двухнедельный контент-бриф, чтобы продвигать лидеров и распродавать залежавшееся. Принимает необязательное окно обзора 30, 60 или 90 дней. Командная форма: вызывается по имени.
allowed-tools: Read, WebFetch
---

<!-- Производное от Anthropic knowledge-work-plugins / small-business (Apache-2.0, (c) Anthropic). Локализовано под РФ, файл изменён. См. /NOTICE и /LICENSE. -->

Чуйка про «что хорошо идёт» врёт, а склад с зависшим товаром — нет. Скилл смотрит в цифры: что реально продалось (и что застряло), объясняет почему и собирает двухнедельный контент-план — продвигать лидеров, распродавать залежавшееся. Решения по данным, а не по ощущениям.

Разбор аргументов:
- `--lookback` (по умолчанию `30d`) — окно обзора `30d`, `60d` или `90d`

## Шаг 1 — Разбор продаж

По рабочему процессу анализа продаж:

1. Подтяните операции из `~~платежи` (ЮKassa, Тинькофф Касса) за окно обзора, сгруппированные по позиции/услуге/артикулу.
2. Подтяните выручку по категориям из `~~бухгалтерия` (1С:Бухгалтерия, МойСклад).
3. Ранжируйте товары по: общей выручке, объёму в штуках и марже (если есть в учёте).
4. Посчитайте долю каждого товара в выручке против прошлого эквивалентного периода.

Топ-продавцы: товары, нарастившие долю или удержавшие топ-3.
Слабые продавцы: товары с падающим объёмом или ниже 5% выручки.

## Шаг 2 — Проверка сезонности

1. Сравните текущий период с тем же периодом прошлого года (если есть история в учёте).
2. Пометьте позиции с сезонным паттерном (например, всплеск в 4 кв. (окт–дек), спад летом).
3. Отметьте новые товары без достаточной истории для определения сезонности.

## Шаг 3 — Разбор «почему»

Для каждого топового и слабого продавца объясните вероятную причину:
- изменение цены, акция, новый канал, сезонный спрос, ход конкурента
- сверьтесь с активностью кампаний в `~~crm` за период
- отметьте, где причина выведена логически, а где подтверждена

## Шаг 4 — Двухнедельный контент-бриф

Соберите готовый к работе контент-бриф:

```
Контент-бриф на 2 недели — {диапазон дат, ДД.ММ.ГГГГ}

ПРОДВИГАЕМ (лидеры)
• {товар}: {предлагаемый угол} — {канал: e-mail|соцсети|оба}
• {товар}: {предлагаемый угол} — {канал}

РАСПРОДАЁМ (залежавшееся)
• {товар}: {акция или идея комплекта} — {канал}

КОНТЕНТ-КАЛЕНДАРЬ
Неделя 1:
  Пн: {идея поста/письма}
  Ср: {идея поста/письма}
  Пт: {идея поста/письма}
Неделя 2:
  Пн: {идея поста/письма}
  Ср: {идея поста/письма}
  Пт: {идея поста/письма}
```

> Площадки РФ: Telegram, VK, Яндекс Дзен, Авито. Рассылки — Unisender, Sendsay. Помните про маркировку рекламы (ОРД, токен) для платных размещений.

### Пример (иллюстративный, данные условные)

Вход: выгрузка из ЮKassa за 30 дней, кофейня.

Выход (фрагмент брифа):

```
ПРОДВИГАЕМ (лидеры)
• Раф на кокосовом: +18% к прошлому месяцу, держит топ-3 — угол «сезонный
  фаворит, попробуй пока тепло» — соцсети
• Абонемент на 10 кофе: ровный спрос, высокая маржа — угол «считаем выгоду
  на чашке» — оба

РАСПРОДАЁМ (залежавшееся)
• Сезонный тыквенный сироп: ниже 5% выручки, сезон уходит — комплект
  «латте + сироп со скидкой» — соцсети
```

## Сбои коннекторов

Если недоступны и `~~бухгалтерия`, и `~~платежи` — остановитесь: разбор продаж требует хотя бы одного источника выручки. Если подключён один — работайте по нему и отметьте «бухгалтерия не подключена — данные о выручке только из платежей» (или наоборот). Если нет `~~crm` — пропустите сверку с кампаниями в «разборе почему» и отметьте.

## Точки подтверждения (approval gates)

- **Никогда не планируйте и не публикуйте контент автоматически.** Бриф только на проверку собственнику.
- **Не создавайте дизайн-макеты автоматически** — предложите собрать их через `~~дизайн` (VistaCreate, Supa) после одобрения брифа.

## Вывод

Покажите разбор продаж, затем контент-бриф. Спросите собственника, собрать ли макеты через `~~дизайн` для каких-то из запланированных постов.

© ilyautov · Apache-2.0 · ilyautov/small-business-ru

Similar skills

All skills for Marketing and content →

From the same set24

tax-season-organizer Turns your books into a tax-season package for an accountant: advance payments under the simplified system, sole-trader contributions and contractor payouts. CX Codex +1 ★ 26repo stars tax-prep Calculates simplified tax advance payments, audits contractor receipts, and compiles handoff summaries for accountants before quarterly deadlines. CX Codex +1 ★ 26repo stars smb-router It reads what the owner needs right now and points to a single command or skill, then offers to run it. Useful when the small-business plugin's command list feels like a maze. CX Codex +1 ★ 26repo stars smb-onboard Guides small business owners through initial connector setup, runs a live test workflow, and saves company context into session memory. CX Codex +1 ★ 26repo stars review-contract Reviews contracts under Russian civil law, flags hidden legal risks by severity level, and drafts concrete redline edits. Works with local files or Russian EDI systems. CX Codex +1 ★ 26repo stars month-heads-up Forecast cash flow for 30 or 60 days and spot the tightest week. Run the skill before month-end to review upcoming bills and expected funds. CX Codex +1 ★ 26repo stars monday-brief Assembles a single-screen Monday morning brief covering cash, sales, pipeline, and top priorities. CX Codex +1 ★ 26repo stars margin-analyzer This skill compares revenue and costs for products or services, accounts for VAT status, and models price scenarios. Use it to see which items bring in gross profit. CX Codex +1 ★ 26repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor