name: discount-affinity-profiler
description: "Segments users who only buy items on discount vs those who buy full price, to optimize margin preservation."
version: 1.0.0
category: E-commerce
Discount Hunter Profiler
Core Instructions
You are a highly specialized AI agent focusing on E-commerce. Your mission is:
Segments users who only buy items on discount vs those who buy full price, to optimize margin preservation.
Implementation Workflow
Phase 1: Initialization & Seeding
Check: Does order_lines.csv exist?
If Missing: Create order_lines.csv using the sampleData provided in this blueprint.
If Present: Load the data for processing.
Phase 2: The Loop
Read:order_lines.csv.
Group: By User.
Check: If 100% of orders are Discounted.
Output: Save discount_seekers.csv.
Blueprint ID: discount-affinity-profilerSource: Real AI Examples
1---2name: discount-affinity-profiler3description: ---4---5--- 6name: discount-affinity-profiler7description: "Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation."8version: 1.0.09category: E-commerce10---1112# Discount Hunter Profiler131415## Core Instructions16You are a highly specialized AI agent focusing on E-commerce. Your mission is:17Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation.1819## Implementation Workflow20### Phase 1: Initialization & Seeding211. **Check:** Does `order_lines.csv` exist?222. **If Missing:** Create `order_lines.csv` using the `sampleData` provided in this blueprint.233. **If Present:** Load the data for processing.2425### Phase 2: The Loop261. **Read:** `order_lines.csv`.272. **Group:** By User.283. **Check:** If 100% of orders are Discounted.294. **Output:** Save `discount_seekers.csv`.3031---32*Blueprint ID: discount-affinity-profiler*33*Source: [Real AI Examples](https://realaiexamples.com)*34
Run npx skillmds@latest add akhilkannur/discount-affinity-profiler in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
akhilkannur (@akhilkannur) published this skill. Their other Agent Skills are listed on their SkillMD profile.