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 commands/nylas/cli/contactsgit clone --depth 1 https://github.com/nylas/cliWhat 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.00000 | $0.01913 |
| Opus 5 | $0.00000 | $0.00957 |
| Sonnet 5 | $0.00000 | $0.00383 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade A, and why
contacts 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 yesterday.
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 — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Contacts Management
Manage contacts and contact groups.
List Contacts
nylas contacts list [grant-id]
nylas contacts list --limit 100
nylas contacts list --id # Show contact IDs
nylas contacts list --email "[email protected]"
nylas contacts list --source address_book
Example output:
$ nylas contacts list --limit 5
Found 5 contact(s):
NAME EMAIL PHONE COMPANY
Alice Johnson [email protected] +1-555-0101 Acme Corp - Engineer
Bob Wilson [email protected] +1-555-0102
Carol Davis [email protected] +1-555-0103 Startup Inc - CEO
David Brown [email protected] Freelancer
Eve Martinez [email protected] +1-555-0105 Acme Corp - Designer
Show Contact
nylas contacts show <contact-id> [grant-id]
nylas contacts get <contact-id> # Alias
Example output:
$ nylas contacts show contact_abc123
Alice Johnson
Work
Job Title: Software Engineer
Company: Acme Corporation
Manager: John Smith
Email Addresses
[email protected] (work)
[email protected] (personal)
Phone Numbers
+1-555-0101 (mobile)
+1-555-0102 (work)
Addresses
(work)
123 Main Street
San Francisco, CA 94102
United States
Web Pages
https://linkedin.com/in/alice (linkedin)
https://github.com/alice (profile)
Personal
Nickname: Ali
Birthday: 1990-05-15
Notes
Met at the tech conference in 2023.
Details
ID: contact_abc123
Source: address_book
Create Contact
nylas contacts create [grant-id]
nylas contacts create --first-name "John" --last-name "Doe" --email "[email protected]"
nylas contacts create --first-name "Jane" --last-name "Smith" \
--email "[email protected]" --phone "+1-555-123-4567" \
--company "Acme Corp" --job-title "Engineer"
Example output:
$ nylas contacts create --first-name "John" --last-name "Doe" --email "[email protected]"
✓ Contact created successfully!
Name: John Doe
Email: [email protected]
ID: contact_new_123
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.
- yesterday First seen · 303 lines · 0 tokens per session scan A c2d56f6ab74e
contacts is a command published in the GitHub repository nylas/cli (68 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,913 tokens. 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 commands, from other repositories
create-pr
Create a pull request following the official template.
/release
Release a new version — updates CHANGELOG, pyproject.toml, creates git tag, and pushes.
numbers-to-excel
Convert a Numbers document to Excel.
briefing
Get a daily briefing of today's calendar events, reminders, and optional inbox context.
symfony-api-errors
Design API Platform 4.3 error handling — RFC 7807.
execute-plan
Execute an implementation plan methodically with TDD and continuous validation.