← 返回 Skills 市场
ddongcui

Hfmirror Trending En

作者 shunshiwei · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hfmirror-trending-en
功能描述
Fetches real-time Hugging Face trending data via the public HF-Mirror API and generates structured Markdown reports in English. Suitable for conversational A...
使用说明 (SKILL.md)

hfmirror_trending_en (Cross-platform Generic Version)

This Skill enables AI agents to autonomously fetch and parse real-time trending data from HF-Mirror (hf-mirror.com).

Data Source Notice: This Skill calls https://hf-mirror.com/api/trending — a public, login-free REST API provided by HF-Mirror. It does not require any tokens or authorization, nor does it involve any authenticated web scraping or bypassing of access controls.

Use Cases

When a user inquires about recent trending models, datasets, or projects on Hugging Face or its mirror. Examples:

  • "What are the trending models lately?"
  • "What's hot on Hugging Face right now?"
  • "Push today's Hugging Face mirror trending list."
  • "Help me parse the trending data from HF-Mirror."

Agent Workflow

When processing the above commands, AI agents should follow this standard end-to-end logic:

  1. Auto-Fetch and Parse: The agent should call the processing script located in the Skill's root directory, utilizing its built-in networking capabilities.

    python scripts/summarize.py --fetch [out_path.md]
    

    Note: The script is Python 3 compatible and can be run directly in Windows (PowerShell/CMD), Linux (Shell), or macOS environments.

  2. Generate Elegant Reports: The script automatically fetches JSON from https://hf-mirror.com/api/trending and generates structured Markdown output in English.

  3. Smart Delivery: The agent reads the generated file content and presents it as a well-formatted message to the user.

Core Design (Cross-Platform & Environment Decoupled)

  • Path Agnostic: Agents can locate scripts/summarize.py via relative paths or Skill environment configurations based on their current context.
  • Zero Dependencies: The script relies solely on Python 3 standard libraries (json, urllib, os, sys). It requires no third-party packages, allowing it to run smoothly even in minimal container or CLI environments.
  • Dynamic Fetch: The built-in --fetch argument eliminates the need to manually prepare intermediate files, enabling a seamless one-click transition from API to report.
  • Compliant Access: Uses a named User-Agent (hfmirror-trending-en-skill/1.0) to identify the request source, adhering to public API best practices.

Core Output Fields Explanation

  • Model ID: The unique identifier for the model.
  • Downloads & Likes: Metrics reflecting community popularity.
  • Parameter Size: Automatically converted (e.g., 7B, 27B) to help users evaluate deployment costs.
  • Pipeline Tag: Distinction between different AI domains such as ASR, TTS, OCR, etc.
安全使用建议
This skill appears coherent and low-risk: it makes a single outbound request to the public HF‑Mirror trending API and generates a Markdown file. Before installing, consider whether your environment permits outbound HTTPS requests to hf-mirror.com and whether writing a report file (default trending_summary.md) is acceptable in your agent's working directory. Also note the skill's source/homepage is not provided—if provenance matters to you, consider vetting the author or running the script in a sandboxed environment first.
功能分析
Type: OpenClaw Skill Name: hfmirror-trending-en Version: 1.0.0 The skill is a legitimate tool designed to fetch and summarize trending AI models, datasets, and spaces from the Hugging Face Mirror API (hf-mirror.com). The Python script (scripts/summarize.py) uses standard libraries to perform network requests and file I/O, and the instructions in SKILL.md are strictly aligned with this functionality without any signs of malicious intent or prompt injection.
能力评估
Purpose & Capability
Name/description match the implementation. The included script fetches https://hf-mirror.com/api/trending and formats results into Markdown, which is exactly what the skill claims to do. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md directs the agent to run scripts/summarize.py --fetch and to present the generated Markdown. The script only fetches the declared public API, parses JSON, and writes a report. It does not read arbitrary files, environment variables, or network endpoints beyond the stated API.
Install Mechanism
There is no install spec (instruction-only plus a small Python script). The script uses only Python standard libraries and does not pull external packages or download code at install time.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not access any secrets or unrelated env vars. Outbound network access is limited to the single public API URL.
Persistence & Privilege
always is false and the skill does not modify other skills or system config. It writes a single output Markdown file when invoked, which is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hfmirror-trending-en
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hfmirror-trending-en 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – fetches and reports trending Hugging Face models via HF-Mirror API. - Fetches real-time trending models from hf-mirror.com with no authentication required. - Generates clean, structured Markdown reports in English. - Fully cross-platform, runs with Python 3 standard libraries only (no external dependencies). - Designed for easy integration with conversational AI agents, featuring automated fetch and report generation. - Compliant with API terms via a custom User-Agent.
元数据
Slug hfmirror-trending-en
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Hfmirror Trending En 是什么?

Fetches real-time Hugging Face trending data via the public HF-Mirror API and generates structured Markdown reports in English. Suitable for conversational A... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 Hfmirror Trending En?

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

Hfmirror Trending En 是免费的吗?

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

Hfmirror Trending En 支持哪些平台?

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

谁开发了 Hfmirror Trending En?

由 shunshiwei(@ddongcui)开发并维护,当前版本 v1.0.0。

💬 留言讨论