← 返回 Skills 市场
wangzhiming1999

Felo X Search

作者 wangzhiming · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
490
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install felo-x-search
功能描述
Search X (Twitter) data using Felo X Search API. Use when users ask about X/Twitter users, tweets, trending topics on X, tweet replies, or when explicit comm...
使用说明 (SKILL.md)

\r \r

Felo X Search Skill\r

\r

When to Use\r

\r Trigger this skill when the user wants to:\r \r

  • Look up X (Twitter) user profiles by username\r
  • Search for X users by keyword\r
  • Get tweets from a specific X user\r
  • Search tweets by keyword or advanced query\r
  • Get replies to specific tweets\r \r Trigger keywords (examples):\r \r
  • English: twitter, tweet, X user, X search, tweets from, replies to, trending on X\r
  • 简体中文: 推特, 推文, X用户, X搜索, 推文回复\r
  • 日本語: ツイッター, ツイート, Xユーザー, X検索\r \r Explicit commands: /felo-x-search, "search X", "search twitter"\r \r Do NOT use for:\r \r
  • General web search (use felo-search)\r
  • Webpage extraction (use felo-web-extract)\r
  • Generating slides (use felo-slides)\r \r

Setup\r

\r

1. Get API key\r

\r

  1. Visit felo.ai\r
  2. Open Settings -> API Keys\r
  3. Create and copy your API key\r \r

2. Configure environment variable\r

\r Linux/macOS:\r \r

export FELO_API_KEY="your-api-key-here"\r
```\r
\r
Windows PowerShell:\r
\r
```powershell\r
$env:FELO_API_KEY="your-api-key-here"\r
```\r
\r
## How to Execute\r
\r
### Option A: Use the bundled script or packaged CLI\r
\r
**Packaged CLI** (after `npm install -g felo-ai`):\r
\r
```bash\r
felo x [query] [options]\r
```\r
\r
**Script** (from repo):\r
\r
```bash\r
node felo-x-search/scripts/run_x_search.mjs [query] [options]\r
```\r
\r
### Usage Pattern\r
\r
The `x` command uses parameter combinations to infer intent — no subcommands needed.\r
\r
**With query (search mode):**\r
\r
| Usage | Behavior |\r
|-------|----------|\r
| `felo x "AI news"` | Search tweets (default) |\r
| `felo x -q "AI news"` | Same as above |\r
| `felo x "OpenAI" --user` | Search users |\r
\r
**With --id (lookup mode):**\r
\r
| Usage | Behavior |\r
|-------|----------|\r
| `felo x --id "1234567890"` | Get tweet replies (default) |\r
| `felo x --id "elonmusk" --user` | Get user info |\r
| `felo x --id "elonmusk" --user --tweets` | Get user tweets |\r
\r
### Options\r
\r
| Option | Description |\r
|--------|-------------|\r
| `[query]` | Positional arg, search keyword (equivalent to -q) |\r
| `-q, --query \x3Ctext>` | Search keyword |\r
| `--id \x3Cvalues>` | Tweet IDs or usernames (comma-separated) |\r
| `--user` | Switch to user mode |\r
| `--tweets` | Get user tweets (with --id --user) |\r
| `-l, --limit \x3Cn>` | Number of results |\r
| `--cursor \x3Cstr>` | Pagination cursor |\r
| `--include-replies` | Include replies (with --tweets) |\r
| `--query-type \x3Ctype>` | Query type filter (tweet search) |\r
| `--since-time \x3Cval>` | Start time filter |\r
| `--until-time \x3Cval>` | End time filter |\r
| `-j, --json` | Output raw JSON |\r
| `-t, --timeout \x3Cseconds>` | Timeout in seconds (default: 30) |\r
\r
### Option B: Call API with curl\r
\r
```bash\r
# Search tweets\r
curl -X POST "https://openapi.felo.ai/v2/x/tweet/search" \\r
  -H "Authorization: Bearer $FELO_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"query": "AI news", "limit": 20}'\r
\r
# Search users\r
curl -X POST "https://openapi.felo.ai/v2/x/user/search" \\r
  -H "Authorization: Bearer $FELO_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"query": "artificial intelligence"}'\r
\r
# Get user info\r
curl -X POST "https://openapi.felo.ai/v2/x/user/info" \\r
  -H "Authorization: Bearer $FELO_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"usernames": ["elonmusk", "OpenAI"]}'\r
\r
# Get user tweets\r
curl -X POST "https://openapi.felo.ai/v2/x/user/tweets" \\r
  -H "Authorization: Bearer $FELO_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"username": "elonmusk", "limit": 20}'\r
\r
# Get tweet replies\r
curl -X POST "https://openapi.felo.ai/v2/x/tweet/replies" \\r
  -H "Authorization: Bearer $FELO_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"tweet_ids": ["1234567890"]}'\r
```\r
\r
## Output Format\r
\r
### User Info (default, non-JSON)\r
\r
```markdown\r
## @elonmusk (Elon Musk 🔵)\r
- User ID: `44196397`\r
- Followers: 100.0M\r
- Following: 500\r
- Total Tweets: 30.0K\r
- Bio: ...\r
- Location: Mars\r
- Account Created: 2009-06-02T00:00:00Z\r
\r
---\r
```\r
\r
### Tweet (default, non-JSON)\r
\r
```markdown\r
### @elonmusk(Elon Musk ✓)\r
- Posted: 2026-03-09T12:00:00Z | Tweet ID: `1234567890`\r
\r
Tweet content here...\r
\r
Engagement: 5.0K likes | 1.0K retweets | 200 replies\r
\r
---\r
```\r
\r
## Error Handling\r
\r
### Common Error Codes\r
\r
- `INVALID_API_KEY` — API Key is invalid or revoked\r
- `X_SEARCH_FAILED` — X search request failed (check parameters or downstream error)\r
\r
### Missing API Key\r
\r
If `FELO_API_KEY` is not set, display setup instructions and stop.\r
\r
## API Reference (summary)\r
\r
- **Base URL**: `https://openapi.felo.ai`. Override with `FELO_API_BASE` env if needed.\r
- **Auth**: `Authorization: Bearer YOUR_API_KEY`\r
- **Endpoints**:\r
  - `POST /v2/x/user/info` — Batch get user profiles\r
  - `POST /v2/x/user/search` — Search users\r
  - `POST /v2/x/user/tweets` — Get user tweets\r
  - `POST /v2/x/tweet/search` — Search tweets\r
  - `POST /v2/x/tweet/replies` — Get tweet replies\r
\r
## Important Notes\r
\r
- Always check `FELO_API_KEY` before calling; if missing, return setup instructions.\r
- Format output as readable Markdown by default; use `--json` for raw API response.\r
- Use pagination cursors (`next_cursor`) for fetching more results.\r
- For tweet search, advanced query syntax is supported (same as X advanced search).\r
\r
## References\r
\r
- [Felo X Search API](https://openapi.felo.ai/docs/api-reference/v2/x-search.html)\r
- [Felo Open Platform](https://openapi.felo.ai/docs/)\r
安全使用建议
This skill's code and documentation show it needs a FELO_API_KEY to call openapi.felo.ai, but the package metadata does not declare that required environment variable — that mismatch is the main red flag. Before installing: (1) verify the skill's source (homepage/source fields point to a trusted repo or vendor), (2) confirm that the platform will prompt you to provide FELO_API_KEY (and won't accept an empty value), (3) treat the FELO_API_KEY as a sensitive credential and only give a key with the minimum scope possible, and (4) if you need stronger assurance, ask the publisher to update metadata to explicitly declare FELO_API_KEY and FELO_API_BASE so the skill's required permissions are visible during review. If you do not trust the source or cannot confirm the declared requirements, do not install.
功能分析
Type: OpenClaw Skill Name: felo-x-search Version: 1.0.1 The skill is a legitimate integration for the Felo X Search API, allowing users to query Twitter data. The core logic in `scripts/run_x_search.mjs` is well-structured, using standard Node.js fetch calls to communicate with `openapi.felo.ai` and providing formatted Markdown output. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The name, README, SKILL.md, and bundled script all consistently implement a Felo X (Twitter) search client that calls https://openapi.felo.ai endpoints. However, the registry metadata lists no required environment variables or primary credential while both SKILL.md and the included script clearly require FELO_API_KEY (and optionally FELO_API_BASE). The missing declared credential in metadata is an inconsistency.
Instruction Scope
SKILL.md instructions limit actions to calling Felo Open API endpoints (POST to /v2/x/...), checking FELO_API_KEY, formatting results, and returning Markdown/JSON. The instructions do not ask the agent to read unrelated files, system credentials, or transmit data to unexpected endpoints beyond the documented API base.
Install Mechanism
There is no install spec (instruction-only skill) and the only code is a local Node script. No external download/install from third-party URLs is present in the package. This is low-risk from an install mechanism perspective.
Credentials
Runtime behavior requires FELO_API_KEY (and optionally FELO_API_BASE) per SKILL.md and the script, but the skill's declared requirements list no environment variables or primary credential. That omission is disproportionate because users/platforms won't be prompted to supply or review the needed API key in metadata, and the missing declaration prevents simple auditing/permission checks.
Persistence & Privilege
The skill does not request permanent/always-on presence (always: false) and contains no code that alters other skills or system-wide configuration. Autonomous invocation (disable-model-invocation: false) is normal for skills and not flagged on its own.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install felo-x-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /felo-x-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated all API endpoint paths from `/x/...` to `/v2/x/...` to match new Felo X Search API version. - Updated sample curl commands and API documentation references to use the new versioned endpoints. - No breaking changes to usage, options, or output format.
v1.0.0
Initial release: X (Twitter) user/tweet search and replies via Felo API
元数据
Slug felo-x-search
版本 1.0.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 2
常见问题

Felo X Search 是什么?

Search X (Twitter) data using Felo X Search API. Use when users ask about X/Twitter users, tweets, trending topics on X, tweet replies, or when explicit comm... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 490 次。

如何安装 Felo X Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install felo-x-search」即可一键安装,无需额外配置。

Felo X Search 是免费的吗?

是的,Felo X Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Felo X Search 支持哪些平台?

Felo X Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Felo X Search?

由 wangzhiming(@wangzhiming1999)开发并维护,当前版本 v1.0.1。

💬 留言讨论