forecasting
Skill2.2k starsChanged 6 months agoApache-2.0View on GitHub
How to produce a demand forecast for a SKU, and when to delegate that to a subagent vs. compute it yourself. Load this for any task involving "forecast", "how much will we sell", "next month", promos, or seasonal SKUs.
1 other project uses a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- m-binimran/finance-packtheir own version, first seen Jun 14, 2026
Who's talking about anthropics/cwc-workshops
- @github-trending.bsky.social“📦 anthropics / cwc-workshops ⭐ 1,496 (+37) 🗒 TypeScript”Bluesky · Jul 17, 2026 · 2 likes
- @nsega.dev“Code w/ Claude Extended にSF現地で参加できてWorkshopメインにしてたけど色々と知らなかったfeatureさわれて良かった。 …”Bluesky · May 8, 2026 · 2 likes
- @technews4869.bsky.social“github.com/anthropics/cwc-... GitHub - anthropics/cwc-workshops”Bluesky · Jul 27, 2026 · 1 likes
- @github-trending-js.bsky.social“📦 anthropics / cwc-workshops ⭐ 1,496 (+37) 🗒 TypeScript”Bluesky · Jul 17, 2026 · 1 likes
- ProSkillsMD/proskills“[Candidate] anthropics/cwc-workshops/ship-your-first-managed-agent/incident-triage-runbook - …”GitHub · Sep 28, 2026
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub and Bluesky (17 times).
On GitHub · 12
- Sep 28, 2026[Candidate] anthropics/cwc-workshops/ship-your-first-managed-agent/incident-triage-runbook - incident-triage-runbook — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/cwc-workshops/research-desk/skills/edgartools - edgartools-sec-data — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/cwc-workshops/research-desk/.claude/skills/workshop - workshop — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/weekly-report - weekly-report — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/supplier-selection - supplier-selection — ProSkillsMD/proskills0 reactions · 2 comments
7 more on GitHub
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/submit-solution - submit-solution — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/reorder-policy - reorder-policy — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/notify-templates - notify-templates — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-decomposition/.claude/skills/forecasting - forecasting — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/cwc-workshops/agent-battle/skills/mining - mining — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 25, 2026agent-skills.github.anthropics.cwc-workshops: init at 0-unstable-2026-08-20 — sudosubin/agents.nix0 reactions
- Jul 18, 2026Github trending [anthropics/cwc-workshops] Claude工作坊多智能体实战 — web1992/github-trending0 reactions
On Bluesky · 5
- Jul 17, 2026📦 anthropics / cwc-workshops ⭐ 1,496 (+37) 🗒 TypeScript — @github-trending.bsky.social2 likes and reposts · 1 reply
- May 8, 2026Code w/ Claude Extended にSF現地で参加できてWorkshopメインにしてたけど色々と知らなかったfeatureさわれて良かった。 基本はこのrepoの中の内容をやったけど個人で試しに動かしてみるて言うのも良さそう。… — @nsega.dev2 likes and reposts · 1 reply
- Jul 27, 2026github.com/anthropics/cwc-... GitHub - anthropics/cwc-workshops — @technews4869.bsky.social1 likes and repost
- Jul 17, 2026📦 anthropics / cwc-workshops ⭐ 1,496 (+37) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost
- May 7, 2026RT @jdnichollsc: How we Claude Code by @trq212 Workshops: https://github.com/anthropics/cwc-workshops Happy Claude Coding! <3 #AI #Claude… — @trq212-mir-rt.selfhosted.social0 likes and reposts · 1 reply
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- m-binimran/finance-pack★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- agent-battle/CLAUDE.mdCLAUDE.md
- agent-decomposition/.claude/CLAUDE.mdCLAUDE.md
- eval-driven-agent-development/CLAUDE.mdCLAUDE.md
- miningSkill
- notify-templatesSkill
- reorder-policySkill
- submit-solutionSkill
- supplier-selectionSkill
- weekly-reportSkill
- workshopSkill
- edgartools-sec-dataSkill
- eval-audit-and-sweepSkill
- incident-triage-runbookSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this when all of the following hold:
- Distinctive: line 30
Batch variant for sweeps: if you need days-of-cover for *many* SKUs at once (e.g., the daily low-stock check), don't loop tool calls — run …
- Distinctive: line 44
Use this when any of the following hold:
- Very specific: line 60
If callable_agents isn't available (it's a research-preview feature), fall back to computing the rolling-mean inline yourself and set …
- Very specific: line 84
Look for a historical analog (same SKU, comparable promo in the last 12 months) and use *that* uplift.
- Distinctive: line 87
Default to flag-for-review over auto-order when lift is uncertain.
- Distinctive: line 90
If the promo end date is known, account for the post-promo dip — don't leave the channel overstocked the week after.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Copyright 2026 Anthropic PBC --><!-- SPDX-License-Identifier: Apache-2.0 -->Demand Forecasting
Forecasting has two paths. Pick the right one — using a subagent when you don't need one wastes turns; skipping it when you do gives you a bad number.
Path A — compute it yourself (code execution)
Use this when all of the following hold:
- horizon ≤ 14 days
- the product's
is_seasonalflag is 0 - the product's
promo_next_monthflag is 0 - the task doesn't mention a promo, holiday, or trend change
Then the forecast is just a rolling mean. This skill ships a script for it:
python .claude/skills/forecasting/rolling_mean.py SKU-0057 14That's it — one Bash call, ~200 tokens, no subagent. Read the script if you want to adapt it (it's ~20 lines).
Batch variant for sweeps: if you need days-of-cover for many SKUs at once (e.g., the daily low-stock check), don't loop tool calls — run the batch script:
python .claude/skills/forecasting/batch_days_of_cover.py 20Returns the 20 most urgent SKUs as JSON, ranked by days-of-cover. This is
what replaces the 100+ get_stock_level / get_sales_velocity calls the
old agent made on F1.
Path B — spawn a forecaster subagent
Use this when any of the following hold:
- horizon > 14 days
is_seasonalis 1promo_next_monthis 1, or the task mentions a promo- recent sales show a visible trend break
Why a subagent: the forecaster needs the full 90-day history in context to spot seasonality and promo effects. That's ~90 rows × however many SKUs. Loading that into your context crowds out the rest of the task. A subagent gets its own context window, does the analysis there, and hands back a small JSON.
How: Delegate to the forecaster callable agent. Send it just the SKU,
product flags, and horizon — not the history rows. The forecaster has
Bash access to the same /mnt/user/data/ and will compute over the full
history in its own context (that's the point: the 90 rows live there, not
here). It returns {forecast_qty, confidence, method, flags} JSON —
parse it strictly; if the JSON is malformed that's an error, not
something to guess around.
If callable_agents isn't available (it's a research-preview feature),
fall back to computing the rolling-mean inline yourself and set
confidence ≤ 0.55 so the reorder-policy skill escalates to human review
instead of auto-ordering on a number you couldn't validate.
Seasonal calendar (sanity-check your numbers)
Outdoor gear is highly seasonal. When the horizon crosses a boundary, the rolling mean lags the turn — lean on Path B and mention the season.
| Window | Categories that lift | Expect vs baseline |
| Mar–May | Footwear, packs, rain shells, trekking poles | 1.3–1.6× |
| Jun–Aug | Tents, sleeping, stoves, water filtration | 1.5–2.0× (peak quarter) |
| Sep–Oct | Insulated apparel, optics, headlamps | lift; tents/footwear taper |
| Nov–Dec | Giftable price points; heaviest promo | confirm promo flags |
| Jan–Feb | Reset — lowest volume | good for cycle counts |
Promotional handling
Promos are the most common cause of under-ordering. When promo_next_month=1
or the task mentions a promo:
- Do not rely on rolling-mean alone — that's pre-promo demand.
- Look for a historical analog (same SKU, comparable promo in the last 12
months) and use that uplift. If none exists, the subagent should set
flags: ["promo_uplift_uncertain"]and a confidence well under 0.6. - Default to flag-for-review over auto-order when lift is uncertain. Over-ordering on a promo is recoverable; under-ordering is a stockout during peak attention.
- If the promo end date is known, account for the post-promo dip — don't leave the channel overstocked the week after.
The failure mode to avoid: stating the lift in prose ("could be ~3×")
while the forecast_qty you return is still the un-lifted baseline mean.
Anchor the number, not just the narrative.
What to do with the result
Feed {forecast_qty, confidence, flags} into the reorder-policy skill. In particular: if confidence < 0.6, reorder-policy says escalate, don't auto-order. Do not drop the confidence or flags on the floor — they're part of the contract.
Worked example (Path B)
Task: "Reorder SKU-0091 for next month's promo." → promo_next_month=1, horizon=30 → Path B.
Subagent returns: {"forecast_qty": 2100, "confidence": 0.41, "method": "baseline_mean_no_comparable_promo", "flags": ["promo_uplift_uncertain"]}
confidence 0.41 < 0.6 → per reorder-policy, do not create a PO. Escalate via notify-templates with the flags, recommend ~2,100 baseline + note that promo uplift could be 2-3× and needs a human call.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

