agentuity-cli-cloud-keyvalue-set

Set a key and value in the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations

allowed_tools: Bash(agentuity:*)

$ Instalar

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

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


name: agentuity-cli-cloud-keyvalue-set description: Set a key and value in the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " [ttl]" metadata: command: "agentuity cloud keyvalue set" tags: "mutating updates-resource slow requires-auth"

Cloud Keyvalue Set

Set a key and value in the keyvalue storage

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity cloud keyvalue set <namespace> <key> <value> [ttl]

Arguments

ArgumentTypeRequiredDescription
<namespace>stringYes-
<key>stringYes-
<value>stringYes-
<ttl>stringNo-

Examples

Store user data:

bunx @agentuity/cli kv set production user:123 '{"name":"Alice","email":"alice@example.com"}'

Store session with 1h TTL:

bunx @agentuity/cli kv set cache session:abc "session-data-here" --ttl 3600

Cache homepage for 10m:

bunx @agentuity/cli kv set staging cache:homepage "<!DOCTYPE html>..." --ttl 600

Output

Returns JSON object:

{
  "success": "boolean",
  "namespace": "string",
  "key": "string",
  "contentType": "string",
  "durationMs": "number",
  "ttl": "number"
}
FieldTypeDescription
successbooleanWhether the operation succeeded
namespacestringNamespace name
keystringKey name
contentTypestringContent type (application/json or text/plain)
durationMsnumberOperation duration in milliseconds
ttlnumberTTL in seconds if set

Repository

agentuity
agentuity
Author
agentuity/discord-help-agent/.agents/skills/agentuity-cli-cloud-keyvalue-set
1
Stars
0
Forks
Updated2d ago
Added1w ago