Coze CLI: Enabling Agents to Invoke Coze Command Line Standards

Introduction

When using environments like Cursor or Claude Code to have models help you “generate images, audio/video, run Coze workflows, or chat,” common issues include the model not knowing how to write the coze subcommands, how to configure authentication, or which scenarios should use the CLI instead of fabricating APIs. Writing platform capabilities into an Agent Skill is equivalent to providing the model with a retrievable set of operating instructions. Below is an introduction to the community Skill coze cli (coordinate @user_6c29a21a/coze-cli, current version 2.0.0), which consolidates the usage of the Coze CLI into a standard SKILL.md, allowing the Agent to automatically load it when relevant intents occur.

What is this

coze cli is a community Skill on SkillHub (Source: community, Publisher: user_6c29a21a, Category: design-media). Its positioning is the capabilities and usage instructions for the Coze CLI (coze command): When a user needs to generate AI images/audio/video, execute Coze workflows, conduct chat conversations, or manage authentication, this Skill should be triggered. The Agent should invoke the command line according to the documentation rather than inventing unverified APIs.

The Skill metadata marks requires_api_key=true, meaning a valid API key must be configured before actually invoking Coze capabilities. Specific fields and login methods should follow the SKILL.md inside the Skill.

Core Features

The following capabilities are sourced from the official SkillHub description. Subcommands or parameters not appearing in the source materials will not be expanded upon in this article.

  1. Image Generation: Initiate AI image generation operations via the Coze CLI.
  2. Audio Generation: Generate or process audio media tasks via the CLI.
  3. Video Generation: Complete video generation pipelines via the CLI.
  4. Chat Conversation: Use the CLI-side chat capability to interface with the Coze chat service.
  5. Workflow Execution: Invoke workflows already configured on the Coze platform.
  6. Authentication Management: Handle management steps such as authentication and keys between the CLI and the platform.

Trigger Scenarios (Official Description): When a user explicitly requests the generation of AI images/audio/video, usage of Coze workflows, chat conversations, or authentication management, the Agent should enable this Skill.

Installation and Activation

SkillHub recommends installation via its CLI, and it is mandatory to install the skill into a skills directory recognizable by the current Agent (otherwise, it defaults to ./skills/ and may not be loaded).

1. Install SkillHub CLI (if not already installed)

First, check if skillhub is available:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation documentation to perform a full installation (including default Skills) or just the CLI:

# Full installation (CLI + Default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install coze cli

Replace the package name in the coordinate with this Skill’s publishing coordinate:

skillhub install @user_6c29a21a/coze-cli --dir <path/to/current/agent/skills>

Common Agent skills paths (excerpted from SkillHub installation instructions; subject to your actual local configuration):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can ask the AI in a conversation to install it according to the official prompt. The original text is: Please install @user_6c29a21a/coze-cli based on https://skillhub.cn/install/skillhub.md.

3. API Key

The tag requires_api_key=true indicates a dependency on keys from the Coze side. After installation is complete, complete the coze login/key configuration in the Skill body or the official Coze documentation before executing generation or workflow-type commands.

Typical Usage

This Skill is designed for Agent orchestration, rather than replacing your handwritten shell scripts. Reproducible “usage” is reflected in two ways at the material level:

Install via SkillHub and place in the correct directory

skillhub install @user_6c29a21a/coze-cli --dir ~/.cursor/skills/

Restart or refresh the Agent after installation to enable the skills directory.

Trigger the Skill in conversation

When a user proposes a need consistent with the description—such as “Run a Coze workflow once,” “Generate an AI image,” or “Configure coze authentication”—the Agent should read the coze command instructions in SKILL.md and execute them step-by-step. Specific subcommands, parameters, and examples are subject to the documentation within the Skill package; this article does not list CLI details that do not appear on public pages.

Scenarios and Notes

Who it is for

  • Developers who are already using or planning to use the Coze platform and coze CLI, and want Cursor and other Agents to stably use command lines rather than hallucinated APIs.
  • Teams that need to complete integrated Coze operations such as multimedia generation, workflows, chat, and authentication within conversations.

Limitations and Notes

  • This is a community Skill (community). You need to keep an eye on the maintenance rhythm and changes in Coze official products yourself; the version is subject to SkillHub (currently v2.0.0).
  • An API Key must be configured; CLI calls will fail without a key.
  • SkillHub page statistics (as of capture): Rating 100000, Downloads 724; installation volume and other data are subject to real-time store data.
  • When only searching/installing a single Skill, you can directly execute the command in the third section according to the SkillHub documentation without changing the “priority source” configuration.

Conclusion

coze cli embeds Coze command line capabilities into an Agent-loadable Skill, reducing the risk of “models making up commands” in scenarios involving images/audio/video, chat, workflows, and authentication. To install or check metadata, you can open the SkillHub page:

  • SkillHub: https://www.skillhub.cn/skills/user_6c29a21a/coze-cli
  • Coordinate Page (API): https://api.skillhub.cn/user_6c29a21a/coze-cli
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye