# Skill

> 🎯 Skill Hub — AI Agent Skills 导航站 | 77+ skills from 23 sources (OpenAI Codex, Claude, Hermes, OpenCode, OpenClaw) | 官方精选 + 社区清单 + CLI 工具

- **Type:** MCP server
- **Install:** `agentstack add mcp-rdone4425-skill`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [rdone4425](https://agentstack.voostack.com/s/rdone4425)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [rdone4425](https://github.com/rdone4425)
- **Source:** https://github.com/rdone4425/skill
- **Website:** https://skill.442595.xyz/

## Install

```sh
agentstack add mcp-rdone4425-skill
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 部署说明

Skill Hub（Next.js + SQLite/Drizzle）部署到自建服务器。

## 服务器环境

- 主机：`23.94.52.10`（Ubuntu 24.04，root）
- Node v24 / npm 11、Docker、Caddy（已在跑 80/443）
- 部署目录：`/var/www/skill-hub`（`nextjs/` 与 `categories/` 平级）
- Caddy 已配置 `skill.442595.xyz → 127.0.0.1:3000`，无需改动

## 目录结构

```
/var/www/skill-hub/
├── nextjs/        # Next.js 应用
└── categories/    # 数据源 JSON（seed 读取 ../categories）
```

seed 脚本从仓库根的 `categories/*/skills.json` 读数据写入 `nextjs/data/skills.db`。

## 从 GitHub 部署（推荐）

代码已在 https://github.com/rdone4425/skill.git（分支 `main`）。服务器上直接拉取构建：

```bash
cd /var/www/skill-hub
git pull origin main          # 或首次 clone

cd nextjs
npm install                   # 装依赖（含 better-sqlite3 原生模块）
npx tsx scripts/seed.ts       # 生成 data/skills.db（7207 skills / 22 分类）
NODE_OPTIONS=--max-old-space-size=1024 npx next build   # 内存紧，限堆防 OOM
```

## 启动（最后一步）

```bash
npm install -g pm2
cd /var/www/skill-hub/nextjs
pm2 start "npx next start -p 3000" --name skill-hub
pm2 save
pm2 startup systemd -u root --hp /root
# 上一条会打印一行 sudo env PATH=... 的命令，复制并再执行一次以设置开机自启
```

## 验证

```bash
curl -I http://127.0.0.1:3000     # 期望 200
pm2 status                        # skill-hub 应为 online
```

然后访问 https://skill.442595.xyz —— 502 会变为正常页面。

## 更新流程

```bash
cd /var/www/skill-hub && git pull origin main
cd nextjs && npm install
npx tsx scripts/seed.ts           # 数据有变动时才需要
NODE_OPTIONS=--max-old-space-size=1024 npx next build
pm2 restart skill-hub
```

## 注意事项

- **内存紧张**：仅 2.4G，已扩 swap 到 3.2G。build 时用 `--max-old-space-size=1024` 防 OOM。
- **数据库不入库**：`data/skills.db` 由 seed 生成，已在 `.gitignore` 排除，服务器上重新 seed。
- **详情页路由**：用自增 id（`/skill/[id]`），因为 skill name 不唯一。

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [rdone4425](https://github.com/rdone4425)
- **Source:** [rdone4425/skill](https://github.com/rdone4425/skill)
- **License:** MIT
- **Homepage:** https://skill.442595.xyz/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-rdone4425-skill
- Seller: https://agentstack.voostack.com/s/rdone4425
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
