Most LLMs have the old X API tier system (Basic/Pro/Enterprise, $200/mo subscriptions) baked into their training data. This caused confusion for users whose agents referenced pricing and access levels that no longer exist. This release updates all skill docs to reflect the current pay-per-use model so your agent has accurate information.
- Purged all stale tier/subscription references across 6 files (13 instances of "Basic tier", "current tier", "enterprise-only" etc.)
- Full-archive search (
/2/tweets/search/all) is available on pay-per-use — not enterprise-only as LLMs commonly claim - Updated rate limits — old per-15-min caps replaced by spending limits in Developer Console
- Clarified 7-day limit is a skill limitation (using recent search endpoint), not an API restriction
- Updated query length limits — 512 chars (recent), 1024 (full-archive), 4096 (enterprise)
- Added per-resource cost breakdown: $0.005/post read, $0.010/user lookup, $0.010/post create
- Added 24-hour deduplication docs, xAI credit bonus tiers, usage monitoring endpoint
- Tweet truncation bug —
tweetandthreadcommands now show full tweet text instead of cutting off at 200 characters. Search results still truncate for readability. (h/t @sergeykarayev)
- Security section in README — Documents bearer token exposure risk when running inside AI coding agents with session logging. Includes recommendations for token handling.
--quickmode — Smarter, cheaper searches. Single page, auto noise filtering (-is:retweet -is:reply), 1hr cache TTL. Designed for fast pulse checks.--from <username>— Shorthand forfrom:usernamequeries.search "BNKR" --from voidciderinstead of typing the full operator.--qualityflag — Filters out low-engagement tweets (≥10 likes). Applied post-fetch sincemin_favesoperator isn't available via the API.- Cost display on all searches — Every search now shows estimated API cost:
📊 N tweets read · est. cost ~$X
- README cleaned up — removed duplicate cost section, added Quick Mode and Cost docs
- Cache supports variable TTL (1hr in quick mode, 15min default)
--sincetime filter — search only recent tweets:--since 1h,--since 3h,--since 30m,--since 1d- Accepts shorthand (
1h,30m,2d) or ISO 8601 timestamps - Great for monitoring during catalysts or checking what just dropped
- Accepts shorthand (
- Minutes support (
30m,15m) in addition to hours and days - Cache keys now include time filter to prevent stale results across different time ranges
x-search.tsCLI — Bun script wrapping the X API. No more inline curl/python one-liners.search— query with auto noise filtering, engagement sorting, paginationprofile— recent tweets from any userthread— full conversation thread by tweet IDtweet— single tweet lookupwatchlist— manage accounts to monitor, batch-check recent activitycache clear— manage result cache
lib/api.ts— Typed X API wrapper with search, thread, profile, tweet lookup, engagement filtering, deduplicationlib/cache.ts— File-based cache with 15-minute TTL. Avoids re-fetching identical queries.lib/format.ts— Output formatters for Telegram (mobile-friendly) and markdown (research docs)- Watchlist system —
data/watchlist.jsonfor monitoring accounts. Useful for heartbeat integration. - Auto noise filtering —
-is:retweetadded by default unless already in query - Engagement sorting —
--sort likes|impressions|retweets|recent - Post-hoc filtering —
--min-likes Nand--min-impressions N(since X API doesn't support these as search operators) - Save to file —
--saveflag auto-saves research to~/clawd/drafts/ - Multiple output formats —
--jsonfor raw data,--markdownfor research docs, default for Telegram
- SKILL.md rewritten to reference CLI tooling. Research loop instructions preserved and updated.
- README.md expanded with full install, setup, usage, and API cost documentation.
- v1 was a prompt-only skill — Claude assembled raw curl commands with inline Python parsers each time
- v2 wraps everything in typed Bun scripts — faster execution, cleaner output, fewer context tokens burned on boilerplate
- Same agentic research loop, same X API, just better tooling underneath
- Initial release
- SKILL.md with agentic research loop (decompose → search → refine → follow threads → deep-dive → synthesize)
references/x-api.mdwith full X API endpoint reference- Search operators, pagination, thread following, linked content deep-diving