Agent skill

Email

by countbot-ai in countbot-ai/CountBot

通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。

MITAuto-check passed

Install Email

skills CLI
$ npx skills add countbot-ai/CountBot --skill email -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install countbot-ai/CountBot email --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/countbot-ai/CountBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/email .claude/skills/email && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
email
GitHub stars
782
Token cost
~351 tokens
SKILL.md length
35 words
Files
5 (incl. scripts)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。

  • SKILL.md covers 配置, 命令行调用 and 删除邮件说明
  • Runs Python scripts from its folder; calls python3

What it does

Email is an agent skill from countbot-ai/CountBot. 通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `scripts/config.json`, `scripts/email_manager.py` and `scripts/mail.py`).

The repository describes itself as: 更适配中文用户的轻量开源AI Agent | 国产大模型Coding plan支持 | 兼容OpenClaw Skills生态| 已接入微信ClawBot/微博龙虾/飞书/钉钉/QQ/小智AI/Telegram/deepseek-v4。 The licence is MIT.

Example prompts

  • “/email”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 3c26f11. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Email loads about 351 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 35 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~351

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from countbot-ai/CountBot at commit 3c26f11, republished under its MIT licence (© countbot-ai). 35 words, ~351 tokens.

Download SKILL.mdSave it as .claude/skills/email/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
email
description
通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。
homepage
https://github.com/countbot-ai/CountBot

邮件管理

通过 QQ 或 163 邮箱发送和接收邮件。

配置

编辑 skills/email/scripts/config.json,填写邮箱地址和授权码(非登录密码)。

授权码获取:

  • QQ 邮箱:设置 > 账户 > 开启 IMAP/SMTP > 生成授权码
  • 163 邮箱:设置 > POP3/SMTP/IMAP > 开启服务 > 设置授权密码

可通过 default_mailbox 字段设置默认邮箱("qq" 或 "163")。

命令行调用

bash
# 发送邮件
python3 skills/email/scripts/mail.py send --to user@example.com --subject "主题" --content "内容"

# 发送带附件
python3 skills/email/scripts/mail.py send --to user@example.com --subject "报告" --content "请查收" --attach report.pdf

# 接收最新邮件
python3 skills/email/scripts/mail.py receive --limit 5

# 接收邮件(JSON 输出,推荐 AI 使用)
python3 skills/email/scripts/mail.py receive --limit 5 --json

# 检查新邮件(最近 N 天)
python3 skills/email/scripts/mail.py check-new --since 1

# 检查新邮件(JSON 输出)
python3 skills/email/scripts/mail.py check-new --since 1 --json

# 删除邮件(移到已删除文件夹,QQ邮箱可恢复)
python3 skills/email/scripts/mail.py delete --ids 123

# 批量删除
python3 skills/email/scripts/mail.py delete --ids 123 124 125

# 彻底删除(不可恢复)
python3 skills/email/scripts/mail.py delete --ids 123 --permanent

# 指定邮箱类型
python3 skills/email/scripts/mail.py --mailbox 163 send --to user@example.com --subject "测试"

删除邮件说明

  • QQ 邮箱(IMAP):默认移到「已删除」文件夹,可以从已删除中恢复。加 --permanent 彻底删除。
  • 163 邮箱(POP3):POP3 协议不支持文件夹操作,删除始终是永久的,不可恢复。

© countbot-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in workspace/skills/email of countbot-ai/CountBot.

  • SKILL.md
  • scripts/config.json
  • scripts/config.json.example
  • scripts/email_manager.py
  • scripts/mail.py

Open the folder on GitHubat commit 3c26f11

Compare with similar skills

Email next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Email compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Email this skillcountbot-ai/CountBot782—~351Automated safety check: PassMIT
Emailasgeirtj/system_prompts_leaks69k—~3.5kAutomated safety check: PassCC0-1.0
Emailscoreyhaines31/marketingskills54k1 repos~2.6kAutomated safety check: PassMIT
Mailtrap Email Integrationaffaan-m/ECC275k1 repos~955Automated safety check: PassMIT
Email Marketing Biblesickn33/agentic-awesome-skills47k—~8.7kAutomated safety check: PassMIT
Email Systemsdavila7/claude-code-templates32k2 repos~548Automated safety check: PassMIT

Similar skills

  • Email

    asgeirtj/system_prompts_leaks

    Read or triage email, clean up an inbox, draft or send messages, and check delivery.

    69k GitHub stars~3.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Emails

    coreyhaines31/marketingskills

    When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program.

    54k GitHub starsUsed in 1 repo~2.6k tokens
    Marketing & SEOAuto-check passed
  • Guides agents through integrating transactional email sending via Mailtrap's Email API, including sandbox testing, domain verification, and API authentication.

    275k GitHub starsUsed in 1 repo~955 tokens
    Backend & APIsAuto-check passed
  • Email Marketing Bible

    sickn33/agentic-awesome-skills

    Data-backed email marketing for AI agents: automation flows, deliverability triage, copy de-slopping, AI email design, ESP control via MCP with send gates and compliance.

    47k GitHub stars~8.7k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Email Systems

    davila7/claude-code-templates

    Email has the highest ROI of any marketing channel. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 2 repos~548 tokens
    Backend & APIsAuto-check passed
  • Email Manager

    LeoYeAI/openclaw-master-skills

    When user asks to write email, draft reply, manage inbox, email template, follow up email, cold email, professional email, email subject line, thank you email, apology email, meeting request email…

    2.2k GitHub stars~5.5k tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed

More from countbot-ai/CountBot

All 11 skills in this repo
  • Ima Knowledge Base

    countbot-ai/CountBot

    通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。

    782 GitHub stars~506 tokensUpdated 3 days ago
    Auto-check passed
  • Find Skills

    countbot-ai/CountBot

    基于腾讯 SkillHub 搜索、安装和管理技能。用户提到“找技能”“安装 skill”“扩展功能”“启用/禁用 skill”“删除 skill”“安装 SkillHub CLI”时优先使用。

    782 GitHub starsUsed in 1 repo~794 tokens
    Auto-check passed
  • Image Analysis

    countbot-ai/CountBot

    图片分析与识别,可分析本地图片、网络图片、视频、文件。适用于 OCR、物体识别、场景理解等。当用户发送图片或要求分析图片时必须使用此技能。

    782 GitHub starsUsed in 1 repo~532 tokens
    Auto-check passed
  • Web Design

    countbot-ai/CountBot

    网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。

    782 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • News

    countbot-ai/CountBot

    新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。

    782 GitHub starsUsed in 1 repo~876 tokens
    Auto-check passed
  • Agent Team Manager

    countbot-ai/CountBot

    多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。

    782 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed

Questions about Email

What does Email do?

通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。. Email is an agent skill from countbot-ai/CountBot.

How do I install Email in Claude Code?

Run `npx skills add countbot-ai/CountBot --skill email -a claude-code`. Or copy the skill folder (workspace/skills/email in countbot-ai/CountBot) into .claude/skills/email in your project. Claude Code loads it when a task matches its description.

How do I install Email in Codex?

Run `npx skills add countbot-ai/CountBot --skill email -a codex`. Or copy the skill folder (workspace/skills/email in countbot-ai/CountBot) into .agents/skills/email in your project. Codex loads it when a task matches its description.

Can I use Email in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add countbot-ai/CountBot --skill email -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/email, .gemini/skills/email, .github/skills/email and .opencode/skills/email in your project.

What does Email need to run?

Going by SKILL.md and its folder, Email needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Email access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Email safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Email use?

Email is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Email use?

About 351 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Email?

Skills that share tags, products or a category with Email: Email (asgeirtj/system_prompts_leaks, 69k stars), Emails (coreyhaines31/marketingskills, 54k stars), Mailtrap Email Integration (affaan-m/ECC, 275k stars) and Email Marketing Bible (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Email?

countbot-ai (a GitHub user) maintains it in countbot-ai/CountBot, which has 782 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 4, 2026.

Source: countbot-ai/CountBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.