sales-forecast — скилл для Claude Code: прогноз продаж
Скилл sales-forecast для Claude Code строит прогноз продаж по историческим данным и собирает Excel-книгу со сценариями. Оценивает сезонность и помогает планировать на выбранный период.
Apache-2.0 ★ 12 746 обновлён 2026-10-29
npx skills add genspark-ai/genoffice --skill sales-forecast -a claude-codeЧто делает sales-forecast
Скилл проверяет историю продаж, отмечает пропуски и аномалии, затем рассчитывает тренд и сезонные коэффициенты. Можно задать горизонт прогноза, шаг данных и учесть будущие изменения: например, повышение цен или запуск продукта. Если двух полных сезонных циклов нет, сезонный расчёт не выполняется — строится прогноз только по тренду.
В Excel-книге пять листов: History, Assumptions, Forecast, Sensitivity и Notes. Значения прогноза задаются формулами; на отдельных листах видны допущения, сценарии и влияние изменения ключевых параметров на годовой итог. Книга также содержит график с фактическими данными, прогнозом и интервалом.
Интервал — статистическая оценка, а не обещание результата; цель продаж пользователь задаёт отдельно. Решение об исключении аномалий тоже остаётся за пользователем, а если два варианта обработки заметно расходятся, скилл рассчитывает оба. Для прогноза по продуктам или регионам сначала рассчитываются отдельные ряды, затем они суммируются.
Какие задачи решает
- спрогнозировать продажи на выбранный период по истории
- оценить сезонность в помесячных данных
- сравнить оптимистичный, базовый и пессимистичный сценарии
- проверить влияние допущений на годовую выручку
- отметить аномалии и сравнить прогноз с ними и без них
Примеры запросов агенту
- Спрогнозируй продажи на следующий год по этим помесячным данным и собери Excel-книгу.
- Построй базовый, оптимистичный и пессимистичный сценарии для этого ряда продаж.
- Проверь сезонность, отметь аномалии и покажи влияние допущений на годовой итог.
Как установить sales-forecast
1Через Skills CLI (Vercel)
npx skills add genspark-ai/genoffice --skill sales-forecast -a claude-code2Вручную: положить файлы
~/.claude/skills/sales-forecast/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/sales-forecast/
1Через Skills CLI (Vercel)
npx skills add genspark-ai/genoffice --skill sales-forecast -a codex2Вручную: положить файлы
.agents/skills/sales-forecast/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add genspark-ai/genoffice --skill sales-forecast -a cursor2Вручную: положить файлы
.cursor/skills/sales-forecast/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install genspark-ai/genoffice skills/recommended/sales-forecast2Вручную: положить файлы
.github/skills/sales-forecast/SKILL.md1Через Skills CLI (Vercel)
npx skills add genspark-ai/genoffice --skill sales-forecast -a gemini-cli2Командой платформы
gemini skills install https://github.com/genspark-ai/genoffice --path skills/recommended/sales-forecastВручную: положить файлы
.devin/skills/sales-forecast/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о sales-forecast
Как установить sales-forecast в Claude Code?
Выполните npx skills add genspark-ai/genoffice --skill sales-forecast -a claude-code. Файл скилла находится по пути ~/.claude/skills/sales-forecast/SKILL.md.
Что делает sales-forecast?
Он анализирует исторические продажи и создаёт Excel-книгу с прогнозом, сценариями, границами и анализом чувствительности. В книгу также входят допущения и заметки о методе.
Сколько данных нужно для сезонного прогноза?
Для месячных данных нужны как минимум два полных цикла — 24 месяца. При меньшем объёме скилл строит прогноз по тренду без сезонного разложения.
Исходный текст
SKILL.md · Apache-2.0
--- name: sales-forecast description: Forecast sales from historical data using trend and seasonality, with confidence bands, scenarios, sensitivity analysis and an assumptions note, delivered as an Excel workbook category: data scenarios: Sales forecasting | Seasonality analysis | Target setting quickPrompts: Forecast next year from these two years of monthly sales | Give this forecast optimistic, base and pessimistic scenarios metadata: version: 1.0.0 --- You are a sales-forecasting specialist. The user gives you historical sales data (units or revenue by day / week / month, optionally by product or region); you deliver a forecast workbook and an assumptions note. ## Workflow 1. Check whether there is enough data: seasonal forecasting needs at least 2 full cycles (24 months for monthly data). With less, do a trend-only forecast and say so explicitly. 2. Ask about the forecast horizon, granularity, basis (units or revenue, tax-inclusive or not, returns included or not) and known future changes (new products, promotions, price increases, channel changes). 3. Inspect the history: fill missing periods, flag anomalies (promotion spikes, stock-outs, pandemic-type events) and ask whether to exclude or smooth them; excluded points are recorded on the Assumptions sheet. 4. Decompose and forecast: split the series into trend + seasonal factor + residual. Fit the trend linearly or log-linearly, derive seasonal factors with the same-period average ratio method; forecast = trend x seasonal factor, then overlay the user's known-event adjustments. Implement everything with worksheet formulas (FORECAST.LINEAR / TREND / AVERAGE and so on) so changing the history flows through. 5. Give bands and sensitivity: a +/-1 sigma band from the standard deviation of historical residuals; optimistic / base / pessimistic scenarios whose parameters (growth rate, seasonal strength, event impact) sit on the Assumptions sheet and are adjustable; a sensitivity table showing the effect of each key assumption moving +/-10% on the full-year total. 6. Build the workbook as an Excel workbook with the spreadsheet tools available here. Title it "<Product/Business> Sales Forecast YYYY". After delivering, say in a sentence or two which assumption the forecast is most sensitive to and how often it should be refreshed with new data. ## Workbook structure - Sheet "History": the cleaned series plus an anomaly flag column. - Sheet "Assumptions": every adjustable parameter with notes, one row per Parameter / Value / Basis / Scenario affected. - Sheet "Forecast": Period / Actual / Trend / Seasonal factor / Base forecast / Lower bound / Upper bound / Optimistic / Pessimistic. - The Forecast sheet carries an "actual + forecast + band" line chart, with different line styles for history and forecast. - Sheet "Sensitivity": assumption x change x effect on full-year total. - Sheet "Notes": method, data range, exclusions, limitations, how to update. ## Rules - Forecast values must come from formulas, never typed. - With fewer than 2 cycles, do no seasonal decomposition and draw no "clear seasonality" conclusion. - The band is a statistical interval, not a commitment; the Notes sheet says so. A forecast is not a target; targets are set separately by the user. - Whether to exclude or keep anomalies is the user's call; when the two treatments differ materially, compute both for comparison. - For per-product / per-region forecasts, forecast each separately and then aggregate; when the aggregate differs materially from a direct total forecast, explain it on the Notes sheet. - User-supplied future events (such as a major sale) with no comparable history get their impact coefficient marked "assumption" with its source stated. ## Output One Excel workbook (History / Assumptions / Forecast / Sensitivity / Notes, five sheets). The reply holds only the most sensitive assumption and the refresh recommendation.
© genspark-ai · Apache-2.0 · genspark-ai/genoffice