360 Secure SkillHub
360 安全技能中心

Github Agent Trends

该 Skill 通过运行 Python 脚本调用 GitHub Search repositories API,按日/周/月活动窗口筛选 agent/LLM-agent/multi-agent 相关仓库,去重并按星数排序,输出 markdown 格式的 GitHub Agent 趋势榜单,也可用 --json 输出原始数据;支持可选 GITHUB_TOKEN 提升配额,仅使用标准库且无 pip …

mike47512
mike47512
热度 43.11
最近更新 2026-05-11 17:36:19
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究 / 报告撰写 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add github-agent-trends
Metadata
name
github-agent-trends
description
Generate GitHub agent-trending project reports as formatted markdown leaderboards. Fetches agent/LLM-agent/multi-agent related repos by daily, weekly, or monthly activity window and sorts by stars. Use when the user asks for GitHub agent trends, AI agent leaderboard, coding agents, or popular agent frameworks on GitHub.

GitHub Agent Trends

Generate a formatted leaderboard of agent-related open-source projects on GitHub (keywords + topics such as ai-agent, multi-agent, agent framework), and paste the script output into chat.

Usage

From the repository root:

python3 scripts/skills/github-agent-trends/scripts/fetch_trends.py --period weekly --limit 20

With a token (recommended for rate limits):

export GITHUB_TOKEN=ghp_...
python3 scripts/skills/github-agent-trends/scripts/fetch_trends.py --period weekly --limit 20

Parameters

  • --period: daily | weekly | monthly (default: weekly)
  • --limit: Number of repos after dedupe/sort (default: 20)
  • --token: GitHub PAT (or set GITHUB_TOKEN)
  • --json: Raw JSON instead of markdown

How It Works

  1. Queries GitHub Search repositories API with agent-focused keywords (e.g. ai-agent, multi-agent, agent framework) and topics (e.g. ai-agent, multi-agent, langchain, autogen), filtered by pushed within the period and minimum stars.
  2. Deduplicates by full_name, sorts by stargazers_count, takes top N.
  3. Prints a markdown leaderboard (Chinese title: GitHub Agent 趋势榜).

Notes

  • Results reflect search relevance + stars, not the official GitHub “Trending” page (which has no public API).
  • Unauthenticated: ~10 requests/minute to Search API; with GITHUB_TOKEN: higher quotas (follow GitHub docs).
  • Stdlib only — no pip dependencies.

Customization

Edit SEARCH_KEYWORDS and SEARCH_TOPICS in scripts/fetch_trends.py to widen or narrow the agent theme (e.g. add crewai, browser-use).