Command Palette

Search for a command to run...

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

pp-gmail

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

Mailbox cleanup that can prove itself — preview, confirm, undo, verify — from a binary that structurally cannot send email. Trigger phrases: `clean up my…

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

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

Gmail — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the gmail-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 gmail --cli-only
    
  2. Verify: gmail-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.5 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/productivity/gmail/cmd/gmail-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.

Every read and cleanup surface from the Gmail tool landscape, multi-account, with a local SQLite store underneath: sender intelligence, all-category digests, bulk trash/label with preview-confirm-undo, RFC 8058 one-click unsubscribes with a compliance ledger. Send, drafts, settings, and permanent deletion are absent from the binary by construction — Trash is the ceiling.

When to Use This CLI

Reach for this CLI when an agent or operator needs to understand or clean a Gmail mailbox safely: summaries across every category, sender and storage intelligence, bulk trash/label with preview and undo, and one-click unsubscribes with follow-up verification. It is the wrong tool for composing or sending anything — by design it cannot.

Do NOT use this CLI for:

  • Composing, sending, replying, forwarding, or drafting email — no send or draft surface exists in the binary.
  • Permanently deleting messages or emptying Trash — Trash is the ceiling; the gmail.modify scope cannot permanently delete.
  • Deleting labels — labels create and labels rename are the only label writes; there is no labels delete, update, or patch.
  • Managing Gmail settings, filters, forwarding, or vacation responders — settings endpoints do not exist in this binary.
  • Thread-level mutations — threads are read-only; mutations operate on messages through the cleanup engine.
  • Sending mailto: unsubscribes — unsub run executes RFC 8058 one-click HTTPS POSTs only; mailto-only senders are surfaced as a desk list, never acted on.

Unique Capabilities

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

Cleanup that compounds

  • unsub verify — See which senders kept mailing you after a one-click unsubscribe, with an escalation query per violator.

    After running unsubscribes, this is the only way to learn which ones actually stuck before escalating to block/filter decisions.

    gmail-pp-cli unsub verify --account ads --agent
    
  • rules run — Named local recipes (query plus trash or label action) replayed through the preview-confirm-undo engine as one merged plan.

    Standing hygiene (old promos to trash, receipts to their folder) becomes one command a scheduled job can run daily, always previewed before applying.

    gmail-pp-cli rules run --plan-only --agent
    
  • sort suggest — Senders whose mail you already label consistently, with a generated plan to label the rest the same way.

    Folder-sorting at scale without guessing: the plan only proposes what the operator's own labeling history already proves.

    gmail-pp-cli sort suggest --account personal --min-confidence 0.8 --agent
    

Local state that answers instantly

  • delta — Everything new since your last check: new messages per category and sender, never-seen senders, volume spikes.

    The first question of any recurring mailbox check is what changed — this answers it without re-reporting what the operator already saw.

    gmail-pp-cli delta --account personal --agent
    
  • storage report — Which senders, labels, years, and attachments own your storage, with ready-to-run cleanup queries per row.

    Turns a vague quota number into a ranked hit-list whose rows paste straight into cleanup plan.

    gmail-pp-cli storage report --account ads --top 15 --agent
    

Safety made visible

  • trash report — What you trashed, grouped by applied plan, with days remaining b
Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Bash

FAQ

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

Mailbox cleanup that can prove itself — preview, confirm, undo, verify — from a binary that structurally cannot send email. Trigger phrases: `clean up my inbox`, `summarize my email`, `who emails me the most`, `unsubscribe me from these`, `what's eating my Gmail storage`, `use gmail-pp-cli`, `run gmail`.

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

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

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

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

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

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