首页龙虾技能列表 › xpull — 技能工具

xpull — 技能工具

v1.0.1

[自动翻译] Pull tweets, threads, articles, and replies from X/Twitter. FxTwitter API primary (free), Grok x_search fallback (paid).

0· 253·0 当前·0 累计
by @sanjeevneo (Neo)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/12
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's code, runtime instructions, and declared requirements are consistent with its stated purpose: fetching X/Twitter content via FxTwitter (no key) and using xAI/Grok (requires XAI_API_KEY) with a local daily-cap state file.
评估建议
This skill appears to do what it says: fx-fetch uses the public FxTwitter proxy (no credentials) and grok-x-search uses your xAI API key and writes a local .grok-state.json to enforce a daily cap. Before installing: (1) consider whether you trust api.fxtwitter.com and the x.ai service; (2) keep XAI_API_KEY private (do not commit a .env with the key into version control); (3) expect Grok calls to incur cost — the README mentions pricing; (4) the script will create .grok-state.json in the project ...
详细分析 ▾
用途与能力
Name/description match the included scripts. fx-fetch.mjs contacts api.fxtwitter.com and requires only node; grok-x-search.mjs contacts api.x.ai and requires XAI_API_KEY. Optional GROK_DAILY_CAP is present and used. No unrelated credentials or binaries are requested.
指令范围
SKILL.md instructs running the two included node scripts and documents which calls require the API key. The scripts only read a local .env (optional), write a .grok-state.json next to the repository to enforce a daily cap, and make HTTPS calls to api.fxtwitter.com and api.x.ai. They do not execute shell commands, read other system files, or contact unexpected endpoints.
安装机制
No install spec is provided (instruction-only); requiring node is appropriate for the provided .mjs scripts. Nothing is downloaded from arbitrary URLs or written to unusual system locations by an installer.
凭证需求
Only XAI_API_KEY (primary) is required for Grok features; GROK_DAILY_CAP is optional. The requested environment variables align with the documented Grok usage and no unrelated secrets are requested.
持久化与权限
always:false (normal). The script writes a single .grok-state.json in the repository root to track daily usage — limited, local persistence. The skill does not modify other skills or global agent settings.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.12026/3/12

Fix: remove home directory .env scanning — XAI_API_KEY now sourced from env var or cwd .env only. Fix: declare XAI_API_KEY and GROK_DAILY_CAP in skill metadata. Add repository URL.

● 无害

安装命令 点击复制

官方npx clawhub@latest install xpull
镜像加速npx clawhub@latest install xpull --registry https://cn.clawhub-mirror.com

技能文档

Scripts

  • node {baseDir}/scripts/fx-fetch.mjs "" — single tweet or article
  • node {baseDir}/scripts/fx-fetch.mjs "" --thread — thread (OP only, walks upward)
  • node {baseDir}/scripts/grok-x-search.mjs thread "" — full thread from root (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs replies "" — replies (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs search "" — search (requires XAI_API_KEY)
  • node {baseDir}/scripts/grok-x-search.mjs search "" --from — 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.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务