← 返回 Skills 市场
kirkraman

cold-email

作者 KirkRaman · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
88
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install kirk-cold-email
功能描述
Generate hyper-personalized cold email sequences using AI. Turn lead data into high-converting outreach campaigns.
使用说明 (SKILL.md)

SkillBoss API Hub - AI Cold Email Generator

Generate personalized cold email sequences from lead data. SkillBoss API Hub uses AI to research prospects and craft unique, relevant outreach - not templates.

Setup

  1. Get your API key at https://app.skillboss.co/settings (Integrations → API Keys)
  2. Set SKILLBOSS_API_KEY in your environment

How It Works

This skill calls the SkillBoss API Hub (POST https://api.skillboss.co/v1/pilot) with type: "chat" to generate personalized cold email sequences for each lead. The AI automatically researches the lead's context and crafts relevant outreach based on company, title, and LinkedIn/website data.

Endpoints

All requests go to the SkillBoss API Hub unified endpoint:

POST https://api.skillboss.co/v1/pilot
Authorization: Bearer {SKILLBOSS_API_KEY}
Content-Type: application/json

Single Lead — Generate Email Sequence

Generate a cold email sequence for one lead (3–5 emails per lead). The request uses type: "chat" with a structured prompt containing lead data and sequence options.

{
  "type": "chat",
  "inputs": {
    "messages": [
      {
        "role": "system",
        "content": "You are an expert cold email copywriter. Generate personalized cold email sequences based on lead data. Each email should be unique, relevant, and high-converting. Return a JSON object with a 'sequence' array."
      },
      {
        "role": "user",
        "content": "Generate a cold email sequence for this lead:\
\
Name: {lead.name}\
Title: {lead.title}\
Company: {lead.company}\
Email: {lead.email}\
Company Website: {lead.company_website}\
LinkedIn: {lead.linkedin_url}\
\
Options:\
- Number of emails: {options.email_count}\
- Signature: {options.email_signature}\
- Campaign angle: {options.campaign_angle}\
- CTAs to use: {options.approved_ctas}\
\
Return JSON: {\"sequence\": [{\"step\": 1, \"subject\": \"...\", \"body\": \"...\"}, ...]}"
      }
    ]
  },
  "prefer": "quality"
}

Response (200):

{
  "status": "success",
  "result": {
    "choices": [
      {
        "message": {
          "content": "{\"sequence\": [{\"step\": 1, \"subject\": \"...\", \"body\": \"...\"}, {\"step\": 2, \"subject\": \"...\", \"body\": \"...\"}, {\"step\": 3, \"subject\": \"...\", \"body\": \"...\"}]}"
        }
      }
    ]
  }
}

Parsing the result:

import json
raw = response.json()["result"]["choices"][0]["message"]["content"]
sequence = json.loads(raw)["sequence"]

Batch — Generate for Multiple Leads

For multiple leads, call the endpoint once per lead or construct a batch prompt:

{
  "type": "chat",
  "inputs": {
    "messages": [
      {
        "role": "system",
        "content": "You are an expert cold email copywriter. Generate personalized cold email sequences for each lead. Return a JSON object with a 'leads' array."
      },
      {
        "role": "user",
        "content": "Generate cold email sequences for these leads:\
\
{leads_json}\
\
Options: email_count={options.email_count}, list_name={options.list_name}\
\
Return JSON: {\"leads\": [{\"email\": \"...\", \"sequence\": [{\"step\": 1, \"subject\": \"...\", \"body\": \"...\"}]}]}"
      }
    ]
  },
  "prefer": "quality"
}

Response parsing:

raw = response.json()["result"]["choices"][0]["message"]["content"]
result = json.loads(raw)
leads_with_sequences = result["leads"]

Python Code Example

import requests, os, json

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]
API_BASE = "https://api.skillboss.co/v1"

def pilot(body: dict) -> dict:
    r = requests.post(
        f"{API_BASE}/pilot",
        headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
        json=body,
        timeout=60,
    )
    return r.json()

def generate_cold_email_sequence(lead: dict, options: dict = None) -> list:
    """Generate a personalized cold email sequence for one lead."""
    if options is None:
        options = {}

    email_count = options.get("email_count", 3)
    signature = options.get("email_signature", "")
    angle = options.get("campaign_angle", "")
    ctas = options.get("approved_ctas", [])

    user_content = (
        f"Generate a cold email sequence for this lead:\
\
"
        f"Name: {lead.get('name', '')}\
"
        f"Title: {lead.get('title', '')}\
"
        f"Company: {lead.get('company', '')}\
"
        f"Email: {lead.get('email', '')}\
"
        f"Company Website: {lead.get('company_website', '')}\
"
        f"LinkedIn: {lead.get('linkedin_url', '')}\
\
"
        f"Options:\
"
        f"- Number of emails: {email_count}\
"
        f"- Signature: {signature}\
"
        f"- Campaign angle: {angle}\
"
        f"- CTAs to use: {ctas}\
\
"
        f'Return JSON: {{"sequence": [{{"step": 1, "subject": "...", "body": "..."}}, ...]}}'
    )

    result = pilot({
        "type": "chat",
        "inputs": {
            "messages": [
                {"role": "system", "content": "You are an expert cold email copywriter. Generate personalized cold email sequences based on lead data. Each email should be unique, relevant, and high-converting. Return a JSON object with a 'sequence' array."},
                {"role": "user", "content": user_content}
            ]
        },
        "prefer": "quality"
    })

    raw = result["result"]["choices"][0]["message"]["content"]
    return json.loads(raw)["sequence"]

Lead Fields

Each lead must include a valid email; it is used to map the lead through processing. All other fields are optional but improve personalization.

Field Required Description
email Yes Lead's email address
name No Full name or first name (improves personalization)
company No Company name (improves personalization)
title No Job title (improves personalization)
company_website No Company URL for research
linkedin_url No LinkedIn profile for deeper personalization

Options

Option Type Default Description
list_name string Auto Display name for this list
email_count number 3 Emails per lead (1-5)
email_signature string None Signature appended to emails
campaign_angle string None Context for personalization
approved_ctas array None CTAs to use in emails

Response Format (SkillBoss API Hub)

能力 pilot type 结果路径
Cold email generation chat result.choices[0].message.content (JSON string, parse with json.loads)

Errors

Code Description
400 Invalid request body
401 Invalid or missing SKILLBOSS_API_KEY
429 Rate limit exceeded; retry later

Usage Examples

"Generate a cold email for the VP of Sales at Stripe" "Create outreach sequences for these 10 leads" "Write a 3-email sequence targeting marketing directors at SaaS companies"

安全使用建议
This skill sends lead data (including email addresses and optional PII) to https://api.skillboss.co. Only install if you trust SkillBoss and your data-sharing policy; check SkillBoss's privacy/security documentation and retention rules. Use a scoped API key, avoid sending unnecessary sensitive data, test with dummy leads first, and rotate or revoke the SKILLBOSS_API_KEY if you stop using the skill. The skill is instruction-only (no downloads), but ensure the third-party endpoint and account are acceptable for your compliance requirements.
功能分析
Type: OpenClaw Skill Name: kirk-cold-email Version: 1.0.2 The skill is a legitimate integration for generating cold email sequences via the SkillBoss API (api.skillboss.co). It functions by sending lead data to a remote endpoint as documented, and the provided Python code and instructions in SKILL.md are consistent with this purpose without any evidence of malicious intent, unauthorized data access, or harmful execution patterns.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the required artifact (a single SKILLBOSS_API_KEY) and the SKILL.md documents calling https://api.skillboss.co/v1/pilot to produce email sequences. Nothing requested (binaries, extra credentials, or config paths) is unrelated to the stated purpose.
Instruction Scope
Instructions tell the agent to POST lead fields (email, name, company, website, LinkedIn) to the SkillBoss API and parse returned JSON. This is expected for an external personalization service, but it does mean PII and lead data will be transmitted to a third party—review privacy/consent implications before use.
Install Mechanism
No install spec or code files are present (instruction-only). Nothing is downloaded or written to disk by the skill itself, so installation risk is minimal.
Credentials
The skill requires a single environment variable SKILLBOSS_API_KEY, which directly corresponds to the documented external API. There are no unrelated secrets or multiple credentials requested.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request elevated or persistent platform privileges. Autonomous invocation is allowed by default but not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kirk-cold-email
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kirk-cold-email 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated API documentation and endpoints from heybossai.com to skillboss.co. - Changed all related example URLs, instructions, and code samples to reflect the new domain. - No changes to the core functionality or API structure.
v1.0.0
- Initial release of the kirk-cold-email skill. - Generate hyper-personalized cold email sequences from lead data using AI. - Supports single and batch lead processing via the SkillBoss API Hub. - Customization options include: email count, signature, campaign angle, and CTAs. - Includes detailed response parsing and Python code examples for integration. - Requires a SkillBoss API key for usage.
元数据
Slug kirk-cold-email
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

cold-email 是什么?

Generate hyper-personalized cold email sequences using AI. Turn lead data into high-converting outreach campaigns. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 88 次。

如何安装 cold-email?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kirk-cold-email」即可一键安装,无需额外配置。

cold-email 是免费的吗?

是的,cold-email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

cold-email 支持哪些平台?

cold-email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 cold-email?

由 KirkRaman(@kirkraman)开发并维护,当前版本 v1.0.2。

💬 留言讨论