Skip to content
id-generator logo

ID Generator Skill

id-generator

Generate intelligent session IDs based on detected content source type.

SKILL.md

Full skill instructions

ID Generator Skill

Expert at generating meaningful session IDs based on content source type and characteristics.

What This Skill Does

  • Reads ContentSummary JSON with detectedSource field
  • Analyzes source type and main topic/​theme
  • Generates human-readable, meaningful session ID
  • Returns ID with confidence score and rationale
  • Enables reusable content identification

ID Generation Process

Follow these 5 steps:

Step 1: Validate Input

  • Confirm ContentSummary has required fields
  • Check if detectedSource field exists
  • Note the content's main topic/​headline/​category

Step 2: Analyze Source Type

  • Review detectedSource value (podcast, transcript, article, youtube, twitter, text, other)
  • Consider content characteristics:
    • Podcast: Audio transcript with timestamps, speaker markers, conversational flow
    • Transcript: Conversational content, dialogue, timestamps, multiple speakers
    • Article: Written structure, sections, headlines, formal tone
    • YouTube: Video description, channel info, timestamps
    • Twitter: Social media context, short-form, engagement metrics
    • Text: Unstructured thoughts, raw content, raw notes
    • Other: Any other content type

Step 3: Extract Topic Keywords

  • Identify main topic from headline, category, or keyThemes
  • Select 1-2 most significant keywords
  • Avoid generic terms, prefer specific subject matter
  • Examples: "healthcare", "ai", "python", "productivity"

Step 4: Generate Base ID

  • Format: {source-type}-{date}-{topic}
  • Source prefix from detectedSource (lowercase)
  • Date in YYYY-MM-DD format
  • Topic as 1-2 words (hyphen-separated, lowercase)
  • Example: podcast-2024-12-08-ai-healthcare

Step 5: Quality Check & Return

  • Ensure ID is lowercase, hyphen-separated
  • Validate length (20-50 characters preferred)
  • Return JSON with:
    • contentId: Generated ID
    • detectedSource: Confirmed source type
    • sourceConfidence: 0.0-1.0 confidence in source detection
    • rationale: Brief explanation of why this source type

ID Generation Rules

Source-Based Naming

  • Podcast: podcast-{date}-{topic}
  • Transcript: transcript-{date}-{topic}
  • Article: article-{date}-{topic}
  • YouTube: youtube-{date}-{topic}
  • Twitter: tweet-{date}-{topic}
  • Text: text-{date}-{topic}
  • Other: content-{date}-{topic}

Topic Selection

  • Extract from headline (first 2-3 words)
  • If headline too generic, use category or first keyTheme
  • Avoid articles (a, the, and, or)
  • Use only letters, numbers, hyphens
  • Maximum 3 words

Date Handling

  • Use current date in YYYY-MM-DD format
  • Or extract from context field if content has original date
  • Format consistently

Examples

Input: Podcast about AI in Healthcare (2024-12-08)
Output: podcast-2024-12-08-ai-healthcare

Input: Whisper transcript of React conference talk (2024-12-07)
Output: transcript-2024-12-07-react-conference

Input: Article on productivity hacks (2024-12-06)
Output: article-2024-12-06-productivity-hacks

Input: YouTube tutorial on Python (2024-12-05)
Output: youtube-2024-12-05-python-tutorial

Output Format

Return structured JSON:

{
  "contentId": "podcast-2024-12-08-ai-healthcare",
  "detectedSource": "podcast",
  "sourceConfidence": 0.95,
  "rationale": "Audio transcript with speaker markers, timestamps, and conversational flow indicates podcast source."
}

Important Rules

  • Always return valid JSON
  • Confidence score reflects certainty in source detection (0.5-1.0 typical range)
  • Rationale should be brief (1-2 sentences)
  • ID must be unique and reusable
  • Never include spaces or special characters (except hyphens)
  • Generate ID even if source confidence is moderate (>0.5)
  • Prefer readable IDs over random strings
  • Keep ID length under 60 characters when possible

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
T
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View