Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By linxule
Delegate code review, challenge, and rescue work to the local kimi-code CLI, keeping the main Claude Code context focused on high-level planning.
npx claudepluginhub linxule/kimi-plugin-cc --plugin kimiRun a read-only Kimi review over the current working tree changes or a base ref diff.
Verify local Kimi companion readiness and manage review-gate state. Writes a managed PreToolUse hook block to ~/.kimi-code/config.toml so kimi-code enforces this plugin's safety contract.
Show the latest or selected plugin-managed Kimi job for the current repository.
Fan out a READ-ONLY parallel review across the workspace using Kimi's AgentSwarm tool, bounded by a hard wall-clock budget. Read-only — enforced by the same PreToolUse hook as review, applied to every subagent.
Return the stored rendered result for the latest or selected terminal Kimi job.
Use this agent when the user wants Kimi to answer a free-form question about the repository in prose — explain a module, trace a flow, compare alternatives, or reason about a concept in context. Choose this agent over kimi-review when the user wants a narrative answer rather than diff-focused findings, and over kimi-rescue when the user wants understanding rather than implementation.
Use this agent when Claude wants Kimi to run an adversarial review that challenges the implementation approach, design choices, tradeoffs, and assumptions rather than just flagging defects. Choose this agent when the user wants pushback on whether the chosen approach is the right one, not a tighter pass over implementation defects (see kimi-review for that).
Use this agent proactively when the user wants to delegate a substantial investigation or implementation task to Kimi, especially multi-step bug hunts, cross-file refactors, or work the main Claude thread would rather offload than context-switch through. Choose this agent when the work is too large for an inline response but the user clearly wants it handed off, not just reviewed.
Use this agent when Claude wants an independent second-pair-of-eyes review from Kimi over a working-tree diff or branch diff. Choose this agent for read-only diff review — multi-file changes, design-risk changes, or when the user explicitly asks for another reviewer. Not for implementation work (see kimi-rescue) or free-form Q&A (see kimi-ask).
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Use Codex from Claude Code to review code or delegate tasks.
Use Copilot from Claude Code to review code or delegate tasks.
Automatic code review, adversarial review, and rescue via Codex.
Symmetric two-AI peer review using OpenAI Codex CLI. Both AIs review independently in a blind pass, then debate per-issue with terminal states until convergence. Catches significantly more issues than single-pass validation.
Command-driven Claude/Codex review workflows for multi-round plan and implementation review.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Atelier of Co-Apprenticeship for interpretive qualitative research. Human and AI learn together as apprentices to the craft tradition (rigor, reflexivity, theoretical sensitivity). Three stages: Solo Practice → Side-by-Side Collaboration → Dialogue with Tradition. Prevents calculator mindset, embeds meta-cognition, maintains human interpretive authority.
Epistemic Partnership System for AI-Assisted Qualitative Research. Cowork-compatible version with commands and skills.
Collaborative memory for human-AI work — persistent, searchable, interconnected
AI-augmented research environment. Interview-first onboarding, Obsidian vault setup, document conversion, scheduled automation, and ongoing research tools for academics.
No model invocation
Executes directly as bash, bypassing the AI model
No model invocation
Executes directly as bash, bypassing the AI model
Share bugs, ideas, or general feedback.
Use Kimi as Claude Code's second reviewer, independent thinker, and delegated worker — without building your own multi-agent stack.
This is a Claude Code plugin that drives the kimi-code CLI (the Node.js successor to Kimi CLI) as a subprocess. Claude can ask Kimi for a structured code review, delegate a bug hunt, or have Kimi double-check its own work before stopping — all through slash commands, with persistent job state, session resume, and per-command safety enforced by a PreToolUse hook installed in ~/.kimi-code/config.toml.
kimi binary using kimi -p --output-format stream-json.Migrating from v0.4? v0.4.x targeted the Python Kimi CLI and stays available at the
v0.4.0tag (v0.4-maintenancebranch is cut from that tag for ongoing fixes — see the linked tag if the branch is not yet pushed). v1.0 is a hard cut to kimi-code — install kimi-code first, then/plugin update kimiwill upgrade you in place. See docs/migration.md for the step-by-step upgrade.
# Prerequisite: install kimi-code from https://kimi.com/code/docs
/plugin marketplace add linxule/kimi-plugin-cc
/plugin install kimi@kimi-marketplace
/kimi:setup
/kimi:review "review my current diff"
Kimi reads your working-tree diff and returns a review as markdown:
## Verdict: concern
One high-confidence issue in the auth middleware; the rest looks fine.
### src/middleware/auth.ts:42-47 — JWT expiry not checked before token refresh
The refresh handler calls `getNewToken()` without first checking whether the
current token has actually expired. On a slow-clock client this triggers a
refresh on every request.
Suggested fix: add an expiry check before the refresh call.
Claude reads the review and can act on it directly. For programmatic access to the same content plus job metadata, companion.sh result <jobId> --json returns a structured envelope {job_id, kind, status, summary, error, artifact_path, body, ...} where body is the full markdown. To go further:
/kimi:rescue "fix the top review finding"
Kimi opens the file, writes the fix, runs the relevant tests, and reports back. The session persists — if you restart Claude Code, /kimi:rescue --resume picks up where it left off.
| Command | What it does | Kimi can write? | Session persists? |
|---|---|---|---|
/kimi:ask | Free-form Q&A — "explain this module"; supports --background / --wait like rescue | No | Fresh by default, -r to resume |
/kimi:review | Structured code review of your diff | No | Fresh each time |
/kimi:challenge | Adversarial review with a custom focus | No | Fresh each time |
/kimi:rescue | Delegate real work — bug hunts, refactors, fixes | Yes (allowlisted) | Persists + resumable |
/kimi:pursue | Experimental — pursue an objective autonomously across turns, bounded by a hard --budget | Yes (allowlisted, every turn) | Foreground-only; resume not yet exposed |
/kimi:swarm | Fan out a read-only review across files/modules in parallel (via AgentSwarm), bounded by a hard --budget | No (every subagent) | Foreground-only |
| Review gate | Kimi checks Claude's work before stopping | No | Per-stop-event |
The plugin ships four Claude Code subagents that the main thread can dispatch proactively via the Agent tool: kimi-rescue (write-capable delegation), plus kimi-review, kimi-challenge, and kimi-ask (read-only forwarders to the matching companion surfaces). Each agent's description is Kimi's own statement of what it's good for — Claude matches the moment and dispatches; no prescriptive skill manual in between.
The architecture is modeled after OpenAI's codex-plugin-cc. Both follow the same pattern: thin plugin shell, rich local runtime, one process per job.