kimi-cli

Delegate tasks to Kimi CLI for front-end development, full-stack coding, and long-context code understanding. Powered by Moonshot AI's Kimi K2 model with extended context support.

7 stars

Best use case

kimi-cli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Delegate tasks to Kimi CLI for front-end development, full-stack coding, and long-context code understanding. Powered by Moonshot AI's Kimi K2 model with extended context support.

Teams using kimi-cli should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kimi-cli/SKILL.md --create-dirs "https://raw.githubusercontent.com/roy2392/sdlc-subagents-cli/main/templates/skills/kimi-cli/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kimi-cli/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How kimi-cli Compares

Feature / Agentkimi-cliStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Delegate tasks to Kimi CLI for front-end development, full-stack coding, and long-context code understanding. Powered by Moonshot AI's Kimi K2 model with extended context support.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

## What is Kimi CLI

Kimi CLI is Moonshot AI's terminal-based autonomous coding agent. It leverages the Kimi K2 model with long-context support, reads and edits code, executes shell commands, and supports MCP tools integration.

## When to delegate to Kimi CLI

Use Kimi CLI when you need to:
- Build or modify front-end components (React, Vue, Svelte, etc.)
- Implement full-stack features end-to-end
- Work on tasks that benefit from long-context understanding
- Generate UI code from descriptions or mockups
- Perform front-end-specific tasks (styling, responsive design, accessibility)
- Work with MCP-connected tools and resources

## How to invoke Kimi CLI

### Non-interactive (recommended for delegation)

Kimi CLI accepts prompts via stdin pipe:

```bash
echo "YOUR PROMPT HERE" | kimi
```

### With specific model

```bash
echo "YOUR PROMPT" | kimi --model kimi-k2
```

### With MCP configuration

```bash
echo "YOUR PROMPT" | kimi --mcp-config-file ~/.config/kimi/mcp.json
```

## Important notes

- Install via `uv tool install --python 3.13 kimi-cli` (requires `uv` package manager)
- Authentication via `/login` command on first run (OAuth) or `KIMI_API_KEY` env var
- Non-interactive mode uses stdin pipe (not a `-p` flag like other tools)
- Kimi CLI creates an `AGENTS.md` project config (via `/init` command)
- Supports OpenAI-compatible API format
- Excels at front-end and UI-related coding tasks

## Delegation pattern

For front-end component creation:

```bash
RESULT=$(echo "Create a responsive navigation bar component using React and Tailwind CSS. It should have a logo, links (Home, About, Contact), a mobile hamburger menu, and dark mode toggle. Export as NavBar from src/components/NavBar.tsx" | kimi)
```

For full-stack features:

```bash
RESULT=$(echo "Implement a user profile page with the following: 1) React component at src/pages/Profile.tsx 2) API endpoint at src/api/profile.ts 3) Form for editing name, email, avatar. Use existing auth context from src/contexts/auth.tsx" | kimi)
```

For styling and accessibility:

```bash
RESULT=$(echo "Audit the components in src/components/ for accessibility issues. Fix any WCAG 2.1 AA violations. Add proper ARIA labels, keyboard navigation, and focus management." | kimi)
```

Related Skills

sdlc-orchestrator

7
from roy2392/sdlc-subagents-cli

Orchestrate multiple coding agent CLIs as sub-agents. Load this skill to understand which coding agent CLI to delegate tasks to based on task type (front-end, context engineering, GitHub workflows, refactoring, pair programming, rapid prototyping).

gemini-cli

7
from roy2392/sdlc-subagents-cli

Delegate tasks to Gemini CLI for context engineering, large codebase analysis, research-heavy coding tasks, and documentation generation. Gemini has a 1M token context window and built-in Google Search grounding.

cursor-cli

7
from roy2392/sdlc-subagents-cli

Delegate tasks to Cursor CLI (agent command) for IDE-grade coding in the terminal, cloud agent handoff for long-running tasks, and rapid prototyping with multi-model support.

copilot-cli

7
from roy2392/sdlc-subagents-cli

Delegate tasks to GitHub Copilot CLI for GitHub workflow automation, PR creation and review, issue management, and repository operations. Deeply integrated with GitHub's ecosystem.

claude-code

7
from roy2392/sdlc-subagents-cli

Delegate tasks to Claude Code for complex refactoring, architecture-level changes, multi-file edits, in-depth code review, and debugging. Excels at deep reasoning about code structure.

aider

7
from roy2392/sdlc-subagents-cli

Delegate tasks to Aider for AI pair programming with auto-git-commits, model-agnostic LLM support, and architect mode for complex changes. Works with any LLM provider.

kimi-agent-policy

3891
from openclaw/skills

Kimi (Moonshot AI) agent tool-use policy ported to OpenClaw. Covers step limits, web search, image search, data sources, ipython, memory, content display, and capability boundaries. All Kimi-specific tools are mapped to available OpenClaw skills.

kimi-integration

533
from sundial-org/awesome-openclaw-skills

Step-by-step guide for integrating Moonshot AI (Kimi) and Kimi Code models into Clawdbot. Use when someone asks how to add Kimi models, configure Moonshot AI, or set up Kimi for Coding in Clawdbot.

kimicode-vision-bridge

18
from Dqz00116/skill-lib

Use when the current Agent LLM cannot process images directly and visual analysis is needed — bridges images through KimiCode CLI print mode to a multimodal Kimi model for text description

Kimi Research Subagent

11
from 9thLevelSoftware/Climi

Delegates development tasks to Kimi K2.5. Use when implementing features, debugging issues, refactoring code, or running tests. Claude architects, Kimi implements.

kimi-integration

7
from Demerzels-lab/elsamultiskillagent

Step-by-step guide for integrating Moonshot AI (Kimi) and Kimi Code models into Clawdbot. Use when someone asks how to add Kimi models, configure Moonshot AI, or set up Kimi for Coding in Clawdbot.

workspace-surface-audit

144923
from affaan-m/everything-claude-code

Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.

DevelopmentClaude