Use this repository when you want Codex to hand off bounded frontend and UI work to the local kimi CLI while keeping the edit scope explicit and the result auditable.
- a Codex plugin at
plugins/kimi-code-ui/ - a
kimi-ui-taskskill for bounded frontend and UI work - bounded execution through the local
kimiCLI with explicit editable files - structured output that Codex can inspect instead of relying on raw CLI text
python3- local
kimiCLI available onPATH - Codex using
~/.codexor anotherCODEX_HOME
Choose one installation mode depending on how you want the integration to appear in Codex.
Use this if you want the full plugin entry in Codex.
- Clone this repository anywhere on your machine.
- Copy the plugin bundle into the Codex plugin cache:
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
REPO_DIR="/path/to/kimi-code-plugin-codex"
mkdir -p "$CODEX_HOME/plugins/cache/kimi-code-plugin-codex/kimi-code-ui/local"
rsync -a --delete \
"$REPO_DIR/plugins/kimi-code-ui/" \
"$CODEX_HOME/plugins/cache/kimi-code-plugin-codex/kimi-code-ui/local/"- Enable the plugin in
$CODEX_HOME/config.toml:
[plugins."kimi-code-ui@kimi-code-plugin-codex"]
enabled = true- Restart Codex.
Notes:
- If you previously enabled
kimi-ui-workflow@kimi-code-plugin-codex, replace it withkimi-code-ui@kimi-code-plugin-codex. - This mode installs the plugin manifest, assets, script, and bundled skill together.
Use this if you only want the kimi-ui-task skill and do not need the plugin entry or metadata in Codex.
- Clone this repository anywhere on your machine and keep it there.
- Link the skill directory into Codex:
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
REPO_DIR="/path/to/kimi-code-plugin-codex"
mkdir -p "$CODEX_HOME/skills"
ln -sfn \
"$REPO_DIR/plugins/kimi-code-ui/skills/kimi-ui-task" \
"$CODEX_HOME/skills/kimi-ui-task"- Restart Codex.
Notes:
- This mode exposes only the
kimi-ui-taskskill. - Use a symlink rather than copying the skill so the skill continues to point at the adapter that lives in this repository.
After installation, ask Codex to use kimi-ui-task for a frontend or UI task where the editable files are known up front.
Typical fit:
- layout or spacing fixes
- component-level styling work
- bounded UI polish inside a known file list
- tasks where you want optional
lintortestverification after the edit
- Codex identifies a frontend or UI task with explicit editable files.
- The
kimi-ui-taskskill calls the adapter script. - The adapter collects the task, editable files, optional read-only context, optional constraints, and repo facts from
--cwd. - The adapter sends a fixed prompt to
kimiand consumes structuredstream-jsonoutput. - After Kimi returns, the adapter reports changed files, verification results, and a stable final status.
This repository is licensed under the MIT License. See LICENSE.