caspian-connect-email
Connect Caspian email for OpenCode: ensure credentials (sandbox or dashboard API key), write caspian.env, connect inbox, enable email in caspian.json. Use when the user wants to link email, set up the agent inbox, or runs /caspian:connect-email.
- Star
- 970
- 分类
- 数据
- 许可证
- AGPL-3.0
- 最近提交
- 2026年8月25日
packages/opencode/src/skills/caspian-connect-email/SKILL.md
在 GitHub 上查看Caspian connect email
Get a Caspian API key (sandbox or existing dashboard key), save it to
~/.config/opencode/caspian.env, connect an email inbox, and enable email in
caspian.json channels.
When to use
- User asks to connect / set up Caspian email
- User runs
/caspian:connect-emailor/caspian-connect-email - First-time OpenCode + Caspian setup
How
-
Call
caspian_setup_credentialswithmode=status. -
If not configured, ask the user which path they want (do not invent keys):
A — Instant sandbox (recommended for trying Caspian)
No account. Callcaspian_setup_credentialswithmode=sandbox.
WritesCASPIAN_API_KEY+CASPIAN_BASE_URL=https://api.trycaspianai.comto~/.config/opencode/caspian.env(and project.env).B — Existing Caspian account
Tell them to sign in at https://dashboard.trycaspianai.com/login , open a project, copy the API key, then callcaspian_setup_credentialswithmode=pasteandapiKey=<their key>.If setup says RESTART REQUIRED, stop and tell them to quit + relaunch OpenCode, then run
/caspian:connect-emailagain. -
Call
caspian_connections(optional) to show current links. -
Call
caspian_connect_email(optionaldisplayName). -
If the tool says RESTART REQUIRED, tell the user clearly:
Restart OpenCode (quit and relaunch) so the plugin reloads
caspian.jsonand admit includesemail. -
Do not invent connection ids or addresses. Report tool errors as-is.
Notes
- Secrets go in
caspian.env/.env— never incaspian.jsonor chat logs when you can avoid it (the tool masks keys in its output). - CLI (
caspian init) is optional; sandbox mint and paste cover the same APIs. - After restart, inbound email should create OpenCode sessions automatically.
相似的 Skill
health
GAgarrytan/gstack143k近 7 天新增 598 个 star
deprecation-and-migration
ADaddyosmani/agent-skills122k近 7 天新增 1,667 个 star
ccs-align
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star
handoff
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star
mem-search
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star