Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

mailclawmailclaw 自动化

Agent Skill

mailclaw 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

GitHub Stars

46

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/missuo/mailclaw --skill mailclaw

简介

mailclaw 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中筛选信息的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意是否涉及联网或文件操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

MailClaw - Binary CLI

You have access to the local mailclaw binary CLI. Use it to read, search, and manage emails. Do not call the MailClaw HTTP API directly with curl unless the user explicitly asks for raw API requests.

By default, if mailclaw is missing, install it automatically and then continue the task.

Prerequisite

Before doing anything else, verify the CLI exists and meets the minimum version:

mailclaw --version
  • Minimum version for send: The send command requires CLI version >= 1.0.1. If the installed version is older, upgrade it using the install flow below before proceeding.
  • If mailclaw is missing on macOS, install it with Homebrew.
  • If mailclaw is missing on Linux, download the latest release binary and install it to /usr/local/bin/mailclaw.
  • On Windows, do not guess an install flow here. Ask the user to install the CLI manually or provide the binary path.
  • Once the binary is available, use it for all inbox operations.

Automatic install flow

Run the official install script, which handles both macOS (Homebrew) and Linux (GitHub Releases) automatically:

curl -fsSL https://raw.githubusercontent.com/missuo/mailclaw/main/install.sh | bash
  • On macOS, the script installs via brew tap owo-network/brew && brew install owo-network/brew/mailclaw.
  • On Linux, the script detects the architecture, downloads the latest release binary, and installs it to /usr/local/bin/mailclaw.
  • After installation, the script prompts the user to configure host and API token interactively.
  • If writing to /usr/local/bin fails, the script will request elevated privileges automatically.
  • On Windows, do not run the install script. Ask the user to install the CLI manually or provide the binary path.
  • Reuse the installed CLI on future invocations unless the user asks for a specific version or a source build.

Configuration

Use the CLI to manage config instead of reading or writing ~/.mailclaw/config.json manually.

# Save credentials
mailclaw config set --host "https://mailclaw.example.com" --api-token "your-api-token-here"

# Show current config state
mailclaw config show --json

# Verify the configured host is reachable
mailclaw health --json
  • If config is missing, ask the user to provide their MailClaw Host and API Token, then save them with mailclaw config set.
  • The CLI also supports global overrides --host <HOST> and --api-token <TOKEN>, but prefer persisted config unless the user wants a one-off override.
  • On Windows, ask the user for the CLI path if mailclaw is not already available on PATH.

Available Commands

List emails (metadata only)

mailclaw list [--limit N] [--offset N] [--from sender@example.com] [--to inbox@example.com] [--q keyword] [--after 2026-03-01] [--before 2026-03-11] [--json]

Returns email summaries without body content. Use this for overview and browsing.

Export emails (with full content)

mailclaw export [same filters as list] [--json]

Returns full emails including text_content and html_content. Use this when the user wants body content for multiple emails.

Get single email

mailclaw get <email_id> [--json]

Returns one full email, including body content.

Delete email

mailclaw delete <email_id> [--json]

Permanently deletes an email. Always confirm with the user before deleting.

Health check

mailclaw health [--json]

Use this to verify the configured host is correct during setup.

JSON Output

When you pass --json, the CLI prints the payload directly, not the original HTTP {success, data} envelope.

Email object (list)

{
  "id": "clx...",
  "from_address": "sender@example.com",
  "to_address": "bd@example.com",
  "subject": "Subject line",
  "received_at": 1710000000,
  "has_attachments": false,
  "attachment_count": 0
}

Email object (export / get)

Same as above, plus:

{
  "text_content": "Plain text body...",
  "html_content": "<p>HTML body...</p>"
}

Paginated response

{
  "emails": [ ... ],
  "total": 128,
  "limit": 20,
  "offset": 0
}

Usage Examples

# List all recent emails
mailclaw list --json

# Search emails containing "partnership"
mailclaw list --q partnership --json

# Filter by recipient and sender
mailclaw list --to bd@example.com --from partner@company.com --json

# Get emails from the last 7 days
mailclaw list --after 2026-03-03 --json

# Export emails with full content
mailclaw export --limit 10 --json

# Read a specific email
mailclaw get clx123abc --json

# Delete an email
mailclaw delete clx123abc --json

Send email

mailclaw send --from "Name <sender@example.com>" --to recipient@example.com --subject "Subject" --text "Body text" [--html "<p>HTML body</p>"] [--cc cc@example.com] [--bcc bcc@example.com] [--reply-to reply@example.com] [--json]

Sends an email via the configured provider (Resend by default). At least --text or --html is required. Multiple --to, --cc, --bcc, and --reply-to addresses can be specified.

Guidelines

  1. Use the CLI, not curl — All inbox operations should go through mailclaw.
  2. Check config through the CLI — Use mailclaw config show --json and mailclaw config set...; do not manually edit the config file unless the user explicitly asks.
  3. Verify on first use — After saving a new config, call mailclaw health --json.
  4. Start with list — Use mailclaw list first to get an overview, then drill into specific emails with mailclaw get <id>.
  5. Use filters — Always apply relevant filters (from, to, q, date range) rather than fetching everything.
  6. Prefer text_content — When displaying email content to the user, prefer text_content over html_content for readability.
  7. Pagination — For large inboxes, paginate through results using limit and offset.
  8. Confirm deletes — Always ask the user for confirmation before deleting emails.
  9. Date formatting — The received_at field is a Unix timestamp in seconds. Convert it to a human-readable format when presenting to the user.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.15%
按下载量换算30

Claude

28.67%
按下载量换算25

Cursor

20%
按下载量换算17

Gemini CLI

8.18%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills