Skip to content

Commit 3d8a956

Browse files
committed
Update README and ci config
1 parent 052b690 commit 3d8a956

File tree

4 files changed

+202
-19
lines changed

4 files changed

+202
-19
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -198,19 +198,11 @@ jobs:
198198
199199
### Installation
200200
201-
**Plugins Branch Commit:** ${{ needs.commit-to-plugins-branch.outputs.plugins_commit_sha }}
201+
**${{ github.ref_name }} Marketplace Commit:** ${{ needs.commit-to-plugins-branch.outputs.plugins_commit_sha }}
202+
203+
**Download the ${{ github.ref_name }} of the product**: [Download](https://github.com/ForteScarlet/codex-kkp/archive/${{ needs.commit-to-plugins-branch.outputs.plugins_commit_sha }}.zip)
204+
or download [codex-agent-collaboration-marketplace.zip](https://github.com/ForteScarlet/codex-kkp/releases/download/${{ github.ref_name }}/codex-agent-collaboration-marketplace.zip) from release's assets.
202205
203-
Install the plugin from the plugins branch for platform-specific packages.
204-
205-
### Usage
206-
207-
Extract the platform-specific package and follow the instructions in `SKILL.md`.
208-
209-
For standalone executables, make them executable on Unix systems:
210-
```bash
211-
chmod +x codex-kkp-cli-<platform>.kexe
212-
./codex-kkp-cli-<platform>.kexe
213-
```
214206
EOF
215207
216208
cat release_notes.md
@@ -224,6 +216,7 @@ jobs:
224216
draft: false
225217
prerelease: false
226218
fail_on_unmatched_files: true
219+
generate_release_notes: true
227220
env:
228221
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229222

README.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
> KKP: **K**otlin Claude Code s**K**ill **P**lugin.
44
5-
[TOC]
6-
75
## Overview
86

97
Codex KKP is a Claude Code Plugin that enables seamless integration with Codex AI Agent for code
@@ -32,7 +30,7 @@ a subagent and a skill for code analysis, implementation, and collaboration task
3230
**1.1 Download source**
3331

3432
[Download](https://github.com/ForteScarlet/codex-kkp/archive/refs/heads/plugins/release.zip)
35-
the source code for Branch `plugins/release` and extract it,
33+
the source code for Branch `plugins/release` and extract it.
3634

3735
**1.2 Clone source**
3836

@@ -72,7 +70,31 @@ and select a version (such as the [latest](https://github.com/ForteScarlet/codex
7270

7371
Select the content you need from assets, download it, and configure it:
7472

75-
#### 1. Download skills zip file
73+
#### 1. Download marketplace zip file
74+
75+
The compressed file `codex-agent-collaboration-marketplace.zip` in Assets is a complete marketplace package that includes plugins and skills.
76+
77+
After downloading and extracting, run Claude Code:
78+
79+
```bash
80+
claude
81+
```
82+
83+
Use the `/plugin` command:
84+
85+
```bash
86+
/plugin
87+
```
88+
89+
Choose `Add marketplace`:
90+
91+
```bash
92+
> Add marketplace
93+
```
94+
95+
Then enter the local path of your extracted marketplace directory (the directory containing the `.claude-plugin` directory).
96+
97+
#### 2. Download skills zip file
7698

7799
The compressed file `codex-agent-collaboration.zip` in Assets contains a unified multi-platform skill bundle.
78100
You can download and unzip it, then place the extracted directory in your skills directory
@@ -88,13 +110,13 @@ This single ZIP file includes executables for all supported platforms:
88110

89111
Claude Code will automatically select the appropriate executable for your system.
90112

91-
#### 2. Download executable binary file
113+
#### 3. Download executable binary file
92114

93115
Standalone binary files (e.g., `codex-kkp-cli-macosx64`, `codex-kkp-cli-mingwx64`)
94116
in Assets are raw executable binaries for each platform.
95117
You can download only the executable file for your platform and design the skills yourself.
96118

97-
Note: All executables use uniform naming without file extensions (including Windows builds).
119+
Note: All executables use uniform naming without file extensions (including Windows (`mingwx64`) builds).
98120

99121
### Tool installation and management
100122

README_CN.md

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
# Codex KKP
2+
3+
> KKP: **K**otlin Claude Code s**K**ill **P**lugin。
4+
5+
## 概述
6+
7+
Codex KKP 是一个 Claude Code 插件,可与 Codex AI Agent 无缝集成,用于代码分析、实现和协作任务。
8+
提供 Codex AI Agent 的子代理(subagents)和技能(skills)。
9+
10+
## 特性
11+
12+
- **多平台支持**:原生二进制文件支持 macOS、Linux 和 Windows
13+
- **精简结果**:默认情况下,仅返回已完成的结果以减少 token 消耗
14+
- **沙箱模式**:可配置的安全级别(read-only, workspace-write, danger-full-access)
15+
- **会话管理**:恢复之前的会话并保持上下文
16+
- **子代理**:并行运行子代理以提高性能
17+
- **零糖零卡**:非常健康
18+
19+
## 使用方法
20+
21+
安装和配置完成后,您可以在 Claude Code 中使用 Codex KKP 插件。
22+
23+
## 安装
24+
25+
### 从仓库下载
26+
27+
**1. 从仓库下载/克隆源代码**
28+
29+
**1.1 下载源代码**
30+
31+
[下载](https://github.com/ForteScarlet/codex-kkp/archive/refs/heads/plugins/release.zip)
32+
`plugins/release` 分支的源代码并解压。
33+
34+
**1.2 克隆源代码**
35+
36+
**或者**克隆仓库并
37+
[检出 `plugins/release` 分支](https://github.com/ForteScarlet/codex-kkp/tree/plugins/release)
38+
39+
```bash
40+
git clone -b plugins/release https://github.com/ForteScarlet/codex-kkp.git
41+
```
42+
43+
**2. 添加到 Claude Code 的 marketplace**
44+
45+
运行 claude:
46+
47+
```bash
48+
claude
49+
```
50+
51+
使用 `/plugin`
52+
53+
```bash
54+
/plugin
55+
```
56+
57+
选择 `Add marketplace`
58+
59+
```bash
60+
> Add marketplace
61+
```
62+
63+
然后输入您下载/克隆仓库的本地路径。
64+
65+
### 从 releases 下载
66+
67+
前往 [releases](https://github.com/ForteScarlet/codex-kkp/releases)
68+
并选择一个版本(例如[最新版本](https://github.com/ForteScarlet/codex-kkp/releases/latest))。
69+
70+
从 assets 中选择您需要的内容,下载并配置:
71+
72+
#### 1. 下载 marketplace zip 文件
73+
74+
Assets 中的压缩文件 `codex-agent-collaboration-marketplace.zip` 是包含 plugins 和 skills 在内的完整的 marketplace 包。
75+
76+
下载并解压后,运行 Claude Code:
77+
78+
```bash
79+
claude
80+
```
81+
82+
使用 `/plugin` 命令:
83+
84+
```bash
85+
/plugin
86+
```
87+
88+
选择 `Add marketplace`
89+
90+
```bash
91+
> Add marketplace
92+
```
93+
94+
然后输入您解压后的 marketplace 目录的本地路径(即包含 `.claude-plugin` 目录的目录)。
95+
96+
#### 2. 下载 skills zip 文件
97+
98+
Assets 中的压缩文件 `codex-agent-collaboration.zip` 是仅包含统一的多平台执行文件的 skill 包(不包括 plugins 等)。
99+
您可以下载并解压,然后将解压后的目录放置在您的 skills 目录中
100+
(例如 `<PROJECT_DIR>/.claude/skills/codex-agent-collaboration/`)。
101+
102+
这个单一的 ZIP 文件包含所有支持平台的可执行文件:
103+
104+
- macOS x86_64 (Intel) - `executables/codex-kkp-cli-macosx64`
105+
- macOS ARM64 (Apple Silicon) - `executables/codex-kkp-cli-macosarm64`
106+
- Linux x86_64 - `executables/codex-kkp-cli-linuxx64`
107+
- Linux ARM64 - `executables/codex-kkp-cli-linuxarm64`
108+
- Windows x86_64 - `executables/codex-kkp-cli-mingwx64`
109+
110+
Claude Code 将自动为您的系统选择适当的可执行文件。
111+
112+
#### 3. 下载可执行二进制文件
113+
114+
Assets 中的独立二进制文件(例如 `codex-kkp-cli-macosx64``codex-kkp-cli-mingwx64`
115+
是每个平台的原始可执行二进制文件。
116+
您可以仅下载适用于您平台的可执行文件并自行设计技能。
117+
118+
注意:所有可执行文件使用统一的命名方式,因此不带文件扩展名(包括 Windows (`mingwx64`) 平台)。
119+
120+
### 工具安装和管理
121+
122+
一些开源项目可能允许通过仓库地址和分支独立管理 marketplace
123+
和技能(例如 [cc-switch](https://github.com/farion1231/cc-switch),不过它仅限技能)。
124+
您也可以使用这些工具直接基于仓库和分支配置技能。
125+
126+
## 配置
127+
128+
完成插件安装后,
129+
您可以提前配置一些设置。
130+
131+
编辑项目中的 `.claude/settings.local.json` 文件,
132+
并将以下配置添加到 `permissions.allow` 属性中:
133+
134+
**仅安装技能**
135+
136+
```json
137+
{
138+
"permissions": {
139+
"allow": [
140+
"Skill(codex-agent-collaboration-plugin:codex-agent-collaboration)",
141+
"Bash(~/.claude/skills/codex-agent-collaboration/executables/codex-kkp-cli-macosx64:*)"
142+
]
143+
}
144+
}
145+
```
146+
147+
**通过 marketplace 安装完整插件**
148+
149+
```json
150+
{
151+
"permissions": {
152+
"allow": [
153+
"Skill(codex-agent-collaboration-plugin:codex-agent-collaboration)",
154+
"Bash(~/.claude/marketplace/codex-kkp-skills-marketplace/codex-agent-collaboration-plugin/skills/codex-agent-collaboration/executables/codex-kkp-cli-macosx64:*)"
155+
]
156+
}
157+
}
158+
```
159+
160+
> 如果本地加载,则 `~/.claude/marketplace/` 应替换为您本地下载的
161+
`codex-kkp-skills-marketplace` 所在的目录。
162+
163+
`Bash` 中,路径指的是已安装插件包内对应您系统平台的可执行文件。
164+
您可能需要根据实际情况进行适当调整。
165+
166+
## 许可证
167+
168+
本项目采用 MIT 许可证 - 详情请参阅 [LICENSE](LICENSE) 文件。

codex-kkp-cli/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ tasks.register<Zip>("packageMarketplace") {
170170
}
171171

172172
// Enable inclusion of hidden files and directories
173-
setIncludeEmptyDirs(true)
173+
includeEmptyDirs = true
174174

175175
archiveBaseName.set("codex-agent-collaboration-marketplace")
176176
archiveVersion.set("")

0 commit comments

Comments
 (0)