← Back to Plugins
Integration

Plugin Bridge

jingchang0623-crypto By jingchang0623-crypto 👁 25 views ▲ 0 votes

桥接 Claude Code Plugins 与 OpenClaw Skills 生态的转换器

Homepage GitHub

Install

npm install

#

README

# 🦞 OpenClaw Plugin Bridge

> 桥接 Claude Code Plugins 与 OpenClaw Skills 生态的转换器

[![GitHub stars](https://img.shields.io/github/stars/jingchang0623-crypto/openclaw-plugin-bridge?style=social)](https://github.com/jingchang0623-crypto/openclaw-plugin-bridge)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## 📰 背景

2026年5月,Anthropic 官方发布 **[claude-plugins-official](https://github.com/anthropics/claude-plugins-official)**,单日获得 2,556 ⭐,成为 GitHub Trending #1。

Claude Code Plugins 和 OpenClaw Skills 都是为 AI Coding Agent 提供扩展能力的标准格式,但互不兼容。

**OpenClaw Plugin Bridge** 让你可以:
- 🔄 将 Claude Code Plugins 转换为 OpenClaw Skills
- 🔍 搜索 Anthropic 官方插件目录
- 📦 一键安装插件为 OpenClaw Skill
- 🌉 打通两个生态(5,400+ Skills ↔ 官方 Plugins)

## ✨ 功能特性

| 功能 | 描述 |
|------|------|
| `convert` | Claude Code Plugin → OpenClaw Skill 转换 |
| `search` | 搜索官方插件目录(支持模糊匹配) |
| `install` | 直接安装插件为本地 Skill |
| `validate` | 验证转换后的 Skill 格式 |
| `diff` | 对比插件与 Skill 的差异 |

## 🚀 快速开始

### 安装

```bash
# 克隆仓库
git clone https://github.com/jingchang0623-crypto/openclaw-plugin-bridge.git
cd openclaw-plugin-bridge

# 安装依赖
npm install

# 全局安装(可选)
npm install -g .
```

### 使用示例

```bash
# 搜索官方插件
openclaw-plugin-bridge search "git"

# 转换插件为 Skill
openclaw-plugin-bridge convert ./plugins/example-plugin --output ./my-skill

# 直接安装到 OpenClaw Skills 目录
openclaw-plugin-bridge install example-plugin --target ~/.openclaw/skills/

# 验证转换结果
openclaw-plugin-bridge validate ./my-skill
```

## 📂 插件与 Skill 格式对比

| 特性 | Claude Code Plugin | OpenClaw Skill |
|------|-------------------|----------------|
| 元数据 | `.claude-plugin/plugin.json` | `SKILL.md` |
| MCP 配置 | `.mcp.json` | `skill.json` |
| 命令 | `commands/` | `commands/` |
| Agent | `agents/` | `agents/` |
| 技能 | `skills/` | `SKILL.md` |

## 🔧 转换规则

```
Claude Code Plugin          →    OpenClaw Skill
─────────────────────────────────────────────────────
.claude-plugin/plugin.json  →    SKILL.md (头部元数据)
.mcp.json                   →    skill.json (MCP配置)
commands/                   →    commands/ (保持不变)
agents/                     →    agents/ (保持不变)
README.md                   →    SKILL.md (文档部分)
```

## 🌟 为什么需要这个工具?

1. **生态互通**:Claude Code 有官方插件目录,OpenClaw 有 5,400+ Skills 社区
2. **避免重复造轮子**:两个生态的优秀工具可以共享
3. **降低迁移成本**:从 Claude Code 迁移到 OpenClaw 的用户可以复用插件
4. **扩大影响力**:OpenClaw Skill 作者可以轻松发布到 Claude 插件市场

## 📊 当前支持

- ✅ **内部插件转换**(Anthropic 官方插件)
- ✅ **外部插件转换**(社区插件)
- ✅ **MCP Server 配置迁移**
- ✅ **命令/代理定义迁移**
- 🚧 **双向转换**(Skill → Plugin,开发中)
- 🚧 **自动发布到 ClawHub**(规划中)

## 🤝 贡献

欢迎提交 PR!特别是:
- 更多插件的转换测试用例
- 双向转换支持
- UI 界面(Web Dashboard)

## 📚 相关资源

- [Claude Code Plugins 官方目录](https://github.com/anthropics/claude-plugins-official)
- [OpenClaw 官方文档](https://docs.openclaw.ai)
- [Awesome OpenClaw Skills (5,400+)](https://github.com/VoltAgent/awesome-openclaw-skills)
- [Awesome OpenClaw Usecases](https://github.com/hesamsheikh/awesome-openclaw-usecases)
- [妙趣AI - OpenClaw 中文教程](https://miaoquai.com/tools/openclaw-plugins-bridge.html)

## 📜 许可证

MIT License - 自由使用、修改和分发

## ⭐ Star History

如果这个工具对你有帮助,请给个 Star ⭐

[![Star History Chart](https://api.star-history.com/svg?repos=jingchang0623-crypto/openclaw-plugin-bridge&type=Date)](https://star-history.com/#jingchang0623-crypto/openclaw-plugin-bridge&Date)

---

**由 [妙趣AI](https://miaoquai.com) 团队维护** 🤖

> 妙趣AI - 你的AI营销运营官,专注于 OpenClaw 生态内容生产与工具开发
integration

Comments

Sign in to leave a comment

Loading comments...