OpenELIS-Global-2: Command for Claude Code

.specify/oe/commands/restart-analyzer-harness.md

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

A command that restarts a project's analyzer test environment using the project's own reset scripts.

In plain words
What is it for?
Use /restart-analyzer-harness to perform a full reset or select options such as skipping fixtures, building first, enabling HTTPS certificates, or matching the continuous-integration environment.
Why use it?
It avoids repeating the environment setup manually, including container configuration, fixture loading, analyzer data, and optional HTTPS setup.

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-analyzer-harness.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-analyzer-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/digi-uw/openelis-global-2/restart-analyzer-harness"><img src="https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/restart-analyzer-harness.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 2,391 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00000 $0.02391
Opus 5 $0.00000 $0.01196
Sonnet 5 $0.00000 $0.00478
Haiku 4.5 $0.00000 $0.00239

Measured 11d ago against content hash 08936e254121, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

restart-analyzer-harness scanned grade A 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Analyzer count (authenticated curl)
.specify/oe/commands/restart-analyzer-harness.md · 218 lines

How it starts

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

Restart Analyzer Harness

When the user invokes /restart-analyzer-harness (optionally with arguments), restart the analyzer harness test environment using the project's own scripts.

This skill delegates to reset-env.sh — the authoritative harness lifecycle script. It handles compose layering, bootstrap, plugin staging, fixture loading, analyzer seeding, and Let's Encrypt setup. Do NOT reimplement these steps inline — the scripts already handle edge cases (compose-stack.sh layering, credential defaults, submodule init, checksum clearing, etc.).

User Input

$ARGUMENTS

Interpret arguments best-effort. Support these patterns:

  • /restart-analyzer-harness → Default: reset-env.sh --full-reset
  • /restart-analyzer-harness --full-reset → Drop database volumes (clean slate)
  • /restart-analyzer-harness --skip-fixtures → Skip fixture and analyzer seeding
  • /restart-analyzer-harness --build → Build WAR before restarting
  • /restart-analyzer-harness --letsencrypt → Add LE compose overlay
  • /restart-analyzer-harness --skip-letsencrypt → Skip LE even when env is set
  • /restart-analyzer-harness --ci-parityBring up the CI-parity stack (build.docker-compose.yml + .github/ci/ci.analyzer-harness.yml) instead of the local dev stack. Selects frontend Dockerfile target: runtime (nginx serving minified dist/) — the exact image CI runs. Use this to locally reproduce CI E2E failures (e.g. React #130-class regressions that only fire under the production bundle) before pushing. Implicitly forces --skip-letsencrypt (CI compose files don't include the LE overlay).
  • Combine flags as needed

Safety Rules (non-negotiable)

  • Warn if other Docker containers using ports 80/443/8443/15432 are running.
  • Never drop database volumes unless --full-reset is explicitly passed.
  • Always wait for webapp readiness before declaring success.
  • NEVER modify, regenerate, or replace password hashes anywhere.

Architecture (read this — do NOT hardcode compose files)

Read the full file on GitHub · 218 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. 11d ago First seen · 218 lines · 0 tokens per session scan A 08936e254121

Subscribe to this mod's changes

restart-analyzer-harness is a command published in the GitHub repository DIGI-UW/OpenELIS-Global-2 (252 stars, last pushed yesterday), licensed MPL-2.0. It costs nothing until one of its globs matches a file; then it loads 2,391 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.