All skills
  • 2 files
  • 4 KB
  • Updated 8 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/onmax/claude-config/shelve

This session only. Nothing lands on disk.

referencescli.md

≈611 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Shelve CLI Reference

Installation

bun add -d @shelve/cli
# or: pnpm add -D @shelve/cli

Commands

login

Authenticate with Shelve. Get token from app.shelve.cloud/user/tokens.

shelve login

logout

Remove local credentials from ~/.shelve.

shelve logout

me

Show currently logged-in user info.

shelve me

pull

Pull env vars from Shelve to local .env file.

shelve pull           # prompts for environment
shelve pull --env production

push

Push local .env to Shelve.

shelve push           # prompts for environment
shelve push --env staging

run

Inject secrets from Shelve into command (uses ni under the hood).

shelve run dev
shelve run build
shelve run dev:app --env development

create

Create new project in Shelve.

shelve create
shelve create --name my-project --slug my-team

config

Show current resolved configuration.

shelve config

generate

Generate files like .env.example.

shelve generate

upgrade

Upgrade CLI to latest version.

shelve upgrade

Configuration Options

Option Type Default Description
project string SHELVE_PROJECT or package.json name Project name
slug string SHELVE_TEAM_SLUG Team slug (from team settings)
token string ~/.shelve or SHELVE_TOKEN Auth token
url string https://app.shelve.cloud Shelve instance URL
defaultEnv string - Default env for run/push/pull (skips prompt)
confirmChanges boolean false Confirm before applying changes
envFileName string .env Name of env file
autoUppercase boolean true Uppercase env var keys
autoCreateProject boolean true Auto-create project if missing

Environment Variables

Variable Description
SHELVE_PROJECT Project name
SHELVE_TEAM_SLUG Team slug
SHELVE_TOKEN Auth token
SHELVE_URL Instance URL
SHELVE_DEFAULT_ENV Default environment

Monorepo Config

Root shelve.json:

{ "slug": "nuxtlabs" }

Package apps/web/shelve.json:

{ "project": "@nuxt/web", "envFileName": ".env.local" }

Running shelve pull at root pulls for all packages with shelve.json.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at 22e13a9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 9 hours ago.

Activeupdated 8 months ago

README badge

README badge for onmax/claude-config/shelve