Tooluck logoTooluck
SKILL.md

sn-search-social-en

Agent skill fromOpenSenseNova/SenseNova-Skills

用于搜索英文社交平台,包括 Reddit 帖子、Twitter/X 推文和 YouTube 视频。

How to install sn-search-social-en

install sn-search-social-en
# install the SenseNova-Skills pack with the skills CLI
npx skills add OpenSenseNova/SenseNova-Skills

# or add only this skill to Claude Code: copy the folder

skills/sn-search-social-en/

# into

~/.claude/skills/sn-search-social-en/ (all projects)

.claude/skills/sn-search-social-en/ (one project)

skills/sn-search-social-en/SKILL.md

MITFull file
1# sn-search-social-en - 英文社交平台搜索
2
3## 凭证配置
4
5API key、token 与 cookie 统一建议写在仓库根目录 `.env`(参考 `.env.example`),并由 runtime 或用户在执行前加载为同名环境变量。脚本仍只从环境变量或显式 CLI 参数读取凭证;不要把真实密钥写入 skill payload、报告、日志或提交。
6
7搜索 Reddit、Twitter/X、YouTube 三个英文社交平台。
8
9## 可用脚本
10
11| 脚本 | 平台 | 用途 | API 密钥 |
12|------|------|------|---------|
13| `reddit_search.py` | Reddit | 帖子和讨论搜索 | 无需 |
14| `twitter_search.py` | Twitter/X | 推文搜索 | 需 `TIKHUB_TOKEN` |
15| `youtube_search.py` | YouTube | 视频搜索 | 需 `YOUTUBE_API_KEY` |
16
17## 依赖
18
19首次运行或脚本提示缺库时,使用本技能的依赖清单安装到当前 Python 环境:
20
21```bash
22python3 -m pip install -r requirements.txt
23```
24
25不要在脚本内部自动安装依赖。若安装失败、网络不可用或包不可用,停止使用对应脚本并改用网页搜索,说明缺少依赖。
26
27## 参数说明
28
29### reddit_search.py
30
31```bash
32python3 scripts/reddit_search.py <query> [选项]
33```
34
35| 参数 | 说明 | 默认值 |
36|------|------|--------|
37| `query` | 搜索关键词(必填) | — |
38| `--limit`, `-n` | 返回结果数量 | 10 |
39| `--subreddit`, `-r` | 限定子版块(如 `python`, `machinelearning`) | — |
40| `--sort` | 排序方式:`relevance`, `hot`, `top`, `new`, `comments` | relevance |
41| `--time`, `-t` | 时间范围:`hour`, `day`, `week`, `month`, `year`, `all` | all |
42
43```bash
44python3 scripts/reddit_search.py "machine learning projects" --limit 5
45python3 scripts/reddit_search.py "async python" --subreddit python --sort top --time month --limit 5
46```
47
48### twitter_search.py
49
50```bash
51python3 scripts/twitter_search.py <query> [选项]
52```
53
54| 参数 | 说明 | 默认值 |
55|------|------|--------|
56| `query` | 搜索关键词(必填) | — |
57| `--limit`, `-n` | 返回结果数量 | 10 |
58| `--token` | TikHub Token(也可通过 `TIKHUB_TOKEN` 环境变量设置,必填) | — |
59
60```bash
61…

Excerpt shown under the repository's MIT license.

More skills in SenseNova-Skills

Keep exploring

Similar skill repositories

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates