Xpersona
K

Kinema's Skill Making Pipeline

CLAWHUB · Unverified

KinemaClaw cross-platform Skill development and publishing specification. Defines the standard process for Codex and Claude plugin development, version manag... Skill: Kinema's Skill Making Pipeline Owner: leeshunee Summary: KinemaClaw cross-platform Skill development and publishing specification. Defines the standard process for Codex and Claude plugin development, version manag... Tags: latest:1.11.0 Version history: v1.11.0 | 2026-07-16T08:16:13.079Z | user 跨平台 Codex 支持:新增 Codex plugin manifest、skills 发现入口,version-check 四源校验 v1.10.0 | 2026-06-04T07:19:23.954Z | user 发版流程增

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1782xm9gtwjg6m1vnxsad9zc583qs9v:kinema-skill-making-pipeline
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-leeshunee-kinema-skill-making-pipeline/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,188 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: kinema-skill-making-pipeline
displayName: "Kinema's Skill Making Pipeline"
version: 1.11.0
description: |
  KinemaClaw cross-platform Skill development and publishing specification. Defines the standard process for Codex and Claude plugin development, version management, marketplace indexing, and publishing. All skills built in KinemaClaw must follow this specification.
  Trigger: Creating new skills, publishing skills, modifying existing skills.
---

# Kinema's Skill Making Pipeline | Kinema Skill 开发与发布规范

- **Author**: [LeeShunEE](https://github.com/LeeShunEE)
- **Organization**: [KinemaClawWorkspace](https://github.com/KinemaClawWorkspace)
- **GitHub**: https://github.com/KinemaClawWorkspace/kinema-skill-making-pipeline

本规范定义了 KinemaClaw ecosystem 中 skill 的开发、版本管理和跨 Codex、Claude Code、GitHub、ClawHub 发布的标准化流程。

## ⚠️ Before First Use | 首次使用必读

**首次使用此 skill 前,必须先读取 [references/ONBOARDING.md](references/ONBOARDING.md) 完成环境配置。**

- **首次配置** → 读取 references/ONBOARDING.md 完成全部步骤
- **环境不可用**(命令不存在、依赖缺失、连接失败)→ 读取 references/ONBOARDING.md Troubleshooting 排查修复
- **配置完成后** → 直接使用下方开发流程

## Core Principles | 核心原则

1. **Git First** - All modifications must be managed in Git repository | 所有修改必须在 Git 仓库中管理
2. **Atomic Commits** - Each commit must be a meaningful independent change | 每次 commit 必须是有意义的独立变更
3. **Versioned Releases** - Must create Git tag before publishing | 发布前必须打 Git tag
4. **No In-Place Publishing** - Publish from a clean repository or filtered temporary package, never from a runtime install/cache directory | 从干净仓库或过滤后的临时包发布,禁止从运行时安装/缓存目录原位发布
5. **Onboarding Required** - Every skill must have installation/configuration guide | 每个 skill 必须有安装/配置引导
6. **Cross-Platform Sync** - After release, sync every installed target: source repo, GitHub Release, ClawHub, Claude Code, and Codex | 发版后同步源码、GitHub Release、ClawHub、Claude Code 与 Codex
7. **Marketplace on First Publish** - Register a brand-new skill in every supported marketplace index; version updates must NOT add duplicate entries | 全新 skill 首发时必须登记所有支持平台的 marketplace 索引;版本更新不得重复登记

## Development Workflow | 开发流程

### 1. Create Skill Repository | 创建 Skill 仓库

```
projects/<skill-name>/
├── .claude-plugin/plugin.json       # Required: Claude Code manifest
├── .codex-plugin/plugin.json        # Required: Codex manifest
├── skills/<skill-name>/SKILL.md     # Required: Codex discovery entry
├── SKILL.md              # Required: skill definition
├── scripts/              # Optional: automation scripts
├── references/           # Required: references and onboarding
│   └── ONBOARDING.md     # Required: onboarding guide
└── other project files
```

### 2. Development Guidelines | 开发规范

- **Atomic commits**: One thing per commit | 每个 commit 只做一件事
- **Commit frequently**: Commit after completing each feature/fix | 完成一个功能/修复一个问题后立即 commit
- **Descriptive messages**: Use meaningful commit messages | 使用描述性的 commit message

```bash
# Good | 好
git commit -m "Add install command to searxng-search CLI

README.md

# Kinema's Skill Making Pipeline

KinemaClaw 生态中 Skill 的开发、版本管理和跨平台发布规范,覆盖 Codex、Claude Code、GitHub Release 与 ClawHub。

## 平台支持

| 平台 | 状态 | 入口 |
| --- | --- | --- |
| Codex | ✅ | `.codex-plugin/plugin.json` + `skills/kinema-skill-making-pipeline/SKILL.md` |
| Claude Code | ✅ | `.claude-plugin/plugin.json` + 根 `SKILL.md` |
| OpenClaw / ClawHub | ✅ | 根 `SKILL.md` |

完整规范见 [SKILL.md](SKILL.md),环境配置见 [references/ONBOARDING.md](references/ONBOARDING.md)。

## Codex 安装

Codex 插件不需要 Node.js。添加 Kinema marketplace:

```powershell
codex plugin marketplace add https://github.com/KinemaClawWorkspace/kinema-skills-marketplace.git
```

安装插件:

```powershell
codex plugin add kinema-skill-making-pipeline@kinema-skills-marketplace
```

安装或升级后请新开一个 Codex 对话,使新的 skill 内容生效。

## Claude Code 安装

```text
/plugin marketplace add https://github.com/KinemaClawWorkspace/kinema-skills-marketplace
/plugin install kinema-skill-making-pipeline@kinema-skills-marketplace
```

## OpenClaw 安装

ClawHub CLI 需要 Node.js:

```bash
openclaw skills install kinema-skill-making-pipeline
```

## 核心原则

| 原则 | 说明 |
| --- | --- |
| Git First | 所有修改必须在 Git 仓库中管理 |
| Atomic Commits | 每个 commit 是独立且有意义的变更 |
| Versioned Releases | 发布前创建 Git tag |
| No In-Place Publishing | 不直接发布工作目录中的原位 skill |
| Onboarding Required | 每个 skill 都有安装与配置引导 |
| Cross-Platform Sync | 同步源码、GitHub Release、ClawHub、Claude Code 与 Codex |
| Marketplace on First Publish | 新 skill 在所有支持平台的 marketplace 首次登记,版本升级不重复登记 |

## 跨平台 Skill 结构

```text
<skill-name>/
├── .claude-plugin/plugin.json
├── .codex-plugin/plugin.json
├── skills/<skill-name>/SKILL.md
├── SKILL.md
├── README.md
├── LICENSE
├── scripts/
└── references/
    └── ONBOARDING.md
```

根 `SKILL.md` 是方法论的单一事实来源;Codex wrapper 只提供发现元数据和平台差异,避免维护两份完整规范。

## 发布流程

1. 提交功能变更。
2. 同步根 `SKILL.md` 和 Claude/Codex 两份 manifest 的版本。
3. 校验、提交并创建 Git tag。
4. 推送并创建 GitHub Release。
5. 发布 ClawHub 包。
6. 更新已安装的 Claude Code 与 Codex 插件。
7. 输出所有已启用平台的版本校验报告。

完整步骤见 [references/release-process.md](references/release-process.md)。首次发布新 skill 时,另见 [references/marketplace-publishing.md](references/marketplace-publishing.md)。

## 作者

- **Author**: [LeeShunEE](https://github.com/LeeShunEE)
- **Organization**: [KinemaClawWorkspace](https://github.com/KinemaClawWorkspace)

## 许可证

[GNU General Public License v3.0](LICENSE)

_meta.json

{
  "ownerId": "kn7cjsf9pc9x1tmreq1dahs90s83p9y0",
  "slug": "kinema-skill-making-pipeline",
  "version": "1.11.0",
  "publishedAt": 1784189773079
}

references/clawhub-api-fallback.md

# ClawHub API Fallback | ClawHub 备用发布

> 当 `clawhub publish` 返回 502 错误时,可通过 Node.js 直接调用 ClawHub API 发布。

## 使用方法

将占位符替换为实际值后执行:

- `<skill-name>` → SKILL.md 的 `name`
- `<displayName>` → SKILL.md 的 `displayName`
- 版本号、changelog → 本次发布对应值
- `folder` → skill 仓库的本地绝对路径

```bash
node -e "
const fs = require('fs');
const path = require('path');
const os = require('os');
const configPath = path.join(process.env.APPDATA || path.join(os.homedir(), 'AppData', 'Roaming'), 'clawhub', 'config.json');
const TOKEN = JSON.parse(fs.readFileSync(configPath, 'utf8')).token;

const folder = '/path/to/<skill-name>';
const files = [];
function walk(dir, prefix='') {
  for (const f of fs.readdirSync(dir, {withFileTypes: true})) {
    const full = path.join(dir, f.name);
    const rel = prefix ? prefix + '/' + f.name : f.name;
    if (f.name === '.git' || f.name === 'node_modules' || f.name === '.claude-plugin' || f.name === '.codex-plugin' || f.name === 'skills') continue;
    if (f.isDirectory()) walk(full, rel);
    else if (rel.split('.').pop().match(/^(md|json|yaml|yml|js|ts|py|sh|txt|toml|css|html|svg|xml|csv|env|ini|cfg)$/)) {
      files.push({ relPath: rel, bytes: fs.readFileSync(full) });
    }
  }
}
walk(folder);

const form = new FormData();
form.set('payload', JSON.stringify({
  slug: '<skill-name>',
  displayName: '<displayName>',
  version: '1.2.0',
  changelog: 'description of changes',
  acceptLicenseTerms: true,
  tags: ['latest']
}));
for (const f of files) form.append('files', new Blob([f.bytes], {type: 'text/plain'}), f.relPath);

fetch('https://clawhub.ai/api/v1/skills', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer ' + TOKEN, 'Accept': 'application/json' },
  body: form
}).then(async r => {
  const data = await r.json();
  console.log(r.ok ? 'OK ' + data.versionId : JSON.stringify(data));
});
"
```

## 说明

- 脚本读取 ClawHub 配置中的 token 鉴权(Windows: `%APPDATA%\clawhub\config.json`,其他: `~/.config/clawhub/config.json`)
- 仅上传文本类文件(按扩展名白名单过滤),跳过 `.git`、`node_modules`、`.claude-plugin`、`.codex-plugin` 和 Codex wrapper `skills/`
- `tags: ['latest']` 标记为最新版本
- `acceptLicenseTerms: true` 必须保留

references/marketplace-publishing.md

# Marketplace 索引更新 | Marketplace Index Publishing

> 仅在全新 skill 首次发布,或新增平台适配但对应 marketplace 尚无条目时执行。普通版本升级不得重复添加条目。

## 触发条件

分别检查 marketplace 仓库中的:

- Claude Code:`.claude-plugin/marketplace.json`
- Codex:`.agents/plugins/marketplace.json`

| 情况 | 动作 |
| --- | --- |
| 两边都不存在该 skill | 添加两种平台条目并同步 README |
| 仅一边缺失 | 只补缺失平台并更新 README 兼容表 |
| 两边都存在 | 跳过索引修改,执行常规版本发布 |

## Step 1: 定位 marketplace 仓库

不要硬编码工作区路径。优先在当前 workspace 搜索上述两个 manifest;未找到时再通过 `gh repo list <org>` 定位并 clone。若组织内完全不存在 marketplace 仓库,先向用户确认,不擅自创建。

## Step 2: 添加 Claude Code 条目

在 `.claude-plugin/marketplace.json` 的 `plugins` 末尾追加:

```json
{
  "name": "<skill-name>",
  "displayName": "<displayName>",
  "description": "<description>",
  "source": {
    "source": "github",
    "repo": "<org>/<skill-repo>"
  },
  "strict": false
}
```

`name` 必须与根 `SKILL.md` 和 `.claude-plugin/plugin.json` 一致。

## Step 3: 添加 Codex 条目

在 `.agents/plugins/marketplace.json` 的 `plugins` 末尾追加:

```json
{
  "name": "<skill-name>",
  "source": {
    "source": "url",
    "url": "https://github.com/<org>/<skill-repo>.git",
    "ref": "main"
  },
  "policy": {
    "installation": "AVAILABLE",
    "authentication": "ON_INSTALL"
  },
  "category": "Developer Tools"
}
```

规则:

- 每个条目必须包含 `policy.installation`、`policy.authentication` 和 `category`。
- 仓库根就是插件根时使用实测兼容的 `url` source;插件位于 monorepo 子目录时按当前 Codex 规范使用相应子目录 source。
- `ref: main` 允许普通版本升级不修改索引;如改用 tag 或 SHA 固定版本,后续发布必须明确更新 ref。
- 远程仓库必须已经包含有效 `.codex-plugin/plugin.json` 和其引用的所有文件,再发布 marketplace 条目。

## Step 4: 同步 README

更新 marketplace `README.md` 的兼容表,准确标注 Claude Code 与 Codex 支持状态。不要在 marketplace 仓库保存插件源码快照。

## Step 5: 校验、提交与推送

1. 解析两份 JSON,确认语法合法且无重复名称。
2. 使用隔离的 `CODEX_HOME` 添加 marketplace,并以 `codex plugin add <skill-name>@<marketplace-name>` 做安装冒烟测试。
3. 确认 Claude manifest 和 README 一致。
4. 只提交目标 manifest 与 README,然后推送 marketplace 仓库。

建议提交:

```bash
git add .claude-plugin/marketplace.json .agents/plugins/marketplace.json README.md
git commit -m "feat: add <skill-name> to marketplace index"
git push origin <default-branch>
```

## 用户安装命令

Claude Code:

```text
/plugin install <skill-name>@<marketplace-name>
```

Codex:

```bash
codex plugin marketplace upgrade <marketplace-name>
codex plugin add <skill-name>@<marketplace-name>
```

Codex 安装或升级后提醒用户新开对话。

## 验证清单

- [ ] 两种 manifest 中的 `name` 与插件仓库一致
- [ ] Codex 条目包含完整 source、policy 和 category
- [ ] 远程插件仓库已先于 marketplace 发布
- [ ] README 兼容表与两个 manifest 一致
- [ ] Codex Git source 安装冒烟测试通过
- [ ] marketplace commit 已推送

Sponsored

Ads related to Kinema's Skill Making Pipeline and adjacent AI workflows.