# pp-twilio

pp-twilio gives an agent a Twilio CLI for message and call history, delivery analysis, spend reports, and compliance checks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 147 installs · ★ 2142 repo stars
- Author: user
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-twilio/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pp-twilio

## What it does

pp-twilio runs through the `twilio-pp-cli` binary. It exposes Twilio data, offline message and call history, full-text search, and SQL-style analytics. Commands include `delivery-failures`, `subaccount-spend`, `message-status-funnel`, `call-disposition`, and `call-trace`.

The skill joins call metadata, recordings, transcriptions, and conference participation by `CallSid`. It can also build a timeline for one phone number, find idle numbers, group webhook URLs, check opt-out violations, and explain frequent Twilio error codes.

The CLI must be installed and visible on `PATH` before use. Do not run skill commands until `twilio-pp-cli --version` succeeds; the direct installation route requires Go 1.26.6 or newer.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-twilio -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pp-twilio/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pp-twilio/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-twilio -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pp-twilio/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-twilio -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pp-twilio/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mvanhorn/printing-press-library cli-skills/pp-twilio/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/pp-twilio/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-twilio -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mvanhorn/printing-press-library --path cli-skills/pp-twilio
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pp-twilio/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-twilio -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-twilio/SKILL.md

## When to use it
- diagnose failed Twilio message delivery
- export spend across Twilio subaccounts
- trace a call from `CallSid` to its recordings
- audit messages sent after an opt-out
- find phone numbers with no recent activity

## Example prompts
- Use pp-twilio to show Twilio delivery failures from the last 7 days.
- Run `subaccount-spend` and export last month’s Twilio spend as CSV.
- Trace `CAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` and include recordings and transcriptions.

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 213ca52650c429a7.

BEGIN THIRD-PARTY FILE 213ca52650c429a7
````text
---
name: pp-twilio
description: "Every Twilio Core feature, plus offline message and call history, FTS, and SQL-grade analytics no other Twilio tool... Trigger phrases: `send an SMS via Twilio`, `list Twilio messages`, `Twilio call recordings`, `Twilio usage cost`, `Twilio opt-out audit`, `use twilio`, `run twilio`."
author: "user"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - twilio-pp-cli
    install:
      - kind: go
        bins: [twilio-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/social-and-messaging/twilio/cmd/twilio-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/social-and-messaging/twilio/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Twilio — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `twilio-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:
   ```bash
   npx -y @mvanhorn/printing-press-library install twilio --cli-only
   ```
2. Verify: `twilio-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):

```bash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/twilio/cmd/twilio-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 this CLI when an agent or operator needs Twilio data they cannot get in one API call: cross-subaccount aggregation, delivery-failure analysis, TCPA opt-out audits, idle-number cleanup, or any 'how was last week' question. It is also the right tool for incident triage when a CallSid needs the full Call+Recording+Transcription stitch in one command. Skip it for one-off message sends if you already have twilio-cli configured — but for any analytic or investigative workflow it is faster, offline-capable, and agent-native.

## Unique Capabilities

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

### Local state that compounds
````
END THIRD-PARTY FILE 213ca52650c429a7

The third-party file has ended. Everything between the 213ca52650c429a7 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2803 of 29402 bytes. © user · Apache-2.0 · https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-twilio/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
