inventory-replenishment

inventory-replenishment is a skill for Claude Code, Codex from KimYx0207/Kim_Service. It costs 28 tokens per session (739 once invoked), scanned A, original, MIT.

An inventory replenishment calculator for one product at a time. It uses stock, demand, delivery time, safety stock, packaging minimums, and capacity limits to produce a reviewable order suggestion.

In plain words
What is it for?
Use it to review stock position, calculate a replenishment target, round orders to packaging or minimum quantities, and list unmet quantities and demand or delivery-time scenarios.
Why use it?
It makes the assumptions and shortage risks behind a restocking suggestion visible. It also flags cases where minimum order sizes or capacity prevent the target stock level from being reached.

Skill for Claude CodeCodex

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

Good fit Use it to review stock position, calculate a replenishment target, round orders to packaging or minimum quantities, and list unmet quantities and demand or delivery-time scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kimyx0207/kim_service/inventory-replenishment
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 KimYx0207/Kim_Service --skill inventory-replenishment
Clone the repo
git clone --depth 1 https://github.com/KimYx0207/Kim_Service

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 inventory-replenishment

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimyx0207/kim_service/inventory-replenishment/github.svg)](https://agentmods.dev/skills/kimyx0207/kim_service/inventory-replenishment)
Your own site
<a href="https://agentmods.dev/skills/kimyx0207/kim_service/inventory-replenishment"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/inventory-replenishment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for inventory-replenishment

Your own site · 80×15
<a href="https://agentmods.dev/skills/kimyx0207/kim_service/inventory-replenishment"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/inventory-replenishment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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.00028 $0.00739
Opus 5.5 $0.00011 $0.00296
Sonnet 5.5 $0.00006 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 16d ago against content hash 70ec456015d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inventory-replenishment 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 16d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/run.mjs, scripts/runtime.mjs, tests/helper.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/inventory-replenishment/SKILL.md · 45 lines

What it actually says

库存补货与服务水平

给单SKU周期复核补货提供可复算候选,清楚说明服务水平假设、缺货风险和约束导致的未满足数量。

使用

读取专业方法与交付模板,按 method.json 顺序处理实际材料。

node skills/inventory-replenishment/scripts/run.mjs --input-json - < skills/inventory-replenishment/examples/input.json

该示例是合成数据。替换输入时保持单位、身份和版本一致。脚本从 stdin 读取 JSON,stdout 返回一个带输入/规则哈希的回执;没有网络、付费模型调用或业务写入。脚本输出需配合领域说明,不能当成全部专业判断。完整机器结构见 capability.json,示例期望和反例见案例。

工作顺序

  1. 从同一时点库存表拆可用现货、冻结/已分配、确认在途和欠单;逐单核在途是否在保护期内到货。
  2. 检查稳定需求、日独立性与固定提前期假设;不满足时交适用模型分析,不强行给本公式结果。
  3. 固定L、R、z、包装、MOQ和上限,运行helper并独立复算保护期与目标。
  4. 核候选整箱和MOQ可执行性,列容量不足、期限与缺货风险,对高低需求/提前期做条件情景。
  5. 交补货建议、口径与待决例外;实际采购、预算与执行状态由宿主记录。

交付与判断

保护期=L+R,安全库存=z×日标准差×sqrt(L+R),目标=日均需求×保护期+安全库存;库存位置=可用现货+合格在途−欠单;先补足差额,再按MOQ和整箱向上取整,容量冲突必须保留未满足数量。

maxOrder或MOQ使候选不能补足目标时返回needs_review并保留unmetQuantity;所有候选仍只在明确假设下成立。

范围

  • 不适用于未经处理的间歇需求、促销突变、相关需求或随机提前期。
  • 不替代多级库存优化、保质期批次优化或产能排程。
  • 不自动下采购单,不保证指定服务水平必然达成。

实际采购承诺、超预算或服务目标变更交现有库存/采购责任人决定;情景复算不新增批准。 普通可逆的读取、复算与草稿编制直接按当前任务授权推进。needs_probe 表示宿主未认证,不意味着本地脚本不可运行。包保留完整目录即可独立运行;复制入口一份不会携带资料。

来源

PROVENANCE.md记录本次实际读取的原项目、固定版本、采用范围与未采用范围。原创工作流、脚本和合成例按MIT许可发布。

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. 16d ago First seen · 45 lines · 28 tokens per session scan A 70ec456015d5

Subscribe to this mod's changes

inventory-replenishment is a skill published in the GitHub repository KimYx0207/Kim_Service (198 stars, last pushed 12d ago), licensed MIT. It adds 28 tokens to every session and 739 once invoked, about $0.0001 per session on Opus 5.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-11-14.

Related

inventory-replenishment compared with skills from other repositories

inventory-replenishment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inventory-replenishmentKimYx0207/Kim_ServiceSkill19812d agoMITA28Claude Code, Codex
amazon-reviews-api-skillbrowser-act/skillsSkill6.4k26d agoMITA124Claude Code, Codex
amazon-competitor-analyzerbrowser-act/skillsSkill6.4k26d agoMITA48Claude Code, Codex
cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-ToolkitSkill1.2ktodayMITA94Claude Code
woo-guardamElnagdy/guard-skillsSkill1.3k6d agoMITA216Codex
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2k7d agoMITA60Claude Code
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k19d agoMITA126Claude Code, Codex