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 agentmods add skills/tallclub/matimo/gmailnpx skills add tallclub/matimo --skill gmailgit clone --depth 1 https://github.com/tallclub/matimoWrote 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/tallclub/matimo/gmail)<a href="https://agentmods.dev/skills/tallclub/matimo/gmail"><img src="https://agentmods.dev/badge/skills/tallclub/matimo/gmail.svg" alt="Measured on agentmods" 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 | $0.00021 | $0.01134 |
| Opus 5 | $0.00010 | $0.00567 |
| Sonnet 5 | $0.00004 | $0.00227 |
| Haiku 4.5 | $0.00002 | $0.00113 |
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 3d ago.
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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gmail
Complete guide to using Matimo's Gmail tools for sending emails, inbox management, search, drafts, and attachments.
All Available Tools
| Tool | Purpose |
|---|---|
gmail-send-email |
Send a new email |
gmail-list-messages |
List/search messages with Gmail query syntax and label filters |
gmail-get-message |
Get full details of a message (headers, body, attachment metadata) |
gmail-get-attachment |
Fetch a message attachment's raw data by ID |
gmail-create-draft |
Create a draft email without sending it |
gmail-delete-message |
Permanently delete a message |
Authentication
Gmail tools use OAuth2. Required scopes:
https://www.googleapis.com/auth/gmail.readonly— for listing/reading messages and attachmentshttps://www.googleapis.com/auth/gmail.send— for sendinghttps://www.googleapis.com/auth/gmail.compose— for draftshttps://www.googleapis.com/auth/gmail.modify— for deleting messages
Environment variable: GMAIL_ACCESS_TOKEN (or GMAIL_CLIENT_ID / GMAIL_CLIENT_SECRET / GMAIL_REFRESH_TOKEN when using the OAuth2 provider flow).
Sending Emails
Use gmail-send-email with:
to(required) — recipient email or comma-separated listsubject(required) — email subjectbody(required) — email body (supports HTML viaisHtml)cc,bcc— optional recipients
Best practices:
- Always include a meaningful subject
- Keep body concise; use HTML for formatting
- Handle bounces — validate addresses before sending
Drafts
Use gmail-create-draft with the same parameters as gmail-send-email (to, subject, body, cc, bcc, isHtml) to stage an email for manual review before sending.
Inbox Management
Listing and Searching Messages
gmail-list-messages handles both listing and search — pass Gmail's advanced query syntax via query, plus labelIds, maxResults, pageToken, and includeSpamTrash.
| Operator | Example | Purpose |
|---|---|---|
from: |
from:[email protected] |
From specific sender |
to: |
to:[email protected] |
Sent to |
subject: |
subject:invoice |
In subject line |
has:attachment |
Has attachments | |
is:unread |
Unread messages | |
is:starred |
Starred messages | |
after: |
after:2024/01/01 |
Date filter |
before: |
before:2024/06/01 |
Date filter |
label: |
label:work |
By label |
filename: |
filename:pdf |
Attachment type |
- |
-from:noreply |
Exclude results |
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.
- 3d ago First seen · 116 lines · 21 tokens per session scan A 77ab9d3bc983
gmail is a skill published in the GitHub repository tallclub/matimo (11 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 1,134 once invoked, about $0.0001 per session on Opus 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-08-30.
Other skills, from other repositories
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.