Building your Opportunity Quoter agent

Take the below prompt, adapt as you see fit, and feed it into the coding assistant of your choice to build your Opportunity Quoter agent (I had Claude Code write mine in Python):

Prompt:

TASK: Build an "Opportunity Quoter" Agent for Product Managers

PURPOSE: Create an agent that helps product managers deeply understand customer opportunities (problems, wishes, desires) by collecting and organizing relevant quotes from customer interviews and online sources.

AGENT WORKFLOW:

Phase 1: Initialization

  1. Agent starts when user runs command
  2. Agent asks: "Which customer opportunity would you like to explore? (describe the pain point, wish, or desire)"
  3. User provides the customer opportunity description
  4. Agent asks: "Which folder(s) contain your customer interview files?"
  5. User provides folder path(s)

Phase 2: Output Setup

  1. Agent asks: "Where should I save the output file? (provide folder path or I can create a new folder)"
  2. Agent creates a report file with this structure:

Phase 3: Web Search Extension (Optional)

  1. Agent asks: "Would you like me to search online for additional quotes?"
  2. If yes:

API KEY Write code that expects an API key from an environment variable called 'PROVIDER_API_KEY'. Do not include the actual key value anywhere in the code."