← 返回 Skills 市场
Kimi Cli Headless Execution
作者
aiyouwolegequ
· GitHub ↗
· v0.0.1
· MIT-0
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install test-rate-limit
功能描述
教 OpenClaw 在自动化脚本、后台任务、CI/CD、无 TTY 环境等非交互场景中, 正确使用 Kimi Code CLI 的 `-p/--prompt`、`--print`、`--quiet`、`--wire` 等参数完成无头执行。 涵盖命令构造、自动审批控制、输出格式选择、会话管理、错误处理与安全护栏。
安全使用建议
This skill is a coherent how-to for running the 'kimi' CLI in headless/CI contexts, but the manifest fails to declare that it expects the 'kimi' binary and may read local config (e.g., ~/.kimi/config.toml) and use API keys. Before installing or enabling: 1) verify the skill source or prefer a skill with a homepage/repo; 2) treat any run that uses '--yolo' as high-risk—require explicit user consent and avoid running on production or broad directories like $HOME or /etc; 3) run tests in an isolated/sandbox environment first; 4) ensure the agent does not have access to sensitive config files or credentials unless you intentionally grant them; 5) consider using direct API access instead of delegating file-modifying actions to a CLI in automated flows. If the publisher can update the manifest to declare 'kimi' as a required binary and list any config paths or env vars it will access, that would reduce the current inconsistency.
功能分析
Type: OpenClaw Skill
Name: test-rate-limit
Version: 0.0.1
The skill bundle (SKILL.md) provides instructions for an AI agent to use the 'kimi' CLI tool in headless mode, specifically encouraging the use of the '--yolo' flag to automatically approve file modifications and shell command executions. While the documentation includes safety guardrails and risk warnings, the core functionality enables high-risk automated system interactions that could be exploited if the agent receives malicious prompts. The discrepancy between the metadata slug 'test-rate-limit' and the actual content 'kimi_cli_headless_execution' is also noted.
能力标签
能力评估
Purpose & Capability
The SKILL.md is explicitly about running the 'kimi' CLI in headless/non-interactive contexts and repeatedly tells the agent to run and check for the 'kimi' binary. However, the registry metadata declares no required binaries or primary credential and no config paths. That omission is inconsistent: a skill whose purpose is to invoke an on-disk CLI should declare that dependency and disclose any credential/config access it will need.
Instruction Scope
Instructions are largely within the stated domain (how to construct kimi commands, when to use --quiet/--print/--wire, handling outputs). But the runtime steps explicitly instruct checking 'which kimi', reading/pointing to '~/.kimi/config.toml' for API keys, and using flags that allow file modifications and shell execution (e.g. --yolo). The SKILL.md therefore directs access to local config/credentials and to potentially destructive actions — these accesses are not declared in the manifest.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so nothing is written to disk by the installer. That is the lowest-risk install mechanism and is coherent with an operational manual.
Credentials
The manifest lists no required env vars or credentials, yet the instructions discuss API keys and instruct checking '~/.kimi/config.toml' and running 'kimi login' when unauthenticated. The skill therefore expects access to local credentials/configuration without declaring that requirement; it also encourages use of '--yolo' which grants the agent ability to modify files and run shell commands — a high-privilege capability that requires explicit, declared consent.
Persistence & Privilege
The skill does not request always: true, does not try to modify other skills, and contains no install-time persistence. Autonomous invocation is allowed (platform default) but is not combined with other elevated privileges in the manifest.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install test-rate-limit - 安装完成后,直接呼叫该 Skill 的名称或使用
/test-rate-limit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release of Kimi CLI 无头执行操作手册 skill.
- Guides agents to construct and execute Kimi CLI commands in headless/non-interactive scenarios.
- Covers usage of key arguments such as --prompt, --quiet, --print, --yolo, and --wire for automation, CI/CD, and scripts.
- Details pre-flight checks, trigger and non-trigger conditions, output handling strategies, and guardrails for safe execution.
- Provides typical command assembly patterns and failure mode handling.
- Defines clear input/output schemas and a standardized response template for consistency.
元数据
常见问题
Kimi Cli Headless Execution 是什么?
教 OpenClaw 在自动化脚本、后台任务、CI/CD、无 TTY 环境等非交互场景中, 正确使用 Kimi Code CLI 的 `-p/--prompt`、`--print`、`--quiet`、`--wire` 等参数完成无头执行。 涵盖命令构造、自动审批控制、输出格式选择、会话管理、错误处理与安全护栏。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。
如何安装 Kimi Cli Headless Execution?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install test-rate-limit」即可一键安装,无需额外配置。
Kimi Cli Headless Execution 是免费的吗?
是的,Kimi Cli Headless Execution 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kimi Cli Headless Execution 支持哪些平台?
Kimi Cli Headless Execution 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kimi Cli Headless Execution?
由 aiyouwolegequ(@aiyouwolegequ)开发并维护,当前版本 v0.0.1。
推荐 Skills