hey

Installation
SKILL.md

/hey - HEY Email Workflow Command

CLI for HEY: mailboxes, labels, email threads, contacts, replies, compose, calendars, todos, habits, time tracking, and journal entries.

Agent Invariants

MUST follow these rules:

  1. Choose the right structured output — use --jq '<expression>' to filter or extract fields and --json for the full response. Never pipe to an external jq; --jq is built in and implies --json.
  2. Authentication required for all data commands — run hey auth login first
  3. HTML output is available via --html for commands that return HTML content
  4. Linked mail accounts share one login — use hey accounts list --json, then --account <id|all> when a task must target one account
  5. Local HEY configuration requires human trust — never run hey config trust-local without the user's explicit approval

Output Filtering

--jq filters the full JSON success envelope, so result data is under .data. String results print as plain text; objects and arrays print as formatted JSON. Use --quiet --jq when the expression should run against result data directly. Errors retain their complete structured envelope. Commands with dedicated raw output (auth token, completion, skill, tui, and --version) reject --jq.

Installs
6
Repository
basecamp/skills
GitHub Stars
64
First Seen
1 day ago
hey — basecamp/skills