AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Plan stock, shipping and suppliers

Order quantity calculator

Give it demand, order cost and holding cost. Get the order size with the lowest total cost, with discounts compared.

Order quantity calculator is a free AI skill for the job "Plan stock, shipping and suppliers". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by Kishor Kukreja

Made by Kishor Kukreja. See the original on GitHub; we copied it as it is, with its licence.

What it does

The order size that gives you the lowest total cost, worked out from your demand, ordering cost and holding cost. You see how far off your current habit is and what it costs. The skill checks the basics first: the kind of stock, demand pattern, unit cost, cost per order, yearly holding rate, supplier minimums, storage limits and lead time. It applies the classic economic order quantity formula, then adapts it when your case differs, such as price breaks for bigger orders or production at a set rate. It compares total cost at each option, so you can see if a discount is worth taking. It also gives reorder timing from lead time. Best when demand is steady and known.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run code.

Workflows that use it

More for Plan stock, shipping and suppliers

Every plan stock, shipping and suppliers skill