{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/huggingface-trends",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=huggingface-trends",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/hf_trends.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/huggingface-trends",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Quick Start",
        "body": "Fetch the top trending models:\n\nscripts/hf_trends.py -n 10 -p http://172.28.96.1:10808"
      },
      {
        "title": "Fetch Trending Models",
        "body": "Basic usage:\n\n# Get top 10 trending models\nscripts/hf_trends.py -n 10 -p http://172.28.96.1:10808\n\n# Get top 5 most liked models\nscripts/hf_trends.py -n 5 -s likes -p http://172.28.96.1:10808\n\n# Get most downloaded models\nscripts/hf_trends.py -n 10 -s downloads -p http://172.28.96.1:10808"
      },
      {
        "title": "Filter by Task",
        "body": "Filter models by specific AI tasks:\n\n# Text generation models\nscripts/hf_trends.py -n 10 -t text-generation -p http://172.28.96.1:10808\n\n# Image classification models\nscripts/hf_trends.py -n 10 -t image-classification -p http://172.28.96.1:10808\n\n# Translation models\nscripts/hf_trends.py -n 10 -t translation -p http://172.28.96.1:10808\n\nCommon task filters:\n\ntext-generation - Large language models\nimage-classification - Vision models\nimage-to-text - Multimodal models\ntranslation - Machine translation\nsummarization - Text summarization\nquestion-answering - QA models"
      },
      {
        "title": "Filter by Library",
        "body": "Filter by ML framework:\n\n# PyTorch models only\nscripts/hf_trends.py -n 10 -l pytorch -p http://172.28.96.1:10808\n\n# TensorFlow models only\nscripts/hf_trends.py -n 10 -l tensorflow -p http://172.28.96.1:10808\n\n# JAX models\nscripts/hf_trends.py -n 10 -l jax -p http://172.28.96.1:10808"
      },
      {
        "title": "Export to JSON",
        "body": "Save results for further analysis:\n\n# Export to JSON file\nscripts/hf_trends.py -n 10 -j trending_models.json -p http://172.28.96.1:10808\n\n# Export with specific filters\nscripts/hf_trends.py -n 20 -t text-generation -j text_models.json -p http://172.28.96.1:10808"
      },
      {
        "title": "Proxy Configuration",
        "body": "The script requires an HTTP proxy to access Hugging Face API (network restrictions).\n\nUse the -p flag:\n\nscripts/hf_trends.py -p http://172.28.96.1:10808\n\nFor most WSL2 environments with v2rayN:\n\nProxy URL: http://172.28.96.1:10808\nOr use dynamic IP: http://$(ip route show | grep default | awk '{print $3}'):10808"
      },
      {
        "title": "Command-Line Options",
        "body": "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"
      },
      {
        "title": "Output Format",
        "body": "The script displays models in a structured format:\n\n🤖 Hugging Face 热门模型 (5 个)\n============================================================\n1. moonshotai/Kimi-K2.5\n   ⭐ 2.0K likes   📥 647.6K downloads\n   📊 Task: image-text-to-text   📚 Library: transformers\n   📅 Created: 2026-01-01   Updated: N/A\n..."
      },
      {
        "title": "Model Information",
        "body": "Each model entry includes:\n\nModel ID: Full Hugging Face model name\nLikes: Number of likes (popularity metric)\nDownloads: Total download count\nTask: Primary task/pipeline (e.g., text-generation)\nLibrary: ML framework (transformers, pytorch, tensorflow)\nCreated/Updated: Date information"
      },
      {
        "title": "Daily Monitoring",
        "body": "Check trending models daily for new releases:\n\n# Create cron job for daily monitoring\n0 9 * * * cd /home/ltx/.openclaw/workspace && \\\n  /home/ltx/.openclaw/workspace/skills/huggingface-trends/scripts/hf_trends.py \\\n  -n 20 -p http://172.28.96.1:10808 >> /tmp/hf-trends.log 2>&1"
      },
      {
        "title": "Task-Specific Research",
        "body": "Explore popular models for specific AI tasks:\n\n# Research trending text generation models\nscripts/hf_trends.py -n 15 -t text-generation -s likes -p http://172.28.96.1:10808\n\n# Find popular image-to-text models\nscripts/hf_trends.py -n 15 -t image-to-text -s downloads -p http://172.28.96.1:10808"
      },
      {
        "title": "Framework-Specific Analysis",
        "body": "Compare models by ML framework:\n\n# Compare PyTorch vs TensorFlow popularity\nscripts/hf_trends.py -n 20 -l pytorch -j pytorch_models.json -p http://172.28.96.1:10808\nscripts/hf_trends.py -n 20 -l tensorflow -j tensorflow_models.json -p http://172.28.96.1:10808"
      },
      {
        "title": "Integration with OpenClaw",
        "body": "Use within OpenClaw sessions:\n\n# Fetch trending models programmatically\nfrom skills.huggingface-trends.scripts import hf_trends\n\nfetcher = hf_trends.HuggingFaceTrends(proxy=\"http://172.28.96.1:10808\")\nmodels = fetcher.fetch_trending_models(limit=10)\n\n# Format for display\noutput = fetcher.format_models(models)\nprint(output)"
      },
      {
        "title": "Network Errors",
        "body": "Problem: \"Network is unreachable\" or connection errors\n\nSolution: Ensure proxy is specified with -p flag:\n\nscripts/hf_trends.py -p http://172.28.96.1:10808\n\nCheck if v2rayN proxy is running on Windows."
      },
      {
        "title": "Empty Results",
        "body": "Problem: \"No models found\"\n\nSolution: Try different filters or increase limit:\n\nscripts/hf_trends.py -n 50 -p http://172.28.96.1:10808"
      },
      {
        "title": "Dependencies Missing",
        "body": "Problem: \"requests package not installed\"\n\nSolution: Install required dependencies:\n\npip install requests"
      },
      {
        "title": "Technical Notes",
        "body": "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.\nProxy Requirement: Due to network restrictions, all requests must go through a proxy. The script supports HTTP proxy configuration.\nRate Limits: The public API has rate limits. Avoid making too many requests in quick succession.\nData Freshness: Models are fetched from the Hugging Face API. Recent changes may take time to reflect."
      },
      {
        "title": "Reference",
        "body": "See Hugging Face API Documentation for more details on model metadata and available filters."
      }
    ],
    "body": "Hugging Face Trending Models\nQuick Start\n\nFetch the top trending models:\n\nscripts/hf_trends.py -n 10 -p http://172.28.96.1:10808\n\nCore Features\nFetch Trending Models\n\nBasic usage:\n\n# Get top 10 trending models\nscripts/hf_trends.py -n 10 -p http://172.28.96.1:10808\n\n# Get top 5 most liked models\nscripts/hf_trends.py -n 5 -s likes -p http://172.28.96.1:10808\n\n# Get most downloaded models\nscripts/hf_trends.py -n 10 -s downloads -p http://172.28.96.1:10808\n\nFilter by Task\n\nFilter models by specific AI tasks:\n\n# Text generation models\nscripts/hf_trends.py -n 10 -t text-generation -p http://172.28.96.1:10808\n\n# Image classification models\nscripts/hf_trends.py -n 10 -t image-classification -p http://172.28.96.1:10808\n\n# Translation models\nscripts/hf_trends.py -n 10 -t translation -p http://172.28.96.1:10808\n\n\nCommon task filters:\n\ntext-generation - Large language models\nimage-classification - Vision models\nimage-to-text - Multimodal models\ntranslation - Machine translation\nsummarization - Text summarization\nquestion-answering - QA models\nFilter by Library\n\nFilter by ML framework:\n\n# PyTorch models only\nscripts/hf_trends.py -n 10 -l pytorch -p http://172.28.96.1:10808\n\n# TensorFlow models only\nscripts/hf_trends.py -n 10 -l tensorflow -p http://172.28.96.1:10808\n\n# JAX models\nscripts/hf_trends.py -n 10 -l jax -p http://172.28.96.1:10808\n\nExport to JSON\n\nSave results for further analysis:\n\n# Export to JSON file\nscripts/hf_trends.py -n 10 -j trending_models.json -p http://172.28.96.1:10808\n\n# Export with specific filters\nscripts/hf_trends.py -n 20 -t text-generation -j text_models.json -p http://172.28.96.1:10808\n\nProxy Configuration\n\nThe script requires an HTTP proxy to access Hugging Face API (network restrictions).\n\nUse the -p flag:\n\nscripts/hf_trends.py -p http://172.28.96.1:10808\n\n\nFor most WSL2 environments with v2rayN:\n\nProxy URL: http://172.28.96.1:10808\nOr use dynamic IP: http://$(ip route show | grep default | awk '{print $3}'):10808\nCommand-Line Options\nFlag\tLong Form\tDescription\tDefault\n-n\t--limit\tNumber of models to fetch\t10\n-s\t--sort\tSort by: trending, likes, downloads, created\ttrending\n-t\t--task\tFilter by task/pipeline\tNone\n-l\t--library\tFilter by library (pytorch, tensorflow, jax)\tNone\n-j\t--json\tExport results to JSON file\tNone\n-p\t--proxy\tProxy URL for HTTP requests\tNone\nOutput Format\n\nThe script displays models in a structured format:\n\n🤖 Hugging Face 热门模型 (5 个)\n============================================================\n1. moonshotai/Kimi-K2.5\n   ⭐ 2.0K likes   📥 647.6K downloads\n   📊 Task: image-text-to-text   📚 Library: transformers\n   📅 Created: 2026-01-01   Updated: N/A\n...\n\nModel Information\n\nEach model entry includes:\n\nModel ID: Full Hugging Face model name\nLikes: Number of likes (popularity metric)\nDownloads: Total download count\nTask: Primary task/pipeline (e.g., text-generation)\nLibrary: ML framework (transformers, pytorch, tensorflow)\nCreated/Updated: Date information\nUse Cases\nDaily Monitoring\n\nCheck trending models daily for new releases:\n\n# Create cron job for daily monitoring\n0 9 * * * cd /home/ltx/.openclaw/workspace && \\\n  /home/ltx/.openclaw/workspace/skills/huggingface-trends/scripts/hf_trends.py \\\n  -n 20 -p http://172.28.96.1:10808 >> /tmp/hf-trends.log 2>&1\n\nTask-Specific Research\n\nExplore popular models for specific AI tasks:\n\n# Research trending text generation models\nscripts/hf_trends.py -n 15 -t text-generation -s likes -p http://172.28.96.1:10808\n\n# Find popular image-to-text models\nscripts/hf_trends.py -n 15 -t image-to-text -s downloads -p http://172.28.96.1:10808\n\nFramework-Specific Analysis\n\nCompare models by ML framework:\n\n# Compare PyTorch vs TensorFlow popularity\nscripts/hf_trends.py -n 20 -l pytorch -j pytorch_models.json -p http://172.28.96.1:10808\nscripts/hf_trends.py -n 20 -l tensorflow -j tensorflow_models.json -p http://172.28.96.1:10808\n\nIntegration with OpenClaw\n\nUse within OpenClaw sessions:\n\n# Fetch trending models programmatically\nfrom skills.huggingface-trends.scripts import hf_trends\n\nfetcher = hf_trends.HuggingFaceTrends(proxy=\"http://172.28.96.1:10808\")\nmodels = fetcher.fetch_trending_models(limit=10)\n\n# Format for display\noutput = fetcher.format_models(models)\nprint(output)\n\nTroubleshooting\nNetwork Errors\n\nProblem: \"Network is unreachable\" or connection errors\n\nSolution: Ensure proxy is specified with -p flag:\n\nscripts/hf_trends.py -p http://172.28.96.1:10808\n\n\nCheck if v2rayN proxy is running on Windows.\n\nEmpty Results\n\nProblem: \"No models found\"\n\nSolution: Try different filters or increase limit:\n\nscripts/hf_trends.py -n 50 -p http://172.28.96.1:10808\n\nDependencies Missing\n\nProblem: \"requests package not installed\"\n\nSolution: Install required dependencies:\n\npip install requests\n\nTechnical Notes\nAPI 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.\nProxy Requirement: Due to network restrictions, all requests must go through a proxy. The script supports HTTP proxy configuration.\nRate Limits: The public API has rate limits. Avoid making too many requests in quick succession.\nData Freshness: Models are fetched from the Hugging Face API. Recent changes may take time to reflect.\nReference\n\nSee Hugging Face API Documentation for more details on model metadata and available filters."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tianxingleo/huggingface-trends",
    "publisherUrl": "https://clawhub.ai/tianxingleo/huggingface-trends",
    "owner": "tianxingleo",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}