A local environment variable analysis skill that resolves your framework's complex .env file override hierarchy, flags configuration risks, and cross-references usage against your source code.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install phy-dotenv-inheritance-mapper
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install phy-dotenv-inheritance-mapper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Dotenv Inheritance Mapper is a highly effective, zero-API environment utility designed for Openclaw Skills. It untangles the web of multiple configuration files (such as .env, .env.local, .env.staging, and .env.production) by analyzing them in their exact, framework-specific execution order. By flattening these layers into a single transparent view, it reveals precisely which configuration layer wins, where variables conflict across infrastructure, and what overrides are actually active.
Beyond simple parsing, this skill audits configuration hygiene againstTwelve-Factor App methodologies. It scans your source files to uncover dead environment configurations that are no longer referenced in code, catches undocumented items absent from your template files, and provides early protection against serious production outages or credential exposures.
Invoke the utility directly within your workspace terminal or command line client using Openclaw Skills. No external tokens, accounts, or third-party API dependencies are required.
# Audit the current workspace directory
/dotenv-mapper
# Audit a specific subdirectory
/dotenv-mapper src/
# Investigate a single targeted configuration variable
/dotenv-mapper --check DATABASE_URL
The skill generates structural, multi-dimensional matrix metrics. Data outputs organize into logical tables identifying variable properties, file intersections, and operational status:
| Classification | Trigger Condition | Operational Risk |
|---|---|---|
| CONSISTENT | Same exact configuration values across all environments | Safe, no action required |
| OVERRIDDEN | Values consciously differ by environmental stage | Standard Expected Behavior |
| MISSING_FROM_EXAMPLE | Present in local runtime file but missing from standard .env.example | High: Blocks developer setup |
| STAGING_NOT_PRODUCTION | Defined inside staging profile but absent from production files | Critical: Triggers production runtime crashes |
| SENSITIVE_EXPOSED | Key matches secret syntax (e.g., _SECRET, _KEY) and lives in tracked file | Critical: Potential source control credential leak |
| REFERENCED_BUT_UNDEFINED | Key actively used within application code but missing from all .env profiles | High: Resolves to undefined at runtime |
/dotenv-mapper --compare staging production to narrow down exact config drift..env.example boilerplate using context clues extracted from your runtime settings.Loading
Instantly run a local mock HTTP server from any OpenAPI 3.x or Swagger 2.0 specification file or URL without writing backend code.

A local, zero-dependency type-coverage enforcer and TypeScript strictness auditor that eliminates implicit and explicit any leaks.

A zero-API, local bundle size auditor that parses build artifacts to enforce size budgets and eliminate dependency bloat.

A local static analyzer for GraphQL SDL or introspection JSON that catches performance vulnerabilities, security flaws, and architectural risks.

A local, agent-native data contract enforcer that prevents silent pipeline failures by validating schemas and detecting drift between pipeline stages.

Prompt Diff delivers a rich behavioral and semantic changelog for LLM system prompts and agent instructions rather than simple line-by-line diffs.








































