haven-lifecycle

haven-lifecycle is a skill for Claude Code from langwatch/langwatch. It costs 206 tokens per session (2,396 once invoked), scanned C, original, Apache-2.0.

A lifecycle tool for starting, stopping, restarting, reloading, and inspecting Haven application stacks. A stack is a local set of services that work together as one app.

In plain words
What is it for?
Use it to bring stacks up or down, change enabled services, restart a lane, reload changes, inspect status, or destroy a stack and its databases when requested.
Why use it?
It avoids manually controlling each service and shows that a process has become healthy rather than merely having started.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to bring stacks up or down, change enabled services, restart a lane, reload changes, inspect status, or destroy a stack and its databases when requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langwatch/langwatch/haven-lifecycle
About the project

LangWatch is a platform for testing, evaluating, and monitoring LLM-powered agents before release and in production. Teams use it to run agent simulations, trace and evaluate behavior, improve prompts and models, review failures, and manage provider costs and governance.

langwatch/langwatch · 5,059 stars · on GitHub · langwatch.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add langwatch/langwatch --skill haven-lifecycle
Clone the repo
git clone --depth 1 https://github.com/langwatch/langwatch

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for haven-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/langwatch/langwatch/haven-lifecycle/github.svg)](https://agentmods.dev/skills/langwatch/langwatch/haven-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/langwatch/langwatch/haven-lifecycle"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/haven-lifecycle/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for haven-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/langwatch/langwatch/haven-lifecycle"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/haven-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 206 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,396 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00206 $0.02396
Opus 5.5 $0.00082 $0.00958
Sonnet 5.5 $0.00041 $0.00479
Haiku 4.5 $0.00021 $0.00240

Measured 1mo ago against content hash c49d2cb65601, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

haven-lifecycle scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Old assets pile up in the UI build folder; `rm -rf apps/ui/dist` clears them.
.claude/skills/haven-lifecycle/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

haven lifecycle

Run from the workspace root. make haven <sub> forwards to the CLI (dev/haven.mk).

haven up --agent -d               # start; bare `haven up` without a TTY never returns and dies with your shell
haven status --agent              # every stack, service health, shared servers, RAM (--json, --reveal)
haven down                        # stop this stack, keep databases; never stops the shared portless proxy (only --all does); up starts a missing one
haven down --all                  # every stack, shared servers, daemon and proxy; --force kills hard
haven restart api                 # bounce one lane; nothing else restarts (--rebuild for an image)
haven reload                      # apply changes to a held stack; waits for "reload finished"
haven down --destroy --stack <slug> --yes        # stop a stack and DROP its databases (ask first, see haven-db)

Check haven status, then the URL; haven up returning is not health.

up flags and services

haven up +langy -mail             # add or drop a service; sticky
haven service off mail             # switch one service in place, keeping the mode; app = ui+api+worker
haven up +langevals               # evaluators (monitors, evaluations)
haven up +llm                     # zero-cost model answers (llmsim)
haven up +design-system +mail-room  # the Storybook and the mail studio
haven up +docs                    # the docs site (apps/docs) on Vite, hot reloading, at docs.<slug>
haven up --only docs --agent -d   # the docs site ALONE: no app, databases or sims; haven down stops it
haven up --force                  # restart even when the stack already matches
haven up --no-seed                # skip the auto-seed of an empty stack (haven-seed)
haven up --mode <mode>            # a deployment mode from dev/tests/modes; sticky, `none` clears
haven up --rebuild                # rebuild container images even when unchanged

One mode switch, never sticky (ADR-064 amendment 2026-10-10 b): plain haven up is still, --watch rebuilds and reloads everything on a change, --hmr does too with Vite HMR for the UI. Switching needs no --force; --ui=... and --watch=false exit 64. The simulators are +name services too: haven sim lists them (sims skill). Do not run haven up or down on a checkout another session uses without asking; as an agent a haven up --force or make haven self install on a stack that testers drive is refused by the safety check.

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines c49d2cb65601
  2. 1mo ago Changed 93b97d224521
  3. 1mo ago First seen · 133 lines · 206 tokens per session scan C 690b4877920c

Subscribe to this mod's changes

haven-lifecycle is a skill published in the GitHub repository langwatch/langwatch (5,059 stars, last pushed today), licensed Apache-2.0. It adds 206 tokens to every session and 2,396 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.

Related

haven-lifecycle compared with skills from other repositories

haven-lifecycle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
haven-lifecyclelangwatch/langwatchSkill5.1ktodayApache-2.0C206Claude Code
trulens-evaluation-setuptruera/trulensSkill3.7k2d agoMITA17Claude Code, Codex
trulens-diagnosistruera/trulensSkill3.7k2d agoMITA17Claude Code, Codex
evalscopemodelscope/evalscopeSkill3.7k2d agoApache-2.0A195Claude Code, Codex
trulens-evaluation-workflowtruera/trulensSkill3.7k2d agoMITA18Claude Code, Codex
trulens-dataset-curationtruera/trulensSkill3.7k2d agoMITA19Claude Code, Codex
qaSkyvern-AI/skyvernSkill24ktodayAGPL-3.0A33Claude Code, Codex