kimi
Skill23 starsChanged 2 months agoMITView on GitHub
将 UI/UX 设计、前端实现、代码探索、评审和本地媒体分析委托给 Kimi CLI,支持新建或继续会话。仅在用户明确要求 Kimi 或选择本 Skill 时调用;不因普通编码或设计请求自动委托,不用于图片生成与编辑。
2 other projects use a version of this.
Adopted by
Most recently taken up by
- rrva/claude-code-kimi-agenttheir own version, first seen Nov 8, 2026
- fergus/claude-kimi-delegatetheir own version, first seen Apr 30, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- fergus/claude-kimi-delegate★ 0same name
- rrva/claude-code-kimi-agent★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use scripts/ask_kimi.sh instead of invoking kimi -p directly.
- Very specific: line 11
Run the wrapper once per task.
- Very specific: line 14
Treat Kimi as a design-strong coding Agent.
- Distinctive: line 17
Do not mention this Skill or its wrapper implementation in the delegated prompt.
- Distinctive: line 37
Run a task in the current workspace:
- Distinctive: line 43
Add priority files and an explicit workspace:
- Very specific: line 52
Use Kimi's design judgment with a screenshot reference:
- Distinctive: line 62
Use a locally configured model alias:
- Distinctive: line 85
Read enough local context to state the actual goal and important constraints.
- Distinctive: line 87
Run the wrapper with one focused prompt.
- Very specific: line 88
Read the Markdown file printed as output_path.
- Very specific: line 90
Use --session only for a true follow-up that benefits from Kimi's prior context.
- Very specific: line 118
If kimi is unavailable, run kimi --version and check the local installation.
- Very specific: line 119
If authentication or configuration fails, run kimi doctor.
- Very specific: line 120
If a flag stops working after an upgrade, inspect kimi --help and update the wrapper rather than assuming compatibility with another Agent …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Kimi
Core rules
- Use
scripts/ask_kimi.shinstead of invokingkimi -pdirectly. The wrapper captures Kimi's JSONL, streams compact progress, records the session ID, and writes a Markdown result. - Run the wrapper once per task. After success, read the reported
output_pathand inspect the workspace before deciding whether a follow-up is needed. - Give Kimi the goal, completion criteria, constraints, and non-obvious context. Keep delegated prompts focused, normally under 500 words.
- Pass 1-4 useful entry points with
--file; Kimi can discover the rest. File hints may point to code, images, or videos that Kimi can inspect with its local tools. - Treat Kimi as a design-strong coding Agent. Prefer it for UI/UX critique, visual direction, layout and typography decisions, design-system work, and polished frontend implementation.
- Do not ask Kimi to generate or edit image assets. It can analyze screenshots, images, and videos and then express its design decisions as specifications or frontend code, but it cannot create the image itself. Use an image-generation or image-editing tool when the requested deliverable is an image.
- Quote paths containing spaces, brackets, or shell metacharacters.
- Do not mention this Skill or its wrapper implementation in the delegated prompt.
Host compatibility
Use this Skill from any Agent that can load SKILL.md instructions and execute a local shell command. The wrapper is host-agnostic: it communicates with Kimi Code through its CLI and does not call a host-specific API. agents/openai.yaml is optional metadata for OpenAI hosts; other Agents may ignore it.
Safety boundary
Kimi's non-interactive prompt mode uses its automatic permission policy and may edit files or run commands. Use it only in a trusted workspace and only when the user's request authorizes those changes.
kimi -p cannot be combined with Kimi's --plan flag and provides no filesystem sandbox for non-interactive prompt mode. Therefore, this wrapper intentionally has no --read-only option. For enforced no-write exploration, use interactive kimi --plan in the user's terminal or another sandboxed mechanism; do not describe a prompt-only instruction as a read-only guarantee.
Wrapper path
<skill-directory>/scripts/ask_kimi.shUsage
Run a task in the current workspace:
./scripts/ask_kimi.sh "Implement the requested change"Add priority files and an explicit workspace:
./scripts/ask_kimi.sh "Refactor these components to use the new API" \
--workspace "/path/to/repo" \
--file "src/components/UserList.tsx" \
--file "src/components/UserDetail.tsx"Use Kimi's design judgment with a screenshot reference:
./scripts/ask_kimi.sh "Review this interface and implement a more polished layout" \
--file "references/current-ui.png" \
--file "src/App.tsx"This asks Kimi to inspect the screenshot and improve the implementation; it does not ask Kimi to generate an image.
Use a locally configured model alias:
./scripts/ask_kimi.sh "Review the active request path" \
--model "kimi-code/kimi-for-coding"Resume a previous session:
./scripts/ask_kimi.sh "Also add the missing regression test" \
--session <session_id>Allow Kimi to access another directory:
./scripts/ask_kimi.sh "Compare the app with the shared package" \
--add-dir "/path/to/shared-package"Workflow
- Read enough local context to state the actual goal and important constraints.
- Choose the workspace, optional model, and 1-4 priority files.
- Run the wrapper with one focused prompt.
- Read the Markdown file printed as
output_path. - Review workspace changes and run verification proportional to risk.
- Use
--sessiononly for a true follow-up that benefits from Kimi's prior context.
Output
Successful runs print:
session_id=<kimi_session_id>
output_path=<absolute_markdown_path>
elapsed=<seconds>sThe Markdown file contains Kimi's final response, a compact list of tools used, and elapsed time. Raw tool results and arguments are intentionally omitted to keep the handoff concise and reduce accidental secret exposure.
Options
--workspace <path>: working directory; defaults to the current directory.--file <path>: priority file or media hint; repeatable.--session <id>: resume a previous Kimi session.--model <alias>: model alias configured in Kimi Code.--add-dir <path>: add an accessible workspace directory; repeatable.--skills-dir <path>: replace Kimi's auto-discovered Skill directories for this run; repeatable.--output <path>: choose the Markdown result path.
Task text may be passed as the first positional argument, with --task, or through stdin.
Failure handling
- If
kimiis unavailable, runkimi --versionand check the local installation. - If authentication or configuration fails, run
kimi doctor; usekimi loginwhen authentication is missing. - If a flag stops working after an upgrade, inspect
kimi --helpand update the wrapper rather than assuming compatibility with another Agent CLI. - A non-zero Kimi exit is treated as failure. Exit code
3means a goal blocked and6means a goal paused on versions that support goal mode. - Kimi warnings remain captured for diagnostics; failure output is truncated and common token patterns are redacted.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

