← Back to list

ben-agent-email
by different-ai
CLI-first banking for agents
⭐ 175🍴 32📅 Jan 23, 2026
SKILL.md
name: ben-agent-email description: Canonical Resend inbox for ben-agent@zerofinance.ai license: MIT compatibility: opencode metadata: service: resend category: email inbox: ben-agent@zerofinance.ai
Ben-Agent Email (Resend)
Canonical email inbox for 0 Finance operations.
Purpose
Manage inbound and outbound email for ben-agent@zerofinance.ai using Resend and the existing AI email pipeline.
Canonical Inbox
ben-agent@zerofinance.ai- Domain defaults to
zerofinance.aiviaAI_EMAIL_INBOUND_DOMAIN.
Inbound Flow (Required)
- Resend catch-all or routed domain receives inbound email.
- Resend webhook posts to
POST /api/ai-email. - Webhook signature verified with
RESEND_WEBHOOK_SECRET. - AI email pipeline parses, responds, and updates session state.
Outbound Flow
- Send via Resend with
from: "Ben Agent <ben-agent@zerofinance.ai>". - Replies and confirmations are sent through
packages/web/src/lib/email-provider/resend-provider.ts.
Environment (.env)
Create a collocated .env file at:
.opencode/skill/ben-agent-email/.env
Required values:
RESEND_API_KEY=
RESEND_WEBHOOK_SECRET=
EMAIL_PROVIDER=resend
AI_EMAIL_INBOUND_DOMAIN=zerofinance.ai
Credential Missing Behavior
- If
RESEND_API_KEYorRESEND_WEBHOOK_SECRETis missing, ask the user to provide them and stop. - Do not invent credentials or proceed without explicit access.
Entities + CRUD Coverage
- Email sessions: create/read/update via AI email pipeline; delete not supported.
- Messages: create (send/reply), read (session history), update (follow-up), delete not supported.
- Attachments: create (persist), read (load), update not used, delete not supported.
Tools / Interfaces
packages/web/src/app/api/ai-email/route.ts- inbound webhook handler.packages/web/src/lib/email-provider/resend-provider.ts- Resend send/receive.packages/web/src/lib/ai-email/*- session state, prompts, attachment handling.
Completion Signals
complete: inbound message processed and response sent.continue: awaiting user clarification or confirmation.error: provider failures or invalid webhook signature.
Example Prompts
- "Check
ben-agent@zerofinance.aifor new invoices and summarize." - "Reply to the latest sender confirming we received their request."
- "Draft a follow-up asking for missing bank details."
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


