# Agentuity CLI Cloud Keyvalue Set

> Agentuity CLI Cloud Keyvalue Set is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `agentuity-cli-cloud-keyvalue-set`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/design/agentuity-cli-cloud-keyvalue-set-agentuity-examples/SKILL.md
- Repository: majiayu000/claude-skill-registry (498 GitHub stars when collected)

## SKILL.md

# 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

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

## Arguments

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<namespace>` | string | Yes | - |
| `<key>` | string | Yes | - |
| `<value>` | string | Yes | - |
| `<ttl>` | string | No | - |

## Examples

Store user data:

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

Store session with 1h TTL:

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

Cache homepage for 10m:

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

## Output

Returns JSON object:

```json
{
  "success": "boolean",
  "namespace": "string",
  "key": "string",
  "contentType": "string",
  "durationMs": "number",
  "ttl": "number"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether the operation succeeded |
| `namespace` | string | Namespace name |
| `key` | string | Key name |
| `contentType` | string | Content type (application/json or text/plain) |
| `durationMs` | number | Operation duration in milliseconds |
| `ttl` | number | TTL in seconds if set |

---

Source: https://www.openparable.com/skill/apps-automation/agentuity-cli-cloud-keyvalue-set (OpenParable). Cite the canonical URL above.
