Agent skill

Caspian Connect Email

by TryCaspian in TryCaspian/caspian-sdk

Connect Caspian email for OpenCode: ensure credentials (sandbox or dashboard API key), write caspian.env, connect inbox, enable email in caspian.json.

Apache-2.0Auto-check: notesProductivity & Automation

Install Caspian Connect Email

skills CLI
$ npx skills add TryCaspian/caspian-sdk --skill caspian-connect-email -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TryCaspian/caspian-sdk caspian-connect-email --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TryCaspian/caspian-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/opencode/src/skills/caspian-connect-email .claude/skills/caspian-connect-email && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
caspian-connect-email
GitHub stars
973
Token cost
~566 tokens
SKILL.md length
228 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Connect Caspian email for OpenCode: ensure credentials (sandbox or dashboard API key), write caspian.env, connect inbox, enable email in caspian.json.

  • Works in 6 steps: Call caspian_setup_credentials with… → If not configured, ask the user which… → Call caspian_connections (optional) to… → …
  • The user wants to link email
  • SKILL.md covers When to use, How and Notes
  • Reaches api.trycaspianai.com; needs CASPIAN_API_KEY

What it does

Caspian Connect Email is an agent skill from TryCaspian/caspian-sdk. 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.

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Productivity & Automation, covering Email management. The repository describes itself as: Agent communication SDK. The open-source agent communication layer for AI agents — email, WhatsApp, Slack, Discord, Telegram, SMS. Python & TypeScript. The licence is Apache-2.0.

When your agent uses it

  • The user wants to link email
  • Set up the agent inbox
  • Runs /caspian:connect-email

Example prompts

  • “/caspian-connect-email”

Requirements

  • A credential in CASPIAN_API_KEY
  • Compatibility (from SKILL.md): opencode

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Call caspian_setup_credentials with mode=status.
  2. If not configured, ask the user which path they want (do not invent keys)
  3. Call caspian_connections (optional) to show current links.
  4. Call caspian_connect_email (optional displayName).
  5. If the tool says RESTART REQUIRED, tell the user clearly
  6. Do not invent connection ids or addresses. Report tool errors as-is.

What it can do on your machine

Read from SKILL.md and the folder at commit 718a96d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.trycaspianai.com

    Also links to:

    • dashboard.trycaspianai.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CASPIAN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Caspian Connect Email loads about 566 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 228 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~566

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:35
    nfig/opencode/caspian.env` (and project `.env`).
  • NoteMentions a .env fileSKILL.md:56
    - Secrets go in `caspian.env` / `.env` — **never** in `caspian.json` or chat logs

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TryCaspian/caspian-sdk at commit 718a96d, republished under its Apache-2.0 licence (© TryCaspian). 228 words, ~566 tokens.

Download SKILL.mdSave it as .claude/skills/caspian-connect-email/SKILL.md (or your agent's skills folder).
name
caspian-connect-email
description
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.
compatibility
opencode
license
Apache-2.0
metadata.alias
caspian:ConnectEmail
metadata.channel
caspian

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-email or /caspian-connect-email
  • First-time OpenCode + Caspian setup

How

  1. Call caspian_setup_credentials with mode=status.

  2. If not configured, ask the user which path they want (do not invent keys):

    A — Instant sandbox (recommended for trying Caspian)
    No account. Call caspian_setup_credentials with mode=sandbox.
    Writes CASPIAN_API_KEY + CASPIAN_BASE_URL=https://api.trycaspianai.com to ~/.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 call caspian_setup_credentials with mode=paste and apiKey=<their key>.

    If setup says RESTART REQUIRED, stop and tell them to quit + relaunch OpenCode, then run /caspian:connect-email again.

  3. Call caspian_connections (optional) to show current links.

  4. Call caspian_connect_email (optional displayName).

  5. If the tool says RESTART REQUIRED, tell the user clearly:

    Restart OpenCode (quit and relaunch) so the plugin reloads caspian.json and admit includes email.

  6. Do not invent connection ids or addresses. Report tool errors as-is.

Notes

  • Secrets go in caspian.env / .env — never in caspian.json or 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.

© TryCaspian, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/opencode/src/skills/caspian-connect-email of TryCaspian/caspian-sdk.

Open the folder on GitHubat commit 718a96d

Compare with similar skills

Caspian Connect Email next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Caspian Connect Email compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Caspian Connect Email this skillTryCaspian/caspian-sdk973—~566Automated safety check: NotesApache-2.0
SupercompressSupercompress/Supercompress107—~366Automated safety check: PassMIT
Opsdavepoon/buildwithclaude3.6k—~999Automated safety check: NotesMIT
Garden Inboxpaperclipai/paperclip99k—~1.1kAutomated safety check: PassMIT
Continuetelegramdesktop/tdesktop33k2 repos~9.4kAutomated safety check: PassGPL-3.0
Process Inboxtelegramdesktop/tdesktop33k1 repos~5.4kAutomated safety check: PassGPL-3.0

Similar skills

  • Supercompress

    Supercompress/Supercompress

    Always-on context compression for OpenClaw. An agent skill from Supercompress/Supercompress.

    107 GitHub stars~366 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Ops

    davepoon/buildwithclaude

    Business operations command center. An agent skill from davepoon/buildwithclaude.

    3.6k GitHub stars~999 tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • Garden Inbox

    paperclipai/paperclip

    Scan a Paperclip user's Mine inbox, classify reversible archive candidates, request checkbox confirmation, and archive only accepted selections.

    99k GitHub stars~1.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Continue

    telegramdesktop/tdesktop

    Continue autonomous Telegram Desktop development from the shared ai-tdesktop repository.

    33k GitHub starsUsed in 2 repos~9.4k tokens
    Productivity & AutomationAuto-check passed
  • Process Inbox

    telegramdesktop/tdesktop

    Process the local ignored ai-tdesktop inbox into durable, independently testable Telegram Desktop task records while task execution worktrees remain active.

    33k GitHub starsUsed in 1 repo~5.4k tokens
    Productivity & AutomationAuto-check passed
  • Process Inbox

    TDesktop-x64/tdesktop

    Process the local ignored ai-tdesktop inbox into durable, independently testable Telegram Desktop task records while task execution worktrees remain active.

    3k GitHub stars~4.3k tokensUpdated 18 days ago
    Productivity & AutomationAuto-check passed

More from TryCaspian/caspian-sdk

All 8 skills in this repo
  • Caspian Toast Test

    TryCaspian/caspian-sdk

    Dummy skill to test OpenCode TUI toast UI (and optional system notification) via caspiantesttoast.

    973 GitHub stars~267 tokensUpdated 1 mo ago
    Auto-check passed
  • Taste

    TryCaspian/caspian-sdk

    Domain-first store/port design for any codebase: product-shaped APIs, swappable backends, schema at boundaries, one vocabulary catalog (derive don’t re-author), no infrastructure names on the domain…

    973 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Caspian Connect Discord

    TryCaspian/caspian-sdk

    Connect Caspian Discord for OpenCode (install OAuth or BYO bot token), enable discord in caspian.json channels, and tell the user to restart.

    973 GitHub stars~376 tokensUpdated 1 mo ago
    Auto-check: notes
  • Caspian Connect Telegram

    TryCaspian/caspian-sdk

    Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart.

    973 GitHub stars~446 tokensUpdated 1 mo ago
    Auto-check: notes
  • Caspian Discord

    TryCaspian/caspian-sdk

    Post a Discord message via Caspian to a channel snowflake id.

    973 GitHub stars~323 tokensUpdated 1 mo ago
    Auto-check passed
  • Caspian Inbox

    TryCaspian/caspian-sdk

    Caspian Inbox (caspian:Inbox) — list agent email and other configured channel conversations/messages.

    973 GitHub stars~347 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Caspian Connect Email

What does Caspian Connect Email do?

Connect Caspian email for OpenCode: ensure credentials (sandbox or dashboard API key), write caspian.env, connect inbox, enable email in caspian.json. Caspian Connect Email is an agent skill from TryCaspian/caspian-sdk.json.

When should I use Caspian Connect Email?

Caspian Connect Email fits situations like: the user wants to link email; set up the agent inbox; runs /caspian:connect-email.

How do I install Caspian Connect Email in Claude Code?

Run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-email -a claude-code`. Or copy the skill folder (packages/opencode/src/skills/caspian-connect-email in TryCaspian/caspian-sdk) into .claude/skills/caspian-connect-email in your project. Claude Code loads it when a task matches its description.

How do I install Caspian Connect Email in Codex?

Run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-email -a codex`. Or copy the skill folder (packages/opencode/src/skills/caspian-connect-email in TryCaspian/caspian-sdk) into .agents/skills/caspian-connect-email in your project. Codex loads it when a task matches its description.

Can I use Caspian Connect Email in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-email -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/caspian-connect-email, .gemini/skills/caspian-connect-email, .github/skills/caspian-connect-email and .opencode/skills/caspian-connect-email in your project.

What does Caspian Connect Email need to run?

Going by SKILL.md and its folder, Caspian Connect Email needs credentials named CASPIAN_API_KEY. Our summary lists: A credential in CASPIAN_API_KEY. Compatibility (from SKILL.md): opencode.

Does Caspian Connect Email access the network?

SKILL.md names 2 domains. In commands or code: api.trycaspianai.com; the agent is likely to contact it when it follows the instructions. As links in the text: dashboard.trycaspianai.com. This is read from the text; nothing was executed.

Is Caspian Connect Email safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Caspian Connect Email use?

Caspian Connect Email is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Caspian Connect Email use?

About 566 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Caspian Connect Email?

Skills that share tags, products or a category with Caspian Connect Email: Supercompress (Supercompress/Supercompress, 107 stars), Ops (davepoon/buildwithclaude, 3.6k stars), Garden Inbox (paperclipai/paperclip, 99k stars) and Continue (telegramdesktop/tdesktop, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Caspian Connect Email?

TryCaspian (a GitHub organization) maintains it in TryCaspian/caspian-sdk, which has 973 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 25, 2026.

Source: TryCaspian/caspian-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.