friday-brief — Claude Code skill: what it does, how to install
Compiles an end-of-week revenue summary, top sales performers, and key observations for business owners.
npx skills add ilyautov/small-business-ru --skill friday-brief -a claude-codeWhat friday-brief does
The skill reviews weekly revenue by pulling payment logs from payment gateways (Yookassa, Tinkoff Kassa) and closed deals from CRM systems (Bitrix24, amoCRM). It calculates week-over-week revenue changes, highlights top three revenue drivers, and tracks items with sales volume swings greater than 20%.
The output structure includes five best-selling products, three underperforming items, a list of wins, and action points. By default, it uses a 7-day window via --lookback 7d, with support for a 14-day comparison (--lookback 14d). The agent relies on Read and WebFetch permissions.
Without at least one connected data source — payments or CRM — the skill stops immediately and displays an error message. It enforces strict review gates: reports are never sent automatically and require direct confirmation before sharing.
What it helps with
- calculate week-over-week revenue changes from payment gateways
- spot products with sales spikes or drops over 20%
- summarize closed deals from amoCRM or Bitrix24 into an executive brief
Example prompts for the agent
- Run friday-brief for this week's revenue
- Generate the friday brief with --lookback 14d
- Review sales wins and observations from CRM data
How to install friday-brief
1Skills CLI (Vercel)
npx skills add ilyautov/small-business-ru --skill friday-brief -a claude-code2Manually: put the files in place
~/.claude/skills/friday-brief/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/friday-brief/
1Skills CLI (Vercel)
npx skills add ilyautov/small-business-ru --skill friday-brief -a codex2Manually: put the files in place
.agents/skills/friday-brief/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ilyautov/small-business-ru --skill friday-brief -a cursor2Manually: put the files in place
.cursor/skills/friday-brief/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ilyautov/small-business-ru friday-brief2Manually: put the files in place
.github/skills/friday-brief/SKILL.md1Skills CLI (Vercel)
npx skills add ilyautov/small-business-ru --skill friday-brief -a gemini-cli2Platform CLI
gemini skills install https://github.com/ilyautov/small-business-ru --path small-business-ru/skills/friday-briefManually: put the files in place
.devin/skills/friday-brief/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ilyautov/small-business-ru --skill friday-brief -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about friday-brief
How to install friday-brief in Claude Code?
Run npx skills add ilyautov/small-business-ru --skill friday-brief -a claude-code in your terminal. You can also save the skill file directly to ~/.claude/skills/friday-brief/SKILL.md.
What does the friday-brief skill do?
It aggregates weekly transaction figures and deals, computes revenue deltas, highlights top-performing products, and outputs a formatted end-of-week debrief.
What happens if payment or CRM connectors are missing?
The skill degrades cleanly if one source is absent, calculating metrics on the remaining connector. If neither payment nor CRM data is linked, it halts execution.
Source text
SKILL.md · Apache-2.0
---
name: friday-brief
description: >
Выдаёт пятничный пульс конца недели — выручка против прошлой недели, топ-продавцы, победы и точки наблюдения. Принимает необязательное окно обзора 7 или 14 дней. Командная форма: вызывается по имени.
allowed-tools: Read, WebFetch
---
<!-- Производное от Anthropic knowledge-work-plugins / small-business (Apache-2.0, (c) Anthropic). Локализовано под РФ, файл изменён. См. /NOTICE и /LICENSE. -->
# Бриф пятницы
Неделя пролетела, а что в итоге заработали и что осталось висеть — непонятно. Этот бриф закрывает неделю честными цифрами: что выросло, что просело, на что смотреть в понедельник — чтобы уйти на выходные с ясностью, а не с тревогой.
Запустите пятничный бриф «победы и наблюдения». Подтяните цифры, выньте главное и дайте собственнику чистую картину конца недели.
Разбор аргументов:
- `--lookback` (по умолчанию `7d`) — `7d` (одна неделя) или `14d` (скользящее сравнение двух недель)
## Шаг 1 — Пульс выручки
По рабочему процессу скилла `business-pulse`:
1. Подтяните операции из `~~платежи` (ЮKassa, Тинькофф Касса) за окно обзора.
2. Подтяните закрытия сделок из `~~crm` (Битрикс24, amoCRM) за то же окно.
3. Посчитайте дельту выручки неделя к неделе.
4. Выньте топ-3 источника выручки (товар / клиент / канал) по вкладу.
## Шаг 2 — Разбор продаж
1. Перечислите топ-5 товаров/услуг по объёму и выручке.
2. Перечислите нижние 3 (всё, что продалось хуже ожиданий против прошлого периода).
3. Пометьте любые позиции с резким всплеском или падением (>20% изменения).
## Шаг 3 — Сводка «победы и наблюдения»
Формат вывода (суммы в рублях, даты ДД.ММ.ГГГГ):
```
Бриф пятницы — {ДД.ММ.ГГГГ}
ПОБЕДЫ
• {победа 1}
• {победа 2}
• {победа 3}
НАБЛЮДЕНИЯ
• {наблюдение 1} — {рекомендуемое действие}
• {наблюдение 2} — {рекомендуемое действие}
Выручка за неделю: {сумма} ₽ ({+/−}X% против прошлой недели)
```
## Сбои коннекторов
Работайте с тем, что подключено — команда деградирует аккуратно. Если нет `~~платежи` — пропустите данные операций и отметьте «платежи не подключены — выручка только по сделкам CRM». Если нет `~~crm` — пропустите закрытия сделок и отметьте. Если нет ни того, ни другого — остановитесь: «Не подключён ни один источник выручки. Подключите платежи или CRM, чтобы запустить пятничный бриф.»
## Точки подтверждения (approval gates)
- **Никогда не отправляйте и не публикуйте бриф автоматически.** Всегда показывайте собственнику на проверку.
- **Ничего не отменяйте и не меняйте автоматом.** Только показ данных и рекомендаций.
## Вывод
Заканчивайте свёрстанным брифом и вопросом: «Отправить это в мессенджер, на почту себе или сохранить?»
© ilyautov · Apache-2.0 · ilyautov/small-business-ru