3. SDKs & CLI (PlatformContext)
AI-Agent-First Documentation
Raw .md/SKILL.md
Prompt your Agent: "Show me how to install the Valstorm CLI via uv and authenticate with my workspace."

Valstorm CLI

A local command-line interface for Valstorm developers to authenticate via OAuth 2.1 + PKCE, pull and push object schemas as code, and manage local workspaces.

Prerequisites

  • uv installed on your machine (curl -LsSf https://astral.sh/uv/install.sh | sh).
  • Ensure $HOME/.local/bin is added to your PATH (executables installed via uv tool reside in ~/.local/bin):

```bash # For zsh (default on macOS): echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc

# For bash: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc ```

Usage

Run from the Monorepo Root

The recommended way to run the CLI while developing is using uv run from the root:

bash
uv run --project cli valstorm --help

To check the API status:

bash
uv run --project cli valstorm status

Run from the CLI Directory

You can also run it directly from this folder:

bash
cd cli
uv run valstorm status

Installation

To install the valstorm command globally, use uv tool install directly from GitHub:

bash
uv tool install git+https://github.com/Valstorm-Corp/valstorm-cli

Now you can just run:

bash
valstorm status

Commands

  • status: Checks if the Valstorm API is live.