# Agentuity CLI Cloud Env Import

> Import environment variables from a file to cloud and local .env.production. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `majiayu000/agentuity-cli-cloud-env-import` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agentuity-cli-cloud-env-import`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agentuity-cli-cloud-env-import/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/agentuity-cli-cloud-env-import

---


# Cloud Env Import

Import environment variables from a file to cloud and local .env.production

## Prerequisites

- Authenticated with `agentuity auth login`
- Project context required (run from project directory or use `--project-id`)

## Usage

```bash
agentuity cloud env import <file>
```

## Arguments

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<file>` | string | Yes | - |

## Examples

Import environment variables from .env file:

```bash
bunx @agentuity/cli cloud env import .env
```

Import from .env.local file:

```bash
bunx @agentuity/cli cloud env import .env.local
```

## Output

Returns JSON object:

```json
{
  "success": "boolean",
  "imported": "number",
  "skipped": "number",
  "path": "string",
  "file": "string"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether import succeeded |
| `imported` | number | Number of items imported |
| `skipped` | number | Number of items skipped |
| `path` | string | Local file path where variables were saved |
| `file` | string | Source file path |

