LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

add-env-variable - Add Environment Variables to Application

Add new environment variables with Zod validation to application configuration

Tags

Updated: 2026-03-21

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • add variable to schema
  • add variable to mapping
  • document variable in .env.example
  • add validation tests

Inputs

  • variable name
  • variable value
  • validation rules
  • variable type

Outputs

  • updated schema definition
  • updated mapping object
  • updated .env.example
  • new test cases

Requirements

  • TypeScript environment
  • Zod validation library
  • access to src/env.ts

Source

  • Spec: SKILL.md
environment
configuration
validation
testing
add variable to schema
add variable to mapping
document variable in .env.example
add validation tests
variable name
variable value
validation rules
updated schema definition
updated mapping object
updated .env.example