用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill proton-mail-bridge命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | proton-mail-bridge |
| description | > Use when this capability is needed. |
Proton Mail Bridge exposes your
encrypted Proton Mail account as a local IMAP/SMTP server on
127.0.0.1. The himalaya CLI
connects to Bridge's localhost ports, giving an AI agent JSON-based
email operations — reading, replying, triaging, and organizing mail —
without ever touching Proton's servers directly.
Architecture:
Proton servers ↔ Bridge (GUI app) ↔ localhost IMAP/SMTP ↔ himalaya CLI ↔ agent
Bridge runs as a GUI application, not in CLI mode, for email
operations. The Bridge CLI (proton-bridge --cli) is an interactive
shell used only for account management and cannot run alongside the GUI.
Use this skill when an agent needs to:
Install Bridge via Homebrew:
brew install --cask protonmail-bridge
Launch Bridge, log in with your Proton Mail credentials, and complete initial sync.
Install himalaya — see references/himalaya-install.md for version-specific instructions (v1.1.0 has a known compatibility bug with Bridge).
Copy the himalaya config template and fill in your details:
cp <skill-path>/references/config-example.toml ~/.config/himalaya/config.toml
See references/config-example.toml for all settings.
Download Bridge from https://proton.me/mail/bridge#download:
# Debian/Ubuntu
sudo dpkg -i protonmail-bridge_*.deb
sudo apt-get install -f
# Fedora/RHEL
sudo rpm -i protonmail-bridge-*.rpm
Ensure a secret service is available (GNOME Keyring or pass) for
Bridge credential storage.
Launch Bridge, log in, and complete initial sync.
Install himalaya — see references/himalaya-install.md.
Copy and configure the himalaya config template:
cp <skill-path>/references/config-example.toml ~/.config/himalaya/config.toml
Bridge password is obtained from Bridge GUI → Settings → Account → IMAP/SMTP password (this is NOT your Proton account password).
Store it in the PROTON_BRIDGE_PASS environment variable:
export PROTON_BRIDGE_PASS="your-bridge-password"
Never hardcode, log, or display the password.
The himalaya config references it via $PROTON_BRIDGE_PASS.
Install check (binary exists):
proton-bridge --version
himalaya --version
Ready check (Bridge running and himalaya connected):
himalaya account list -o json
If the ready check returns your account with no errors, both Bridge and himalaya are working.
All email commands use himalaya with -o json for machine-readable
output. Parse output programmatically — never regex-match or
string-split. Key operations: list/search envelopes, read messages,
reply (draft-first), send (human-approved only), move, flag, and
mark as read.
See references/email-operations.md for the full command reference with examples.
The agent triages incoming email using a PARA-aligned decision tree defined in references/triage-rules.md. Every message is routed out of Inbox (Inbox Zero invariant):
| Folder | Purpose | Agent Action |
|---|---|---|
| Action Required | Needs user's response/decision | Flag + notify |
| Waiting On | User sent last, awaiting reply | Flag |
| Read Later | Newsletters, digests, links | Move silently |
| Reference | Receipts, confirmations, docs | Move silently |
| Archive | Everything else | Move silently |
The decision tree applies security rules first (IE-*), then routes
through 14 priority-ordered steps including VIP sender detection,
deadline extraction, and thread consolidation. After categorizing
and routing each message, the agent marks it as read
(himalaya flag add <ID> -f INBOX seen) to prevent re-processing
on subsequent cron cycles. See the reference file for full detection
heuristics, periodic sweep tasks, and the triage summary format.
The triage system supports integration-specific rules for known notification sources. When an email matches a configured integration sender, it exits the generic triage tree and is handled by the integration's own classification and action rules.
| Integration | Reference | Sender Domains |
|---|---|---|
| Notion | notion-email-triggers.md | mail.notion.so, updates.notion.so |
Integration references define per-sender classification (human vs. automated), task lookup flows, and action mapping. They reuse the skill's security policy (IE-* rules) and folder structure.
Bridge CLI is an interactive shell that cannot run alongside the GUI. Commands are piped via stdin. See references/bridge-management.md for account listing, sync status, and output parsing details.
See references/security.md for the full security policy. Key principles:
See references/commands.json for structured command definitions with parameter schemas, exit codes, and examples.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.