Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

res-x分辨率 x

Agent Skill

res-x 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

824

周安装

34

GitHub Stars

公开资料未说明

下载量

269
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:res-x(分辨率 x)
来源仓库:https://github.com/molechowski/claude-skills
仓库路径:skills/res-x
安装命令:
npx skills add https://github.com/molechowski/claude-skills --skill res-x
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/molechowski/claude-skills --skill res-x

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限与维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写操作。
  • res-x 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

X/Twitter Fetch & Search

Fetch tweet content by URL and search X posts using xAI Responses API with Grok's x_search tool. Solves the problem of X/Twitter blocking WebFetch with "JavaScript disabled" errors.

Architecture

CapabilityAPI ToolCost
Fetch tweet by URLxAI x_search~$0.005/call
Search XxAI x_search~$0.005/call

Fetching batches URLs in groups of 3 per API call to reduce cost.

Prerequisites

Required Tools

ToolPurposeInstall
uvPython package manager (handles dependencies)`curl -LsSf https://astral.sh/uv/install.sh \sh`

API Key

ServicePurposeRequiredGet Key
xAIX/Twitter access via GrokYeshttps://console.x.ai

This skill requires an xAI API key. There is no fallback mode.

Keychain Setup (One-Time)

# 1. Create a dedicated keychain (skip if already exists)
security create-keychain -p 'YourPassword' ~/Library/Keychains/claude-keys.keychain-db

# 2. Add keychain to search list
security list-keychains -s ~/Library/Keychains/claude-keys.keychain-db ~/Library/Keychains/login.keychain-db /Library/Keychains/System.keychain

# 3. Store your xAI API key
echo -n "Enter xAI API key: " && read -s key && security add-generic-password -s "xai-api" -a "$USER" -w "$key" ~/Library/Keychains/claude-keys.keychain-db && unset key && echo

Before using: security unlock-keychain ~/Library/Keychains/claude-keys.keychain-db

Script Usage

# Fetch single tweet
uv run scripts/x_fetch.py fetch "https://x.com/user/status/123456"

# Fetch multiple tweets (batched, 3 per API call)
uv run scripts/x_fetch.py fetch "url1" "url2" "url3" "url4" "url5"

# Force one-per-URL for max fidelity
uv run scripts/x_fetch.py fetch "url1" "url2" --single

# Search X
uv run scripts/x_fetch.py search "query terms"
uv run scripts/x_fetch.py search "query terms" --quick

# JSON output (both commands)
uv run scripts/x_fetch.py fetch "url" --json
uv run scripts/x_fetch.py search "query" --json

Workflow

Step 0: Detect xAI Key (Mandatory)

Run before every invocation:

security find-generic-password -s "xai-api" -w ~/Library/Keychains/claude-keys.keychain-db 2>/dev/null && echo "XAI_AVAILABLE=true" || echo "XAI_AVAILABLE=false"

If XAI_AVAILABLE=false, report that this skill requires an xAI key and show the keychain setup instructions above.

Step 1: Detect Intent

  • URLs present in user input or referenced note -> fetch
  • Query text only -> search

Step 2: Execute

For fetch:

  1. Extract all X/Twitter URLs from user input or referenced file
  2. Run the script with all URLs as arguments
  3. The script batches them (3 per API call) automatically

For search:

  1. Run the script with the search query
  2. Use --quick for fast overview, omit for deeper results

Step 3: Present Results

  • For fetch: present tweet-by-tweet with full content, engagement, thread/quote context
  • For search: present as a list with engagement metrics

URL Patterns Accepted

https://x.com/{user}/status/{id}
https://twitter.com/{user}/status/{id}
https://x.com/{user}/status/{id}?s=20
https://x.com/{user}/status/{id}?t=...&s=...
https://x.com/i/article/{id}

Tweets normalized to https://x.com/{user}/status/{id}, articles to https://x.com/i/article/{id} before processing.

Batch Processing

For processing saved X links from a file (e.g., Obsidian daily note):

  1. Read the file content
  2. Extract all X/Twitter URLs (tweets: https?://(?:x\.com|twitter\.com)/\w+/status/\d+, articles: https?://(?:x\.com|twitter\.com)/i/article/[\w\-]+)
  3. Pass all URLs to the script: uv run scripts/x_fetch.py fetch "url1" "url2"...
  4. Present results organized by URL

Cost

ActionAPI CallsCost
Fetch 1-3 tweets1~$0.005
Fetch 4-6 tweets2~$0.010
Fetch 10 tweets4~$0.020
Fetch 10 tweets (--single)10~$0.050
X search1~$0.005
X search (--quick)1~$0.005

Constraints

DO:

  • Run Step 0 before every invocation
  • Validate URLs before calling the script
  • Use --json when parsing results programmatically
  • Present full tweet content without truncation

DON'T:

  • Try WebFetch on X URLs (fails with JS disabled)
  • Skip the xAI key check
  • Use this for general web search (use res-web or res-deep)

Troubleshooting

xAI key not found:

security find-generic-password -s "xai-api" ~/Library/Keychains/claude-keys.keychain-db

If not found, run keychain setup above.

Keychain locked:

security unlock-keychain ~/Library/Keychains/claude-keys.keychain-db

Script errors: Ensure uv is installed: which uv

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.59%
按下载量换算98

Claude

29.3%
按下载量换算79

Cursor

19.01%
按下载量换算51

Gemini CLI

7.9%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills