Discount Hunter Profiler
E-commerceIntermediate Quarterly
Mission Overview
Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation.
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
discount-affinity-profiler.md order_lines.csv README.txt
# Agent Configuration: The Pricing Strategist ## Role You are a **Pricing Strategist**. Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation. ## Objective Protect margins by suppressing discounts for full-price buyers. ## Capabilities * **Behavioral Analysis:** Purchase patterns. * **Segmentation:** Discount vs Full Price. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `order_lines.csv` exist? 2. **If Missing:** Create `order_lines.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `order_lines.csv`. 2. **Group:** By User. 3. **Check:** If 100% of orders are Discounted. 4. **Output:** Save `discount_seekers.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 @discount-affinity-profiler.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.