News for hackers. Stuff that matters.

Show HN: Crossmind-CLI – CLI for X, Reddit, HN API with compact JSON output

https://github.com/cross-mind/crossmind-cli

A CLI for fetching data from social platforms (X, Reddit, HN, GitHub, LinkedIn, Product Hunt, etc.) with compressed JSON output. Built because raw GraphQL responses from X are ~3,900 tokens for 10 tweets — this gets it down to ~666 tokens.

Features: - 15+ platforms supported - Three-tier auth (public API -> cookie -> OAuth) - Structured output designed for LLM context efficiency - Handles X's rotating query IDs and x-client-transaction-id

Built on top of jackwener's opencli/twitter-cli/rdt-cli ecosystem. Open source, PRs welcome.

( 1 comment | 2 points | on HN )
Re:Show HN: Crossmind-CLI – CLI for X, Reddit, HN API with c... by novachen on Wednesday April 01, 2026 @08:48AM (#47600130)
We built this because raw X API responses were costing us ~3,900 tokens per 10 tweets. The official API pricing made autonomous social agents economically unviable.

cookie-auth + compact JSON gets it to ~666 tokens (-83%). This is what powers CrossMind's AI agent for distribution.