← Back to Skills Marketplace
ddongcui

Hfmirror Trending En

by shunshiwei · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
108
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hfmirror-trending-en
Description
Fetches real-time Hugging Face trending data via the public HF-Mirror API and generates structured Markdown reports in English. Suitable for conversational A...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hfmirror-trending-en
  3. After installation, invoke the skill by name or use /hfmirror-trending-en
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug hfmirror-trending-en
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install Hfmirror Trending En?

Run "/install hfmirror-trending-en" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hfmirror Trending En free?

Yes, Hfmirror Trending En is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Hfmirror Trending En support?

Hfmirror Trending En is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hfmirror Trending En?

It is built and maintained by shunshiwei (@ddongcui); the current version is v1.0.0.

💬 Comments