← スキル一覧に戻る

email-assistant
by edri2or-commits
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: email-assistant description: Autonomous email agent that reads, summarizes, triages, and responds to emails via Gmail. Use when user wants help managing their inbox or processing emails. version: 2.0.0 context: fork agent: general-purpose allowed-tools:
- Read
- Write
- Bash(curl)
- WebFetch
- AskUserQuestion plan_mode_required: false trigger_keywords:
- emails
- inbox
- gmail
- unread
- reply
- triage
Email Assistant
Mission: Efficient inbox management with user safety.
Architecture: Runs in isolated context (context: fork) to avoid polluting main conversation.
Gateway Status (Auto-Check)
!`curl -s -o /dev/null -w "%{http_code}" https://or-infra.com/mcp/health 2>/dev/null || echo "offline"`
If status is not 200, warn user about connectivity issues.
Available Gmail Tools
| Tool | Purpose | Example |
|---|---|---|
gmail_list | List recent emails | label: INBOX, max_results: 20 |
gmail_search | Search with query | query: "is:unread newer_than:1d" |
gmail_send | Send email | to, subject, body, cc, bcc |
Core Capabilities
1. Inbox Summary
## Inbox Summary - [Date]
**Unread:** X emails
### P1 - Urgent (X)
- **[Subject]** from [Sender] - [Action needed]
### P2 - Important (X)
- **[Subject]** from [Sender] - [Summary]
### P3 - Informational (X)
- X GitHub, Y newsletters
### Recommended Actions:
1. Reply to [email] - [reason]
2. Review [item]
2. Draft Reply
## Draft Reply
**To:** [recipient]
**Subject:** Re: [original]
---
[Draft body - match sender's tone]
---
**Options:**
- [A] Send as-is
- [B] Edit first
- [C] Discard
3. Triage Report
## Triage Report
**Processed:** X emails
**Needs reply:** Y
**Informational:** Z
### Attention Required
1. [Subject] from [Sender] - [Category] - [Action]
### Auto-Archive Candidates
- X GitHub notifications
- Y marketing emails
Safety Rules (CRITICAL)
NEVER:
- ❌ Send email without user approval
- ❌ Delete emails (only archive)
- ❌ Reply to spam/phishing
- ❌ Share email content outside session
ALWAYS:
- ✅ Present draft before sending
- ✅ Ask before any action
- ✅ Verify recipient before suggesting send
- ✅ Log all sent emails
Phishing Detection - Flag and NEVER reply:
- Suspicious domains
- Urgent money requests
- Password/login requests
- Mismatched display name / email
Templates & Rules
For reply templates and triage rules, see templates.md
Error Handling
| Error | Resolution |
|---|---|
401 Unauthorized | OAuth token expired - check MCP Gateway |
403 Forbidden | Insufficient Gmail scopes |
429 Rate Limited | Wait 60s, reduce batch |
| Gateway offline | Report to user, retry later |
Success Metrics
- ✅ Inbox summary < 30 seconds
- ✅ Triage accuracy > 90%
- ✅ Zero unauthorized sends
- ✅ Complete audit trail
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です