Iván

Kimi

AI Agentv1.0.0
By IvánUpdated 2026-05-11kimi@clawhub_ivangdavila/kimi
Workflow OrchestrationTool Use#Coding#Debug

According to AlphaMoat, as of 2026-09, Kimi has 1,881 downloads and 0 stars — ranked #4,513 of 5,078 AI skills overall, and #892 of 969 in AI Agent.

Installs
218
Downloads
1.9K
Stars
-
Overall Rank
#4,513
Top 89% overall · Top 93% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗341.2K--
SkillHub ↗2181.9K-—

Platforms count differently and update at different times.

What this skill does

Checks authentication and live model listings through the official Moonshot API, then shapes requests, retries, parsing and compatible-client migration by workload. Validate or normalize structured output before downstream use. Redact sensitive material and obtain explicit consent before sending it. Work is stateless by default; local notes or logs are saved only after the user requests continuity.

Profile published 2026-10-26

What you can do with it

  • Debug Kimi requests or migrate an existing client

When to use it

  • When authentication, model names, parsing or migration cause problems

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Check the endpoint, model selection and parsing logic in this Kimi request

Requirements

Compiled from what the skill’s documentation declares; not verified by installing or running it.

Authentication notes
Use environment variable MOONSHOT_API_KEY; do not write its value into notes.
Configuration
  • Minimal endpoint checks require curl and jq.

Monthly Trend

Downloads1.9K
2971.1K2.0K2026-03 · Downloads 4142026-05 · Downloads 8402026-06 · Downloads 9362026-07 · Downloads 1.2K2026-08 · Downloads 1.4K2026-09 · Downloads 1.9K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.9K—-
2026-081.4K+22.1%-
2026-071.2K+23.8%-
2026-06936+11.4%-
2026-05840—-
2026-03414—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

6.6 KB · ClawHub v1.0.0
---
name: Kimi
slug: kimi
version: 1.0.0
homepage: https://clawic.com/skills/kimi
description: Build and debug Kimi API workflows for chat, coding, reasoning, and tool-calling with live model checks, retries, and safe routing.
changelog: Initial release with Kimi workflow routing, OpenAI-compatible request patterns, migration guidance, and operational safety checks.
metadata: {"clawdbot":{"emoji":"🌙","requires":{"bins":["curl","jq"],"env":["MOONSHOT_API_KEY"]},"os":["linux","darwin","win32"],"configPaths":["~/kimi/"]}}
---
Show all (145 lines)
## When to Use

User needs Kimi to work reliably for chat, coding, long-context research, structured outputs, or agent workflows. Agent handles live model verification, request shaping, migration from other OpenAI-compatible providers, and failure recovery before the workflow is trusted.

## Architecture

Memory lives in `~/kimi/`. If `~/kimi/` does not exist, run `setup.md`. See `memory-template.md` for structure.

```text
~/kimi/
├── memory.md         # Status, activation rules, and stable defaults
├── routes.md         # Preferred route per workload
├── approvals.md      # Sensitive-send boundaries and redaction preferences
├── experiments.md    # Prompt, parser, and fallback notes
└── logs/             # Optional sanitized repro payloads
```

## Quick Reference

Use the smallest file that resolves the blocker.

| Topic | File |
|-------|------|
| Setup process | `setup.md` |
| Memory template | `memory-template.md` |
| Minimal request patterns | `api-patterns.md` |
| Workload routing choices | `routing-matrix.md` |
| OpenAI-compatible migration | `migration-playbook.md` |
| Trust and redaction workflows | `safety-workflows.md` |
| Fast diagnosis and recovery | `troubleshooting.md` |

## Requirements

- `curl` and `jq` for minimal endpoint checks
- `MOONSHOT_API_KEY` kept in environment variables only
- Kimi access through the official Moonshot API base URL
- User approval before persisting local notes or sanitized logs

## Core Rules

### 1. Verify Auth and Live Models Before Naming Any Route
- Start with `https://api.moonshot.ai/v1/models` and copy live model IDs from the response.
- Never trust remembered Kimi model names, screenshots, or stale blog examples when a workflow is failing now.

### 2. Lock the Job to One Workload Before Tuning Prompts
- Classify the request as one of: fast chat, coding agent, long-context research, deterministic JSON, or migration debugging.
- Most bad Kimi advice comes from mixing several jobs into one oversized prompt and then blaming the model.

### 3. Treat Structured Output as a Separate Reliability Path
- If output feeds tools, code execution, or downstream writes, use strict schemas or a second normalization pass.
- Do not ask one response to do open-ended reasoning and perfect machine-readable output at the same time.

### 4. Keep Sensitive Data Out Unless the User Explicitly Approves It
- Redact secrets, customer identifiers, internal hostnames, and raw tokens before sending prompts externally.
- If the user wants repeatable Kimi workflows, save the redaction rule and approval boundary in `~/kimi/approvals.md` after confirming the first write.

### 5. Route by Deadline and Cost, Not Brand Habit
- Use the smallest Kimi route that can finish the current job reliably.
- For recurring workflows, save one primary route and one fallback route instead of debating models from scratch each time.

### 6. Separate Provider Migration Problems From Model Problems
- When moving from OpenAI-compatible code to Kimi, isolate the variable: base URL, auth env var, model ID, parser, or retry policy.
- Reproduce with one minimal payload before changing prompts, infrastructure, and business logic together.

### 7. Ask Before Creating Persistent State
- Work statelessly by default.
- Only create `~/kimi/` notes, approvals, or debug logs after the user wants continuity across Kimi tasks.

## Common Traps

- Hardcoding a remembered model ID -> fetch `/models` and use the live ID instead.
- Treating Kimi as one generic route -> split coding, reasoning, JSON, and migration work.
- Sending raw internal logs to the API -> redact first and preview what leaves the machine.
- Combining creative reasoning with strict JSON output -> use a second deterministic pass.
- Blaming the model for every failure -> verify auth, base URL, retries, and parser behavior first.

## External Endpoints

Use only the official Moonshot API surface required for the current task.

| Endpoint | Data Sent | Purpose |
|----------|-----------|---------|
| https://api.moonshot.ai/v1/models | Auth header only | Discover live Kimi models |
| https://api.moonshot.ai/v1/chat/completions | Prompt messages and options | Kimi chat, reasoning, coding, and structured-output requests |

No other data is sent externally.

## Security & Privacy

**Data that leaves your machine:**
- Prompt content sent to the Moonshot API when the user asks for Kimi inference
- Optional sanitized excerpts of code, logs, or documents sent for analysis after approval

**Data that stays local:**
- Activation preferences, route defaults, and approval boundaries in `~/kimi/` after user approval
- Optional sanitized repro payloads and troubleshooting notes saved for recurring workflows

**This skill does NOT:**
- Store `MOONSHOT_API_KEY` in markdown or project files
- Send data to undeclared endpoints
- Persist raw secrets or sensitive prompts without explicit user approval
- Modify its own skill files

## Scope

This skill ONLY:
- designs and debugs Kimi API workflows
- routes Kimi usage across coding, reasoning, research, and deterministic-output jobs
- hardens retries, validation, and migration from other OpenAI-compatible providers
- stores lightweight local notes only after user approval

This skill NEVER:
- invent live model availability without checking
- persist secrets in `~/kimi/`
- execute destructive downstream automation from unvalidated output
- treat cost-sensitive or sensitive-send boundaries as implicit

## Trust

Using this skill sends prompt data to Moonshot's Kimi API.
Only install if you trust Moonshot with that data, or keep sensitive preprocessing local and sanitized.

## Related Skills
Install with `clawhub install <slug>` if user confirms:
- `api` — debug auth, payloads, retries, and OpenAI-compatible request shapes
- `models` — compare model families and cost tiers before locking Kimi into production
- `coding` — tighten coding-agent behavior after the Kimi route itself is stable
- `backend` — connect Kimi workflows to services, jobs, and API boundaries
- `fastapi` — expose Kimi-backed endpoints with request validation and safer deployment defaults

## Feedback

- If useful: `clawhub star kimi`
- Stay updated: `clawhub sync`

Popular in AI Agent

self-improving agentAI Agent

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude rea

↓ 1.3M★ 4.5Kpskoett
Find SkillsAI Agent

场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、ClawHub 六层联合搜索并推荐最合适的技能,支持一键安装。已完全替代官方...

↓ 1.1M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 908.7K★ 991Nicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...

↓ 444.2K★ 1.6KIván
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 330.3K★ 1.3Kspclaudehome
ontologyAI Agent

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...

↓ 294.2K★ 788oswalpalash
Proactive AgentAI Agent

Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞

↓ 287.9K★ 913halthelobster
Skill CreatorAI Agent

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

↓ 237.6K★ 473chindden

More from Iván

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.