# Send Huggingface Trends to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "huggingface-trends",
    "name": "Huggingface Trends",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/tianxingleo/huggingface-trends",
    "canonicalUrl": "https://clawhub.ai/tianxingleo/huggingface-trends",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/huggingface-trends",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=huggingface-trends",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/hf_trends.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/huggingface-trends"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/huggingface-trends",
    "downloadUrl": "https://openagent3.xyz/downloads/huggingface-trends",
    "agentUrl": "https://openagent3.xyz/skills/huggingface-trends/agent",
    "manifestUrl": "https://openagent3.xyz/skills/huggingface-trends/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/huggingface-trends/agent.md"
  }
}
```
## Documentation

### Quick Start

Fetch the top trending models:

scripts/hf_trends.py -n 10 -p http://172.28.96.1:10808

### 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 models
image-classification - Vision models
image-to-text - Multimodal models
translation - Machine translation
summarization - Text summarization
question-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

FlagLong FormDescriptionDefault-n--limitNumber of models to fetch10-s--sortSort by: trending, likes, downloads, createdtrending-t--taskFilter by task/pipelineNone-l--libraryFilter by library (pytorch, tensorflow, jax)None-j--jsonExport results to JSON fileNone-p--proxyProxy URL for HTTP requestsNone

### 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

Each model entry includes:

Model ID: Full Hugging Face model name
Likes: Number of likes (popularity metric)
Downloads: Total download count
Task: Primary task/pipeline (e.g., text-generation)
Library: ML framework (transformers, pytorch, tensorflow)
Created/Updated: Date information

### Daily Monitoring

Check trending models daily for new releases:

# Create cron job for daily monitoring
0 9 * * * cd /home/ltx/.openclaw/workspace && \\
  /home/ltx/.openclaw/workspace/skills/huggingface-trends/scripts/hf_trends.py \\
  -n 20 -p http://172.28.96.1:10808 >> /tmp/hf-trends.log 2>&1

### Task-Specific Research

Explore popular models for specific AI tasks:

# Research trending text generation models
scripts/hf_trends.py -n 15 -t text-generation -s likes -p http://172.28.96.1:10808

# Find popular image-to-text models
scripts/hf_trends.py -n 15 -t image-to-text -s downloads -p http://172.28.96.1:10808

### Framework-Specific Analysis

Compare models by ML framework:

# Compare PyTorch vs TensorFlow popularity
scripts/hf_trends.py -n 20 -l pytorch -j pytorch_models.json -p http://172.28.96.1:10808
scripts/hf_trends.py -n 20 -l tensorflow -j tensorflow_models.json -p http://172.28.96.1:10808

### Integration with OpenClaw

Use within OpenClaw sessions:

# Fetch trending models programmatically
from skills.huggingface-trends.scripts import hf_trends

fetcher = hf_trends.HuggingFaceTrends(proxy="http://172.28.96.1:10808")
models = fetcher.fetch_trending_models(limit=10)

# Format for display
output = fetcher.format_models(models)
print(output)

### Network Errors

Problem: "Network is unreachable" or connection errors

Solution: Ensure proxy is specified with -p flag:

scripts/hf_trends.py -p http://172.28.96.1:10808

Check if v2rayN proxy is running on Windows.

### Empty Results

Problem: "No models found"

Solution: Try different filters or increase limit:

scripts/hf_trends.py -n 50 -p http://172.28.96.1:10808

### Dependencies Missing

Problem: "requests package not installed"

Solution: Install required dependencies:

pip install requests

### Technical Notes

API Limitation: Hugging Face's public API doesn't provide a dedicated trending endpoint without authentication. The script fetches recent models and sorts by popularity metrics.
Proxy Requirement: Due to network restrictions, all requests must go through a proxy. The script supports HTTP proxy configuration.
Rate Limits: The public API has rate limits. Avoid making too many requests in quick succession.
Data Freshness: Models are fetched from the Hugging Face API. Recent changes may take time to reflect.

### Reference

See Hugging Face API Documentation for more details on model metadata and available filters.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tianxingleo
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/huggingface-trends)
- [Send to Agent page](https://openagent3.xyz/skills/huggingface-trends/agent)
- [JSON manifest](https://openagent3.xyz/skills/huggingface-trends/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/huggingface-trends/agent.md)
- [Download page](https://openagent3.xyz/downloads/huggingface-trends)