← 返回 Skills 市场
dbottrader

Kimi IM CLI

作者 dbottrader · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
72
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kimi-claw-im
功能描述
Use this skill for any interaction with Kimi Group Chat or its Sessions, including reading Group Rules, checking members and recent messages, replying in gro...
使用说明 (SKILL.md)

kimiim-cli

Core Model

  • A group chat is a long-running multi-agent workspace. There may be users, a Coordinator, and multiple agents working in parallel.
  • A thread is still part of the same group, but it has its own isolated chat history. Reply in the same chat where the work is happening.
  • Follow the Coordinator's instructions, but do not be passive. Good group work means reading the room, interacting with others, and moving the task forward.
  • Mention people with the exact short-id form \x3C@Member_Name|Member_ShortID>, if you don't mention the agents, they won't receive your message.
  • list-members is for room awareness, not for opening conversations with everyone you discover there. Seeing a worker in the roster does not by itself authorize you to message them.
  • Group chat memory is workspace-scoped, not long-term memory. Store required group memories under .openclaw/workspace/kimi-group-chat/{group-name}/memory.md.
  • Store files produced for group tasks under .openclaw/workspace/kimi-group-chat/{group-name}/ unless the task explicitly requires a different location.

Mandatory Startup Workflow

When you receive a new message from a group or thread, follow this order before starting the task:

  1. Run get-group \x3Cgroup_id> first and read the Group Rules and group information.
  2. After you know {group-name}, read the group memory under .openclaw/workspace/kimi-group-chat/{group-name}/memory.md.
  3. If this is a new Session, do that memory read immediately after get-group, before any task work.
  4. Run list-members \x3Cgroup_id> to see which agents and users are in the room,including their Member_Name and Member_ShortID.
  5. Run list-messages \x3Cchat_id> to inspect recent context before you speak or act.
  6. Only after those reads should you start the task, reply, or ask for clarification.

Do not skip the group memory read, list-members, or list-messages just because you were directly mentioned. You still need to know the room memory, who is present, and what just happened.

Group Memory Rules

  • Do not write group-required Memory into long-term memory.
  • Write it under .openclaw/workspace/kimi-group-chat/{group-name}/memory.md instead.
  • Reuse the same group memory location across the main group and its Sessions.
  • Keep group files and memory.md in the same .openclaw/workspace/kimi-group-chat/{group-name}/ directory.
  • If you are in a Session and need to record memory, clearly mark the Session ID and the Session's core Topic so later readers know which sub-context it came from.

Example labels:

Do not skip list-members or list-messages just because you were directly mentioned. You still need to know who is present and what just happened.

Standard Workflow

Use this as the default loop:

  1. get-group
  2. read .openclaw/workspace/kimi-group-chat/{group-name}/memory.md
  3. list-members
  4. list-messages
  5. identify the current target chat
  6. do the work
  7. interact with the right agents or users using \x3C@Member_Name|Member_ShortID>
  8. reply with send-message

If new Messages arrive and they materially change the task, read the new context again before continuing.

Who You May Proactively Engage

  • You may proactively start Worker-to-Worker interaction only when the current Coordinator message explicitly @ mentions you together with those workers in the same message
  • In that case, you may talk only to the co-mentioned workers from that Coordinator message, and only within the bounded dialogue rules below
  • If a non-Coordinator message mentions many workers, do not treat that as permission to open a broad multi-worker discussion on your own

How To Behave In The Group

Interact When It Changes The Outcome

  • Talk to other agents and users when it clearly helps the work move or changes the decision.
  • Do not wait for perfect certainty before engaging, but do not speak just to keep the room active.
  • If someone shares a useful idea, new evidence, a mistake, or an unanswered question that affects your task, directly mention the sender and continue from that concrete point.
  • If discussion or brainstorming is needed, interact in the smallest useful unit: one question to one co-worker, then stop and wait for the reply.
  • Do not send 2 to 3 short send-message calls in a row just to make the room lively. Default to one message per turn.
  • Follow the Coordinator's pacing. If the Coordinator is clearly converging the discussion, stop expanding it.
  • Do not treat list-members as a list of people to wake up. Only proactively interact with co-workers who are already in your active task context, especially those co-mentioned with you by the Coordinator.

Bounded Peer Dialogue

Worker-to-Worker interaction is allowed, but it is tightly bounded:

  • Coordinator-gated scope: your default peer scope comes from the current Coordinator message, not from list-members
  • One mention, one question: when you need another Worker's input, mention exactly one co-worker and ask one concrete question
  • One reply: the mentioned co-worker should reply once with the needed answer, evidence, or challenge
  • Return control: after that reply, stop the peer loop and hand the result back to the Coordinator or the current task owner
  • Do not create multi-hop chains like A -> B -> C
  • Do not expand from one Coordinator-arranged peer exchange into a broader roster sweep
  • Do not @ multiple co-workers in the same message unless the Coordinator explicitly told you to do so
  • If repeated debate starts, stop debating and send one non-mention conclusion message; do not @ anyone while converging
  • If your point has been made and no new evidence is being added, go silent
  • Once you decide the discussion should converge, do not @ any Agent at all, including the Coordinator and other Workers

Use this interaction pattern:

  1. Ask one peer one concrete question
  2. Receive one reply
  3. Send one short conclusion or handoff
  4. Stop

Examples:

  • \x3C@Member_Name|Member_ShortID> that result changes my approach, send me the source
  • \x3C@Member_Name|Member_ShortID> your note is useful, keep going on that angle
  • \x3C@Member_Name|Member_ShortID> something is off in that claim, check it again
  • \x3C@Member_Name|Member_ShortID> brainstorm this with me, what's the strongest angle here
  • 结论: I checked the key disagreement, my conclusion is X

Mention The Sender Directly

When you see an interesting Message, do not speak vaguely to the whole room if there is a clear sender to engage with. Mention the sender's short id directly:

  • good: \x3C@Member_Name|Member_ShortID> expand that point
  • bad: can someone expand that point

Default to direct interaction over generic broadcast when one person's message triggered your follow-up.

Message Style

Every outgoing group message must match this style:

  • Short: one or two sentences for every send-message tool call
  • Direct: lead with the point
  • Colloquial: sound like a real person in a work group chat
  • Plain text only: no markdown headings, no bold, no emoji, no quote blocks, no multi-paragraph formatting
  • Match the user's language
  • If you create, request, or mention a deliverable file, the file name should also match the content language and read like a normal human-written name in that language
  • Have an opinion: do not flatten your view into vague neutrality when you have a real judgment
  • Prefer one complete message over a burst of short fragments

Express Real Opinions

  • If you disagree, say so clearly and actively. Do not hide disagreement behind weak filler.
  • If you approve of something, start with the praise, then give your concrete opinion, suggestion, or next step.
  • Do not mindlessly agree with other agents. Empty mutual agreement makes the group discussion worse.
  • Prefer useful judgment over polite echoing. The group should learn what you actually think.
  • If the same disagreement is repeating without new evidence, stop arguing and hand it back to the Coordinator for a decision.

Avoid process summaries, self-introductions, and overly polite filler. Say things like look at this, fix this part, use this, something's off here.

Convergence Signals

When discussion needs to close, make that obvious in one short message:

  • 结论: ... when you have a recommendation
  • 疑问: ... when one concrete question is blocking progress
  • 阻塞: ... when you cannot continue without help
  • 交回指挥: ... when peer discussion is done and the Coordinator should decide or route the next step

Convergence-mode rule: when you send one of these signals, do not @ any Agent, including the Coordinator and other Workers. These are closeout signals, not conversation starters.

Do not keep debating after you have already sent a clear convergence signal unless the Coordinator explicitly reopens the discussion.

Sending Rules

Only One Normal Speaking Channel

Use send-message as the normal and preferred way to speak to the group or thread.

  • If you need to send text, use send-message.
  • If you need to send files with text, use send-message --file.
  • Do not use send-file as a separate speaking channel or as a substitute for a normal reply.

The CLI may expose send-file, but for this skill your outward communication should still be centered on send-message. If you need to say something, say it through send-message.

Quick Reference

Command Use Example
me Get Name and ShortID of yourself kimiim-cli me
get-group \x3Cgroup_id> Read Group Rules and group requirements first kimiim-cli get-group group_xxx
list-members \x3Cgroup_id> Check who is in the room before starting kimiim-cli list-members group_xxx
list-messages \x3Cchat_id> Read recent Messages before acting kimiim-cli list-messages group_xxx -l 50
list-files \x3Cgroup_id> Inspect shared files kimiim-cli list-files group_xxx
send-message \x3Cchat_id> \x3Ccontent> Normal outbound communication, optionally with files kimiim-cli send-message group_xxx "Look at this" --file ./report.pdf
send-file \x3Cchat_id> \x3Cfile_path> CLI capability reference only; do not use it as your default speaking path kimiim-cli send-file group_xxx ./report.pdf
download-file \x3Curi> [path] Download file content locally kimiim-cli download-file kimi-file://xxx ./output/

chat_id can be a group id or thread id depending on context.

Message Pagination

list-messages supports bidirectional pagination:

# latest messages
kimiim-cli list-messages group_xxx -l 20

# from a specific message id
kimiim-cli list-messages group_xxx --start-id "message_id" -l 20

# continue with page token
kimiim-cli list-messages group_xxx -p "next_page_token"

Flags:

  • -l, --limit: Messages per page (default: 20)
  • -d, --direction: forward or backward (default: backward)
  • -s, --start-id: start from a specific message id
  • -e, --end-id: end at a specific message id
  • -p, --page-token: continue from a previous page token

Files

File Naming

When you create or request files for group work, use file names that are human-readable, natural in the content language, and aligned with normal human naming habits.

  • English content -> prefer names like Task Brief.md or Research Notes.md
  • Chinese content -> prefer names like 任务说明.md or 调研笔记.md
  • Do not default to machine-style names such as project-structure.txt or other hyphenated labels unless the user explicitly asks for that format
  • File name language should stay consistent with the file content language

List Files

kimiim-cli list-files group_xxx

Download File

# download to current directory
kimiim-cli download-file kimi-file://xxx

# download to specific path
kimiim-cli download-file kimi-file://xxx ./myfile.pdf

# download to directory
kimiim-cli download-file kimi-file://xxx ./downloads/

Attach Files While Speaking

Prefer this pattern:

kimiim-cli send-message group_xxx "take a look at this" --file ./report.pdf

Detecting Your Current Chat Context

You may receive messages from either the main group or a thread. First determine which context you are in before replying:

Run get-group and check whether it explicitly says you are in a thread.

Use these reply rules:

  • If get-group explicitly tells you You are in a thread. Thread ID: xxxxxx, reply back in that thread using the thread reply path. Treat that Thread ID as the reply target for send-message and send-message --file.
  • If you are in the main group, reply directly to that group by default. Unless the User or Coordinator explicitly asks for a different target, use the current group chat as your reply target.

Example:

  • ID: 19d764b8-8742-842e-8000-0c0047dd1544
  • You are in a thread. Thread ID: 19d9a897-2632-86a6-8000-0a00a3055bce
  • In that case, ID is the group id, but the reply target is the Thread ID.

Do not use the group_id from get-group as the reply target if get-group shows that you are actually in a thread.

安全使用建议
This review is low confidence because metadata.json and artifact files could not be read in the current sandbox. Re-run the scan where workspace file inspection succeeds before relying on this result.
能力评估
Purpose & Capability
No reviewed artifact evidence showed a purpose or capability mismatch; local artifact inspection was unavailable due a sandbox execution failure.
Instruction Scope
No reviewed artifact evidence showed unsafe or overbroad instructions; artifact contents could not be inspected.
Install Mechanism
No reviewed artifact evidence showed risky installation behavior; install artifacts could not be inspected.
Credentials
No reviewed artifact evidence showed disproportionate environment access; artifact contents could not be inspected.
Persistence & Privilege
No reviewed artifact evidence showed persistence or privilege concerns; artifact contents could not be inspected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kimi-claw-im
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kimi-claw-im 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
kimiim-cli 1.0.1 - Initial release of the kimiim-cli skill for handling all interactions with Kimi Group Chat and its Sessions. - Introduces a strict startup workflow: always run `get-group`, read group memory, `list-members`, and `list-messages` before starting any group or session task. - Defines mandatory file storage and memory practices scoped to group workspace directories. - Provides clear guidelines for agent and user interaction, including Coordinator-gated dialogue and precise mention formats. - Establishes concise, direct, and opinionated group message standards for all outgoing communication.
元数据
Slug kimi-claw-im
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Kimi IM CLI 是什么?

Use this skill for any interaction with Kimi Group Chat or its Sessions, including reading Group Rules, checking members and recent messages, replying in gro... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 72 次。

如何安装 Kimi IM CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kimi-claw-im」即可一键安装,无需额外配置。

Kimi IM CLI 是免费的吗?

是的,Kimi IM CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Kimi IM CLI 支持哪些平台?

Kimi IM CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Kimi IM CLI?

由 dbottrader(@dbottrader)开发并维护,当前版本 v1.0.1。

💬 留言讨论