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

superhumansuperhuman 搜索

Agent Skill

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

总安装

196

周安装

8

GitHub Stars

3

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/edwinhu/superhuman-cli --skill superhuman

简介

利用 Chrome DevTools Protocol 远程控制 Superhuman 邮件客户端。

  • 支持批量邮件处理、日历同步与自动化工作流触发等高级操作。
  • 需在本地运行 Superhuman.app 并开启 --remote-debugging-port=9400 参数。
  • 首次使用须通过 superhuman account auth 完成 OAuth token 提取流程。
  • superhuman 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Superhuman Email & Calendar Automation

CLI and MCP server to control Superhuman email client via Chrome DevTools Protocol (CDP).

Requirements

  • Bun runtime
  • Superhuman.app running with remote debugging enabled

Setup

# Install dependencies (if needed)
bun install

# Start Superhuman with CDP enabled
/Applications/Superhuman.app/Contents/MacOS/Superhuman --remote-debugging-port=9400

Container / Remote CDP

When running inside a Docker container or connecting to a remote host, set CDP_HOST:

export CDP_HOST=host.docker.internal   # Docker container → host
superhuman account auth                # Extract tokens via remote CDP

After initial account auth, most operations use cached tokens and don't need CDP. Tokens are stored at ~/.config/superhuman-cli/tokens.json and auto-refresh via OAuth.

CLI Usage

# Check connection status
superhuman status

# Account management
superhuman account auth
superhuman account list
superhuman account switch 2
superhuman account switch user@example.com

Reading Email

# List recent inbox emails
superhuman inbox
superhuman inbox --limit 20 --json

# Search emails
superhuman search "from:john subject:meeting"
superhuman search "project update" --limit 20
superhuman search "from:anthropic" --include-done    # Search all including archived

# Read a specific thread (requires --account)
superhuman read <thread-id> --account user@gmail.com
superhuman read <thread-id> --account user@gmail.com --context 3   # Full body for last 3 only
superhuman read <thread-id> --account user@gmail.com --json

Ask AI

Use Superhuman's AI to search emails, answer questions, or ask about specific threads:

# Search emails with natural language
superhuman ai "find emails about the Stanford cover letter"
superhuman ai "what did John say about the deadline?"

# Compose with AI
superhuman ai "Write an email inviting the team to a planning meeting"

# Ask about a specific thread
superhuman ai <thread-id> "summarize this thread"
superhuman ai <thread-id> "what are the action items?"
superhuman ai <thread-id> "draft a professional reply"

The AI automatically determines whether to search, compose, or answer based on your prompt.

Contacts

# Search contacts by name
superhuman contact search "john"
superhuman contact search "john" --limit 5 --json

# Search contacts in a specific account (without switching UI)
superhuman contact search "john" --account user@gmail.com

Multi-Account Support

The --account flag allows operations on any linked account without switching the Superhuman UI:

# Search contacts in a specific account
superhuman contact search "john" --account user@gmail.com

# Works with both Gmail and Microsoft/Outlook accounts
superhuman contact search "john" --account user@company.com

How it works: The CLI extracts OAuth tokens directly from Superhuman and makes API calls to Gmail or Microsoft Graph. Tokens are cached to disk with automatic background refresh when expiring.

Token Management

# Extract and cache tokens from Superhuman (required once)
superhuman account auth

# Tokens are automatically refreshed when expiring
# If refresh fails, you'll see: "Token for user@email.com expired. Run 'superhuman account auth' to re-authenticate."

Tokens are stored in ~/.config/superhuman-cli/tokens.json and automatically refreshed using OAuth refresh tokens when they expire (within 5 minutes of expiry). No CDP connection is needed for token refresh.

Composing Email

Recipients can be specified as email addresses or contact names. Names are automatically resolved to email addresses via contact search.

# Create a draft (using email or name)
superhuman draft create --to user@example.com --subject "Hello" --body "Hi there!"
superhuman draft create --to "john" --subject "Hello" --body "Hi there!"

# List drafts (shows both provider and native Superhuman drafts)
superhuman draft list
superhuman draft list --account user@example.com

# Send an email
superhuman send --to user@example.com --subject "Quick note" --body "FYI"

# Reply to a thread
superhuman reply <thread-id> --body "Thanks!"
superhuman reply <thread-id> --body "Thanks!" --send

# Reply-all
superhuman reply-all <thread-id> --body "Thanks everyone!"

# Forward
superhuman forward <thread-id> --to colleague@example.com --body "FYI"

# Update a draft
superhuman draft update <draft-id> --body "Updated content"

# Delete drafts
superhuman draft delete <draft-id>
superhuman draft delete <draft-id1> <draft-id2>

# Send a draft by ID
superhuman send --draft <draft-id>

# Send a Superhuman draft with content
superhuman draft send <draft-id> --account=user@example.com --to=recipient@example.com --subject="Subject" --body="Body"

Draft Sources

The draft list command shows drafts from multiple sources with a "Source" column:

SourceDescriptionExample ID
nativeSuperhuman-only draftsdraft00ce4679cc58a64c
gmailSynced to GmailGmail message ID
outlookSynced to OutlookOutlook message ID

Native Superhuman drafts (IDs starting with draft00...) are fetched from Superhuman's backend API and only exist in Superhuman. Provider-synced drafts are fetched from Gmail/Outlook APIs and are visible in native email clients.

Drafts Limitation

Drafts created via draft create use native Gmail/Outlook APIs, not Superhuman's proprietary draft system. This means:

WhereVisible?
Native Gmail/Outlook webYes
Native mobile appsYes
Superhuman UINo

This is acceptable for CLI workflows where you iterate on drafts with LLMs and send via --send flag. If you need to edit in Superhuman UI, open the draft in native Gmail/Outlook first.

Managing Threads

# Archive
superhuman archive <thread-id>
superhuman archive <thread-id1> <thread-id2>

# Delete (trash)
superhuman delete <thread-id>

# Mark as read/unread
superhuman mark read <thread-id>
superhuman mark unread <thread-id>

# Star / Unstar
superhuman star add <thread-id>
superhuman star remove <thread-id>
superhuman star list

# Snooze / Unsnooze
superhuman snooze set <thread-id> --until tomorrow
superhuman snooze set <thread-id> --until next-week
superhuman snooze set <thread-id> --until "2024-02-15T14:00:00Z"
superhuman snooze cancel <thread-id>
superhuman snooze list

Snippets

Reusable email templates stored in Superhuman. Snippets support template variables like {first_name}.

# List all snippets
superhuman snippet list
superhuman snippet list --json

# Use a snippet to create a draft (fuzzy name matching)
superhuman snippet use "zoom link" --to user@example.com

# Substitute template variables
superhuman snippet use "share recordings" --to user@example.com --vars "date=Feb 5,student_name=Jane"

# Send immediately using a snippet
superhuman snippet use "share recordings" --to user@example.com --vars "date=Feb 5" --send

Labels

# List all labels
superhuman label list

# Get labels on a thread
superhuman label get <thread-id>

# Add/remove labels
superhuman label add <thread-id> --label Label_123
superhuman label remove <thread-id> --label Label_123

Attachments

# List attachments in a thread
superhuman attachment list <thread-id>

# Download all attachments from a thread
superhuman attachment download <thread-id>
superhuman attachment download <thread-id> --output ./downloads

# Download specific attachment
superhuman attachment download --attachment <attachment-id> --message <message-id> --output ./file.pdf

Calendar

Superhuman has built-in calendar support, but prefer morgen CLI for calendar operations — it supports proper calendar filtering. See the morgen skill.

Options

OptionDescription
--account <email>Account to operate on (default: current account)
`--to <email\name>`Recipient email or name (names auto-resolved via contacts)
`--cc <email\name>`CC recipient (can be used multiple times)
`--bcc <email\name>`BCC recipient (can be used multiple times)
--subject <text>Email subject
--body <text>Email body (plain text, converted to HTML)
--html <text>Email body as raw HTML
--sendSend immediately instead of saving draft (for reply/reply-all/forward/snippet)
--vars <pairs>Template variable substitution: "key1=val1,key2=val2" (for snippet use)
--draft <id>Draft ID to send (for send command)
--label <id>Label ID (for label add/remove)
--until <time>Snooze until time: preset or ISO datetime
--output <path>Output path for downloads
--attachment <id>Specific attachment ID
--message <id>Message ID (required with --attachment)
--limit <number>Number of results (default: 10)
--include-doneSearch all emails including archived (for search)
--context <number>Number of messages to show full body (default: all, for read)
--jsonOutput as JSON
--port <number>CDP port (default: 9400)

Common Workflows

Triage Inbox

superhuman inbox --limit 20
superhuman read <thread-id> --account user@gmail.com
superhuman archive <thread-id1> <thread-id2>
superhuman snooze set <thread-id> --until tomorrow
superhuman star add <thread-id>

Reply to Email

For drafting replies (recommended — lets the user review before sending):

superhuman read <thread-id> --account user@gmail.com
superhuman reply <thread-id> --body "Thanks for the update."

For sending replies immediately:

superhuman reply <thread-id> --body "Thanks for the update." --send

If superhuman reply fails (e.g. MS Graph 400 error on Outlook accounts), use the AI approach:

superhuman ai <thread-id> "draft a professional reply saying thanks for the update"

Search and Process

superhuman search "from:boss@company.com" --limit 10
superhuman search "is:unread has:attachment"
superhuman search "from:anthropic" --include-done    # Include archived

Multi-Account

superhuman account list
superhuman account switch work@company.com
superhuman contact search "john" --account personal@gmail.com

Snippets

superhuman snippet list
superhuman snippet use "meeting invite" --to colleague@example.com --vars "date=Feb 10" --send

Snooze Presets

PresetWhen
tomorrow9am next day
next-week9am next Monday
weekend9am Saturday
evening6pm today
ISO datetimeExact time (e.g., 2024-02-15T14:00:00Z)

Output Formats

Most commands support --json for structured output:

superhuman inbox --json | jq '.[] | {id, subject, from}'

Troubleshooting

Token Expired

superhuman account auth    # Re-extract tokens from Superhuman

Tokens auto-refresh. If refresh fails: Token for user@email.com expired. Run 'superhuman account auth' to re-authenticate.

Connection Failed

  1. Check if Superhuman is installed at /Applications/Superhuman.app
  2. Launch with debugging: /Applications/Superhuman.app/Contents/MacOS/Superhuman --remote-debugging-port=9400
  3. Verify: superhuman status

From a container: Ensure CDP_HOST=host.docker.internal is set and the container was started with --add-host=host.docker.internal:host-gateway. The CLI skips local app launch when CDP_HOST is non-localhost.

Thread Not Found

Thread IDs come from inbox/search. Use --json to get exact IDs:

superhuman inbox --json | jq '.[0].id'

How It Works

Direct API (Primary)

Most operations use direct Gmail API and Microsoft Graph API calls with cached OAuth tokens:

OperationGmail APIMS Graph API
List inboxGET /messages?q=label:INBOXGET /mailFolders/Inbox/messages
SearchGET /messages?q=...GET /messages?$search=...
LabelsPOST /threads/{id}/modifyPATCH /messages/{id}
Read statusAdd/remove UNREAD labelPATCH /messages/{id} with isRead
ArchiveRemove INBOX labelPOST /messages/{id}/move
StarAdd STARRED labelPATCH /messages/{id} with flag
AttachmentsGET /messages/{id}/attachments/{id}GET /messages/{id}/attachments/{id}
ContactsGoogle People APIMS Graph People API
SnippetsSuperhuman backend APISuperhuman backend API

OAuth tokens (including refresh tokens) are extracted from Superhuman and cached to disk. When tokens expire, they are automatically refreshed via OAuth endpoints without requiring CDP connection.

CDP (Secondary)

Chrome DevTools Protocol is only needed for:

  • account auth — One-time token extraction from window.GoogleAccount (also stores AI user prefix)
  • status — Check Superhuman connection
  • search / inbox (when no cached tokens) — Fallback via Superhuman's portal API

All other operations (read, reply, forward, draft, archive, delete, labels, star, snooze, attachments, contacts, snippets) use direct API with cached tokens.

Benefits

  • Reliability: Direct API calls don't depend on Superhuman's UI state
  • Speed: No CDP round-trips for most operations
  • Offline from CDP: After initial account auth, most operations work without CDP
  • Multi-account: Cached tokens enable operating on any linked account

Supports both Gmail and Microsoft/Outlook accounts.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.33%
按下载量换算24

Claude

31.26%
按下载量换算20

Cursor

17.67%
按下载量换算11

Gemini CLI

9.23%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills