xpull

Pull tweets, threads, articles, and replies from X/Twitter. FxTwitter API primary (free), Grok x_search fallback (paid).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "xpull" with this command: npx skills add sanjeevneo/xpull

xpull

Scripts

  • node {baseDir}/scripts/fx-fetch.mjs "<url>" — single tweet or article
  • node {baseDir}/scripts/fx-fetch.mjs "<url>" --thread — thread (OP only, walks upward)
  • node {baseDir}/scripts/grok-x-search.mjs thread "<url>" — full thread from root (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs replies "<url>" — replies (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs search "<query>" — search (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs search "<query>" --from <handle> — search by author (requires XAI_API_KEY)

Configuration

VariableRequiredDefaultDescription
XAI_API_KEYFor Grok featuresxAI API key. Get one at console.x.ai.
GROK_DAILY_CAPNo20Max Grok calls per day. Resets at midnight UTC.

Set XAI_API_KEY as an environment variable or in a .env file in the working directory.

Notes

  • fx-fetch.mjs — free, no credentials, no state. Calls api.fxtwitter.com only.
  • grok-x-search.mjs — requires XAI_API_KEY. Writes .grok-state.json next to the script to enforce the daily cap. Calls api.x.ai only.
  • Grok calls cost $5 per 1,000 x_search tool uses + token costs.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

yuqing-bitable-and-label

Incrementally sync data from XiaoAi API to Feishu Bitable and optionally auto-label records with machine-based type and sentiment annotations.

Registry SourceRecently Updated
General

张律师综合套装

张律师法律AI中台 - 中国首个开源法律AI技能库,涵盖刑事辩护、民商事诉讼、合同审查全流程

Registry SourceRecently Updated
General

刑事辩护

刑事辩护全流程AI助手 - 6大阶段21个模板,从接案到执行全覆盖

Registry SourceRecently Updated