OpenELIS-Global-2: Command for Claude Code

.specify/oe/commands/restart-dev-env.md

restart-dev-env is a command for Claude Code from DIGI-UW/OpenELIS-Global-2. It costs 0 tokens per session (399 once invoked), scanned A, original, MPL-2.0.

A command that rebuilds and restarts a local development environment, including its web application and optionally its database.

In plain words
What is it for?
Rebuilding a WAR file, recreating web-app containers, resetting database volumes, loading end-to-end test data, and setting up Let's Encrypt for non-local domains.
Why use it?
It automates the repeated setup steps needed to get a working test environment after code changes. Flags let you skip slower steps or start with a clean database.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is DIGI-UW/OpenELIS-Global-2's own configuration. It tells Claude Code how to work on OpenELIS-Global-2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenELIS-Global-2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DIGI-UW/OpenELIS-Global-2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DIGI-UW/OpenELIS-Global-2/develop/.specify/oe/commands/restart-dev-env.md
Clone the repo
git clone --depth 1 https://github.com/DIGI-UW/OpenELIS-Global-2

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 restart-dev-env

README.md
[![agentmods](https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/restart-dev-env/github.svg)](https://agentmods.dev/commands/digi-uw/openelis-global-2/restart-dev-env)
Your own site
<a href="https://agentmods.dev/commands/digi-uw/openelis-global-2/restart-dev-env"><img src="https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/restart-dev-env/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 restart-dev-env

Your own site · 80×15
<a href="https://agentmods.dev/commands/digi-uw/openelis-global-2/restart-dev-env"><img src="https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/restart-dev-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00399
Opus 5.5 $0.00000 $0.00160
Sonnet 5.5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured 8d ago against content hash 9fd16381df75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

restart-dev-env scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.specify/oe/commands/restart-dev-env.md · 44 lines

What it actually says

Restart Development Environment

When the user invokes /restart-dev-env, use the supported development launcher from the owning checkout. Do not invent Compose layering, load SQL fixtures, or choose a domain for the user.

$ARGUMENTS

Inspect the checkout and its changes, then run:

scripts/dev-stack doctor
scripts/dev-stack up
scripts/dev-stack status
scripts/dev-stack url

up builds the current source WAR, pulls the published development images (it never builds images unless --build is passed), recreates the running backend, waits for login readiness and prepares development scenarios through application services. It preserves existing data. The launcher reads .env and owns local or public-domain certificate setup; a missing public-domain setting must not silently target a shared server.

Supported options:

  • --skip-build: pass to dev-stack up to reuse this checkout's already-built WAR and the application images the last up ran. Missing artifacts must fail.
  • --build: only when the user asks for it or the change needs it (frontend dependencies, Dockerfiles, Bridge or mock source), pass to dev-stack up to build the application images from the checkout.
  • --full-reset: only when explicitly requested, run scripts/dev-stack down --volumes --yes before up. This deletes the owning development stack's data.
  • --skip-fixtures: obsolete; this path never loads SQL test fixtures. Use dev-stack up --no-scenarios if the user wants to skip application scenarios.

Stop and report a failed build, readiness or certificate operation. Show relevant logs through scripts/dev-stack logs; do not report success after a failed step. For CI reproduction, use scripts/run-ci-checks.sh --job NAME. A development restart is not CI validation.

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. 8d ago Changed · +5 lines 9fd16381df75
  2. 17d ago Changed · -227 lines 63ee669d4ebf
  3. 1mo ago First seen · 266 lines · 0 tokens per session scan A cd007ef4c17a

Subscribe to this mod's changes

restart-dev-env is a command published in the GitHub repository DIGI-UW/OpenELIS-Global-2 (272 stars, last pushed today), licensed MPL-2.0. It costs nothing until one of its globs matches a file; then it loads 399 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.