kimchiconvert
Convert the kimchi plugin into OpenCode and Codex compatible formats using the bundled converter CLI. Requires bun runtime.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Plugin Format Converter
Convert the kimchi Claude Code plugin into OpenCode and Codex compatible formats.
How to Execute
1. Resolve paths
Find these two absolute paths:
-
Plugin root: Walk up from the current working directory (or this skill's directory) until you find a directory containing
.claude-plugin/plugin.json. This is the kimchi plugin root. -
CLI directory: This skill's
cli/subdirectory. It containssrc/index.tsandpackage.json.
Both paths MUST be absolute. CWD varies across invocations.
2. Check bun is available
which bun
If missing, tell the user to install bun: curl -fsSL https://bun.sh/install | bash
3. Install dependencies (if needed)
Check if node_modules/ exists in the CLI directory. If not:
cd <cli-dir> && bun install
4. Run the converter
Parse the user's arguments to determine the target format. Default is both.
OpenCode only:
bun run <cli-dir>/src/index.ts convert <plugin-root> --to opencode --output <output-path>
Codex only:
bun run <cli-dir>/src/index.ts convert <plugin-root> --to codex --output <output-path>
Both (default):
bun run <cli-dir>/src/index.ts convert <plugin-root> --to opencode --also codex --output <output-path>
5. Output location
Default output to .converted/ in the project root (the git repository root or the directory containing the kimchi plugin), not the current working directory.
If the user passes --output <path>, use that instead.
6. Report results
After conversion, report:
- What format(s) were generated
- Where the output was written
- List the key generated files (e.g.,
opencode.json,config.toml)
Known Limitations
- Kimchi has no
commands/directory in the converter sense — onlyskills/andagents/. Thecommandsarray in output will be empty. This is expected; skills are kimchi's functional units. - The converter skill itself will appear in the conversion output. Harmless.
- The
installcommand in the CLI is compound-engineering specific and not useful for kimchi.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!