Bootstrap Google Tools
google/adk-recipes
Install/auth CLIs the sandbox lacks - gws (Drive, Gmail, Sheets, Calendar), gcloud, agents-cli, mcp-cli (MCP servers).
A skill your agent uses when optimizing Apple Mail MCP operations, diagnosing slow queries, adding new filtering logic, or modifying how data is fetched from Mail.app.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/performance-patterns .claude/skills/performance-patterns && rm -rf skills-srcUse ~/.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/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .claude/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/performance-patterns .agents/skills/performance-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .agents/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/performance-patterns .cursor/skills/performance-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .cursor/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git --path .claude/skills/performance-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/performance-patterns .gemini/skills/performance-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .gemini/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/performance-patterns .github/skills/performance-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .github/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install s-morgan-jeffries/apple-mail-fast-mcp performance-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/s-morgan-jeffries/apple-mail-fast-mcp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/performance-patterns .opencode/skills/performance-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "performance-patterns" agent skill from https://github.com/s-morgan-jeffries/apple-mail-fast-mcp/tree/main/.claude/skills/performance-patterns into .opencode/skills/performance-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
performance-patternsA skill your agent uses when optimizing Apple Mail MCP operations, diagnosing slow queries, adding new filtering logic, or modifying how data is fetched from Mail.app.
Performance Patterns is an agent skill from s-morgan-jeffries/apple-mail-fast-mcp. Use when optimizing Apple Mail MCP operations, diagnosing slow queries, adding new filtering logic, or modifying how data is fetched from Mail.app. Covers osascript overhead, whose clause optimization, batch operation patterns, and known operation timings.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Productivity & Automation, covering Email management, Query optimization and MCP servers. It works with Model Context Protocol, Gmail and Python. The repository describes itself as: 🤖 MCP server for Apple Mail - Manage emails with AI using Claude Desktop. Search, send, organize mail with natural language. The licence is MIT.
Read from SKILL.md and the folder at commit ed0cfbc. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are applescript and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Performance Patterns loads about 1.5k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 698 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from s-morgan-jeffries/apple-mail-fast-mcp at commit ed0cfbc, republished under its MIT licence (© s-morgan-jeffries). 698 words, ~1,499 tokens.
.claude/skills/performance-patterns/SKILL.md (or your agent's skills folder).The bottleneck is per-subprocess overhead. Each osascript call costs 100-300ms regardless of what it does. All performance work reduces the number of subprocess calls.
| Operation | Time | Notes |
|---|---|---|
Single osascript call overhead | 100-300ms | Minimum cost per subprocess |
search_messages (typical INBOX) | ~1-5s | Depends on mailbox size and filter count |
get_message (single) | <1s | Direct ID lookup |
create_draft (with send_now=True) | ~1-2s | Includes Mail.app compose + send |
update_message (bulk read/flag) | ~1-2s | Single script for N messages via _bulk_repeat_block |
update_message (move) | ~1-3s | Varies by account type (Gmail slower) |
save_attachments | ~2-5s | Depends on attachment count/size |
whose Clauses for Server-Side Filtering-- GOOD: Server-side filter (fast, Mail.app evaluates internally)
set msgs to (messages of mbox whose sender contains "user@example.com")
-- BAD: Fetch all then filter in Python (slow, transfers all data)
set msgs to every message of mbox
-- then filter in Python loopwhose clauses let Mail.app filter internally without transferring unmatched messages over IPC. This is 10-50x faster for large mailboxes.
# GOOD: One osascript call for N messages (near-constant time)
script = """
tell application "Mail"
repeat with msgId in {id1, id2, id3}
set read status of (first message whose id is msgId) to true
end repeat
end tell
"""
self._run_applescript(script)
# BAD: N osascript calls for N messages (linear time)
for msg_id in message_ids:
self._run_applescript(f'tell application "Mail" ...')Batch operations should always build a single AppleScript that handles all items.
limit for PaginationThe search_messages tool accepts a limit parameter (default: 50). AppleScript uses items 1 thru N of for server-side limiting. Always pass a reasonable limit — fetching 10,000 messages when the user wants the latest 10 wastes time.
Message ID lookup is O(accounts x mailboxes) when searching globally. Always accept optional account and mailbox parameters to narrow the search scope. If the caller knows which account, the search is dramatically faster.
whose clauses — Manual filtering in Python transfers all data firstGmail operations are inherently slower than IMAP because:
Threading cost scales with folder count (not account size). IMAP SEARCH runs
against one selected mailbox at a time — there is no cross-folder search — so
get_thread's member collection probes each candidate folder in turn. Gmail exposes
every label as an IMAP folder and copies each message into every label it carries, so
a thread's members are scattered across many folders. The mitigation is All Mail: enable
Gmail Settings → Labels → "All Mail" → Show in IMAP, and _find_all_mail_folder
(\All SPECIAL-USE, RFC 6154) collapses the probe to that single mailbox holding one
copy of everything. Without it, threading falls back to per-label probing. This is not
Gmail-specific in principle: any IMAP account with dozens of folders pays the same
per-folder cost — non-Gmail accounts are usually fast only because their mail is
concentrated in a handful of folders (INBOX/Sent). See #415 and the get_thread
performance callout in docs/reference/TOOLS.md.
Bound the mailbox set on the AppleScript side too — with the unified mailboxes.
The same "don't visit every mailbox" rule applies to AppleScript lookups, and Mail.app
gives you ready-made bounds: the application-level inbox, sent mailbox, and
drafts mailbox aggregate the corresponding folder across every account, so probing
them needs no per-account mailbox iteration and no name matching (which would break on
localized names). whose id is N works against them, and account of (mailbox of msg)
walks back to the owning account. _resolve_numeric_anchor_fast uses this to replace a
repeat with acc in accounts / repeat with mb in mailboxes of acc scan: ~1.3s vs ~3.0s
on a 33k-message Gmail account (#419). Keep the full walk as a not-found backstop.
Don't assume IMAP is the fast side. Indexed does not mean instant at scale: on that
same account SEARCH HEADER Message-ID over a 33k-message All Mail measured ~17s, so
replacing the AppleScript anchor above with an IMAP lookup would have been ~13× slower,
not faster. Measure per-phase against a real large account before moving work across the
AppleScript/IMAP boundary — and re-measure, because Gmail's server-side latency swings
by tens of seconds with throttling.
No formal benchmarking infrastructure yet (see issue #31). When added:
© s-morgan-jeffries, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/performance-patterns of s-morgan-jeffries/apple-mail-fast-mcp.
Open the folder on GitHubat commit ed0cfbc
Performance Patterns 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Performance Patterns this skills-morgan-jeffries/apple-mail-fast-mcp | 104 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Bootstrap Google Toolsgoogle/adk-recipes | 10k | — | ~5k | Automated safety check: Warn | Apache-2.0 | |
| ComposioComposioHQ/composio | 30k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Managing Google Workspacetaylorwilsdon/google_workspace_mcp | 3.3k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Browser MCP Agentantibrow/anti-detect-browser-skills | 914 | 1 repos | ~4.2k | Automated safety check: Warn | MIT | |
| Retinuejklthinking/retinue | 112 | — | ~279 | Automated safety check: Pass | MIT |
google/adk-recipes
Install/auth CLIs the sandbox lacks - gws (Drive, Gmail, Sheets, Calendar), gcloud, agents-cli, mcp-cli (MCP servers).
ComposioHQ/composio
Route and complete Composio work across Composio For You and Composio Platform.
taylorwilsdon/google_workspace_mcp
Manages Google Workspace operations across 12 services (Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Contacts, Chat, Apps Script, Custom Search).
antibrow/anti-detect-browser-skills
Give an AI agent its own real browser over MCP tool calls - launch, navigate, click, fill, screenshot, extract text, run JS - with a kernel-level real-device fingerprint and a persistent profile, so…
jklthinking/retinue
Coordinate work through a local Retinue workspace using its MCP tools.
provos/ironcurtain
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
s-morgan-jeffries/apple-mail-fast-mcp
Use BEFORE adding any new tool, parameter, or endpoint to the Apple Mail MCP server.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when writing, modifying, or debugging ANY AppleScript that interacts with Apple Mail.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when setting up, running, or debugging integration tests against real Apple Mail.
s-morgan-jeffries/apple-mail-fast-mcp
A skill your agent uses when the user wants to release a new version.
Works with
Categories
A skill your agent uses when optimizing Apple Mail MCP operations, diagnosing slow queries, adding new filtering logic, or modifying how data is fetched from Mail.app. Performance Patterns is an agent skill from s-morgan-jeffries/apple-mail-fast-mcp.app.
Performance Patterns fits situations like: optimizing Apple Mail MCP operations; diagnosing slow queries; adding new filtering logic; modifying how data is fetched from Mail.app.
Run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a claude-code`. Or copy the skill folder (.claude/skills/performance-patterns in s-morgan-jeffries/apple-mail-fast-mcp) into .claude/skills/performance-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a codex`. Or copy the skill folder (.claude/skills/performance-patterns in s-morgan-jeffries/apple-mail-fast-mcp) into .agents/skills/performance-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add s-morgan-jeffries/apple-mail-fast-mcp --skill performance-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance-patterns, .gemini/skills/performance-patterns, .github/skills/performance-patterns and .opencode/skills/performance-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Performance Patterns is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Performance Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Performance Patterns: Bootstrap Google Tools (google/adk-recipes, 10k stars), Composio (ComposioHQ/composio, 30k stars), Managing Google Workspace (taylorwilsdon/google_workspace_mcp, 3.3k stars) and Browser MCP Agent (antibrow/anti-detect-browser-skills, 914 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
s-morgan-jeffries (a GitHub user) maintains it in s-morgan-jeffries/apple-mail-fast-mcp, which has 104 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 9, 2026.
Source: s-morgan-jeffries/apple-mail-fast-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.