Skip to content
Skills Library
DevOps & cloud · Tool integration

haven-env

/haven-env

Print a haven stack's resolved environment without leaking a secret, and know where each value comes from: `haven env`, `--reveal`, overlay versus the root .env, made-up stack credentials, Stripe key choice, the knobs in `haven help env`, `haven machine limits`. Use when someone says 'haven limits', 'haven env', 'what env does the stack use', 'print the environment safely', 'env reveal', 'the root .env beats the overlay', 'my .env change did nothing', 'which keys are secret', 'LANGWATCH_SLUG', 'machine limits', 'haven machine limits', 'redis maxmemory', or 'where does this variable come from'.

Repository
langwatch ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Print a haven stack's resolved environment without leaking a secret, and know where each value comes from: `haven env`, `--reveal`, overlay versus the root .env, made-up stack credentials, Stripe key choice, the knobs in `haven help env`, `haven machine limits`. Use when someone says 'haven limits', 'haven env', 'what env does the stack use', 'print the environment safely', 'env reveal', 'the root .env beats the overlay', 'my .env change did nothing', 'which keys are secret', 'LANGWATCH_SLUG', 'machine limits', 'haven machine limits', 'redis maxmemory', or 'where does this variable come from'.

Triggers from the description

haven limitshaven envwhat env does the stack useprint the environment safelyenv revealthe root .env beats the overlaymy .env change did nothingwhich keys are secret

Arguments

/haven-env [--reveal] | machine limits [set <name> <value> | unset <name>]
Original author description

Print a haven stack's resolved environment without leaking a secret, and know where each value comes from: `haven env`, `--reveal`, overlay versus the root .env, made-up stack credentials, Stripe key choice, the knobs in `haven help env`, `haven machine limits`. Use when someone says 'haven limits', 'haven env', 'what env does the stack use', 'print the environment safely', 'env reveal', 'the root .env beats the overlay', 'my .env change did nothing', 'which keys are secret', 'LANGWATCH_SLUG', 'machine limits', 'haven machine limits', 'redis maxmemory', or 'where does this variable come from'.

How it works

  1. Masking
  2. Precedence
  3. Made-up credentials
  4. Machine limits
Original SKILL.md headings · 56 lines, 437 words
SKILL.md preview
---
name: haven-env
description: "Print a haven stack's resolved environment without leaking a secret, and know where each value comes from: `haven env`, `--reveal`, overlay versus the root .env, made-up stack credentials, Stripe key choice, the knobs in `haven help env`, `haven machine limits`. Use when someone says 'haven limits', 'haven env', 'what env does the stack use', 'print the environment safely', 'env reveal', 'the root .env beats the overlay', 'my .env change did nothing', 'which keys are secret', 'LANGWATCH_SLUG', 'machine limits', 'haven machine limits', 'redis maxmemory', or 'where does this variable come from'."
user-invocable: true
argument-hint: "[--reveal] | machine limits [set <name> <value> | unset <name>]"
---

# haven env

```bash
haven env                         # this stack's resolved environment, every secret masked
haven env --json                  # machine-readable
eval "$(haven env --reveal)"      # real values into your shell; never paste or print this
haven help env                    # every knob and where it resolves from
```

## Masking

- `haven env` prints `<secret:masked>` for every secret; connection strings keep their shape and
  lose the credential. Safe to paste into an issue.
- Which keys are secret: every `Secret.load("ID")` handle found in source, plus any name that looks
  like a credential (`tools/thuishaven/domain/secretkeys.go`).
- `--reveal` (also on `haven status` and `haven db seed`) unmasks. Never read `.env` to find a value,
  never print a revealed value, never write one to a file.

## Precedence

- The workspace `.env` beats haven's overlay: a value you set there wins, haven fills only what
  is unset. The root `.env` is shared by every worktree, so pin nothing run-specific in it.
- Per-run knobs read the process environment only: `LANGWATCH_SLUG`, `HAVEN_BASELINE`,
  `LANGWATCH_SEED`, `HAVEN_AGENT`, `NO_COLOR` and the other names `haven help env` lists.
  `HAVEN_TRUSTED_REPO_ROOT` and `HAVEN_UNTRUSTED_CHECKOUT` are set by haven and never read from `.env`.
- Browser telemetry: `RUM_ENABLED` and `RUM_COLLECTOR_ENDPOINT` exported in the shell that runs
  `haven up` (even empty) win over the overlay, so `RUM_ENABLED=false haven up` boots with RUM off;
  `RUM_SAMPLE_RATIO` is never set by haven and passes through.
- Machine limits: environment, then `.env`, then the settings file `haven machine limits set` writes, then default.
- Only `haven down` followed by `haven up` reloads a changed `.env`; `haven restart` does not.

## Made-up credentials

- Per stack, made up by haven: `NEXTAUTH_SECRET`, `CREDENTIALS_SECRET`,
  `LANGWATCH_INSTANCE_ADMIN_API_KEY`, `HAVEN_SEED_SCIM_TOKEN`. They live in haven's own state, survive
  down/up and rotate only on `haven down --destroy`. No real key, no 1Password.
- Stripe is paymentsim on every stack unless `.env` sets a Stripe key; `haven up` prints
  `Stripe: paymentsim` or `Stripe: your key from .env` (`paymentsim` skill).
- Logins and tokens are printed by `haven db seed` (`haven-seed`).

## Machine limits

```bash
haven machine limits                          # RAM and CPU, each limit's value, source and knob
haven machine limits set redis-maxmemory-mb 2048
haven machine limits unset redis-maxmemory-mb
```

Limits: `clickhouse-memory-mb`, `observability-memory-mb`, `redis-maxmemory-mb`, `colima-cpus`,
`colima-memory-gib`, `test-workers`, `instant-eval-mock-judge`. `haven machine limits` also says when each
change applies (next `haven up`, a restart, or the next test run). Changing a machine limit
affects every stack on the machine: ask before setting one.

A stack takes its environment from the shell that ran `haven up` (the keeper replays it), never from the daemon: exporting a variable before `haven up` is enough, and what the daemon was started with reaches no stack.

Versions

The database has no other skills named haven-env.

Database snapshot: 13.11.2026 · package version 83642438ab95 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100haven
    Daily use of thuishaven (`haven`), the dev-stack orchestrator: start, stop and inspect this worktree's stack, read logs, print the resolved env without leaking a secret, find the app and API URLs, and drive a stack as an agent. Use when someone says 'haven up', 'start the…
  • 90haven-db
    Reset, reseed, locate and prune a haven stack's databases with `haven db`, and know which verbs destroy data. Use when someone says 'haven db', 'reset the database', 'drop the database', 'reseed in place', 'db preset', 'demo preset', 'database url', 'connection string for…
  • 100init-env
    Generate .env.example files, document all environment variables, set up .claude/settings.local.json permissions, and configure deployment secret management. Use when the user says "init env", "set up env", "create env example", "document env vars", "environment setup", "add env…
  • 100env-vars
    Vercel environment variable expert guidance. Use when working with .env files, vercel env commands, Secret or Config variable types, OIDC tokens, or managing environment-specific configuration.
  • 95env
    Install or rotate a secret privately into a .env file or a Railway service; never asks for the value in chat. Use for missing keys, replacement tokens, password changes, or environment setup.
  • 86env
    Install or rotate a secret privately into a .env file or a Railway service; never asks for the value in chat. Use for missing keys, replacement tokens, password changes, or environment setup.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.