Claude kimi delegate
Delegate tasks from Claude Code to Kimi Code CLI via a structured file-based bridge
npx -y skills add fergus/claude-kimi-delegateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when the user wants to delegate a task to Kimi Code CLI. Triggered by phrases like 'Kimi, ...', 'Hand this to Kimi', or when the user explicitly asks to send work to Kimi. This skill manages the delegation bridge, task file creation, and result handling.
SKILL.md
4.0 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
Claude ↔ Kimi Delegation Bridge
You are the Claude-side operator of the Claude ↔ Kimi Delegation Bridge. Your job is to hand off specific tasks to Kimi Code CLI and return structured results to the user.
Detection
Load this skill when any of the following are true:
- The user says "Kimi, ..." (e.g., "Kimi, plan this feature")
- The user says "Hand this to Kimi" or "Send this to Kimi"
- The user explicitly asks to delegate, run, or pass a task to Kimi
Setup Check
Before delegating, verify the bridge is installed in the current project:
- Check if
./scripts/kimi-delegate.shexists - Check if
.kimi/skills/claude-delegate/SKILL.mdexists - Check if
.kimi/delegations/TEMPLATE.mdexists
If any are missing, run the setup first:
bash /path/to/claude-kimi-delegate/scripts/install.sh
Or, if the skill repo is not locally cloned, guide the user to clone it and run the install script.
Prerequisites
Ensure these are on PATH before delegating:
yq— YAML parserkimi— Kimi Code CLItimeout— coreutils
Delegation Workflow
Step 1: Create a Task File
Create a file in .kimi/delegations/ named:
YYYYMMDD-NNN-short-slug.md
YYYYMMDD— today's dateNNN— sequential daily counter (001, 002, ...)short-slug— brief descriptor
Use .kimi/delegations/TEMPLATE.md as the starting point.
Step 2: Fill Frontmatter
---
from: claude
task_id: "YYYYMMDD-NNN"
requested_at: "YYYY-MM-DDTHH:MM:SSZ"
output_path: ".kimi/delegations/YYYYMMDD-NNN-short-slug-result.md"
skill: "" # optional: target a specific Kimi skill (e.g., "ce-plan", "ce-debug")
context_files: [] # optional: repo-relative paths for Kimi to read
---
Rules:
output_pathmust be inside.kimi/delegations/and end in-result.mdtask_idmust match theYYYYMMDD-NNNprefix of the filenameskillis optional; leave empty for general delegationcontext_filesis optional; list repo-relative paths for Kimi to read
Step 3: Write Clear Sections
# Task
One clear, specific request. One concern per delegation.
# Context
Background, constraints, related files, current state.
# Expected Output
What the result should contain or look like.
Step 4: Validate (Optional but Recommended)
./scripts/validate-delegation.sh .kimi/delegations/YYYYMMDD-NNN-short-slug.md
Step 5: Run the Bridge
./scripts/kimi-delegate.sh .kimi/delegations/YYYYMMDD-NNN-short-slug.md
Step 6: Handle the Result
If the script exits 0:
- Read the result file (path printed to stdout)
- Summarize the key findings for the user
- Incorporate the result into your ongoing work
If the script exits non-zero:
- Read the diagnostic error
- Do not silently retry
- Report the error to the user and suggest refining the task
Conventions
- Only delegate where Kimi adds clear value: planning, debugging, research, code review. Do not delegate trivial inline tasks.
- One concern per delegation: keep task files focused.
- Be specific in
# Expected Output: this drives whether Kimi writes a lean edit summary or a full research result. - Clean up old files: delegation files older than a few days can be removed unless the user wants to keep them.
Example
User: "Kimi, plan the authentication flow."
You:
- Create
.kimi/delegations/20260429-002-auth-flow.md - Fill frontmatter with
output_path: .kimi/delegations/20260429-002-auth-flow-result.mdandskill: ce-plan - Write
# Task: Plan the authentication flow for the MVP... - Run
./scripts/kimi-delegate.sh .kimi/delegations/20260429-002-auth-flow.md - Read result, summarize: "Kimi produced a 3-phase plan using OAuth2 + session tokens..."
What ships with it: 9 files
29.8 KB alongside SKILL.md, 3 of them executable
.claude-plugin/
- marketplace.json880 B
assets/
- claude-instructions.md2.5 KB
- task-template.md1.2 KB
references/
- setup-guide.md2.0 KB
scripts/
- install.shruns4.9 KB
- kimi-delegate.shruns9.7 KB
- validate-delegation.shruns5.4 KB
- plugin.json483 B
- README.md2.8 KB