Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-nylas

БесплатноБез исполняемых скриптовНе проверен

Every Nylas API, plus a local SQLite mirror, cross-grant search, and confirm-by-hash sending no other Nylas tool has. Trigger phrases: `search my Nylas inbox…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Nylas — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the nylas-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install nylas --cli-only
    
  2. Verify: nylas-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/productivity/nylas/cmd/nylas-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for nylas-pp-cli when you need to query Nylas data across multiple grants, run repeat 'what changed since' polls cheaply, compose SQL over messages and events, or sample the wire payload of a send before it goes out. For pure single-call API parity with the official SDK, the official nylas-cli is also a fine choice.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • sync — Pull messages, events, threads, and contacts for one or all grants into a local SQLite mirror with per-(grant, resource) cursors so re-runs are incremental.

    Reach for this when an agent needs to answer questions repeatedly without burning rate-limit on every call.

    nylas-pp-cli sync --resources messages,events --since 24h --agent
    
  • since — Query the local mirror for resources changed in the last N (e.g. 2h, 24h) across all grants in one shot.

    Cheapest path to 'what changed' polling without API round-trips.

    nylas-pp-cli since 2h --resource messages --agent --select id,subject,from,grant_id
    
  • search — FTS5 search over messages, threads, events, and contacts spanning every connected grant in a single query (use --type to filter by resource).

    Use this to find references anywhere across a tenant without N separate searches.

    nylas-pp-cli search "invoice overdue" --type messages --limit 50 --agent
    
  • export — Stream the local mirror (or a filtered slice) to NDJSON for downstream analytics tools like DuckDB or notebooks.

    Pipe Nylas data into duckdb or a notebook in one command.

    nylas-pp-cli export --resource messages --since 90d --format ndjson
    

Cross-grant analytics

  • gravity — Rank contacts by cross-grant interaction weight (sent + received + meeting-attended), unified by email address.

    Surfaces 'who actually matters to this tenant' in one call for CRM hygiene or agent prioritisation.

    nylas-pp-cli gravity --top 25 --since 90d --agent
    
  • response-time — Compute median and p90 first-response latency on threads where the grant-holder replied, sliced by grant or counterparty domain.

    An SLA dashboard in one command, impossible against the live API in under five minutes of round-trips.

    nylas-pp-cli response-time --group-by domain --since 30d --agent
    

Reliability & safety

  • webhook-replay — Re-fire any past webhook delivery from the local store into a local handler URL, optionally filtered by trigger or grant.

    Reproduce a production webhook bug in seconds without waiting for the next event to fire.

    nylas-pp-cli webhook-replay --since 24h --trigger message.created --to http://localhost:3000/hook
    
  • grants messages send — Use --dry-run to print the exact wire payload for any grants messages send call; pair with --yes (or --agent) to bypass interactive confirmation only when you've reviewed the preview.

    Every destructive action is reviewable; an agent can show the payload before sending.

    nylas-pp-cli grants messages send 550e8400-e29b-41d4-a716-446655440000 --to PII_EMAIL_EXAMPLE --body 'note' --dry-run
    nylas-pp-cli grants messages send 550e8400-e29b-41d4-a716-446655440000 --to PII_EMAIL_EXAMPLE --body 'note' --yes
    
  • grants messages send — Pass the global --idempotent flag so an already-existing create result is treated as a successful no-op, making the send safe to retry inside an agent loop.

    _Safe to call inside an agent

Полный SKILL.md на GitHub

Установить pp-nylas в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-nylas?

Every Nylas API, plus a local SQLite mirror, cross-grant search, and confirm-by-hash sending no other Nylas tool has. Trigger phrases: `search my Nylas inbox across all grants`, `what changed in Nylas in the last 2 hours`, `first-response time on my Nylas threads`, `replay a Nylas webhook locally`, `preview a Nylas send before it goes out`, `use nylas`, `run nylas-pp-cli`.

Как установить скилл pp-nylas?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-nylas запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-nylas с