Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

email

БесплатноБез исполняемых скриптовНе проверен

Generate email advertising concepts with compelling subject lines, body copy, CTAs, and HTML previews. Produces multiple creative variations optimized for…

treasure-dataот treasure-data★ 23 звезды на GitHub

Об этом скилле

Email Ad Ideation

Generate compelling email advertising concepts with subject lines, body copy, CTAs, and HTML previews. Email offers the most creative freedom of all channels - use it to tell your full story.

Integration with Multi-Channel Skill

This skill can be used standalone or delegated from multi-channel-ad-ideation.

Standalone usage: User directly invokes "Generate email ad concepts for..."

Delegated usage: Multi-channel skill invokes this skill after creative direction is selected:

  • Multi-channel passes: Creative direction, brief, segment, brand guidelines
  • This skill executes: Phase 1 (text concepts) and/or Phase 2 (HTML previews)
  • User can iterate within this skill or return to multi-channel orchestrator

When delegated, expect this context:

  • Creative Direction: Selected direction name and description
  • Creative Brief: Messaging, goals, tone, benefits
  • Target Segment: Audience demographics and motivations
  • Brand Guidelines: Path to brand.md (optional)
  • Number of Concepts: Usually 3-5

Use this context to inform all email concept generation and ensure alignment with the chosen creative direction.

Using Brand Logo

When brand guidelines include a logo file, you can embed it in email HTML previews for brand consistency.

How to provide logo:

  • Direct parameter: "Create email ads using logo at /path/to/logo.png"
  • Via brand guidelines: "Create email ads using brand guidelines at /path/to/brand.md" (if guidelines include logo path)
  • Multi-channel delegation: Logo path is automatically passed from multi-channel skill

Logo embedding workflow:

  1. User provides logo path when requesting email concepts or during HTML preview phase
  2. Read logo file using the Read tool when generating HTML preview (Phase 2)
  3. Convert to base64: Encode logo as data URI: data:image/png;base64,{encoded_string}
  4. Embed in email header: Include logo in HTML <img> tag with inline styling
  5. Logo appears in all HTML previews automatically

Logo specifications:

  • Format: PNG with transparent background preferred
  • Size: Maximum 200px width for email headers, maintain aspect ratio
  • File size: Keep under 100KB for email client compatibility
  • Placement: Typically centered in email header with brand background color

Example usage:

User: "Create email ad for hiking boot launch using brand guidelines and logo at /path/to/outdoor-supply-co-logo.png"

Phase 1: Generate text concepts (no logo needed yet)
Phase 2: When generating HTML preview:
  1. Read logo file
  2. Convert to base64
  3. Embed in header: <img src="data:image/png;base64,..." alt="Brand Logo" style="max-width: 180px;" />

For detailed logo implementation in HTML templates, see references/html-preview-templates.md.

Dual Logo Variants (Automatic Selection)

For optimal logo visibility on different background colors, brand guidelines may specify two logo variants:

  • Dark logo (e.g., black-over-white.png) for light backgrounds
  • Light logo (e.g., white-over-black.png) for dark backgrounds

The skill automatically selects the appropriate variant based on header background color.

How to provide dual logos:

  • Via brand guidelines: "Create email ads using brand guidelines at /path/to/brand.md"
    • Guidelines specify both logo file paths
    • Skill reads both and auto-selects based on background
  • Direct parameters: "Create email ads using logo-dark at /path/dark.png and logo-light at /path/light.png"

Automatic selection algorithm:

import base64

# Logo paths from brand guidelines
LOGO_DARK_PATH = "/path/to/logo-black-over-white.png"  # For light backgrounds
LOGO_LIGHT_PATH = "/path/to/logo-white-over-black.png"  # For dark backgrounds

# Header background color from brand guidelines
HEADER_BG_COLOR = "#1B3022"  # Old Growth (dark)

# Calculate luminance of background
def hex_to_rgb(hex_color):
    hex_color = hex_color.lstrip('#')
    return tuple(int(hex_color[i:i+2], 16) for i in (0, 2, 4))

def calculate_luminance(rgb):
    """WCAG relative luminance formula"""
    r, g, b = rgb
    return 0.299 * r + 0.587 * g + 0.114 * b

bg_rgb = hex_to_rgb(HEADER_BG_COLOR)
bg_luminance = calculate_luminance(bg_rgb)

# Select logo based on background brightness
if bg_luminance < 128:
    # Dark background - use light logo
    logo_path = LOGO_LIGHT_PATH
    print(f"Dark background detected (luminance: {bg_luminance:.1f}). Using light logo.")
else:
    # Light background - use dark logo
    logo_path = LOGO_DARK_PATH
    print(f"Light background detected (luminance: {bg_luminance:.1f}). Using dark logo.")

# Read and encode selected logo
with open(logo_path, "rb") as f:
    logo_base64 = base64.b64encode(f.read()).decode('utf-8')

Example:

  • Old Growth header (#1B3022): luminance 38.5 → Dark → Use white-over-black.png
  • Raw Canvas header (#F5F2ED): luminance 242.3 → Light → Use black-over-white.png

Em

Полный SKILL.md на GitHub

Установить email в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples.md

FAQ

Что делает скилл email?

Generate email advertising concepts with compelling subject lines, body copy, CTAs, and HTML previews. Produces multiple creative variations optimized for inbox engagement and conversions.

Как установить скилл email?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл email запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить email с