/workday-flex-credits:flex-credit-forecastfrom workday-flex-credits
Forecasts Workday Flex Credit use and cost month by month for AI agents and integrations, covering Workday's own agents, agents you build, agents you buy and integrations that call Workday. Gives a first estimate from a few answers, then refines it from the Platform Consumption Console, an order form or an export if the user wants, and writes a spreadsheet and a Markdown report. Use when someone asks about Workday Flex Credits, Workday API overage or allowance, Agent-Ready Tool call costs, Extend agent costs, or budgeting credits for a Workday renewal.
Ships in workday-flex-credits. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Works out how many Workday Flex Credits an organization will use month by month, what the credits it has to buy would cost, when free credits run out and what drives the number. For Workday admins, integration leads and finance.
A first forecast by the end of turn 2 or 3, then a better one if the user wants it.
A good forecast traces every input to a source (Console, contract, user, default), states its assumptions, gives a low-to-high range and a confidence level, keeps credits and dollars apart from model token cost, names the biggest driver and lists the questions still open with Workday. A weak forecast presents defaults as facts, asks twenty questions before showing a number, or mixes token cost into credits.
references/question-flow.md.references/data-sources.md).Precedence: Console, then contract, then user, then default. If two sources disagree, show
both values and ask which to use. For anything unknown, use the default and list it under
Assumed. Record where each value came from in the sources block of input.json.
./flex-credit-forecast/ in the working directory. Write nothing
outside that folder.Say this once per conversation: at the top of the reply that first shows anything read from a contract, order form or export, and before opening the Console.
The forecast files are written only to a ./flex-credit-forecast/ folder in your workspace, and the scripts make no network calls. Anything Claude reads, including your order form and Console pages, is processed by your AI provider under your account's terms, like any other conversation.
In a runtime other than Claude, name that assistant instead of Claude.
references/question-flow.md). Ask with AskUserQuestion in Claude Code, 2 to 4 options
per question; elsewhere ask in plain text with numbered options../flex-credit-forecast/input.json from the answers and the defaults, with a
sources block, then run the script below and paste the summary it prints.input.json and its sources, rerun, and say what moved.
Keep one output folder; offer other scenarios as reruns.The input format, the defaults and every formula are in references/model.md.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/flex-credit-forecast/scripts/forecast.py" \
--input ./flex-credit-forecast/input.json --out-dir ./flex-credit-forecast
If CLAUDE_PLUGIN_ROOT is unset, resolve this installed skill's directory from the loaded SKILL.md path and invoke scripts/forecast.py by absolute path.
The script needs only Python 3.9 or later. It exits 2 and prints one line per problem when
the input is invalid; fix those values and rerun. If the user asks for a CSV, add
--formats xlsx,md,json,csv for a by-month CSV.
For the browser tool itself, follow the browser-automation skill when it's installed.
Otherwise use Claude in Chrome in Claude Code, or @chrome in Codex. If neither is
available, ask the user to paste the values or upload the export. Where to find each value is
in references/data-sources.md.
Files in ./flex-credit-forecast/, never in the plugin folder: input.json, result.json,
report.md and forecast.xlsx.
The script prints a chat summary of 11 lines or fewer, ending with the file paths (the
lines before the paths are also chat_summary in result.json). Paste it as printed, then
add the refine offer in one line, 12 lines in all. The first-forecast reply is that and
nothing else: no extra figures and no "what this means" section. Explain more only when the
user asks, and then quote figures only from the summary or result.json; don't compute new
ones, round them differently or describe a path against another path's allowance. The headline follows this shape:
{Need} credits in the next {months} months (range {low} to {high}, confidence {level}). {To buy} to buy, about {$} at {price} a credit. Free credits run out in {Month YYYY}. Biggest driver: {driver}.
With purchased credits it says when you start buying more, and which credits expire unused.
references/question-flow.md: before the first question; the turn 1 and turn 2 questions,
their options and the defaults each answer maps to.references/data-sources.md: when refining from the Console, an order form, an export,
email or an integration list.references/rate-card.md: when the user asks where a rate, band or date comes from.references/model.md: when writing input.json, or when the user asks how a number was
worked out.references/report-template.md: when the user asks about the report's structure or wants
a section reworded.references/data-sources.md (opens in a new tab)references/model.md (opens in a new tab)references/question-flow.md (opens in a new tab)references/rate-card.md (opens in a new tab)references/report-template.md (opens in a new tab)scripts/example_input.json (opens in a new tab)scripts/forecast.py (opens in a new tab)scripts/model_constants.json (opens in a new tab)scripts/xlsx_writer.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stackonehq/powerful-plugins --plugin workday-flex-credits