Agent skill

agentuity-cli-cloud-storage-upload

Upload a file to storage bucket. Requires authentication. Use for Agentuity cloud platform operations

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/agentuity-cli-cloud-storage-upload

Metadata

Additional technical details for this skill

tags
write requires-auth uses-stdin
command
agentuity cloud storage upload

SKILL.md

Cloud Storage Upload

Upload a file to storage bucket

Prerequisites

  • Authenticated with agentuity auth login

Usage

bash
agentuity cloud storage upload <name> <filename> [options]

Arguments

Argument Type Required Description
<name> string Yes -
<filename> string Yes -

Options

Option Type Required Default Description
--key string Yes - Remote object key (defaults to basename or "stdin" for piped uploads)
--contentType string Yes - Content type (auto-detected if not provided)

Examples

Upload file to bucket:

bash
bunx @agentuity/cli cloud storage upload my-bucket file.txt

Upload file with content type:

bash
bunx @agentuity/cli cloud storage put my-bucket file.txt --content-type text/plain

Upload file with custom object key:

bash
bunx @agentuity/cli cloud storage upload my-bucket file.txt --key custom-name.txt

Upload from stdin:

bash
cat file.txt | bunx @agentuity/cli cloud storage upload my-bucket -

Upload from stdin with custom key:

bash
cat data.json | bunx @agentuity/cli cloud storage upload my-bucket - --key data.json

Output

Returns JSON object:

json
{
  "success": "boolean",
  "bucket": "string",
  "filename": "string",
  "size": "number"
}
Field Type Description
success boolean Whether upload succeeded
bucket string Bucket name
filename string Uploaded filename
size number File size in bytes

Didn't find tool you were looking for?

Be as detailed as possible for better results