← Back to Skills Marketplace
aiyouwolegequ

Kimi Cli Headless Execution

by aiyouwolegequ · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ suspicious
65
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install test-rate-limit
Description
教 OpenClaw 在自动化脚本、后台任务、CI/CD、无 TTY 环境等非交互场景中, 正确使用 Kimi Code CLI 的 `-p/--prompt`、`--print`、`--quiet`、`--wire` 等参数完成无头执行。 涵盖命令构造、自动审批控制、输出格式选择、会话管理、错误处理与安全护栏。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install test-rate-limit
  3. After installation, invoke the skill by name or use /test-rate-limit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug test-rate-limit
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Kimi Cli Headless Execution?

教 OpenClaw 在自动化脚本、后台任务、CI/CD、无 TTY 环境等非交互场景中, 正确使用 Kimi Code CLI 的 `-p/--prompt`、`--print`、`--quiet`、`--wire` 等参数完成无头执行。 涵盖命令构造、自动审批控制、输出格式选择、会话管理、错误处理与安全护栏。 It is an AI Agent Skill for Claude Code / OpenClaw, with 65 downloads so far.

How do I install Kimi Cli Headless Execution?

Run "/install test-rate-limit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Kimi Cli Headless Execution free?

Yes, Kimi Cli Headless Execution is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Kimi Cli Headless Execution support?

Kimi Cli Headless Execution is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Kimi Cli Headless Execution?

It is built and maintained by aiyouwolegequ (@aiyouwolegequ); the current version is v0.0.1.

💬 Comments