From agentio
Use when interacting with Gmail - list, read, search, send (with attachments/inline images), draft, reply (via --reply-to), archive, mark, download attachments, or export to PDF. Requires agentio CLI with a configured Gmail profile.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentio:agentio-gmailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `agentio gmail` commands to interact with Gmail. Multiple profiles can be configured - the default profile is used unless you specify `--profile <name>`.
Use agentio gmail commands to interact with Gmail. Multiple profiles can be configured - the default profile is used unless you specify --profile <name>.
agentio gmail list [--limit N] [--query QUERY] [--label LABEL]
Options:
--limit <n>: Number of messages (default: 10)--query <query>: Gmail search query--label <label>: Filter by label (repeatable)agentio gmail get <message-id> [--format text|html|raw] [--body-only]
Options:
--format: Body format - text (default), html, or raw--body-only: Output only the message bodyagentio gmail search --query <query> [--limit N]
Query syntax:
from:[email protected] - From specific senderto:me - Sent to youafter:2024/01/01 / before:2024/12/31 - Date filtersnewer_than:7d / older_than:1m - Relative dates (d/m/y)label:inbox - In specific labelis:unread / is:starred - Status filtershas:attachment - With attachmentssubject:invoice - Search subjectCombine: from:[email protected] is:unread newer_than:7d
agentio gmail send --to <email> --subject <subject> [--body <body>] [options]
Options:
--to <email>: Recipient (repeatable, required unless --reply-to)--cc <email>: CC recipient (repeatable)--bcc <email>: BCC recipient (repeatable)--subject <subject>: Email subject (required unless --reply-to)--body <body>: Email body (or pipe via stdin)--html: Treat body as HTML--reply-to <thread-id>: Thread ID to reply to (derives to/subject from thread)--attachment <path>: File to attach (repeatable)--inline <cid:path>: Inline image (repeatable). Supports PNG, JPG, GIF only (not SVG)agentio gmail send --reply-to <thread-id> --body "Thanks!"
When using --reply-to, the recipient and subject are derived from the thread. You can override them with explicit --to/--subject.
To embed images directly in HTML emails, use --inline with a content ID and file path:
agentio gmail send \
--to [email protected] \
--subject "Report" \
--html \
--body '<p>See chart:</p><img src="cid:chart1">' \
--inline chart1:./chart.png
Reference inline images in HTML using src="cid:<contentId>".
agentio gmail draft --to <email> --subject <subject> [--body <body>] [options]
Takes the same options as send. Supports --reply-to for draft replies:
agentio gmail draft --reply-to <thread-id> --body "Draft reply"
agentio gmail archive <message-id>
agentio gmail mark <message-id> --read
agentio gmail mark <message-id> --unread
agentio gmail attachment <message-id> [--name <filename>] [--output <dir>]
Options:
--name <filename>: Download specific attachment by filename (downloads all if not specified)--output <dir>: Output directory (default: current directory)agentio gmail export <message-id> [--output <path>]
Options:
--output <path>: Output file path (default: message.pdf)Requires Chrome, Chromium, or Edge browser installed.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub plosson/agentio --plugin agentio