Pp techtwitter

From mvanhorn/printing-press-library · View interactive version

Pp techtwitter is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Every Tech Twitter read endpoint, plus an offline-searchable local mirror and cited evidence bundles no other tool has. Trigger phrases: `what changed in tech twitter`, `what's trending in tech`, `give me a tech digest`, `what narrative is emerging in AI`, `search tech twitter for`, `use techtwitter

How to use this skill

Skill file

<!-- GENERATED FILE — DO NOT EDIT.

This file is a verbatim mirror of library/social-and-messaging/techtwitter/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/". -->

Tech Twitter — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the techtwitter-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 techtwitter --cli-only

```

  1. Verify: techtwitter-pp-cli --version
  2. 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). 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/social-and-messaging/techtwitter/cmd/techtwitter-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.

Tech Twitter curates, dedupes, summarizes, and quality-scores the high-signal slice of tech X. This CLI turns that into a local SQLite mirror you can full-text search offline, and adds commands that only a compounding store can answer: what changed since your last sync, topic momentum over time, emerging narratives, time travel to any past day, and offline cited evidence bundles for agents.

When to Use This CLI

Use this CLI when an agent or user needs cited, structured evidence from Tech Twitter's curated tech-discourse corpus, when you want offline full-text search over a deduped quality-scored stream instead of the raw X firehose, or when the question is about change over time (what's new, what's gaining momentum, what narrative is emerging) that a single stateless API call cannot answer.

Anti-triggers

Do not use this CLI for:

Unique Capabilities

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

Local state that compounds

_Reach for this to answer "what did I miss" without re-fetching or re-scanning the full corpus._

```bash

techtwitter-pp-cli since 24h --agent

```

_Use this when the question is about change over time, which no single API call can answer._

```bash

techtwitter-pp-cli momentum --window 7d --json

```

_Pick this over a one-shot narrative pull when you want what is newly emerging, not just what is currently large._

```bash

techtwitter-pp-cli narrative --json

```

_Use this for a leaderboard that compounds as you sync, not the API's one-shot day winner._

```bash

techtwitter-pp-cli author-rank --window 7d --limit 10 --json

```

_Use this to pull the snapshot of what tech Twitter was saying on a given day, with no live call once synced._

```bash

techtwitter-pp-cli time-travel 2026-06-07 --limit 10 --json

```

Agent-native evidence, offline

_Reach for this to hand an agent a cited, single-shot "what's happening in tech" rollup with zero extra calls._

```bash

techtwitter-pp-cli digest --window 24h --agent

```

_Use this when an agent needs cited evidence but you want it grounded in the local mirror with no upstream call._

```bash

techtwitter-pp-cli evidence read-list --agent --select evidence.title,evidence.canonicalUrl

```

Command Reference

agent — Machine-agent evidence bundles

articles — Long-form articles backed by tweet provenance

command — Command-center signals (hot takes, main character, heatmap, stats, by-date)

newsletters — In-app newsletters (Threads)

profiles — Curated author profiles

tweets — Search and browse the curated tweet stream

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

techtwitter-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Cited what-changed evidence for an agent

techtwitter-pp-cli agent --kind what-changed --agent --select evidence.title,evidence.canonicalUrl,evidence.qualityScore

Pulls a cited evidence bundle and narrows the deeply nested response to just title, citation URL, and quality score so an agent isn't flooded with media and metric fields.

Daily tech standup, offline

techtwitter-pp-cli digest --window 24h --agent

Composes a read-list of top tweets, recent articles, and top authors for the last day from the local mirror, agent-formatted with citations.

What is newly emerging

techtwitter-pp-cli narrative --json

Diffs stored heatmap snapshots to surface keywords that just emerged or accelerated, each grounded in supporting stored tweets.

Search the curated corpus offline

techtwitter-pp-cli search "agentic coding" --json --limit 10

Full-text searches the synced local store with no network call, returning quality-scored curated tweets as JSON.

Track a topic's momentum

techtwitter-pp-cli momentum --window 7d --json

Shows which topics are rising, falling, or newly appearing across the snapshots stored over the last week of syncs.

Auth Setup

No authentication required.

Run techtwitter-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

techtwitter-pp-cli articles --agent --select id,name,status

```

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set — piped/agent consumers and explicit-format runs get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

techtwitter-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
techtwitter-pp-cli feedback --stdin < notes.txt
techtwitter-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.local/share/techtwitter-pp-cli/feedback.jsonl. They are never POSTed unless TECHTWITTER_FEEDBACK_ENDPOINT is set AND either --send is passed or TECHTWITTER_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |

|------|--------|

| stdout | Default; write to stdout only |

| file:<path> | Atomically write output to <path> (tmp + rename) |

| webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

techtwitter-pp-cli profile save briefing --json
techtwitter-pp-cli --profile briefing articles
techtwitter-pp-cli profile list --json
techtwitter-pp-cli profile show briefing
techtwitter-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 2 | Usage error (wrong arguments) |

| 3 | Resource not found |

| 5 | API error (upstream issue) |

| 7 | Rate limited (wait and retry) |

| 10 | Config error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show techtwitter-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

  1. Install the MCP server:

```bash

go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/techtwitter/cmd/techtwitter-pp-mcp@latest

```

  1. Register with Claude Code:

```bash

claude mcp add techtwitter-pp-mcp -- techtwitter-pp-mcp

```

  1. Verify: claude mcp list

Direct Use

  1. Check if installed: which techtwitter-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

techtwitter-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: techtwitter-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.