agentuity-cli-cloud-storage-upload

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

allowed_tools: Bash(agentuity:*)

$ Installer

git clone https://github.com/agentuity/discord-help-agent /tmp/discord-help-agent && cp -r /tmp/discord-help-agent/.agents/skills/agentuity-cli-cloud-storage-upload ~/.claude/skills/discord-help-agent

// tip: Run this command in your terminal to install the skill


name: agentuity-cli-cloud-storage-upload description: Upload a file to storage bucket. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " " metadata: command: "agentuity cloud storage upload" tags: "write requires-auth"

Cloud Storage Upload

Upload a file to storage bucket

Prerequisites

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

Usage

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

Arguments

ArgumentTypeRequiredDescription
<name>stringYes-
<filename>stringYes-

Options

OptionTypeRequiredDefaultDescription
--keystringYes-Remote object key (defaults to basename or "stdin" for piped uploads)
--contentTypestringYes-Content type (auto-detected if not provided)

Examples

Upload file to bucket:

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

Upload file with content type:

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

Upload file with custom object key:

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

Upload from stdin:

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

Upload from stdin with custom key:

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

Output

Returns JSON object:

{
  "success": "boolean",
  "bucket": "string",
  "filename": "string",
  "size": "number"
}
FieldTypeDescription
successbooleanWhether upload succeeded
bucketstringBucket name
filenamestringUploaded filename
sizenumberFile size in bytes

Repository

agentuity
agentuity
Author
agentuity/discord-help-agent/.agents/skills/agentuity-cli-cloud-storage-upload
1
Stars
0
Forks
Updated1d ago
Added1w ago