huggingface-trends
Monitor and fetch trending models from Hugging Face with support for filtering by task, library, and popularity metrics. Use when users want to check trending AI models, compare model popularity, or explore popular models by task or library. Supports export to JSON and formatted output.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/tianxingleo/huggingface-trendsHugging Face Trending Models
Quick Start
Fetch the top trending models:
scripts/hf_trends.py -n 10 -p http://172.28.96.1:10808
Core Features
Fetch Trending Models
Basic usage:
# Get top 10 trending models
scripts/hf_trends.py -n 10 -p http://172.28.96.1:10808
# Get top 5 most liked models
scripts/hf_trends.py -n 5 -s likes -p http://172.28.96.1:10808
# Get most downloaded models
scripts/hf_trends.py -n 10 -s downloads -p http://172.28.96.1:10808
Filter by Task
Filter models by specific AI tasks:
# Text generation models
scripts/hf_trends.py -n 10 -t text-generation -p http://172.28.96.1:10808
# Image classification models
scripts/hf_trends.py -n 10 -t image-classification -p http://172.28.96.1:10808
# Translation models
scripts/hf_trends.py -n 10 -t translation -p http://172.28.96.1:10808
Common task filters:
text-generation- Large language modelsimage-classification- Vision modelsimage-to-text- Multimodal modelstranslation- Machine translationsummarization- Text summarizationquestion-answering- QA models
Filter by Library
Filter by ML framework:
# PyTorch models only
scripts/hf_trends.py -n 10 -l pytorch -p http://172.28.96.1:10808
# TensorFlow models only
scripts/hf_trends.py -n 10 -l tensorflow -p http://172.28.96.1:10808
# JAX models
scripts/hf_trends.py -n 10 -l jax -p http://172.28.96.1:10808
Export to JSON
Save results for further analysis:
# Export to JSON file
scripts/hf_trends.py -n 10 -j trending_models.json -p http://172.28.96.1:10808
# Export with specific filters
scripts/hf_trends.py -n 20 -t text-generation -j text_models.json -p http://172.28.96.1:10808
Proxy Configuration
The script requires an HTTP proxy to access Hugging Face API (network restrictions).
Use the -p flag:
scripts/hf_trends.py -p http://172.28.96.1:10808
For most WSL2 environments with v2rayN:
- Proxy URL:
http://172.28.96.1:10808 - Or use dynamic IP:
http://$(ip route show | grep default | awk '{print $3}'):10808
Command-Line Options
| Flag | Long Form | Description | Default |
|---|---|---|---|
-n | --limit | Number of models to fetch | 10 |
-s | --sort | Sort by: trending, likes, downloads, created | trending |
-t | --task | Filter by task/pipeline | None |
-l | --library | Filter by library (pytorch, tensorflow, jax) | None |
-j | --json | Export results to JSON file | None |
-p | --proxy | Proxy URL for HTTP requests | None |
Output Format
The script displays models in a structured format:
π€ Hugging Face ηι¨ζ¨‘ε (5 δΈͺ)
============================================================
1. moonshotai/Kimi-K2.5
β 2.0K likes π₯ 647.6K downloads
π Task: image-text-to-text π Library: transformers
π
Created: 2026-01-01 Updated: N/A
...
Model Information
Metadata
Not sure this is the right skill?
Describe what you want to build β we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-tianxingleo-huggingface-trends": {
"enabled": true,
"auto_update": true
}
}
}