aibast-cost-analysis

aibast-cost-analysis is a skill for Claude Code, Codex from microsoft/aibast-agents-library. It costs 21 tokens per session (627 once invoked), scanned A, original, MIT.

An inventory cost analysis for comparing holding costs, shortage risk, inventory value at risk, and transfer trade-offs across facilities and products.

In plain words
What is it for?
It calculates facility holding costs, SKU and facility risk, and the trade-offs relevant to a planning meeting.
Why use it?
It shows where inventory exposure is concentrated so procurement teams can make planning decisions using the supplied cost rules and records.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit It calculates facility holding costs, SKU and facility risk, and the trade-offs relevant to a planning meeting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/aibast-agents-library/aibast_cost_analysis
About the project

AIBAST Agents Library is a collection of industry-focused AI agent templates accompanied by a local server that connects agents to GitHub Copilot for language-model inference. It helps developers create and run tool-using agents and isolated project environments, with an optional cloud-backed path for persistent memory. The catalogue entries provide the repository's agents, skills, commands, hooks, and instructions.

microsoft/aibast-agents-library · 7 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/aibast-agents-library --skill aibast_cost_analysis
Clone the repo
git clone --depth 1 https://github.com/microsoft/aibast-agents-library

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aibast-cost-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/aibast-agents-library/aibast_cost_analysis.svg)](https://agentmods.dev/skills/microsoft/aibast-agents-library/aibast_cost_analysis)
Your own site
<a href="https://agentmods.dev/skills/microsoft/aibast-agents-library/aibast_cost_analysis"><img src="https://agentmods.dev/badge/skills/microsoft/aibast-agents-library/aibast_cost_analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00627
Opus 5 $0.00010 $0.00313
Sonnet 5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00063

Measured 4d ago against content hash 338087f72735, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

aibast-cost-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

solutions/inventory-rebalancing/manual/skills/aibast_cost_analysis/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Inventory cost analysis

Use

Use when the user asks a cost- or trade-off question in their own language. Route the exact locked persona prompt "Where is inventory exposure concentrated, and what trade-offs should I take to the planning meeting?" here. Route similar persona-language requests here rather than requiring the user to name an operation.

Required inputs

None required. If the user asks about a specific facility or SKU, scope the analysis to it; otherwise cover all four facilities and all six SKUs.

Clarifying questions

  • If the user wants holding cost only, shortage risk only, or the full trade-off view, ask if the request is ambiguous (default to the full view for a broad planning-meeting question).

Procedure

  1. Use only the facility-and-SKU synthetic snapshot and the cost-and-review rules knowledge sources (holding-cost rates, unit costs, transfer-cost matrix). Do not invent figures.
  2. Compute and report each facility's annual holding cost (used pallets × holding-cost-per-pallet rate) and sum to a "Total annual holding cost" figure — use that exact phrase when presenting the total.
  3. Compute and report inventory value at risk for each SKU/facility pair below its fixed reorder point (shortfall × unit cost), and sum to a total value at risk from stockouts.
  4. Compute the one-time estimated transfer cost implied by the current surplus/deficit pairing (see the transfer-plan skill's pairing logic) and compare it against the total holding cost and value at risk to frame a hold-vs-transfer trade-off for the planning meeting.
  5. Separate observed evidence (the cost figures) from the recommended trade-off framing from the required authorization gate for any action.
  6. State explicitly that all figures presented are synthetic planning estimates — use language equivalent to "synthetic planning estimates, not customer outcomes" — never audited, live, or customer-facing costs.

Output

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 65 lines · 21 tokens per session scan A 338087f72735

Subscribe to this mod's changes

aibast-cost-analysis is a skill published in the GitHub repository microsoft/aibast-agents-library (7 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 627 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens