AgentSkillsCN

agentuity-cli-cloud-env-get

获取环境变量值。需要认证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-env-get
description: Get an environment variable value. Requires authentication. Use for Agentuity cloud platform operations
version: "0.0.110"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<key>"
metadata:
  command: "agentuity cloud env get"
  tags: "read-only fast requires-auth requires-project"

Cloud Env Get

Get an environment variable value

Prerequisites

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

Usage

bash
agentuity cloud env get <key> [options]

Arguments

ArgumentTypeRequiredDescription
<key>stringYes-

Options

OptionTypeRequiredDefaultDescription
--maskbooleanNofalsemask the value in output (default: true in TTY, false otherwise)

Examples

Get item details:

bash
bunx @agentuity/cli env get NODE_ENV

Get item details:

bash
bunx @agentuity/cli env get LOG_LEVEL

Output

Returns JSON object:

json
{
  "key": "string",
  "value": "string"
}
FieldTypeDescription
keystringEnvironment variable key name
valuestringEnvironment variable value