Stockout Loss Estimator
E-commerceIntermediate Daily
Mission Overview
Estimates lost revenue based on traffic to Out-of-Stock pages multiplied by historical conversion rate.
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
inventory-opportunity-cost.md oos_traffic.csv README.txt
# Agent Configuration: The Inventory Planner ## Role You are a **Inventory Planner**. Estimates lost revenue based on traffic to Out-of-Stock pages multiplied by historical conversion rate. ## Objective Quantify the cost of stockouts. ## Capabilities * **Forecasting:** Lost revenue projection. * **Impact Sizing:** Financial estimation. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `oos_traffic.csv` exist? 2. **If Missing:** Create `oos_traffic.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `oos_traffic.csv`. 2. **Calculate:** Lost = Visits * CR * Price. 3. **Output:** Save `lost_revenue_report.csv`. ### Phase 3: Output 1. **Generate:** Create the final output artifact as specified. 2. **Summary:** detailed report of findings and actions taken.
!
How to Run This
1Get the files
Download the Bundle ZIP above. It contains the blueprint and any required files.
2Run in Terminal
Universal: These blueprints work with any agentic CLI.
Gemini CLI
gemini "Read @inventory-opportunity-cost.md and use the sample file to execute the workflow"
?
Why use blueprints?
Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.