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

tencenthotsearch-skill腾讯热搜技巧

Agent Skill

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

总安装

7,540

周安装

308

GitHub Stars

2

下载量

2,439
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install tencenthotsearch-skill

简介

腾讯云SearchPro在线搜索技能,获取全网热点新闻与文章摘要。

  • 支持限定网站范围检索,精准定位特定信源内容聚合结果。
  • 适用于舆情监测、竞品分析与热点事件追踪等研究场景。
  • 需配置SearchPro API密钥并遵守每日调用频次限制规则。
  • 搜索结果排序受权重算法影响,重要结论建议交叉验证多来源信息。

SKILL.md

name
TencentHotSearch-skill
description
Fetches trending news and articles using Tencent Cloud Online Search API (SearchPro). Supports searching across the entire web or within specific sites, with multiple output formats (JSON, CSV, TXT, MD). Invoke when user wants to get hot news, trending topics, or search for articles on specific keywords using Tencent Cloud services.
required_credentials
description
Tencent Cloud API Secret ID (starts with AKID)
required
true
warning
Sensitive credential - use temporary/least-privileged keys only
description
Tencent Cloud API Secret Key
required
true
warning
Sensitive credential - rotate regularly and never commit to version control
permissions
description
Access to Tencent Cloud API endpoint (wsa.tencentcloudapi.com)
required
true
description
Write search results to specified output directory
required
true
source
homepage
https://github.com/neuhanli/skills
repository
https://github.com/neuhanli/skills/tree/main/TencentHotSearch-skill
⚠️ BEFORE INSTALLING - Security Notice This skill requires Tencent Cloud API credentials (SecretId/SecretKey). Please read Security Considerations before providing credentials. Verify Source: Check the GitHub repository for code audit. Use Temporary Keys: Only use temporary/least-privileged API keys for testing. Run in Isolation: Execute in container/VM with non-sensitive output directory.

TencentHotSearch Skill

Overview

TencentHotSearch-skill is a trending news and article search tool based on Tencent Cloud Online Search API (SearchPro). It supports web-wide search or site-specific search to retrieve popular articles and news related to keywords.

API Information:

  • Endpoint Domain: wsa.tencentcloudapi.com
  • API Version: 2025-05-08
  • API Name: SearchPro

Features

  • Multi-keyword Search: Supports 1-5 keywords for combined search
  • Site-specific Search: Choose between web-wide search or specific sites (e.g., qq.com, news.qq.com)
  • Multiple Search Modes:

- Natural search results (Mode=0, default) - Multimodal VR results (Mode=1) - Mixed results (Mode=2)

  • Time Filtering: Filter results by start time and end time
  • Industry Filtering: Filter by industry (gov/news/acad/finance, Premium version)
  • Structured Results: Returns complete information including title, summary, dynamic summary, source platform, publish time, original link, relevance score, image list, etc.
  • Multi-format Output: Supports JSON, CSV, TXT, MD format output (default: MD)
  • Custom Output Path: Supports setting default output directory in configuration file
  • Compliance & Security: All data is obtained through Tencent's official API compliantly

Security Considerations

Before installing and using this skill, please carefully read the following security guidelines:

⚠️ Important Notice

Registry Metadata Inconsistency: The registry metadata claims 'no credentials/config required', but both SKILL.md and the code require a config.json file containing your Tencent SecretId and SecretKey. This is a documentation mismatch that users should be aware of.

Pre-Installation Checklist

  1. Verify Source and Provenance

- Review the skill source code yourself - Check the publisher's credibility - Note: Source/homepage links may be missing - verify from trusted sources

  1. Inspect the Code

- Review scripts/tencent_hotsearch.py to understand the signing and HTTPS calls - The code performs legitimate Tencent Cloud API calls - No hidden exfiltration mechanisms detected, but always review yourself

  1. Use Minimal/Temporary Credentials

- Use temporary or least-privileged API keys - Create dedicated API keys for this skill - Safely rotate/delete keys after testing - Follow the principle of least privilege

  1. Run in Isolated Environment

- Use container/VM for execution - Do not point output_dir to sensitive system paths - Use dedicated temporary directory or sandbox environment

  1. Protect Configuration Files

- Do NOT commit config.json to version control - Follow the provided .gitignore configuration (already set up) - Set file permissions: chmod 600 config.json (Linux/macOS) - Regularly rotate API keys

For Higher Confidence

If you need higher assurance before installation:

  • Ask the publisher to correct registry metadata to explicitly declare required credentials
  • Request a verified homepage or repository URL
  • Ask for signed releases or upstream repository URL for auditing
  • Review the full source code in scripts/tencent_hotsearch.py

Security Features Implemented

Path Traversal Prevention: Validates output paths to prevent directory traversal attacks ✅ Secret Masking: Masks API keys in error messages and logs ✅ HTTPS Only: All API requests use encrypted HTTPS connections ✅ Official Endpoint: Only accesses official Tencent Cloud API (wsa.tencentcloudapi.com) ✅ Git Protection: .gitignore configured to exclude config.jsonError Handling: Comprehensive error handling with secure credential management

For detailed security recommendations, see CONFIG.md

When to Use

Invoke this skill when users have the following needs:

  • Want to get trending news or trending topics in a specific field
  • Need to search for the latest articles related to specific keywords
  • Want to track hot events or plan content topics
  • Need to quickly grasp dynamics in a specific field
  • Need to search content within specific sites (e.g., Tencent.com, news channels)
  • Need to filter search results by time range or industry

Usage

Quick Start (Command Line)

1. Install Dependencies

pip install -r requirements.txt

2. Configure Tencent Cloud API

Edit the config.json file and fill in your Tencent Cloud API credentials:

{
  "secret_id": "YOUR_TENCENT_CLOUD_SECRET_ID",
  "secret_key": "YOUR_TENCENT_CLOUD_SECRET_KEY",
  "output_dir": "./output"
}

For detailed configuration instructions, refer to CONFIG.md

3. Run Search

# Web-wide search (default mode, MD format output)
python scripts/tencent_hotsearch.py "AI" "machine learning" -l 10

# Site-specific search (Tencent.com)
python scripts/tencent_hotsearch.py "AI" "machine learning" -s qq.com -l 10

# Site-specific search (News channel)
python scripts/tencent_hotsearch.py "technology" "innovation" -s news.qq.com -l 15

# Multimodal VR mode search
python scripts/tencent_hotsearch.py "AI" -m 1 -l 10

# Mixed mode search
python scripts/tencent_hotsearch.py "AI" -m 2 -l 20

# Search by time range
python scripts/tencent_hotsearch.py "AI" --from-time 1704067200 --to-time 1706745600

# Filter by industry (Premium)
python scripts/tencent_hotsearch.py "AI" --industry news -l 20

# Save results to specified file
python scripts/tencent_hotsearch.py "AI" "machine learning" -o results.md

# Save results to JSON file
python scripts/tencent_hotsearch.py "AI" "machine learning" -o results.json -f json

# Save results to CSV file
python scripts/tencent_hotsearch.py "AI" "machine learning" -o results.csv -f csv

# Save results to TXT file
python scripts/tencent_hotsearch.py "AI" "machine learning" -o results.txt -f txt

# Print results to console
python scripts/tencent_hotsearch.py "AI" "machine learning" --print

# Custom storage path (relative path)
python scripts/tencent_hotsearch.py "AI" -o output/ai_results.txt -f txt

# Custom storage path (absolute path)
python scripts/tencent_hotsearch.py "technology" -o /path/to/your/output/tech_news.md -f md

Parameters

ParameterTypeRequiredDescription
keywordsarray[string]Yes1-5 search keywords
sitestringNoSpecify search site (e.g., qq.com, news.qq.com), web-wide search if not specified
modeintegerNoSearch mode: 0-natural search (default), 1-multimodal VR, 2-mixed results
limitintegerNoNumber of results to return, default 10, options: 10/20/30/40/50
from_timeintegerNoStart time filter (Unix timestamp, seconds)
to_timeintegerNoEnd time filter (Unix timestamp, seconds)
industrystringNoIndustry filter: gov/news/acad/finance (Premium version)

Command Line Arguments

ArgumentDescriptionDefault
keywordsSearch keywords (1-5)-
-s, --siteSpecify search site (e.g., qq.com)Web-wide search
-m, --modeSearch mode (0/1/2)0
-l, --limitNumber of results (10/20/30/40/50)10
--from-timeStart time (Unix timestamp)-
--to-timeEnd time (Unix timestamp)-
--industryIndustry filter (gov/news/acad/finance)-
-c, --configConfiguration file pathconfig.json
-o, --outputOutput file path-
-f, --formatOutput format (json/csv/txt/md)md
--printPrint results to consoleFalse

Example

{
  "keywords": ["artificial intelligence", "machine learning"],
  "site": "qq.com",
  "mode": 0,
  "limit": 10,
  "from_time": 1704067200,
  "to_time": 1706745600,
  "industry": "news"
}

Response Format

{
  "results": [
    {
      "title": "Article Title",
      "summary": "Standard summary...",
      "dynamic_summary": "Dynamic summary (Premium version)...",
      "source": "Source Platform",
      "publishTime": "2024-01-15 10:30:00",
      "url": "https://example.com/article",
      "score": 0.8978,
      "images": ["https://example.com/image1.jpg"],
      "favicon": "https://example.com/favicon.ico"
    }
  ],
  "total": 10,
  "query": {
    "keywords": ["artificial intelligence", "machine learning"],
    "site": "qq.com",
    "mode": 0
  }
}

API Configuration

Tencent Cloud Online Search API

Setup Steps

  1. Visit Tencent Cloud Console
  2. Log in to your Tencent Cloud account
  3. Navigate to "Products" -> "Artificial Intelligence" -> "Online Search"
  4. Activate the service and obtain API credentials (SecretId and SecretKey)
  5. Select appropriate region (e.g., ap-guangzhou)

Configuration Parameters

ParameterDescriptionExample
secret_idTencent Cloud API Key IDAKIDxxxxxxxxxxxxxxxx
secret_keyTencent Cloud API Keyxxxxxxxxxxxxxxxx
output_dirDefault output directory./output

Output Formats

1. Markdown Format (Default)

Suitable for viewing in Markdown editors, includes formatted titles, links, and metadata.

# Search Results

**Total results:** 10
**Timestamp:** 2024-01-15T10:30:00

---

## 1. Article Title

**Summary:** Content summary...

**Dynamic Summary:** Dynamic summary content...

**Source:** Source Platform

**Time:** 2024-01-15 10:30:00

**Link:** [https://example.com/article](https://example.com/article)

**Relevance:** 0.8978

---

2. JSON Format

Structured data, suitable for program processing and data analysis.

{
  "results": [...],
  "total": 10,
  "timestamp": "2024-01-15T10:30:00"
}

3. CSV Format

Table format, suitable for opening in Excel and other tools for data analysis.

4. TXT Format

Plain text format, suitable for quick reading and copy-paste.

Search Modes

Mode 0: Natural Search Results (Default)

  • Returns traditional web search results
  • Supports filtering parameters such as Site, FromTime, ToTime, Industry
  • Suitable for regular search needs

Mode 1: Multimodal VR Results

  • Returns multimodal VR search results
  • Note: Site, FromTime, ToTime, Industry parameters are invalid in this mode
  • Suitable for scenarios requiring rich media content

Mode 2: Mixed Results

  • Returns a mix of multimodal VR results and natural search results
  • Site, FromTime, ToTime, Industry parameters only apply to natural results
  • Suitable for scenarios requiring comprehensive search results

Industry Filters (Premium Version)

ValueDescription
govGovernment and party organs
newsAuthoritative media
acadAcademic (English)
financeFinance

Dependencies

  • Python 3.7+
  • No external dependencies (core functionality uses only Python standard library)
  • Optional: pandas>=2.0.0 (only when CSV export functionality is needed)

Security Considerations

API Credentials Protection

  • ⚠️ DO NOT commit config.json to version control (Git)
  • ⚠️ Use .gitignore to ignore config.json (already configured)
  • ⚠️ Rotate API keys regularly
  • ⚠️ Use different keys for different environments
  • ⚠️ Follow least privilege principle when configuring API keys

Output Directory Safety

  • ⚠️ Do not set output directory to sensitive system paths
  • ⚠️ Recommended to use dedicated temporary directory or sandbox environment
  • ⚠️ Program will automatically create output directory but prevents directory traversal attacks

Runtime Environment

  • ⚠️ Recommended to run in isolated environment (container or sandbox)
  • ⚠️ Use temporary API keys with minimal permissions for testing
  • ⚠️ Rotate/delete keys after testing

Network Security

  • ✅ All API requests are encrypted via HTTPS
  • ✅ Only accesses official Tencent Cloud API endpoint (wsa.tencentcloudapi.com)
  • ✅ Request timeout set to 30 seconds to avoid long blocking

Installation

# Clone repository
git clone https://github.com/neuhanli/skills.git
cd skills/TencentHotSearch-skill

# Install dependencies
pip install -r requirements.txt

# Configure API credentials
cp config.example.json config.json
# Edit config.json and fill in your API credentials

Error Handling

  • Configuration file not found: Prompt to create config.json file
  • API authentication failed: Check if SecretId and SecretKey are correct
  • Network error: Check network connection and API service status
  • Parameter error: Check keyword count, timestamp format, etc.

Notes

  • Keyword limit: 1-5 keywords
  • Result limit: 10/20/30/40/50 (Premium version supports up to 50)
  • Timestamp format: Unix timestamp (seconds)
  • Industry filtering only supported in Premium version
  • Dynamic summary only supported in Premium version

License

MIT License

Author

Created for Agent Skills platform

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

87.32%
按下载量换算2,130

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills