Gmcli
Gmcli allows you to interact with the game master interface programmatically, streamlining automation and complex command execution for enhanced gameplay control.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gmcli npx -- -y @trustedskills/gmcli
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gmcli": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gmcli"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
Gmcli provides a command-line interface for interacting with Gmail. It allows an AI agent to programmatically perform actions like searching emails, reading threads, sending messages, and managing labels and drafts. The skill requires initial setup involving Google Cloud Console configuration and OAuth credentials.
When to use it
- Automating email searches based on specific criteria (e.g., finding all emails from a particular sender containing certain keywords).
- Retrieving complete email threads for review or analysis.
- Sending automated emails with customized subject lines and bodies.
- Listing available Gmail labels to understand the organization of your inbox.
- Managing drafts, such as listing them or potentially automating draft creation (though this isn't explicitly detailed).
Key capabilities
- Email searching using Gmail query syntax.
- Reading entire email threads by thread ID.
- Sending emails with specified recipients, subject lines, and bodies.
- Listing available labels within a Gmail account.
- Listing drafts stored in Gmail.
- OAuth authentication via JSON credentials file.
Example prompts
- "Search my inbox for emails from '[email protected]' containing the word 'urgent'."
- "Read the email thread with ID '1234567890abcdef.'"
- "Send an email to '[email protected]' with the subject 'Meeting Reminder' and body 'Don't forget our meeting tomorrow!'"
Tips & gotchas
- Initial Setup Required: Gmcli requires a Google Cloud project, enabled Gmail API, OAuth credentials (JSON file), and account setup before it can be used.
- OAuth Authentication: The skill uses OAuth for authentication; the
--manualflag is available if browser-based authentication isn't possible. - Data Storage: Credentials and tokens are stored locally in
~/.gmcli/credentials.jsonand~/.gmcli/accounts.json.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.