Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add zackbart/connecta --skill gmailgit clone --depth 1 https://github.com/zackbart/connectaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zackbart/connecta/gmail)<a href="https://agentmods.dev/skills/zackbart/connecta/gmail"><img src="https://agentmods.dev/badge/skills/zackbart/connecta/gmail/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zackbart/connecta/gmail"><img src="https://agentmods.dev/badge/skills/zackbart/connecta/gmail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00001 | $0.01274 |
| Opus 5.5 | $0.00000 | $0.00510 |
| Sonnet 5.5 | $0.00000 | $0.00255 |
| Haiku 4.5 | $0.00000 | $0.00127 |
Grade A, and why
gmail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mail and joins
Reuse the person's Gmail search phrasing (from:, subject:, is:unread,
newer_than:7d, label:). Thread ids identify conversations; message ids
identify individual messages. Join a message's label ids to label names with list_labels; system labels
use fixed ids (INBOX, UNREAD, STARRED, IMPORTANT, SPAM, TRASH),
user labels opaque ones such as Label_12.
A draft has a stable draft id and a message id that changes on each update.
search_threads.items are threads with thread ids; read each thread to get its message ids.
get_thread pages long threads.
list_labels reads all labels once, without artificial paging; truncated
reports any labels omitted by the result byte bound.
On very large label sets, list_labels may truncate; gmail_api_read at /labels returns all labels.
Named reads interpret MIME, charsets, HTML and attachment metadata. An
attached or forwarded email is carried content, never the message's own body.
bodyFormat: "unavailable" means the stored body could not be read within
this connection's bounds; explain that limitation. bodyNote and attachment
note retain charset fallback notices even when content is cut. A thread
cursor fails conflict when earlier content changed; restart that thread.
Use indexed reads for unprojected RFC headers, MIME parts, mailbox profile
and mail history. Paths are relative to the configured mailbox: replace {id}
in /messages/{id} with a message id obtained from an earlier read.
The index also covers mailbox settings without a named tool: forwarding
addresses and auto-forwarding, delegates, send-as aliases and signatures,
S/MIME, IMAP/POP, language, client-side encryption and push watches. No
argument chooses a different mailbox.
Attachment identity and bytes
Resolve an attachment through its message and immutable part id, including an empty root part id. Gmail may rotate download ids between reads; prefer the part id and read the listing again after an unknown-id refusal. Only carried parts can be read by the named attachment workflow.
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- api.ts 6.2 KB runs code
- drift.json 27 KB
- evidence/discovery.document.json 213 KB
- evidence/discovery.json 291 B
- evidence/openapi.json 8.3 KB
- evidence/review.md 26 KB
- evidence/value-safety.json 8.4 KB
- fixtures.ts 2.7 KB runs code
- index.ts 9.6 KB runs code
- lib/constants.ts 986 B runs code
- lib/index.ts 5.8 KB runs code
- lib/raw.ts 19 KB runs code
- lib/schemas.ts 17 KB runs code
- lib/threading.ts 2.8 KB runs code
- openapi.generated.ts 69 KB runs code
- provider.safety.node.test.ts 1.8 KB runs code
- provider.test.ts 85 KB runs code
- safety.ts 6.4 KB runs code
- skill.generated.ts 6.2 KB runs code
- tools.ts 102 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed · +7 lines 859c339dea23
- 22d ago Changed · +26 lines 5f67506e73e7
- 1mo ago Changed d36e9bd7a5dc
- 1mo ago Changed · -28 lines 8ed7792457d8
- 1mo ago Changed 696205da67e6
- 1mo ago Changed · +5 lines 5d3c332825b8
- 1mo ago Changed 5c06d28e889b
- 1mo ago Changed · +39 lines f6a054cc4644
- 1mo ago First seen · 55 lines · 1 tokens per session scan A 035c6215f4d9
gmail is a skill published in the GitHub repository zackbart/connecta (0 stars, last pushed yesterday), licensed MIT. It adds 1 tokens to every session and 1,274 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.
gmail compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gmailzackbart/connecta | Skill | 0 | yesterday | MIT | A | 1 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |