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

x2oX2O 搜索

Agent Skill

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

总安装

297

周安装

12

GitHub Stars

19

下载量

93
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kiki123124/x2o --skill x2o

简介

x2o 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索场景。
  • 通过关键词、任务描述或来源仓库提供上下文,由 Agent 执行信息聚合与过滤。
  • 安装前需确认权限范围、维护状态,注意是否触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 和仓库路径进一步核验具体用法和功能边界。

SKILL.md

x2o — X Bookmark Export + AI Classification

Export X (Twitter) bookmarks → AI classify → Obsidian knowledge vault. All local, no third-party servers.

What's New (v0.5.0)

  • Host AI classification: use --provider host — no API key needed, the host AI (Claude Code / OpenClaw) classifies bookmarks directly
  • Standalone reclassify: pick existing output folder, reclassify with different AI
  • t.co short URLs automatically resolved to real URLs
  • X Notes (long-form tweets) full content extraction

Usage

Host AI Classification (no API key needed)

The host AI (Claude Code, OpenClaw, etc.) can classify bookmarks directly — no external API key required:

npx tsx ~/.claude/skills/x2o/scripts/x2o.ts \
  --cookie "<X cookie string>" \
  --provider host \
  --output ~/x2o-output \
  --limit 100

This fetches bookmarks and saves bookmarks.json. The host AI then reads the bookmarks, classifies them, and generates the Obsidian vault.

External AI Provider (with API key)

npx tsx ~/.claude/skills/x2o/scripts/x2o.ts \
  --cookie "<X cookie string>" \
  --provider openai \
  --api-key "sk-..." \
  --output ~/x2o-output \
  --limit 100

# Other providers:
# --provider claude  --api-key "sk-ant-..."
# --provider deepseek --api-key "sk-..."
# --provider gemini  --api-key "..."
# --provider ollama  --model llama3.2   (local, no api-key needed)

Re-classify existing bookmarks (skip fetching):

npx tsx ~/.claude/skills/x2o/scripts/x2o.ts \
  --input ~/x2o-output \
  --provider host \
  --output ~/x2o-output

Rebuild from Markdown vault and re-classify:

npx tsx ~/.claude/skills/x2o/scripts/x2o.ts \
  --md-dir ~/x2o-output \
  --provider host \
  --output ~/x2o-output

Parameters

FlagRequiredDescription
--cookieYes*X browser cookie (must contain ct0)
--inputYes*Path to existing bookmarks JSON or output folder (alternative to cookie)
--reclassifyNoAlias of --input
--md-dirNoPath to a Markdown vault folder
--providerNoAI provider: host (no API key), openai, claude, deepseek, gemini, ollama, groq, moonshot, qwen, zhipu, siliconflow, mistral, together, fireworks, xai, openrouter, cohere, deepinfra, perplexity
--api-keyNo**API key for the chosen provider
--outputNoOutput directory (default: ~/x2o-output)
--limitNoMax bookmarks to fetch (default: 800)
--modelNoOverride default model for the provider
--base-urlNoOverride API base URL
--fetch-onlyNoOnly fetch bookmarks, skip classification
  • One of --cookie or --input is required ** Not required for host (uses host AI) or ollama (local)

Workflow for Claude

When user wants to export bookmarks:

  1. Ask for their X cookie (guide them: F12 → Network → find any request → copy Cookie header)
  2. Default to --provider host — no API key needed, you classify the bookmarks yourself
  3. If user provides an API key, use the corresponding external provider instead
  4. Run the script with appropriate parameters
  5. For host mode: after the script saves bookmarks.json, read the file, classify each bookmark into categories (AI, Design, Crypto, Business, Career, Finance, Life, Tech, Media, News, etc.), and generate Obsidian vault markdown files
  6. Report results: how many bookmarks fetched, categories found, files generated
  7. Optionally open the output in Obsidian: open "obsidian://open?path=<output-dir>"

Supported AI Providers (19+)

Host AI (no API key), OpenAI, Claude, DeepSeek, Gemini, Ollama, OpenRouter, Moonshot, Qwen, Zhipu GLM, SiliconFlow, Groq, Mistral, Together AI, Fireworks, Grok (xAI), Cohere, DeepInfra, Perplexity

Source

GitHub: https://github.com/kiki123124/x2o

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

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

平台分布

Codex

35.09%
按下载量换算33

Claude

29.2%
按下载量换算27

Cursor

21.78%
按下载量换算20

Gemini CLI

11.09%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills