Install any skill in seconds. Free to start, no credit card required.
Get Started Free →asgard-ai-platform/algo-sc-eoq
Calculate Economic Order Quantity to minimize total inventory cost (ordering + holding).
Passed 21 of 23 test cases with the skill, and 17 of 23 without it.
and 1 more in the full report
4 fixed17 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our team is setting up replenishment guidelines for high-demand cookware sets. Yearly demand is estimated at 8,400 units, fixed transaction fees per batch are $80, annual storage per unit is calculated at $2.20, and fulfillment lead time is 7 days (out of 300 working days per year). Return the results formatted as JSON including the optimal batch quantity, annual purchase frequency, reorder trigger point, detailed breakdown of yearly operational costs (order setup, holding, and total cost), and recorded input metadata.
| Checked | Without skill | With skill |
|---|---|---|
| The JSON response uses the top-level key annual_cost to group ordering, holding, and total costs. | Missed | Passed |
| The reorder point is calculated as 196 units. | Passed | Passed |
The instructions your model reads when the skill loads.
EOQ determines the order quantity that minimizes total inventory cost = ordering cost + holding cost. Formula: EOQ = √(2DS/H) where D=annual demand, S=ordering cost per order, H=holding cost per unit per year. Assumes constant demand and instantaneous replenishment.
Trigger conditions:
When NOT to use:
IRON LAW: EOQ Assumes CONSTANT, KNOWN Demand
If demand is variable or uncertain, EOQ gives the wrong answer.
Real-world application: use EOQ as a starting point, then add
safety stock for demand variability and lead time uncertainty.
Total cost curve is flat near EOQ — ±20% from optimal Q changes
total cost by only ~2%.
Determine: D (annual demand in units), S (fixed cost per order), H (holding cost per unit per year = unit cost × holding rate, typically 20-30% of unit value). Gate: All costs positive, demand estimate reasonable.
test cases passed, vs 17 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.