← 返回 Skills 市场
1118
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install juejin-article-trends
功能描述
获取掘金网站热门文章排行榜,支持查询文章分类列表和各分类的热门文章趋势。当用户需要了解掘金技术文章排行榜、获取前端/后端/AI等领域的热门文章时使用此技能。
使用说明 (SKILL.md)
掘金热门文章排行榜
功能概述
此技能用于获取掘金(juejin.cn)网站的技术文章排行榜数据,包括:
- 文章分类列表(前端、后端、AI、移动开发等)
- 各分类的热门文章排行榜
- 文章详细信息(标题、作者、阅读量、点赞数等)
工作流程
1. 获取分类列表
当用户需要了解掘金文章分类时:
node scripts/juejin.js categories
返回示例:
[
{ "id": "6809637769959178254", "name": "前端" },
{ "id": "6809637769959178255", "name": "后端" },
{ "id": "6809637769959178256", "name": "Android" },
{ "id": "6809637769959178257", "name": "iOS" },
{ "id": "6809637769959178258", "name": "人工智能" },
{ "id": "6809637769959178260", "name": "开发工具" },
{ "id": "6809637769959178261", "name": "代码人生" },
{ "id": "6809637769959178262", "name": "阅读" }
]
2. 获取热门文章
当用户需要获取特定分类的热门文章时:
node scripts/juejin.js articles \x3Ccategory_id> [type] [limit]
参数:
category_id: 分类ID(从分类列表获取)type: 排序类型,可选hot(热门) 或new(最新),默认hotlimit: 返回文章数量,默认20
返回示例:
[
{
"title": "文章标题",
"brief": "文章摘要...",
"author": "作者名",
"articleId": "123456789",
"popularity": 100,
"viewCount": 5000,
"likeCount": 200,
"collectCount": 150,
"commentCount": 50,
"url": "https://juejin.cn/post/123456789",
"tags": ["JavaScript", "Vue"]
}
]
使用示例
查看所有分类
node scripts/juejin.js categories
获取前端热门文章(前10篇)
node scripts/juejin.js articles 6809637769959178254 hot 10
获取后端最新文章
node scripts/juejin.js articles 6809637769959178255 new 15
作者介绍
- 爱海贼的无处不在
- 我的微信公众号:无处不在的技术
安全使用建议
This skill appears to do what it says: it queries juejin.cn public APIs and prints JSON results. Before installing or running: (1) ensure you have Node.js available (the manifest didn't declare this but SKILL.md uses `node`); (2) review the included script yourself — it is small and network-only; (3) consider running it in an isolated environment if you are cautious; (4) be aware the script scrapes public API endpoints (rate limits or terms of service may apply), and the tool rotates User-Agent strings to avoid a fixed UA which is typical for scrapers but worth knowing.
功能分析
Type: OpenClaw Skill
Name: juejin-article-trends
Version: 0.0.1
The skill bundle is classified as suspicious due to a lack of robust input sanitization in `scripts/juejin.js`. The script directly uses user-provided `categoryId` and `type` arguments from `process.argv` to construct URLs for `https://api.juejin.cn/` without explicit URL encoding. This could allow an attacker to inject arbitrary query parameters into the requests sent to the remote API, a form of URL parameter injection. While this does not directly compromise the OpenClaw agent, it represents a vulnerability in input handling that could be exploited to probe or potentially manipulate the target API.
能力评估
Purpose & Capability
The SKILL.md and scripts/juejin.js implement exactly what the description promises (fetch category list and ranked articles from juejin.cn). Minor inconsistency: the skill manifest lists no required binaries, but SKILL.md and the script expect Node.js (commands use `node scripts/juejin.js`).
Instruction Scope
Instructions are narrowly scoped to running the included Node script to call juejin.cn public APIs. The script only performs HTTPS GET requests to juejin.cn API endpoints and does not read files, environment variables, or transmit data to unrelated endpoints.
Install Mechanism
No install spec is provided (instruction-only with an included script). Nothing is downloaded or written to disk by an installer; the only runtime requirement is an existing Node.js runtime to run the script.
Credentials
The skill requests no environment variables, secrets, or config paths. The code does not attempt to access credentials or other services beyond juejin.cn APIs.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify other skills or system settings. It behaves as a normal, on-demand helper.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install juejin-article-trends - 安装完成后,直接呼叫该 Skill 的名称或使用
/juejin-article-trends触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
juejin-article-trends v0.0.1
- Initial release.
- Provides access to Juejin's technology article rankings, including popular articles by category.
- Supports listing article categories (e.g., Front-end, Back-end, AI).
- Fetches hot or newest articles for any category, with detailed article info (title, author, views, likes, etc.).
元数据
常见问题
Juejin Article Trends 是什么?
获取掘金网站热门文章排行榜,支持查询文章分类列表和各分类的热门文章趋势。当用户需要了解掘金技术文章排行榜、获取前端/后端/AI等领域的热门文章时使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1118 次。
如何安装 Juejin Article Trends?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install juejin-article-trends」即可一键安装,无需额外配置。
Juejin Article Trends 是免费的吗?
是的,Juejin Article Trends 完全免费(开源免费),可自由下载、安装和使用。
Juejin Article Trends 支持哪些平台?
Juejin Article Trends 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Juejin Article Trends?
由 无处不在(@wuchubuzai2018)开发并维护,当前版本 v0.0.1。
推荐 Skills