sales-forecast
What it does
This skill predicts future sales from your past sales records. It is for business owners and managers who need planning figures for stock, staff or budgets.
When to use it
- ✓When you want a forecast of the next months or quarters based on your past sales data.
- ✓When you want optimistic, base and pessimistic scenarios for planning.
- ✓When you know of a future event, such as a promotion, that should change the forecast.
Skill link
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/sales-forecast/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Forecast our monthly sales for next year from the last two years of data, with a best case and a worst case.”
5 new skills a week. 1 minute to read.
How it works
The agent checks that there is enough history, then separates the data into a trend and seasonal patterns. It builds the forecast with worksheet formulas, adds a range of likely values and scenarios, and writes an assumptions note.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- 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.
- 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).
- 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.
- 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.
- 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.
- 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.
FAQ
How much history do I need for a seasonal forecast?
At least two full cycles, which is 24 months for monthly data. With less history, the skill does a trend-only forecast and says so.
Can I change the history later?
Yes. The forecast uses formulas, so changes to the history flow through to the results.
Are unusual months removed?
The agent flags them, such as promotion spikes or stock-outs, and asks whether to exclude or smooth them.
Details
Original description by the author
Forecast sales from historical data using trend and seasonality, with confidence bands, scenarios, sensitivity analysis and an assumptions note, delivered as an Excel workbook
repo: genspark-ai/genoffice
Popularity
- GitHub stars
- 12k
- Ranking position
- #11620
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
genoffice
12kHelps your agent create, convert and read Office files such as PowerPoint, Excel, Word and PDF, locally, using the GenOffice command line tool.
brand-copy
12kHelps your agent write several versions of taglines, selling points and a brand story for a product and its audience, delivered in Markdown.
budget-planner
12kHelps your agent turn a business plan or project spending into a budget workbook with account lines, monthly amounts, summaries and an assumptions sheet.
business-plan
12kHelps your agent write a full business plan covering market, product, business model, competitors, financial projections and team, as a Word document.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.