samotech/skills-tree/env-vars

Claude Code and agent skill by samotech/skills-tree

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Read and validate environment configuration without exposing secrets or confusing missing configuration with empty values.

Install

npx vskill@latest install samotech/skills-tree/env-vars

SKILL.md

The same SKILL.md was published earlier as samotech/skills-tree/env-vars.

Environment Variables

Description

Read configuration supplied through environment variables and distinguish required, optional, empty, and malformed values. Secret values must never be printed.

When to Use

  • Loading API credentials or deployment configuration.
  • Validating required runtime settings.
  • Keeping environment-specific values outside repository source.

Inputs / outputs / failure modes

InputOutputFailure mode
Variable nameValue or absenceMissing variable
Required flagValidation resultRequired value missing
DefaultResolved configurationUnsafe default
Secret classificationSafe handlingSecret disclosure

Runnable example

python
import os
token = os.environ.get("API_TOKEN")
if not token:
raise RuntimeError("API_TOKEN is required")
print("API_TOKEN is configured")

Failure modes

  • Printing environment variables wholesale.
  • Committing secret-bearing environment files.
  • Treating an empty value as a valid credential.
  • Using a permissive production default.

Related

  • ../14-security/input-sanitization.md
  • ../07-tool-use/tool-guardrails.md
  • file-write.md

Evidence

  • AI_CONSTITUTION.md
  • AGENTS.md
  • Repository security and validation workflows

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/samotech/skills-tree/env-vars/badge)](https://verified-skill.com/skills/samotech/skills-tree/env-vars)

Something wrong with this skill or its page? Tell us.