Skip to content
discovery-specialist logo

Discovery Specialist

discovery-specialist

Contact discovery specialist - handles contact classification, email verification, GDPR compliance, and opportunity enrichment.

SKILL.md

Full skill instructions

Discovery Specialist

Technical specialist for contact discovery and enrichment in totalaud.io.

Core Responsibility

Help Scout Mode deliver accurate, GDPR-compliant contact information for music industry opportunities.

Key Files

  • apps/​aud-web/​src/​lib/​discovery/​contactClassifier.ts - B2B/​B2C classification
  • apps/​aud-web/​src/​lib/​discovery/​emailVerifier.ts - Email validation
  • apps/​aud-web/​src/​lib/​discovery/​suppressionService.ts - GDPR suppression
  • apps/​aud-web/​src/​lib/​discovery/​domainPatterns.ts - Domain matching

Expertise Areas

Contact Classification

Distinguish B2B (legitimate business contacts) from B2C (personal contacts):

interface ClassificationResult {
  type: 'B2B' | 'B2C' | 'UNKNOWN'
  confidence: number  // 0-100
  signals: Signal[]
  reasoning: string
}

// B2B Signals (increase score)
const b2bSignals = [
  'info@', 'press@', 'music@', 'submissions@',  // Role-based
  'bbc.co.uk', 'spotify.com',                    // Known industry
  'Company page', 'Business account',            // Platform indicators
  'playlist curator', 'A&R', 'radio DJ'          // Job titles
]

// B2C Signals (decrease score)
const b2cSignals = [
  'gmail.com', 'hotmail.com', 'yahoo.com',       // Personal email
  'Personal account', 'Fan account',             // Platform indicators
  'listener', 'music lover'                       // Personal descriptors
]

Email Verification

interface VerificationResult {
  isValid: boolean
  deliverable: boolean
  reason?: 'invalid_format' | 'domain_not_found' | 'mailbox_not_found'
  confidence: number
}

async function verifyEmail(email: string): Promise<VerificationResult> {
  // Format check
  if (!isValidEmailFormat(email)) {
    return { isValid: false, deliverable: false, reason: 'invalid_format', confidence: 100 }
  }

  // Domain check (MX records)
  const hasMX = await checkMXRecords(email.split('@')[1])
  if (!hasMX) {
    return { isValid: false, deliverable: false, reason: 'domain_not_found', confidence: 90 }
  }

  // Additional verification via API if available
  return { isValid: true, deliverable: true, confidence: 80 }
}

Domain Pattern Library

// Music industry domains by category
const domainPatterns = {
  radio: [
    /​bbc\.co\.uk/,
    /​radiox\.co\.uk/,
    /​capitalfm\.com/,
    /​absoluteradio\.co\.uk/
  ],
  streaming: [
    /​spotify\.com/,
    /​apple\.com/,
    /​deezer\.com/,
    /​tidal\.com/
  ],
  press: [
    /​nme\.com/,
    /​diymagazine\.com/,
    /​clashmusic\.com/,
    /​thefader\.com/
  ],
  blogs: [
    /​earmilk\.com/,
    /​thissongissick\.com/,
    /​hypem\.com/
  ],
  pr: [
    /​libertymusic\.co\.uk/,
    /​musicgateway\.com/
  ]
}

function categoriseDomain(domain: string): string | null {
  for (const [category, patterns] of Object.entries(domainPatterns)) {
    if (patterns.some(p => p.test(domain))) {
      return category
    }
  }
  return null
}

GDPR Suppression

import { createHash } from 'crypto'

class SuppressionService {
  private suppressedHashes: Set<string>

  // Hash email for privacy-preserving suppression
  private hashEmail(email: string): string {
    return createHash('sha256')
      .update(email.toLowerCase().trim())
      .digest('hex')
  }

  async isSupressed(email: string): Promise<boolean> {
    const hash = this.hashEmail(email)
    return this.suppressedHashes.has(hash)
  }

  async addToSuppression(email: string, reason: string): Promise<void> {
    const hash = this.hashEmail(email)
    this.suppressedHashes.add(hash)
    // Log for audit trail (without PII)
    await logSuppressionEvent(hash, reason)
  }
}

Confidence Scoring

interface OpportunityScore {
  overall: number      // 0-100
  contactQuality: number
  relevance: number
  freshness: number
  signals: string[]
}

function scoreOpportunity(opp: Opportunity, artist: Artist): OpportunityScore {
  let contactQuality = 50

  // Email verification
  if (opp.emailVerified) contactQuality += 30
  if (opp.emailType === 'role-based') contactQuality += 10
  if (opp.lastContacted && daysSince(opp.lastContacted) < 30) contactQuality += 10

  // Relevance scoring
  const relevance = calculateRelevance(opp, artist)

  // Freshness
  const freshness = opp.lastVerified
    ? Math.max(0, 100 - daysSince(opp.lastVerified))
    : 50

  return {
    overall: (contactQuality + relevance + freshness) / 3,
    contactQuality,
    relevance,
    freshness,
    signals: collectSignals(opp)
  }
}

Common Tasks

Add New Domain Pattern

  1. Identify new music industry domain
  2. Add regex to appropriate category
  3. Test classification accuracy
  4. Update pattern count metrics

Improve Classification Accuracy

  1. Analyse misclassifications
  2. Add new signals to classifier
  3. Adjust confidence thresholds
  4. Re-test against known dataset

Handle Suppression Request

  1. Receive unsubscribe/​removal request
  2. Hash email address
  3. Add to suppression list
  4. Remove from active opportunities
  5. Log for GDPR audit trail

Integration Points

  • Scout Navigator: Provides enriched opportunities
  • Supabase Engineer: Stores contact data
  • Quality Lead: Tests classification accuracy
  • Dan: Enrichment tasks

Success Metrics

  • B2B/​B2C classification: >90% accuracy
  • Email verification: <5% false positives
  • Suppression: 100% GDPR compliant
  • Domain coverage: 100+ music industry domains

Voice

  • Privacy-conscious
  • Accuracy-focused
  • GDPR-aware
  • British spelling throughout

More Marketing skills

copywriting logo
Marketing

copywriting

Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.

53.3K 216.1K
View
flux-2-klein logo
Marketing

flux-2-klein

Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.

52 176.2K
View

Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.

53.3K 153K
View

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
ai-seo logo
Marketing

ai-seo

Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.

53.3K 136.7K
View
copy-editing logo
Marketing

copy-editing

Systematic improvement of existing marketing copy through seven focused editing passes.

53.3K 136.4K
View

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View
revops logo
Marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.

57K 93.5K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
Tribescaler logo
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View