email-concierge
它能做什么
这项技能借助一个本地 AI 助手帮你处理邮件,它会整理邮件并撰写回复草稿。适合希望获得邮件帮助、并重视隐私的人。
适用场景
- ✓当你希望智能体检查未读邮件,并总结哪些需要处理的时候。
- ✓当你想要几种语气的回复草稿,并可以在发送前修改时。
- ✓当你需要先对照日历检查会议邀请,再决定如何回复时。
技能链接
https://github.com/anbeime/skill/blob/main/skills/email-concierge/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我的未读邮件,告诉我哪些需要回复,并为我起草简短的回复,等我批准。”
每周 5 个新技能,1 分钟读完。
工作原理
它读取邮箱,在你的电脑上对每封邮件进行分类和摘要,然后撰写草稿,你可以在批准前编辑。在你批准之前,不会发送任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Email Concierge — Local AI Email Assistant
A privacy-first email agent that reads, understands, and drafts replies to your emails. Text inference runs locally via OpenVINO GenAI with device priority NPU > GPU > CPU — no data leaves your machine.
Platforms: Windows · macOS · Linux (x86-64 and arm64)
Architecture
IMAP Mailbox ──→ read_mailbox ──→ classify_summarize (OpenVINO GenAI, batched)
│
iCal Files ──→ check_calendar │
▼
Microphone ──→ start_voice_memo ──→ transcribe_memo (distil-whisper, optional)
│
▼
draft_reply (OpenVINO GenAI, 3 styles, single call)
Models: OpenVINO/Qwen3-4B-int4-ov (~2 GB, int4 OpenVINO format, auto-downloaded to state/models/) for classification and drafting; distil-whisper-large-v3-int8-ov (optional) for transcription.
Agent execution
Treat this as a cross-platform skill. Resolve SKILL_DIR from the loaded SKILL.md; never assume a Windows path or a particular shell. The bundled setup_auto.py detects OS, architecture, shell, package manager, Python, Intel NPU/OpenVINO devices, and local model availability, then installs only compatible components. setup.bat and setup.sh are thin wrappers.
Resolve this SKILL.md directory as SKILL_DIR; do not assume the current workspace contains the executable. On Windows/Qoder, prefer:
$skillDir = Join-Path $env:USERPROFILE ".qoder\skills\email-concierge"
& "$skillDir\venv\Scripts\python.exe" "$skillDir\email_concierge.py" --diagnose --json
Run setup_auto.py --project-dir "$skillDir" before automated inbox work, or when diagnostics report setup_required=true; setup installs missing components (including openvino-genai) and downloads the configured LLM model. Run --diagnose --json after setup. local_ai_ready defaults to true on supported Windows, macOS, and Linux systems. local_ai_installed reports whether OpenVINO, openvino-genai, and the model are all present. llm_device shows the device inference will use (highest available of NPU/GPU/CPU unless device pins one) and llm_model_downloaded whether the model files exist locally. NPU acceleration is ready only when aipc_ready=true and openvino_devices includes NPU.
The bootstrapper supports Windows PowerShell/CMD, macOS zsh/Bash, and Linux shells. It creates a local venv, installs core dependencies and OpenVINO GenAI via pip (no system elevation required), and downloads the LLM model directly from the ModelScope domestic source (https://modelscope.cn). Use --no-openvino or --no-llm-model only for constrained/offline environments. Setup also deletes the legacy EmailConcierge-Ollama logon task registered by older versions.
When executed without a TTY (e.g. by Qoder), setup_auto.py automatically enables --yes and skips system package manager installs on non-first installs. A marker file at state/.setup_completed.json records completion.
Performance notes: the first generation on a device compiles the model graph — on NPU this can take several minutes; the compiled cache in state/ov_cache/<device> makes subsequent runs start in seconds. Classification is one batched call for all emails and drafting is one merged call for all three styles (JSON-parsed), with keyword classification and template drafts as fallbacks so the workflow never blocks on model failure.
Automation policy
For inbox requests, run --inbox by default. It automatically reads unread mail without marking it read, falls back to cached mail while offline, classifies every message, checks calendar conflicts for meeting messages, creates local reply drafts, and persists them in state/draft_queue.json. If the local LLM is unavailable, create an editable deterministic draft and continue.
Only request user input for missing required IMAP/SMTP credentials, explicit reply instructions, draft edits, or final send confirmation. Never send automatically: require --confirm-send after the user has approved the queued draft. When offline, finish all local work and leave sending pending for a later --send.
Installation
Automated install for Qoder
A qoder.json manifest is included. Qoder can install the skill automatically with the platform-specific installer below. Existing email_concierge_config.json and state/ a
常见问题
AI 模型在我的电脑上运行吗?
是的。这项技能说明文本模型在本地运行,不过发送邮件仍然通过你的邮件服务器。
它会不经我同意就发送邮件吗?
不会。消息会先排队,只有在你批准后才会发送。
如果我离线会怎样?
草稿和批准记录保存在本地队列中,网络恢复后再发送。
详情
作者的原始描述
Local AI email assistant that automates unread-mail processing, offline-safe classification and reply drafting, local draft editing/approval queues, calendar conflict checks, voice transcription, and confirmed SMTP sending when connectivity returns. Use when the user wants to manage email, check inbox, draft or edit replies, queue messages offline, approve/send email, handle meeting invites, or mentions email assistant, IMAP, SMTP, voice memo, local AI email.
repo: anbeime/skill
热度
- GitHub 星标
- 9.0k
- 排名
- #12312
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …