account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
\"Calculate Economic Order Quantity to minimize total inventory cost (ordering + holding). Use this skill when the user needs to determine optimal order size, balance ordering frequency against storage costs, or set reorder points — even if they say 'how much to order', 'optimal
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-sc-eoq --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/algo-sc-eoqContext preview
The summary Claude sees to decide when to auto-load this skill.
\"Calculate Economic Order Quantity to minimize total inventory cost (ordering + holding). Use this skill when the user needs to determine optimal order size, balance ordering frequency against storage costs, or set reorder points — even if they say 'how much to order', 'optimal
name: "\"algo-sc-eoq\"" description: "\"Calculate Economic Order Quantity to minimize total inventory cost (ordering + holding). Use this skill when the user needs to determine optimal order size, balance ordering frequency against storage costs, or set reorder points — even if they say 'how much to order', 'optimal batch size', or 'inventory cost minimization'.\"." allowed-tools: Bash, Read, Write, Edit, Glob, Grep
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.
1. EOQ = √(2 × D × S / H) 2. Number of orders per year = D / EOQ 3. Reorder point = d × L (daily demand × lead time in days) 4. Total annual cost = (D/Q × S) + (Q/2 × H) at Q = EOQ
Check: ordering cost component ≈ holding cost component (they're equal at EOQ). Total cost is at minimum. **Gate:** Ordering cost ≈ holding cost (±5%).
Return EOQ with cost breakdown and reorder point.
{
"eoq": 500,
"orders_per_year": 20,
"reorder_point": 150,
"annual_cost": {"ordering": 2000, "holding": 2000, "total": 4000},
"metadata": {"demand": 10000, "order_cost": 100, "holding_cost": 4.0}
}**Input:** D=10,000 units/year, S=$100/order, H=$4/unit/year **Expected:** EOQ = √(2×10000×100/4) = √500000 = 707 units
| Input | Expected | Why | |-------|----------|-----| | Very high S, low H | Large EOQ, few orders | Minimize expensive ordering | | Very low S, high H | Small EOQ, frequent orders | Minimize expensive holding | | D = 0 | EOQ = 0, no ordering | No demand, no orders needed |
| Script | Description | Usage | |--------|-------------|-------| | `scripts/eoq.py` | Compute Economic Order Quantity and cost breakdown | `python scripts/eoq.py --help` |
Run `python scripts/eoq.py --verify` to execute built-in sanity tests.
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when shipping agent features,…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining tools for agents, SDKs, or…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad…