关于 Skill History
Skill History 跟踪 ClawHub Agent 技能的每日下载量,并以图表、徽章和 JSON 页面呈现。它适用于技能作者及需要下载历史数据的 Agent;README 介绍的是网站和 API,并未说明 MCP 服务。
主要功能
- 01跟踪 ClawHub 每日下载量
- 02提供技能图表页面
- 03可嵌入 SVG 图表和徽章
- 04技能页面支持 JSON 响应
- 05提供 OpenAPI 规范
适用场景
- 01在 README 展示技能下载趋势
- 02查看技能每日下载历史
- 03以 JSON 获取技能数据
- 04从技能页面链接到图表
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://skill-history.com/mcpclaude mcp add --transport http pineapple-farm-skill-history https://skill-history.com/mcp{"mcpServers":{"pineapple-farm-skill-history":{"type":"http","url":"https://skill-history.com/mcp"}}}在 Cursor 中打开{"servers":{"pineapple-farm-skill-history":{"type":"http","url":"https://skill-history.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"pineapple-farm-skill-history":{"type":"http","url":"https://skill-history.com/mcp"}}}{"mcpServers":{"pineapple-farm-skill-history":{"serverUrl":"https://skill-history.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| slug | string | 是 | 技能 slug(例如 'self-preserve') |
| handle | string | 是 | 技能作者的 handle(例如 'gavinlinasd') |
详细介绍
skill-history
跟踪并可视化来自 ClawHub 的 Agent 技能下载历史。可嵌入 README 的图表——类似 star-history,但面向 Agent 技能。
skill-history.com · 由 Pineapple AI 构建
工作原理
skill-history.com 跟踪 ClawHub 上全部 54,000 多个技能的每日下载次数。每个技能都有一个图表页面和一个可嵌入的 SVG:
- 图表页面 —
skill-history.com/{handle}/{slug} - SVG 嵌入 —
skill-history.com/chart/{handle}/{slug}.svg - 紧凑徽章 —
skill-history.com/badge/{handle}/{slug}.svg
你的 {handle} 是 GitHub 用户名(ClawHub 使用 GitHub OAuth),{slug} 是你的技能在 ClawHub 上的 slug。
添加到你的 README
[](https://skill-history.com/YOUR_HANDLE/YOUR_SLUG)
也可以使用 skill-history.com 上的链接生成器。
架构
- Cloudflare Workers + Hono — 提供网站、图表 SVG 和定时扫描服务
- Cloudflare D1 (SQLite) — 存储技能和每日快照
- 边缘缓存 — GET 响应通过 Cache API(
caches.default)存储在 Cloudflare 的缓存中,因此只有缓存未命中时才会访问 D1;每周博客数据每周在 D1 中物化一次 - d3-shape — 平滑的单调曲线(与 star-history 使用相同的算法)
- 数据来源 — ClawHub 公共 API,每 2 小时扫描一次
API
所有技能页面在请求头中指定 Accept: application/json 时都会返回 JSON:
curl -H "Accept: application/json" https://skill-history.com/gavinlinasd/self-preserve
完整的 OpenAPI 规范见 skill-history.com/api/openapi.json。
AI Agent 可参考:skill-history.com/llms.txt。
本地开发
npm install
# Authenticate with Cloudflare
wrangler login
# Create D1 database, copy database_id into wrangler.jsonc
wrangler d1 create skill-history
# Apply schema to local dev DB
npm run db:migrate:local
# Run locally
npm run dev
路线图
- 跟踪 ClawHub 上所有技能的每日下载量
- 可嵌入的 SVG 图表 + 紧凑徽章
- 带链接生成器的着陆页
- 便于 Agent 发现(llms.txt、OpenAPI)
- 由 d3 驱动的平滑图表渲染(完整坐标轴升级)
- 多来源跟踪(GitHub 星标、非 ClawHub 安装量)
- 对比图表(叠加多个技能)
- 每周“增长最快的技能”报告
- 用于 Agent 访问工具的 MCP 服务
有想法?提交 issue 或提交 PR——我们期待你的意见。
参与贡献
这是一个全新的项目,我们正根据技能作者的实际需求积极完善它。欢迎贡献:
- 功能请求 — 提交 issue,描述你希望看到的功能
- 错误报告 — 如果图表显示不正确,或缺少某个技能,请告诉我们
- 拉取请求 — 欢迎提交代码、文档或设计改进
- 数据来源 — 提出跟踪 ClawHub 之外技能的想法(GitHub 星标、其他注册表)
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。