Agent skill

Inventory

by ericrisco in ericrisco/rsc-harness

A skill your agent uses when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that…

MITAuto-check passedBusiness, Finance & HR

Install Inventory

skills CLI
$ npx skills add ericrisco/rsc-harness --skill inventory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ericrisco/rsc-harness inventory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/inventory .claude/skills/inventory && rm -rf skills-src

Use ~/.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/

Facts

Skill name
inventory
GitHub stars
156
Token cost
~2.4k tokens
SKILL.md length
1,207 words
Files
8 (incl. scripts, references)
Skills in repo
229
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that…

  • Works in 2 steps: Reorder-policy table — one row per SKU:… → Replenishment trigger list — the subset…
  • Deciding how much stock to hold and when to reorder it — classifying SKUs
  • SKILL.md covers Pick the job, Classify first: ABC × XYZ, Safety stock and Reorder point and order quantity, plus 4 more sections
  • Runs Shell scripts from its folder

What it does

Inventory is an agent skill from ericrisco/rsc-harness. Use when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that keep a business from either stocking out or sitting on dead stock. NOT raising or negotiating the purchase order itself (that is procurement).

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/abc-xyz.md`).

It sits in Business, Finance & HR, covering OKRs and executive reporting, Vendor and procurement management and Forms and invoices. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.

When your agent uses it

  • Deciding how much stock to hold and when to reorder it — classifying SKUs
  • Sizing safety stock
  • Setting reorder points and order quantities
  • Tracking the KPIs that keep a business from either stocking out

Example prompts

  • “/inventory”

Requirements

  • A Bash shell

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Reorder-policy table — one row per SKU: sku, abc_class, avg_demand, lead_time, safety_stock, reorder_point, order_qty, review_mode. This…
  2. Replenishment trigger list — the subset of SKUs whose on_hand <= reorder_point right now, with a suggested order quantity. This is the…

What it can do on your machine

Read from SKILL.md and the folder at commit 92fde8f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Inventory loads about 2.4k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 1,207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from ericrisco/rsc-harness at commit 92fde8f, republished under its MIT licence (© ericrisco). 1,207 words, ~2,393 tokens.

Download SKILL.mdSave it as .claude/skills/inventory/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
inventory
description
Use when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that keep a business from either stocking out or sitting on dead stock. NOT raising or negotiating the purchase order itself (that is `procurement`).
tags
reorder-point, safety-stock, eoq, abc-xyz, replenishment, inventory-kpis, ddmrp, min-max
recommends
procurement, logistics-ops, forecasting, dashboard, reporting, spreadsheet-ops
origin
risco

Inventory

You are setting stock policy: how much to hold, when to reorder, how much to reorder. You are not buying it (that is procurement) and not moving it (that is logistics-ops). You decide the numbers that tell the buyer what to order and when.

Leave behind two checkable artifacts every time:

  1. Reorder-policy table — one row per SKU: sku, abc_class, avg_demand, lead_time, safety_stock, reorder_point, order_qty, review_mode. This is the standing policy.
  2. Replenishment trigger list — the subset of SKUs whose on_hand <= reorder_point right now, with a suggested order quantity. This is the action.

scripts/verify.sh checks both for shape and the structural invariants (ROP ≥ safety stock, order_qty > 0, no false triggers). Run it before you hand anything off. It validates structure, not whether the buffers are commercially smart — that judgment is yours.

Pick the job

The flow genuinely branches. Find the row that matches the ask before doing anything else.

Ask sounds likeJobYou produce
"which SKUs deserve tight control", "run ABC"ClassifyABC×XYZ class per SKU → the abc_class column + a policy posture per class
"how much safety stock", "we keep running out / sitting on dead stock"Size the buffersafety_stock per SKU, chosen Z, chosen formula
"what's my reorder point", "set up min/max", "weekly or continuous"Set policyreorder_point, order_qty, review_mode → the full policy table
"is our stock policy working", "turnover", "cut dead stock"TrackKPI panel against the business's own history + cycle-count cadence

Classify before you size, size before you set policy. A uniform policy across every SKU is the original sin (anti-patterns table).

Classify first: ABC × XYZ

Rule: never apply one uniform service level or review mode to every SKU — control is a budget, spend it where the value and the volatility are. Bad: 95% service on all 800 SKUs. Good: 99% on the high-value/stable AX items, make-to-order or near-zero buffer on the low-value/erratic CZ items.

  • ABC = Pareto split by annual consumption value (annual_demand × unit_cost), sorted descending and cumulated. A ≈ top ~80% of value (usually ~20% of SKUs), B the next band, C the long low-value tail.
  • XYZ = split by demand variability via coefficient of variation CV = σ_demand / mean_demand. X = stable (low CV), Y = fluctuating, Z = erratic.

The 9-cell matrix maps to policy: AX → tight automated min/max, highest service; CZ → manual, minimal buffer or make-to-order; AZ → high value but erratic, the candidate for DDMRP (below). Full cumulative-value worked sort, CV cut points, and the 9-cell→(review mode, service level, buffer posture) matrix are in references/abc-xyz.md.

Safety stock

Rule: match the formula to which thing actually varies. Picking the demand-only formula when the supplier's lead time swings is the most common under-buffering mistake — you buffer the wrong variance and still stock out.

text
demand varies, lead time stable:     SS = Z · σ_demand · √LT
both vary, independent:              SS = Z · √(LT · σ_demand² + avg_demand² · σ_LT²)
both vary, correlated (King):        SS = Z · σ_demand · √LT + Z · avg_demand · σ_LT

Z is set by your target service level, never picked by feel:

Service levelZ
90%1.28
95%1.65
97.5%1.96
99%2.33

Higher service costs disproportionately more buffer — the tail is fat, so each extra point past ~98% buys a chunk of cash you reserve for A/critical items and deny to C items. Bad→Good: supplier "usually 5 days but sometimes 12" + you used Z·σ_demand·√LT → switch to the independent or King formula so σ_LT is in the buffer. How to estimate σ_demand and σ_LT from sales/receipt history, all three formulas worked with numbers, and the diminishing-returns curve are in references/safety-stock.md.

Reorder point and order quantity

These are two separate decisions — conflating them is the classic beginner error. ROP answers when, order quantity answers how much.

text
ROP = (avg daily demand × lead-time days) + safety_stock        ← when to trigger
EOQ = √(2 · D · S / H)                                          ← how much to order
        D = annual demand, S = cost per order, H = annual holding cost per unit

EOQ minimizes ordering + holding cost under stable demand. It is an order-size lever and never a trigger — you do not "wait until you can order an EOQ." Keep reorder_point and order_qty as separate columns.

Continuous vs periodic review is a real branch:

ModeHow it worksUse whenCost
Continuous (min-max / s,S)Order the moment on-hand hits ROP s, bring up to SA items, perpetual stock visibilityFastest reaction, needs live counts
PeriodicCheck on a fixed cadence (e.g. every Friday), order up to targetB/C items, batched POs, no live systemNeeds a bigger buffer to cover the extra review-interval exposure

Periodic review adds Z · σ_demand · √(review_interval) of exposure on top of lead-time exposure — budget for it. Worked ROP/EOQ examples, the review-interval buffer adjustment, and the exact policy-table + trigger-list schemas (the columns verify.sh checks) are in references/reorder-policies.md.

Show full SKILL.md (499 more words)Show less

Demand-driven option (DDMRP)

When a static ROP keeps whipsawing on erratic demand — you re-tune it monthly and it is still wrong — switch that SKU to buffer zones instead of a fixed point.

  • Red = safety/critical, sized off lead-time and demand variability.
  • Yellow = demand coverage over the lead time.
  • Green = order cycle / order frequency.

Trigger fires when net flow position = on_hand + on_order − qualified_demand drops from green into yellow. The zones recalculate as demand ramps, so you are not hand-editing safety stock every cycle.

Decision rule: reach for DDMRP only on erratic (Z-class), long-lead, or strategic SKUs — never for steady C items where a flat ROP is cheaper to run. Zone sizing and the net-flow trigger are in references/ddmrp.md. Set review_mode = ddmrp for these SKUs.

Track it

Prove the policy works with a KPI panel — and recompute every metric against the business's own history; the benchmarks below are sanity rails to flag against, not numbers to hallucinate or paste as targets.

KPIFormulaRough rail
Inventory turnoverCOGS / avg inventory≈6–8×/yr (consumer goods)
Days of inventory on handavg inventory / COGS × 365≈30–60 days
GMROIgross margin / avg inventory costtarget > 2.5
Sell-throughunits sold / units received≈70–85% / mo
Stockout ratestockout events / order linestarget < 5%
Fill ratelines filled complete / total linestarget > 95%
Dead-stock flagSKUs with zero movement over a defined windowflag, don't reorder

Cycle counting, not an annual full count. Count in a rolling sequence frequency-tiered off ABC: A items often (monthly/quarterly), C items rarely (annually). The warehouse never stops, and errors on high-value items surface fastest.

Anti-patterns

Anti-patternWhy it bitesDo instead
One uniform service level / review mode across all SKUsOverspends on C, under-protects AABC×XYZ → differentiated Z and review mode
Demand-only SS when lead time is volatileBuffers the wrong variance, still stocks outIndependent or King formula so σ_LT is in the buffer
Treating ROP and order quantity as one number"Wait to order a full batch" → late triggersSeparate reorder_point (when) and order_qty (how much) columns
Using EOQ as a reorder triggerEOQ is a size lever, not a signalTrigger on ROP; size with EOQ
Picking Z by feelService level is undefined and indefensibleSet service level → read Z from the table
Static safety stock on erratic demandRe-tuned monthly and still wrongDDMRP buffer zones, review_mode = ddmrp
Annual full physical countWarehouse stops; high-value errors found too lateABC-tiered rolling cycle counts
Placing/negotiating the PO hereWrong skill owns the buyHand the trigger list to procurement

Hand-offs

  • Raising/negotiating the purchase order, supplier choice, payment terms, PO approval, three-way match → procurement (see ../procurement/SKILL.md). You hand it the trigger list; it executes the buy.
  • Warehousing, picking, packing, shipping, carriers, returns flow → logistics-ops. You set the on-hand target; it physically fulfills.
  • Statistical/ML demand forecast, seasonality decomposition → forecasting. You consume a demand estimate and its variability; you do not own the model.
  • Live KPI dashboard → dashboard. Recurring KPI report → reporting.
  • Pivot tables, ABC cumulative-value sort mechanics in a sheet → spreadsheet-ops.

© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references) in skills/inventory of ericrisco/rsc-harness.

  • SKILL.md
  • evals/README.md
  • evals/cases.yaml
  • references/abc-xyz.md
  • references/ddmrp.md
  • references/reorder-policies.md
  • references/safety-stock.md
  • scripts/verify.sh

Open the folder on GitHubat commit 92fde8f

Compare with similar skills

Inventory 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.

Inventory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Inventory this skillericrisco/rsc-harness156—~2.4kAutomated safety check: PassMIT
Process Mapperalirezarezvani/claude-skills28k—~2.2kAutomated safety check: PassMIT
Security Commsbriiirussell/cybersecurity-skills412—~3.8kAutomated safety check: PassMIT
Mfg Supplier Scorecardasgard-ai-platform/skills241—~1.3kAutomated safety check: PassMIT
Analytics Strategyrampstackco/claude-skills9351 repos~2.4kAutomated safety check: PassMIT
Pine BacktesterTradersPost/pinescript-agents1671 repos~3.9kAutomated safety check: PassNone

Similar skills

  • Process Mapper

    alirezarezvani/claude-skills

    A skill your agent uses when a BizOps lead, COO, or process-improvement owner needs to document an end-to-end business process (procurement, employee onboarding, incident handoff…

    28k GitHub stars~2.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Security Comms

    briiirussell/cybersecurity-skills

    Translate technical security work into the language of non-security audiences — board, executives, engineering, customer success, customers, legal, procurement, sales.

    412 GitHub stars~3.8k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Mfg Supplier Scorecard

    asgard-ai-platform/skills

    Evaluate and manage suppliers using weighted scorecards across quality, delivery, price, and service dimensions.

    241 GitHub stars~1.3k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Analytics Strategy

    rampstackco/claude-skills

    Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.

    935 GitHub starsUsed in 1 repo~2.4k tokens
    Business, Finance & HRAuto-check passed
  • Pine Backtester

    TradersPost/pinescript-agents

    Implements comprehensive backtesting and performance metrics.

    167 GitHub starsUsed in 1 repo~3.9k tokens
    Business, Finance & HRAuto-check passed
  • Onboarding Planner

    bpinheiroms/dotfiles

    Plan high-conversion mobile app onboarding flows from scratch.

    108 GitHub stars~5.4k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed

More from ericrisco/rsc-harness

All 229 skills in this repo
  • Ab Testing

    ericrisco/rsc-harness

    A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…

    156 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Accessibility

    ericrisco/rsc-harness

    A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…

    156 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ads

    ericrisco/rsc-harness

    A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…

    156 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Agent Eval

    ericrisco/rsc-harness

    A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…

    156 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • AI Media

    ericrisco/rsc-harness

    A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…

    156 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Analytics

    ericrisco/rsc-harness

    A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.

    156 GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Questions about Inventory

What does Inventory do?

A skill your agent uses when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that…. Inventory is an agent skill from ericrisco/rsc-harness. Use when deciding how much stock to hold and when to reorder it — classifying SKUs, sizing safety stock, setting reorder points and order quantities, and tracking the KPIs that keep a business from either stocking out or sitting on dead stock.

When should I use Inventory?

Inventory fits situations like: deciding how much stock to hold and when to reorder it — classifying SKUs; sizing safety stock; setting reorder points and order quantities; tracking the KPIs that keep a business from either stocking out.

How do I install Inventory in Claude Code?

Run `npx skills add ericrisco/rsc-harness --skill inventory -a claude-code`. Or copy the skill folder (skills/inventory in ericrisco/rsc-harness) into .claude/skills/inventory in your project. Claude Code loads it when a task matches its description.

How do I install Inventory in Codex?

Run `npx skills add ericrisco/rsc-harness --skill inventory -a codex`. Or copy the skill folder (skills/inventory in ericrisco/rsc-harness) into .agents/skills/inventory in your project. Codex loads it when a task matches its description.

Can I use Inventory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill inventory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/inventory, .gemini/skills/inventory, .github/skills/inventory and .opencode/skills/inventory in your project.

What does Inventory need to run?

Going by SKILL.md and its folder, Inventory needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Inventory access the network?

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.

Is Inventory safe to install?

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.

What licence does Inventory use?

Inventory is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Inventory use?

About 2.4k tokens (SKILL.md is roughly 9.6k 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 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Inventory?

Skills that share tags, products or a category with Inventory: Process Mapper (alirezarezvani/claude-skills, 28k stars), Security Comms (briiirussell/cybersecurity-skills, 412 stars), Mfg Supplier Scorecard (asgard-ai-platform/skills, 241 stars) and Analytics Strategy (rampstackco/claude-skills, 935 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Inventory?

ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 156 GitHub stars. The repository holds 229 skills in this directory. The repository was last updated on October 6, 2026.

Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.