varlock
OfficialKeep secrets safe in Claude Code sessions.
Authorsmith-horn
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Secrets leakage in Claude Code sessions is a critical risk. This Skill provides secure-by-default environment variable management to mask and restrict secrets, preventing exposure in terminals, logs, and the model context.
Core Features & Use Cases
- Schema-driven masking: Uses a .env.schema to mark sensitive variables and ensure values never appear in outputs.
- Safe validation and access: varlock load validates presence and types without revealing secret values; supports masking in logs and reports.
- Secure command execution: Use varlock run to inject validated vars into commands without printing secrets; supports integration with CI/CD and containers.
- Real-world workflow: Protects API keys during local development and in automated deployment pipelines.
Quick Start
Install Varlock CLI: curl -sSfL https://varlock.dev/install.sh | sh -s -- --force-no-brew Add to PATH: export PATH="$HOME/.varlock/bin:$PATH" Verify: varlock --version Initialize project: varlock init Or create manually: touch .env.schema
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: varlock Download link: https://github.com/smith-horn/skillsmith/archive/main.zip#varlock Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.