Vc Problem Solving
withkynam/vibecode-pro-max-kit
Apply systematic problem-solving techniques when stuck. An agent skill from withkynam/vibecode-pro-max-kit.
Solve the newsvendor problem for single-period ordering decisions under uncertain demand.
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/algo-sc-newsvendor .claude/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .claude/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/algo-sc-newsvendor .agents/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .agents/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/algo-sc-newsvendor .cursor/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .cursor/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/asgard-ai-platform/skills.git --path algo-sc-newsvendor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/algo-sc-newsvendor .gemini/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .gemini/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/algo-sc-newsvendor .github/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .github/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install asgard-ai-platform/skills algo-sc-newsvendor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/algo-sc-newsvendor .opencode/skills/algo-sc-newsvendor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "algo-sc-newsvendor" agent skill from https://github.com/asgard-ai-platform/skills/tree/main/algo-sc-newsvendor into .opencode/skills/algo-sc-newsvendor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "algo-sc-newsvendor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
algo-sc-newsvendorSolve the newsvendor problem for single-period ordering decisions under uncertain demand.
Algo Sc Newsvendor is an agent skill from asgard-ai-platform/skills. Solve the newsvendor problem for single-period ordering decisions under uncertain demand. Use this skill when the user needs to determine optimal order quantity for perishable goods, seasonal products, or one-time purchase decisions — even if they say 'how much to order for this season', 'perishable inventory', or 'single-period ordering'.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `examples/sample_input.json`, `references/constrained-newsvendor.md` and `references/demand-fitting.md`).
The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4e7f4f8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Algo Sc Newsvendor loads about 1.1k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 434 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 434 words, ~1,099 tokens.
.claude/skills/algo-sc-newsvendor/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.The newsvendor model determines optimal order quantity for a single selling period with uncertain demand. Balances overage cost (Co = cost - salvage) against underage cost (Cu = price - cost). Optimal Q* satisfies: P(D ≤ Q*) = Cu / (Cu + Co). Known as the critical ratio solution.
Trigger conditions:
When NOT to use:
IRON LAW: The Critical Ratio Determines Optimal Service Level
Q* = F⁻¹(Cu / (Cu + Co)) where F⁻¹ is the inverse demand CDF.
If margin is high relative to cost (Cu >> Co), order MORE (high service level).
If margin is low relative to excess cost (Co >> Cu), order LESS (low service level).
The optimal solution almost NEVER equals expected demand.Define: unit cost (c), selling price (p), salvage value (v), demand distribution (mean μ, std σ). Compute: Cu = p - c, Co = c - v. Gate: p > c > v (profitable with positive overage cost), demand distribution estimated.
Check: Q* > 0, CR between 0 and 1, Q* is above or below μ depending on whether CR > or < 0.5. Gate: Q* directionally correct relative to mean demand.
Return optimal order quantity with profit analysis.
{
"optimal_quantity": 130,
"critical_ratio": 0.71,
"expected_profit": 2800,
"expected_leftover": 15,
"expected_stockout_probability": 0.29,
"metadata": {"price": 50, "cost": 20, "salvage": 5, "demand_mean": 100, "demand_std": 30}
}Input: p=$50, c=$20, v=$5, D~Normal(100, 30) Expected: Cu=30, Co=15, CR=30/45=0.667, z=0.43, Q*=100+0.43×30=113 units.
| Input | Expected | Why |
|---|---|---|
| v = 0 (total loss) | Lower Q*, conservative | High overage cost pushes order down |
| p >> c (high margin) | Q* well above mean | Worth risking excess to avoid lost sales |
| σ = 0 (certain demand) | Q* = μ exactly | No uncertainty, order exactly demand |
| Script | Description | Usage |
|---|---|---|
scripts/newsvendor.py | Compute newsvendor optimal quantity, expected profit, and fill rate | python scripts/newsvendor.py --help |
Run python scripts/newsvendor.py --verify to execute built-in sanity tests.
references/constrained-newsvendor.mdreferences/demand-fitting.md© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in algo-sc-newsvendor of asgard-ai-platform/skills.
Open the folder on GitHubat commit 4e7f4f8
Algo Sc Newsvendor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Algo Sc Newsvendor this skillasgard-ai-platform/skills | 242 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Vc Problem Solvingwithkynam/vibecode-pro-max-kit | 1.1k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Is This A Problemanthropics/claude-for-legal | 9.6k | 2 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| CSS Orderthedaviddias/Front-End-Checklist | 74k | — | ~404 | Automated safety check: Pass | MIT | |
| Focus Orderthedaviddias/Front-End-Checklist | 74k | — | ~519 | Automated safety check: Pass | MIT | |
| Heading Orderthedaviddias/Front-End-Checklist | 74k | — | ~452 | Automated safety check: Pass | MIT |
withkynam/vibecode-pro-max-kit
Apply systematic problem-solving techniques when stuck. An agent skill from withkynam/vibecode-pro-max-kit.
anthropics/claude-for-legal
Fast "is this a problem?" answer for the quick Slack question — pattern-matches against your calibration.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Order CSS files correctly.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure logical focus order.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Maintain logical heading order.
asgeirtj/system_prompts_leaks
Prepare restaurant food orders for delivery or pickup; use for cart, checkout and tracking.
asgard-ai-platform/skills
Implement BM25 ranking function for e-commerce product search relevance scoring.
asgard-ai-platform/skills
Calculate Cpk process capability index to assess whether a process meets specification requirements.
asgard-ai-platform/skills
Calculate price elasticity of demand to quantify how price changes affect sales volume.
asgard-ai-platform/skills
Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.
asgard-ai-platform/skills
Implement Elo rating system to rank items or players from pairwise comparison outcomes.
asgard-ai-platform/skills
Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.
Solve the newsvendor problem for single-period ordering decisions under uncertain demand. Algo Sc Newsvendor is an agent skill from asgard-ai-platform/skills. Solve the newsvendor problem for single-period ordering decisions under uncertain demand.
Algo Sc Newsvendor fits situations like: the user needs to determine optimal order quantity for perishable goods; seasonal products; one-time purchase decisions — even if they say how much to order for this season; perishable inventory.
Run `npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a claude-code`. Or copy the skill folder (algo-sc-newsvendor in asgard-ai-platform/skills) into .claude/skills/algo-sc-newsvendor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a codex`. Or copy the skill folder (algo-sc-newsvendor in asgard-ai-platform/skills) into .agents/skills/algo-sc-newsvendor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgard-ai-platform/skills --skill algo-sc-newsvendor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/algo-sc-newsvendor, .gemini/skills/algo-sc-newsvendor, .github/skills/algo-sc-newsvendor and .opencode/skills/algo-sc-newsvendor in your project.
Going by SKILL.md and its folder, Algo Sc Newsvendor needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Algo Sc Newsvendor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Algo Sc Newsvendor: Vc Problem Solving (withkynam/vibecode-pro-max-kit, 1.1k stars), Is This A Problem (anthropics/claude-for-legal, 9.6k stars), CSS Order (thedaviddias/Front-End-Checklist, 74k stars) and Focus Order (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.
Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.