Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

xpoz-setupxpoz 设置

Agent Skill

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

总安装

94,124

周安装

3,771

GitHub Stars

5

下载量

30,470
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:xpoz-setup(xpoz 设置)
来源仓库:https://github.com/atyachin/xpoz-setup
安装命令:
openclaw skills install xpoz-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install xpoz-setup

简介

设置并验证 Xpoz MCP 服务器以获取社交媒体情报。所有 Xpoz 技能都需要。以最少的用户交互处理服务器配置、OAuth 登录和连接验证。

SKILL.md

name
xpoz-setup
description
Set up and authenticate the Xpoz MCP server for social media intelligence. Required by all Xpoz skills. Handles server configuration, OAuth login, and connection verification with minimal user interaction.
homepage
https://xpoz.ai
metadata
tags

Xpoz Setup

Automatic MCP server setup and authentication for Xpoz — the social intelligence platform.

This skill is a prerequisite for all Xpoz skills. It configures the Xpoz MCP server and handles OAuth login so your agent can access Twitter, Instagram, TikTok, and Reddit data.


Agent Instructions

If you're an agent reading this, follow these steps in order. The user should not need to run any commands.

Step 1: Check if already authenticated

mcporter call xpoz.checkAccessKeyStatus
  • If hasAccessKey: trueSTOP. Xpoz is ready. Return to the skill that sent you here.
  • If it fails, returns false, or the server isn't configured → continue.

Step 2: Check if mcporter is available

which mcporter

If not found, stop and inform the user. mcporter is included with OpenClaw — if it's missing, the OpenClaw installation may be incomplete. Do not install mcporter independently. Tell the user:

"mcporter is required but not found. It's included with OpenClaw — please ensure OpenClaw is properly installed."

Step 3: Add the Xpoz MCP server

mcporter config add xpoz https://mcp.xpoz.ai/mcp --auth oauth

This registers Xpoz as a remote HTTP MCP server with OAuth authentication. mcporter auto-discovers the OAuth endpoints from https://mcp.xpoz.ai/.well-known/oauth-authorization-server.

If the server already exists but auth failed, skip this step.

Step 4: Detect environment (local vs remote)

Determine whether you're running on a local machine with a browser or a remote/headless server:

# Check for display server (Linux) or macOS
echo "DISPLAY=${DISPLAY:-unset} WAYLAND=${WAYLAND_DISPLAY:-unset} OS=$(uname)"

Local machine = any of these is true:

  • $DISPLAY is set (Linux with X11)
  • $WAYLAND_DISPLAY is set (Linux with Wayland)
  • uname returns Darwin (macOS)

Remote/headless = none of the above.

Then follow the appropriate flow:


Step 4a: LOCAL — Browser flow (automatic)

mcporter config login xpoz

mcporter opens the user's default browser, the user authorizes, the callback completes automatically. Tell the user:

"I'm connecting you to Xpoz for social media intelligence. A browser window should open — just sign in with your Google account and click Authorize. That's all you need to do!"

Then skip to Step 5.


Step 4b: REMOTE — Manual code flow

On a headless server, mcporter config login xpoz will crash trying to open a browser. Instead, handle the OAuth flow manually:

4b-i. Build the authorization URL

Run this script to generate the OAuth authorization URL with PKCE:

bash "$(dirname "$0")/../xpoz-setup/scripts/oauth-remote.sh" get-url

Or if the script isn't available, build it manually:

import secrets, hashlib, base64, urllib.parse, os

os.makedirs(os.path.expanduser('~/.cache/xpoz-oauth'), exist_ok=True)

# Generate PKCE
verifier = secrets.token_urlsafe(64)
challenge = base64.urlsafe_b64encode(hashlib.sha256(verifier.encode()).digest()).rstrip(b'=').decode()
state = secrets.token_urlsafe(32)

params = {
    'response_type': 'code',
    'code_challenge': challenge,
    'code_challenge_method': 'S256',
    'redirect_uri': 'https://www.xpoz.ai/oauth/openclaw',
    'state': state,
    'scope': 'mcp:tools',
    'resource': 'https://mcp.xpoz.ai/',
}

# Step 1: Dynamic client registration
import json, urllib.request
reg_req = urllib.request.Request(
    'https://mcp.xpoz.ai/oauth/register',
    data=json.dumps({
        'client_name': 'OpenClaw Agent',
        'redirect_uris': ['https://www.xpoz.ai/oauth/openclaw'],
        'grant_types': ['authorization_code'],
        'response_types': ['code'],
        'token_endpoint_auth_method': 'none',
    }).encode(),
    headers={'Content-Type': 'application/json'},
)
reg_resp = json.loads(urllib.request.urlopen(reg_req).read())
params['client_id'] = reg_resp['client_id']

auth_url = 'https://mcp.xpoz.ai/oauth/authorize?' + urllib.parse.urlencode(params)

# Save state for later token exchange
with open(os.path.expanduser('~/.cache/xpoz-oauth/state.json'), 'w') as f:
    json.dump({'verifier': verifier, 'state': state, 'client_id': reg_resp['client_id'], 'redirect_uri': params['redirect_uri']}, f)

print(auth_url)

4b-ii. Send the URL to the user

Send the authorization URL to the user via the active chat channel with a message like:

"I need to connect to Xpoz for social media search. Please open this link and sign in with your Google account: [authorization URL] After you authorize, Xpoz will show you an authorization code. Just paste it back to me here!"

4b-iii. WAIT for the user's reply

STOP here and wait. Do not proceed until the user replies with the authorization code. The user needs time to open the link, sign in, and authorize. Only continue once they paste the code back in chat.

4b-iv. Extract the code from the user's reply

The user will paste back either:

  • Just the code: AUTH_CODE_HERE
  • Or a full URL: https://www.xpoz.ai/oauth/openclaw?code=AUTH_CODE_HERE&state=...

If they pasted a URL, extract the code parameter. If they pasted a raw string, use it directly.

4b-v. Exchange the code and configure mcporter

Run the exchange script with the code. This exchanges the code for a token and configures mcporter in one step — the token is never printed or exposed:

bash "$(dirname "$0")/../xpoz-setup/scripts/oauth-remote.sh" exchange AUTH_CODE_HERE

Expected output: OK: Xpoz configured successfully

Security notes:

  • The access token is never printed to stdout or logs
  • The OAuth state file (~/.cache/xpoz-oauth/state.json) is automatically deleted after exchange
  • Tokens are stored only in the mcporter config

Then proceed to Step 5 to verify.


Step 5: Verify authentication

mcporter call xpoz.checkAccessKeyStatus

Confirm hasAccessKey: true. If not:

  • Local: Retry mcporter config login xpoz
  • Remote: Ask the user if they completed authorization, resend the link if needed

Step 6: Return to the calling skill

Setup is complete. Go back to the skill that referenced this one and continue fulfilling the user's request. Don't make the user wait — they asked you to do something, auth was just a prerequisite.


What Is Xpoz?

Xpoz is a remote MCP server for social media intelligence:

  • Platforms: Twitter, Instagram, TikTok, Reddit
  • Scale: 1.5B+ posts indexed
  • Features: Search posts by keyword, find people by topic, profile lookup, engagement filtering, CSV export
  • Auth: OAuth 2.1 with dynamic client registration (PKCE, public clients)
  • Setup: Fully remote — no npm packages, no local installation, no API keys to copy

Free tier available — no credit card required.

Website: xpoz.ai


Technical Details

OAuth Discovery

Xpoz publishes a standard OAuth 2.1 authorization server metadata document:

GET https://mcp.xpoz.ai/.well-known/oauth-authorization-server

Key endpoints:

  • Authorization: https://mcp.xpoz.ai/oauth/authorize
  • Token: https://mcp.xpoz.ai/oauth/token
  • Dynamic registration: https://mcp.xpoz.ai/oauth/register
  • PKCE: S256 supported
  • Public clients: token_endpoint_auth_methods_supported includes none

mcporter handles all of this automatically — you don't need to call these endpoints directly.

Server Configuration

After setup, the mcporter config will contain:

{
  "xpoz": {
    "transport": "http",
    "url": "https://mcp.xpoz.ai/mcp"
  }
}

OAuth tokens are managed by mcporter separately from the server config.


Troubleshooting

ProblemSolution
mcporter not foundEnsure OpenClaw is properly installed (mcporter is included)
Browser doesn't openHeadless server — capture the URL from stdout and send to user
"Unauthorized" after loginmcporter config login xpoz --reset
Auth times outUser may not have completed the browser flow — resend the URL
Server already existsSkip Step 3, just run Step 4

Plans & Pricing

PlanPriceIncludes
Free$0/moLimited searches, all platforms
Pro$20/moUnlimited searches
Max$200/moUnlimited + priority + bulk export

Details: xpoz.ai


Built for ClawHub • Prerequisite for all Xpoz skills

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

96.36%
按下载量换算29,361

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills