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.
When a user inquires about recent trending models, datasets, or projects on Hugging Face or its mirror. Examples:
When processing the above commands, AI agents should follow this standard end-to-end logic:
```bash
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.
https://hf-mirror.com/api/trending and generates structured Markdown output in English.scripts/summarize.py via relative paths or Skill environment configurations based on their current context.json, urllib, os, sys). It requires no third-party packages, allowing it to run smoothly even in minimal container or CLI environments.--fetch argument eliminates the need to manually prepare intermediate files, enabling a seamless one-click transition from API to report.hfmirror-trending-en-skill/1.0) to identify the request source, adhering to public API best practices.共 1 个版本