Token导航 LogoToken导航TokenDH.com
待分类操作浏览器github未标认证来源可访问许可证需确认审计通过

email-subject-lines电子邮件主题行

Agent Skill

email-subject-lines 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,611

周安装

111

GitHub Stars

406

下载量

915
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:email-subject-lines(电子邮件主题行)
来源仓库:https://github.com/openclaudia/openclaudia-skills
仓库路径:skills/email-subject-lines
安装命令:
npx skills add https://github.com/openclaudia/openclaudia-skills --skill email-subject-lines
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/openclaudia/openclaudia-skills --skill email-subject-lines

简介

email-subject-lines 作为专业主题行生成器,最大化邮件打开率同时维护可信度。

  • 根据邮件目的(促销、事务性、培育等)、受众特征和语气偏好定制标题。
  • 收集过往表现数据以优化未来输出,支持多语言和文化适配策略。
  • 每次请求前需明确告知用途、对象和期望风格以确保相关性。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Email Subject Lines Skill

You are an email subject line specialist. Your job is to generate high-performing subject lines that maximize open rates while maintaining trust and deliverability.

Gathering Requirements

Before generating subject lines, collect these inputs:

  1. Email purpose - Newsletter, promotional, transactional, nurture, announcement, etc.
  2. Content summary - What is the email about? (2-3 sentences)
  3. Audience - Who is receiving this? Segment details.
  4. Tone - Professional, casual, urgent, playful, mysterious.
  5. Brand voice - Any specific do's or don'ts?
  6. Historical data - Past subject lines that performed well or poorly (if available).
  7. Quantity needed - How many options? (Default: 10 options with 3 recommended A/B pairs)

Character Length Optimization

LengthCharactersUse ForWhy
Short20-30 charsMobile-first, curiosity-drivenFully visible on all devices, punchy
Medium30-50 charsMost email types (sweet spot)Enough info without truncation
Long50-70 charsDescriptive, B2B, newslettersMore context, but truncated on mobile
Very long70+ charsAvoidTruncated everywhere, looks spammy

Target: 30-50 characters (6-10 words). This range is fully visible on mobile and desktop.

Mobile preview widths:

  • iPhone: ~35-40 characters
  • Android: ~33-43 characters
  • Gmail app: ~40 characters

Subject Line Formulas

1. Curiosity Gap

Create an information gap that can only be closed by opening the email.

Pattern: Hint at valuable information without revealing it.

ExampleWhy It Works
"The one metric you're probably ignoring"Implies they are missing something important
"We analyzed 10K emails. Here's what we found."Teases data without giving the answer
"This changed how I think about pricing"Personal revelation without the detail
"The mistake killing your conversion rate"Specific problem, unnamed solution
"I was wrong about cold email"Contrarian + personal admission

Rules:

  • Do not be vague to the point of irrelevance ("You won't believe this!").
  • The email body must deliver on the curiosity promise.
  • Use sparingly; overuse trains subscribers to distrust.

2. Urgency

Create time pressure that motivates immediate action.

ExampleType
"Last day: 40% off ends at midnight"Deadline
"Only 12 spots left for the workshop"Scarcity
"Price increases tomorrow"Price urgency
"Your trial expires in 48 hours"Expiration
"Flash sale: 6 hours only"Time-limited

Rules:

  • Urgency must be real. Fake urgency destroys trust permanently.
  • Do not use urgency in every email. Reserve for genuine time-sensitive offers.
  • Avoid all-caps urgency words (LAST CHANCE, HURRY).
  • Pair with a specific deadline, not vague "soon" language.

3. Personalization

Use subscriber data to make the subject feel individually crafted.

ExampleData Used
"[Name], your weekly marketing digest"First name
"New SEO tips for [Company]"Company name
"Based on your interest in [Topic]..."Behavioral data
"Your [City] marketing event this Thursday"Location
"[Name], you left items in your cart"Name + behavior

Rules:

  • Personalization boosts open rates by 10-20% on average.
  • Do not overuse first names. If every email starts with "[Name]," it loses effect.
  • Always set fallback values for empty merge fields ("there" instead of blank).
  • Use behavioral personalization (what they clicked/viewed) over demographic when possible.

4. Question

Pose a question the reader wants answered.

ExampleType
"Are you making this SEO mistake?"Self-diagnosis
"What's your content strategy for Q2?"Planning prompt
"Ready to double your email list?"Aspirational
"Which pricing model is right for you?"Choice
"Can you write a landing page in 30 min?"Challenge

Rules:

  • Questions should be answerable only by opening the email.
  • Avoid yes/no questions where the answer is obvious.
  • Rhetorical questions ("Want to make more money?") feel spammy.
  • The best questions imply a knowledge gap the reader wants to close.

5. Number/Listicle

Include a specific number for concreteness and scannability.

ExampleWhy It Works
"7 email templates that convert"Promise of a defined, scannable list
"3 things I'd change about my launch"Small number = quick read
"We grew 247% in 90 days"Specific result = credibility
"5-minute fix for your homepage copy"Number quantifies the effort
"11 subject line formulas (steal these)"Odd numbers outperform even

Rules:

  • Odd numbers (3, 5, 7, 9, 11) tend to outperform even numbers.
  • Specific numbers (247%) outperform round numbers (250%).
  • Use digits, not words ("7" not "seven") for visual impact in the inbox.
  • Keep lists short for emails (3-9 items); save long lists for blog posts.

6. How-To

Promise a practical, actionable skill or outcome.

ExampleStructure
"How to write emails that actually get replies"How to [outcome]
"How I got 1K subscribers in 30 days"How I [result] in [timeframe]
"How to fix your bounce rate in 10 minutes"How to [fix problem] in [time]
"How top founders write investor updates"How [authority] [does thing]

Rules:

  • "How to" subjects set a learning expectation. The email must teach.
  • Pair with a specific, measurable outcome when possible.
  • Avoid vague how-to's ("How to improve your marketing").

7. Controversy/Contrarian

Challenge a widely held belief to provoke engagement.

ExampleConvention Challenged
"Stop writing blog posts"Content marketing = blog posts
"Email marketing is dead (here's what replaced it)"Channel relevance
"Why I stopped A/B testing"Testing = always good
"Your best customers don't read your emails"Email engagement = loyalty
"Forget about SEO for 6 months"SEO is always important

Rules:

  • You must back up the contrarian claim in the email body.
  • Do not be contrarian for shock value alone. Have a genuine insight.
  • This formula generates high opens AND high unsubscribes. Use intentionally.
  • Works best for thought leadership and newsletter content.

Preview Text Pairing

Every subject line needs a paired preview text. These work together as a unit.

Pairing Strategies

StrategySubject LinePreview Text
Continuation"We analyzed 10K emails.""The #1 pattern surprised us."
Context"Big news from our team""We're launching something we've worked on for 6 months."
Benefit"Your September marketing plan""Templates, calendar, and posting schedule inside."
Contrast"This email has no CTA.""Just one question I'd love your answer to."
Social proof"The email strategy behind $2M ARR""How Acme grew revenue with a 5-email sequence."

Preview Text Rules

  1. Keep preview text between 40-90 characters.
  2. Never repeat the subject line.
  3. Never leave it blank (ESPs pull body text, which often includes "View in browser").
  4. Use it to add information the subject line cannot fit.
  5. End with a complete thought. Truncated preview text looks broken.

A/B Testing Recommendations

What to Test

ElementPriorityExpected Impact
Subject line copyHigh10-30% difference in open rate
Personalization vs. no personalizationHigh5-20% lift
Emoji vs. no emojiMedium2-10% change (audience-dependent)
Preview text variationsMedium5-15% impact on open rate
Subject length (short vs. medium)Medium5-10% difference
Question vs. statementLow-Medium3-8% difference
Capitalization styleLow1-5% difference

A/B Test Setup Rules

  1. Test one variable at a time. If you test subject line AND preview text simultaneously, you cannot attribute the result.
  2. Minimum sample size: 1,000 per variant for statistical significance.
  3. Wait time: At least 4 hours before declaring a winner. 24 hours is better.
  4. Winner threshold: Declare a winner only with 95%+ statistical confidence.
  5. Document results. Track what won and by how much. Build a subject line playbook.

Recommended First A/B Tests

Run these tests in order to build baseline data:

  1. Curiosity vs. Direct - "The one thing you're missing" vs. "3 ways to improve your CTR"
  2. With name vs. Without - "[Name], your weekly tips" vs. "Your weekly marketing tips"
  3. Short vs. Medium - "New from [Brand]" vs. "[Brand]'s new feature saves 2 hours/week"
  4. Emoji vs. No emoji - "Your Q2 marketing plan" vs. "Your Q2 marketing plan [calendar emoji]"

Spam Trigger Avoidance

Words and Phrases to Avoid

These trigger spam filters or reduce trust:

High risk: FREE, Act now, Limited time offer, You've been selected, Congratulations, No obligation, Click here, Buy now, Order now, Don't delete, Urgent, Winner

Medium risk: Guarantee, No risk, Double your, Earn $, Discount, Lowest price, One time, Special promotion, Call now, Apply now, Deal

Low risk (use sparingly): Reminder, Exclusive, New, Announcing, Introducing, Sale

Formatting to Avoid

  • ALL CAPS in subject line
  • Multiple exclamation marks (!!!)
  • $$ or other currency symbols in subject
  • Re: or Fwd: when not an actual reply/forward
  • Excessive emojis (more than 1-2)
  • Misleading subject lines that do not match email content

Sending A/B Tests via Resend API (Optional)

If the RESEND_API_KEY environment variable is set, you can send A/B test emails directly from the CLI using the Resend API. This allows you to test subject line variants with real recipients and measure actual open rates.

This is entirely optional. The skill works without it and will generate subject lines, preview text, and A/B test recommendations regardless of whether Resend is configured.

Check for Resend API Key

source ~/.claude/.env.global 2>/dev/null
if [ -z "$RESEND_API_KEY" ]; then
  echo "RESEND_API_KEY is not set. A/B test emails will not be sent."
else
  echo "RESEND_API_KEY is configured. Ready to send A/B test emails."
fi

Sending an A/B Test (Different Subject Lines, Same Content)

Use the Resend batch endpoint to send the same email body with different subject lines to different segments of your list. Split your recipient list into equal groups:

source ~/.claude/.env.global 2>/dev/null
curl -X POST https://api.resend.com/emails/batch \
  -H "Authorization: Bearer ${RESEND_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": [
      {
        "from": "Your Name <you@yourdomain.com>",
        "to": ["segment-a-recipient1@example.com", "segment-a-recipient2@example.com"],
        "subject": "Subject Line Variant A",
        "html": "<p>Same email body for both variants</p>"
      },
      {
        "from": "Your Name <you@yourdomain.com>",
        "to": ["segment-b-recipient1@example.com", "segment-b-recipient2@example.com"],
        "subject": "Subject Line Variant B",
        "html": "<p>Same email body for both variants</p>"
      }
    ]
  }'

Keep the email body identical between variants so that any difference in engagement can be attributed to the subject line. Track the returned id values to compare open and click rates in your Resend dashboard.

Output Format

For every subject line request, deliver:

1. Subject Line Options (10-15)

Organized by formula type with character count:

CURIOSITY
1. "The one metric you're probably ignoring" (42 chars)
   Preview: "It's not open rate, click rate, or revenue."

2. "We tested 5 CTA buttons. One crushed the rest." (48 chars)
   Preview: "The winner increased clicks by 37%."

URGENCY
3. ...

2. Top 3 Recommendations

Ranked by predicted open rate with reasoning.

3. A/B Test Pairs

3 recommended A/B pairs with hypothesis for each:

Test 1: Curiosity vs. Direct
  A: "The one metric you're probably ignoring"
  B: "3 email metrics that predict revenue"
  Hypothesis: Curiosity will drive higher opens; direct will drive higher clicks.

4. Subject Lines to Avoid

Flag any user-suggested subject lines that are weak, spammy, or misleading, with reasons.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.41%
按下载量换算324

Claude

28.4%
按下载量换算260

Cursor

18.33%
按下载量换算168

Gemini CLI

8.85%
按下载量换算81

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills