By linxule
Offload code review, challenge, questioning, and rescue tasks to the local kimi-code CLI, with an opt-in review gate for per-command safety and parallel workspace reviews.
Ask Kimi a read-only question in free-form prose mode.
Cancel an active plugin-managed Kimi job for the current repository.
Run a read-only Kimi challenge review that challenges assumptions and surfaces safer alternatives.
Hand Kimi an objective to pursue AUTONOMOUSLY across multiple turns (experimental goal mode), bounded by a hard wall-clock budget. Write-capable, gated by the same PreToolUse hook as rescue.
Re-render a stored Wire event log for a completed plugin-managed 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
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
No model invocation
Executes directly as bash, bypassing the AI model
No model invocation
Executes directly as bash, bypassing the AI model
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.
npx claudepluginhub linxule/kimi-plugin-cc --plugin kimiAtelier 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.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses