AgentSkillsCN

agentuity-cli-cloud-storage-list

列出存储资源或存储桶中的文件。需要身份验证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-storage-list
description: List storage resources or files in a bucket. Requires authentication. Use for Agentuity cloud platform operations
version: "0.0.110"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "[name] [prefix]"
metadata:
  command: "agentuity cloud storage list"
  tags: "read-only fast requires-auth"

Cloud Storage List

List storage resources or files in a bucket

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

bash
agentuity cloud storage list [name] [prefix] [options]

Arguments

ArgumentTypeRequiredDescription
<name>stringNo-
<prefix>stringNo-

Options

OptionTypeRequiredDefaultDescription
--showCredentialsbooleanYes-Show credentials in plain text (default: masked in terminal, unmasked in JSON)
--nameOnlybooleanYes-Print the name only

Examples

List items:

bash
bunx @agentuity/cli cloud storage list

List items:

bash
bunx @agentuity/cli cloud storage list my-bucket

List items:

bash
bunx @agentuity/cli cloud storage list my-bucket path/prefix

Show output in JSON format:

bash
bunx @agentuity/cli --json cloud storage list

List items:

bash
bunx @agentuity/cli cloud storage ls

Use show credentials option:

bash
bunx @agentuity/cli cloud storage list --show-credentials

Output

Returns JSON object:

json
{
  "buckets": "array",
  "files": "array"
}
FieldTypeDescription
bucketsarrayList of storage resources
filesarrayList of files in bucket