Gmail
sanjay3290/ai-skills
Interact with Gmail - search emails, read messages, send emails, create drafts, and manage labels.
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
$ npx skills add provos/ironcurtain --skill gmail-query-syntax -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install provos/ironcurtain gmail-query-syntax --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/provos/ironcurtain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .claude/skills/gmail-query-syntax && 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 "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .claude/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntaxType 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 provos/ironcurtain --skill gmail-query-syntax -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install provos/ironcurtain gmail-query-syntax --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/provos/ironcurtain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .agents/skills/gmail-query-syntax && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .agents/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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 provos/ironcurtain --skill gmail-query-syntax -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install provos/ironcurtain gmail-query-syntax --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/provos/ironcurtain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .cursor/skills/gmail-query-syntax && 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 "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .cursor/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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/provos/ironcurtain.git --path src/workflow/workflows/test-email-summary/skills/gmail-query-syntax--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 provos/ironcurtain --skill gmail-query-syntax -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install provos/ironcurtain gmail-query-syntax --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/provos/ironcurtain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .gemini/skills/gmail-query-syntax && 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 "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .gemini/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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 provos/ironcurtain gmail-query-syntaxInstalls 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 provos/ironcurtain --skill gmail-query-syntax -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/provos/ironcurtain.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .github/skills/gmail-query-syntax && 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 "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .github/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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 provos/ironcurtain --skill gmail-query-syntax -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install provos/ironcurtain gmail-query-syntax --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/provos/ironcurtain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax .opencode/skills/gmail-query-syntax && 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 "gmail-query-syntax" agent skill from https://github.com/provos/ironcurtain/tree/master/src/workflow/workflows/test-email-summary/skills/gmail-query-syntax into .opencode/skills/gmail-query-syntax/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmail-query-syntax", 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.
gmail-query-syntaxReference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
Gmail Query Syntax is an agent skill from provos/ironcurtain. Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose. Read this when constructing a Gmail search query string for the googleworkspace.gmailsearchmessages Code Mode call, especially when filtering by sent vs received, recency, sender, or labels.
Its SKILL.md is about 970 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 and Cloud office suites. It works with Gmail, Google Workspace and Model Context Protocol. The repository describes itself as: A secure runtime for autonomous AI agents. Policy from plain-English constitutions. (https://ironcurtain.dev). The licence is Apache-2.0.
Read from SKILL.md and the folder at commit d51a346. 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.
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.
Gmail Query Syntax loads about 971 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 349 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 provos/ironcurtain at commit d51a346, republished under its Apache-2.0 licence (© provos). 349 words, ~971 tokens.
.claude/skills/gmail-query-syntax/SKILL.md (or your agent's skills folder).These tools live on the google-workspace MCP server, sanitized to
google_workspace in Code Mode. In Docker Agent Mode the only MCP tool
exposed to Claude Code is execute_code; write TypeScript inside it and
call the Gmail tools as dotted callables, e.g.
google_workspace.gmail_search_messages({ query: "is:sent", pageSize: 3 }).
gmail_search_messages accepts a query parameter that uses Gmail's
standard search operator language — the same syntax the Gmail web UI
search box accepts. Operators combine with implicit AND; use OR
(uppercase) for disjunction and parentheses for grouping.
Note: gmail_search_messages returns message IDs, thread IDs, and URLs
only — not full message contents. To read sender, recipient, subject,
date, and body for a matched message, follow up with
google_workspace.gmail_get_message (single id) or
google_workspace.gmail_get_messages_batch (array of ids).
| Operator | Meaning | Example |
|---|---|---|
is:sent | Messages the user sent (not received) | is:sent |
is:unread | Unread messages | is:unread |
is:starred | Starred messages | is:starred |
from:<addr> | Sender address (substring or full) | from:alice@example.com |
to:<addr> | Recipient address | to:team@example.com |
subject:<text> | Subject contains text | subject:"weekly update" |
newer_than:<n>d | Messages newer than N days (also h, m, y) | newer_than:7d |
older_than:<n>d | Messages older than N (same units) | older_than:30d |
after:<date> | After a date (YYYY/MM/DD) | after:2025/01/01 |
before:<date> | Before a date | before:2025/02/01 |
has:attachment | Messages with at least one attachment | has:attachment |
label:<name> | Messages with the given Gmail label | label:invoices |
in:inbox | In the inbox (excludes archived) | in:inbox |
in:anywhere | Includes Spam and Trash (rarely needed) | in:anywhere |
is:sent newer_than:7d -> sent in the last 7 days.(from:alice OR from:bob) is:unread.-: is:sent -label:archived.subject:"quarterly review".newer_than:Nd over after: when "the last N days" is what
you actually want — after: is calendar-anchored and behaves
unexpectedly across timezone boundaries.is:sent with the
pageSize argument on the dotted call —
google_workspace.gmail_search_messages({ query: "is:sent", pageSize: N }) —
do not try to express the limit inside the query string. (Pagination
tokens come back as pageToken and are passed back in via the same
argument name on the next call if you need to walk past the first page.)© provos, 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
Just SKILL.md in src/workflow/workflows/test-email-summary/skills/gmail-query-syntax of provos/ironcurtain.
Open the folder on GitHubat commit d51a346
Gmail Query Syntax 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 |
|---|---|---|---|---|---|---|
| Gmail Query Syntax this skillprovos/ironcurtain | 613 | — | ~971 | Automated safety check: Pass | Apache-2.0 | |
| Gmailsanjay3290/ai-skills | 431 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Apple Mail Setupdavekilleen/Dex | 493 | — | ~2.5k | Automated safety check: Pass | Custom licence | |
| Bootstrap Google Toolsgoogle/adk-recipes | 10k | — | ~5k | Automated safety check: Warn | Apache-2.0 | |
| Gwskv0906/pm-kit | 138 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Google Workspaceswarmclawai/swarmclaw | 688 | — | ~680 | Automated safety check: Pass | MIT |
sanjay3290/ai-skills
Interact with Gmail - search emails, read messages, send emails, create drafts, and manage labels.
davekilleen/Dex
Set up and verify Apple Mail search on macOS, including the search index that silently returns nothing when it was never built.
google/adk-recipes
Install/auth CLIs the sandbox lacks - gws (Drive, Gmail, Sheets, Calendar), gcloud, agents-cli, mcp-cli (MCP servers).
kv0906/pm-kit
This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…
swarmclawai/swarmclaw
Use Google Workspace CLI (gws) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.
hoodini/ai-agents-skills
Interact with all Google Workspace APIs via the gws CLI. An agent skill from hoodini/ai-agents-skills.
provos/ironcurtain
Reference vocabulary for designing instrumented harnesses that drive vulnerability discovery — design classes (trigger-driven vs coverage-driven), tiered scope (T1 isolated function / T2…
provos/ironcurtain
Markdown formatting conventions for email summary documents — heading depth, list style, line length, emoji policy, and a mandatory provenance footer.
provos/ironcurtain
Canonical shape of the .workflow/emails/emails.json file passed between the fetch and summarize states — required fields (sender, recipient, subject, date, body), types, and field semantics.
provos/ironcurtain
Tone and length conventions for email summaries — voice, verb tense, what to include vs omit, and target sentence count.
provos/ironcurtain
Reference vocabulary for memory-safety vulnerabilities in native C/C++ code — bug-class taxonomy, common arithmetic patterns that lead to corruption, dispatch-family discipline, type-confusion…
provos/ironcurtain
Reference vocabulary for interpreting vulnerability findings — detector-vs-impact distinction, severity anchoring on demonstrated evidence, the eleven-item interpretation rubric, delegation…
Categories
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose. Gmail Query Syntax is an agent skill from provos/ironcurtain. Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
Gmail Query Syntax fits situations like: tasks that involve Email management; tasks that involve Cloud office suites.
Run `npx skills add provos/ironcurtain --skill gmail-query-syntax -a claude-code`. Or copy the skill folder (src/workflow/workflows/test-email-summary/skills/gmail-query-syntax in provos/ironcurtain) into .claude/skills/gmail-query-syntax in your project. Claude Code loads it when a task matches its description.
Run `npx skills add provos/ironcurtain --skill gmail-query-syntax -a codex`. Or copy the skill folder (src/workflow/workflows/test-email-summary/skills/gmail-query-syntax in provos/ironcurtain) into .agents/skills/gmail-query-syntax 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 provos/ironcurtain --skill gmail-query-syntax -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gmail-query-syntax, .gemini/skills/gmail-query-syntax, .github/skills/gmail-query-syntax and .opencode/skills/gmail-query-syntax in your project.
SKILL.md names no scripts, command-line tools or credentials: Gmail Query Syntax is instructions for the agent only. Our summary lists: Docker.
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.
Gmail Query Syntax is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 971 tokens (SKILL.md is roughly 3.9k 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 Gmail Query Syntax: Gmail (sanjay3290/ai-skills, 431 stars), Apple Mail Setup (davekilleen/Dex, 493 stars), Bootstrap Google Tools (google/adk-recipes, 10k stars) and Gws (kv0906/pm-kit, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
provos (a GitHub user) maintains it in provos/ironcurtain, which has 613 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: provos/ironcurtain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.