nylas-cli skill
Manage email, calendar, contacts, and Notetaker workflows directly from the terminal.
- GitHub stars
- 11
- Files
- 22
- Last commit
- Oct 5, 2026
- License
- MIT
- Allowed tools
- —
What does the nylas-cli skill do?
nylas-cli manages email, calendar, contacts, and Notetaker workflows directly from the terminal.
Summary generated from the skill's SKILL.md.
About the nylas-cli skill
Managing email, calendar, contacts, and Notetaker workflows from a terminal interface is the primary function of this skill. It is designed for developers and users who need to interact with Google, Microsoft, and IMAP accounts through command-line tools. An agent should load this skill when a user requests help with terminal-based management, such as executing nylas init, managing agent accounts, or handling meeting-bot workflows.
The skill provides access to a wide range of command families including email operations like smart-compose and AI analysis, calendar event CRUD and availability checks, and contact synchronization. It also supports advanced tasks like managing webhooks, retrieving OTP codes from email, and configuring MCP for assistants like Claude Desktop, Cursor, or Windsurf. Users must have the Nylas CLI installed via Homebrew or Go to use these tools. This skill focuses on CLI command execution rather than Nylas API SDK integration.
What an agent can do with it
- 1Manage AI agent identitiesConfigure managed email identities and policies for AI agents using workspace commands.
- 2Retrieve two-factor authentication codesWatch or list one-time-password codes directly from your email via the terminal.
- 3Set up MCP for coding assistantsInstall and serve MCP for various development environments like Claude Code or VS Code.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the nylas-cli skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the nylas-cli skill in Plugin
/plugin marketplace add nylas/skills /plugin install nylas-skills@nylas-skills
Install the nylas-cli skill in Claude Code
~/.claude/skills/nylas-cli/SKILL.md
$ npx degit nylas/skills/skills/nylas-cli ~/.claude/skills/nylas-cliInstall the nylas-cli skill in Claude Code (project)
.claude/skills/nylas-cli/SKILL.md
$ npx degit nylas/skills/skills/nylas-cli .claude/skills/nylas-cliInstall the nylas-cli skill in Codex
~/.agents/skills/nylas-cli/SKILL.md
$ npx degit nylas/skills/skills/nylas-cli ~/.agents/skills/nylas-cliInstall the nylas-cli skill in Gemini CLI
~/.gemini/skills/nylas-cli/SKILL.md
$ npx degit nylas/skills/skills/nylas-cli ~/.gemini/skills/nylas-cliInstall the nylas-cli skill in Claude.ai
npx degit nylas/skills/skills/nylas-cli nylas-cli && zip -r nylas-cli.zip nylas-cli # claude.ai → Customize → Skills → + → Create skill → Upload a skill → nylas-cli.zip
SKILL.md
View on GitHubNylas CLI Reference
Email, calendar, contacts, and Notetaker from your terminal. One CLI for Google, Microsoft, IMAP, and meeting-bot workflows.
Documentation
Official CLI docs source: https://cli.nylas.com/docs/commands.
Use the bundled rule files below and AGENTS.md as the working reference for agent actions.
Rules
Read individual rule files for command references. For the full compiled reference, read AGENTS.md.
Setup & Configuration (CRITICAL)
rules/setup-install.md— Installation, init (with SSO shortcuts), global flags, config management, env vars, shell completion, self-update,nylas doctordiagnostics
Authentication (CRITICAL)
rules/auth-commands.md— Login, whoami, list, show, switch, logout, add/remove/revoke grants, token, scopes, providers, detect, migrate
Email (HIGH)
rules/email-commands.md— Read, send, search, mark, smart-compose, AI analyze, metadata, attachments, folders, threads, drafts, templates, scheduled
Calendar (HIGH)
rules/calendar-commands.md— Events CRUD, RSVP, availability, find-time, AI scheduling/analyze/conflicts/reschedule
Contacts (MEDIUM)
rules/contacts-commands.md— CRUD, search, sync, groups
Agent Accounts (HIGH)
rules/agent-commands.md— Managed email identities for AI agents:nylas agent account|policy|rule|statusandnylas workspace(groups accounts, attaches policies + condition/action rules)
Webhooks (HIGH)
rules/webhooks-commands.md— CRUD, triggers, test events, local webhook server
Dashboard (MEDIUM)
rules/dashboard-commands.md— Account (register/login/SSO/logout), apps, API keys, organizations
MCP & AI (HIGH)
rules/mcp-ai-commands.md— MCP install/status/serve for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, or all assistants; AI config (usage/budget)
Notetaker (MEDIUM)
rules/notetaker-commands.md— AI meeting bot list/create/show/media/delete workflows
OTP Codes (MEDIUM)
rules/otp-commands.md— Retrieve/watch 2FA one-time-password codes from email:nylas otp get|watch|list|messages
Audit Logging (MEDIUM)
rules/audit-commands.md— Init, enable/disable, view logs/summary, export, config
Tools & Interfaces (LOW)
rules/tools-interfaces.md— TUI, UI, Air web client, demo mode,nylas commandsmetadata, timezone utilities
Advanced Families (LOW)
rules/advanced-commands.md— Admin, scheduler, timezone, workflows, hosted templates, and GPG-related email feature docs
Files in this skill
22nylas-cli skill questions
How do I install the nylas-cli skill in Claude Code?
Run npx degit nylas/skills/skills/nylas-cli ~/.claude/skills/nylas-cli. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the nylas-cli skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
How can I install the Nylas CLI?
The CLI can be installed via Homebrew or Go, and hosted installers are available at cli.nylas.com.
Can I use the Nylas CLI to manage AI agent identities?
Yes, the CLI allows you to manage agent accounts, policies, and rules for managed email identities.
Does the Nylas CLI support Model Context Protocol (MCP)?
Yes, it provides MCP installation, status, and serving capabilities for assistants like Claude Desktop, Cursor, and VS Code.
How can I retrieve 2FA codes using the CLI?
You can retrieve, watch, or list one-time-password codes from your email using the otp commands.