endor-setup

Installation
SKILL.md

Endorctl Setup and Security Scan

Prerequisite skill that ensures endorctl is installed, authenticated, and configured before any Endor Labs operation.

Workflow Overview

When the user asks to set up endorctl and run basic scan, follow this sequence:

  1. Check if endorctl is installed (Step 1)

    • If NOT installed → Download and install it (Step 2)
    • If installed but NOT authenticated → Ask for namespace (Step 3), then Authenticate (Step 4)
    • If installed AND authenticated → Ask for namespace (Step 3), then run scan
  2. ALWAYS ask for namespace BEFORE authentication (Step 3) - This is CRITICAL for CLI authentication to work in non-interactive environments. The namespace must be collected first so it can be passed to endorctl init --namespace=<namespace> to avoid interactive tenant selection prompts.

  3. Never fail with "command not found" - always install endorctl if missing

  4. Key principle: Be proactive. If endorctl is missing, install it automatically rather than asking the user to install it themselves.

Installs
47
GitHub Stars
2
First Seen
Mar 3, 2026