Install
openclaw skills install kimiBuild and debug Kimi API workflows for chat, coding, reasoning, and tool-calling with live model checks, retries, and safe routing.
openclaw skills install kimiUser 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.
Memory lives in ~/kimi/. If ~/kimi/ does not exist, run setup.md. See memory-template.md for structure.
~/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
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 |
curl and jq for minimal endpoint checksMOONSHOT_API_KEY kept in environment variables onlyhttps://api.moonshot.ai/v1/models and copy live model IDs from the response.~/kimi/approvals.md after confirming the first write.~/kimi/ notes, approvals, or debug logs after the user wants continuity across Kimi tasks./models and use the live ID instead.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.
Data that leaves your machine:
Data that stays local:
~/kimi/ after user approvalThis skill does NOT:
MOONSHOT_API_KEY in markdown or project filesThis skill ONLY:
This skill NEVER:
~/kimi/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.
Install with clawhub install <slug> if user confirms:
api — debug auth, payloads, retries, and OpenAI-compatible request shapesmodels — compare model families and cost tiers before locking Kimi into productioncoding — tighten coding-agent behavior after the Kimi route itself is stablebackend — connect Kimi workflows to services, jobs, and API boundariesfastapi — expose Kimi-backed endpoints with request validation and safer deployment defaultsclawhub star kimiclawhub sync