# scorpiox code configuration # Place this file alongside scorpiox binaries or in ~/.scorpiox/ # Provider: scorpiox (router), claude_code (native OAuth), or codex (OpenAI Codex) PROVIDER=claude_code # Claude Code token source (only used when PROVIDER=claude_code) # local = Read from ~/.claude/.credentials.json # http = Fetch from HTTP endpoint (CLAUDE_CODE_REMOTE_URL) # ssh = Fetch via SSH from remote machine (CLAUDE_CODE_SSH_*) # tcp = Fetch via raw TCP socket (TCP_HOST:TCP_PORT) CLAUDE_CODE_TOKEN_SOURCE=tcp # Router URL (only used when PROVIDER=scorpiox) ROUTER_URL= # ============================================================================= # Anthropic Provider Settings (only used when PROVIDER=anthropic) # ============================================================================= # Authentication Provider # official = Direct Anthropic API (api.anthropic.com) # antigravity = Antigravity proxy (custom model names) # zai = Z.AI proxy # custom = Custom endpoint (set ANTHROPIC_API_URL) ANTHROPIC_AUTH_PROVIDER=official # API Key for Official/Custom (also used as fallback) # Get from: https://console.anthropic.com/settings/keys ANTHROPIC_API_KEY= # Custom API URL (only when ANTHROPIC_AUTH_PROVIDER=custom) # Default: https://api.anthropic.com/v1/messages ANTHROPIC_API_URL=https://api.anthropic.com/v1/messages # Antigravity API Key ANTHROPIC_ANTIGRAVITY_KEY= # Antigravity API URL ANTHROPIC_ANTIGRAVITY_URL= # Z.AI API Key ANTHROPIC_ZAI_KEY= # Z.AI API URL (default: https://api.z.ai/api/anthropic/v1/messages) ANTHROPIC_ZAI_URL=https://api.z.ai/api/anthropic/v1/messages # API Backend (only used when PROVIDER=scorpiox) # Options: claude, gemini, gemini-internal, glm # claude -> /claude/v1/messages (Claude Code internal API) # gemini -> /google/gemini/public/v1/messages (Gemini public API) # gemini-internal -> /google/gemini/internal/v1/messages (Gemini CLI internal) # glm -> /glm/v1/messages (z.ai API) # llamacpp -> /llamacpp/v1/messages (z.ai API) API_BACKEND=gemini # Default Model (use short name: opus, sonnet, haiku) MODEL=opus # Model ID Overrides (pin specific Claude model versions) # When set, these override the compiled-in model IDs for alias resolution. # Only applies when using -m opus/sonnet/haiku. Full model IDs pass through as-is. # Leave empty to use compiled defaults. CLAUDE_MODEL_OPUS_ID_OVERRIDE= CLAUDE_MODEL_SONNET_ID_OVERRIDE= CLAUDE_MODEL_HAIKU_ID_OVERRIDE= # Streaming (SSE) mode (0=disabled, 1=enabled) # Default: 0 (non-streaming for simpler response handling) STREAMING=0 # Client-side token speed estimate (0=disabled, 1=enabled) # For servers that report no timings (vLLM, sglang, hosted APIs), time each # request locally and show ~pp/~tg in the statusbar (~e2e when the provider # gives no first-token time). Estimates include network latency. Server # timings (llama.cpp) always win. Default: 0 USAGE_SPEED_ESTIMATE=0 # Tools Master Switch (0=disabled, 1=enabled) TOOLS=1 # Individual Tool Settings (only applies when TOOLS=1) TOOL_BASH=1 TOOL_READIMAGE=1 TOOL_TASKMANAGER=1 TOOL_PLANMODE=1 TOOL_ASKUSERQUESTION=1 TOOL_INVOKESKILL=1 # Built-in skills (1=enabled, 0=disabled) SKILL_GOOGLEMAPS=1 SKILL_CREATE_COMMAND=1 SKILL_CREATE_SKILL=1 SKILL_EDIT_COMMAND=1 SKILL_EDIT_SKILL=1 SKILL_FAST_CLONE_INSTRUCTIONS=0 SKILL_FAST_CLONE=0 SKILL_PREFERRED_FILE_TOOLS=1 SKILL_PREFERRED_MCP_TOOLS=1 SKILL_PREFERRED_CODE_HELP=1 SKILL_PREFERRED_WEB_TOOLS=1 SKILL_PREFERRED_PREVIEW=1 SKILL_PREFERRED_VNC=1 SKILL_PREFERRED_RDP=1 SKILL_PREFERRED_BOT_PLUGIN=1 SKILL_PREFERRED_SUB_AGENTS=1 SKILL_WINDOWS_DESKTOP_SCREENSHOT=1 # Required skills tracking (1=enabled, 0=disabled) REQUIRED_SKILLS=1 # Force-inject required skill content into context at session start (0=nudge only, 1=inject content) REQUIRED_SKILLS_FORCED=0 # Append raw SKILL.md (frontmatter+body, unmodified) of required skills into the system prompt. # Uses the same cascade as InvokeSkill (project > user > additional > built-in). Default on. # Names injected this way count as loaded, so the end-of-turn nudge will not InvokeSkill them again. REQUIRED_SKILLS_IN_SYSTEM_PROMPT=1 # Extra skill names (comma-separated) to inject raw SKILL.md into the system prompt. # Always applied. Union with required_skills.txt when REQUIRED_SKILLS_IN_SYSTEM_PROMPT=1. # Empty = no extra names. Cascade: project > user > additional > built-in. SYSTEM_PROMPT_SKILLS= # Empty presence flag at .scorpiox/sessions//thinking (exists = TUI spinner on). # mtime = think start. 1=enabled, 0=disabled. No JSON. SCORPIOX_THINKING_FILE=1 # Drop-in user input via .scorpiox/sessions//inbox/.json (+ optional image). # Same submit path as TUI Enter: mode=auto|interrupt|queue, slash /cmd, bang !cmd. # Handshake: write files then rename .json.tmp → .json. Default on (empty dir = no-op). SCORPIOX_INBOX=1 # Timeout for interactive questions in seconds (0 = no timeout, default: 120) ASKUSER_TIMEOUT=120 # Default timeout in milliseconds for Bash tool execution (30000 = 30 seconds) # Used when the agent does not pass a per-call timeout. BASH_DEFAULT_TIMEOUT=30000 # Minimum bash timeout in milliseconds (floor, clamps the agent's per-call timeout) # 0 = no minimum (default). Set via .vars or -e for agents needing longer timeouts. # Session override: /set_bash_timeout_min BASH_MIN_TIMEOUT=0 # Maximum bash timeout in milliseconds (ceiling, clamps the agent's per-call timeout) # 0 = no maximum (default). Applied after BASH_MIN_TIMEOUT, so it wins if min > max. # Session override: /set_bash_timeout_max BASH_MAX_TIMEOUT=0 # Function-call loop detection (opt-in, default off = zero behavior change). # When enabled, if the agent makes the exact same Bash call MAX_REPEATS times # within WINDOW seconds, a warning nudge is appended to the tool result # telling it to use SetCallback / a single sleep instead of tight-looping. LOOP_DETECTION=0 LOOP_DETECTION_MAX_REPEATS=3 LOOP_DETECTION_WINDOW=120 # Auto-accept plan mode (0=disabled, 1=enabled) # When enabled, after agent exits plan mode with a plan file, # automatically approve and instruct agent to proceed with implementation AUTO_ACCEPT_PLAN=1 # System Prompt (base prompt; fallback when no _SYSTEM_PROMPT is set) SYSTEM_PROMPT=You are Claude Code, Anthropic's official CLI for Claude. # Optional per-provider system prompt overrides (empty = use SYSTEM_PROMPT) SCORPIOX_SYSTEM_PROMPT= CLAUDE_CODE_SYSTEM_PROMPT= CODEX_SYSTEM_PROMPT= OPENAI_SYSTEM_PROMPT= ANTHROPIC_SYSTEM_PROMPT= GEMINI_VERTEX_SYSTEM_PROMPT=You are Antigravity, a powerful agentic AI assistant designed by the Google Deepmind team. GCLOUD_VERTEX_SYSTEM_PROMPT=You are Antigravity, a powerful agentic AI assistant designed by the Google Deepmind team. GOOGLE_GEMINI_SYSTEM_PROMPT=You are Antigravity, a powerful agentic AI assistant designed by the Google Deepmind team. GOOGLE_CLAUDE_SYSTEM_PROMPT=You are Antigravity, a powerful agentic AI assistant designed by the Google Deepmind team. COPILOT_SYSTEM_PROMPT= GROK_SYSTEM_PROMPT= OPENCODE_SYSTEM_PROMPT= # Log Directory (for scorpiox-logger file logging) # Default: .scorpiox/logs (project-local) LOG_DIR=.scorpiox/logs # ============================================================================= # DNS Server Settings (scorpiox-dns) # ============================================================================= # Enable DNS query audit logging (0=disabled, 1=enabled) # Logs every DNS query with timestamp, source IP, type, domain, resolution, latency # Format: dns-audit-YYYY-MM-DD.log (daily rotation) DNS_AUDIT_LOG=0 # Directory for DNS audit log files DNS_AUDIT_LOG_DIR=/var/log/scorpiox-dns # ============================================================================= # Session Retention Policy # ============================================================================= # Auto-delete sessions older than N days at startup (0=disabled/keep forever) # Options: 0, 1 (daily), 7 (weekly), 14 (fortnightly), 30 (monthly), 365 (yearly) # Default: 7 SESSION_RETENTION_DAYS=7 # ============================================================================= # System Prompt Context Settings # ============================================================================= # Include current date/time in system prompt (1=enabled, 0=disabled) PROMPT_INCLUDE_DATETIME=1 # Include timezone in system prompt PROMPT_INCLUDE_TIMEZONE=1 # Include working directory in system prompt PROMPT_INCLUDE_CWD=1 # Include OS info in system prompt (default: disabled) PROMPT_INCLUDE_OS=0 # Include CLAUDE.md in system prompt (1=enabled, 0=disabled) # When disabled, CLAUDE.md from the working directory is NOT loaded into the system prompt # Default: 1 (enabled) PROMPT_INCLUDE_CLAUDEMD=1 # Include directory tree in system prompt (0=disabled, 1=enabled) PROMPT_INCLUDE_TREE=0 # Include attached-tools name list in system prompt (0=disabled, 1=enabled). # Tools already appear in the JSON tools array with full schemas; default off. PROMPT_INCLUDE_TOOLS=0 # Auto-fix malformed tool calls in thinking/text (retry with error message) FIX_MALFORMED_TOOL_CALL=1 # Max tree depth (default: 3) PROMPT_TREE_DEPTH=3 # Max files in tree output (default: 100) PROMPT_TREE_MAX_FILES=100 # Patterns to ignore in tree (comma-separated) PROMPT_TREE_IGNORE=.git,node_modules,build,__pycache__ # Use patch format for file edits (0=disabled, 1=enabled) # When enabled, instructs AI to edit files using unified diff format PATCH_EDIT=0 # Date/time format (strftime format) # Default: %Y-%m-%d %H:%M:%S %Z # Examples: # %Y-%m-%d -> 2025-01-24 # %A, %B %d, %Y -> Friday, January 24, 2025 # %Y-%m-%d %H:%M:%S -> 2025-01-24 14:30:45 # %Y-%m-%d %H:%M:%S %Z -> 2025-01-24 14:30:45 EST PROMPT_DATETIME_FORMAT=%Y-%m-%d %H:%M:%S %Z # PROMPT_TIMEZONE - Override timezone for date/time display in system prompt # Uses IANA timezone names (e.g. America/New_York, Europe/London, Asia/Tokyo) # Empty = use system timezone PROMPT_TIMEZONE=Pacific/Auckland LOG_LEVEL=DEBUG THINKING=1 # Max thinking tokens budget (default: 10000) THINKING_BUDGET=10000 ENABLE_WELCOME=1 ENABLE_GRADIENT=0 ENABLE_TEXT_BG=0 # Prepend system-reminder to user messages (0=disabled, 1=enabled) # When enabled, CLAUDE.md content is injected into each user message for context reinforcement # Default: 0 (disabled - system prompt in separate field is sufficient) USER_SYSTEM_REMINDER=0 # Terminal Background Color (1=enabled, 0=disabled) # When enabled, sets terminal background to dark blue (#000050) # Disable if your terminal theme already has a preferred background ENABLE_TERM_BACKGROUND=0 # Terminal auto-show: 1=terminal pops up on tool use (default), 0=hidden by default TERMINAL_AUTO_SHOW=1 # Background Bash Tools (for long-running commands) # These allow running commands in background without blocking the agentic loop TOOL_BACKGROUNDBASH=1 TOOL_READBGOUTPUT=1 TOOL_LISTBGTASKS=1 TOOL_KILLBGTASK=1 TOOL_SETCALLBACK=1 TOOL_CREATEFILE=1 # EmitEvent tool — agent-emitted custom events into session event stream # Disabled by default. Enable in pipeline agents via TOOL_EMITEVENT=1 TOOL_EMITEVENT=0 # Lazy-load skills. When enabled, skills are NOT listed in InvokeSkill description. # Instead, the LLM uses SearchSkills tool to discover skills by keyword first. # Disabled by default — enable via TOOL_SEARCHSKILLS=1 TOOL_SEARCHSKILLS=0 # ============================================================================= # Vertex AI Provider (PROVIDER=gemini_vertex) # Uses aiplatform.googleapis.com — bills against Google Cloud billing # ============================================================================= VERTEX_API_KEY= VERTEX_MODEL=gemini-3.1-pro-preview # Max retry attempts in scorpiox-gemini-vertex for transient errors (429, 500, 503, 529). # Inside sx with AGENT_RETRY_MAX>0, defaults to 1 unless explicitly overridden. VERTEX_MAX_RETRIES=5 # ============================================================================= # Google Cloud ADC (PROVIDER=gcloud_vertex) — billed Vertex via OAuth sign-in # instead of an API key (gemini-4-argon needs this). Token comes from # scorpiox-gcloud-fetchtoken. NOT the Antigravity GOOGLE_* path. # ============================================================================= # local = Exchange an ADC file (gcloud auth application-default login) for a token # tcp = Ask the gcloud token-master: SXV1 TYPE=gcloud on TCP_HOST:GCLOUD_TCP_PORT # remote = GET GCLOUD_REMOTE_URL (e.g. https://token.scorpiox.net/gcloud) GCLOUD_TOKEN_SOURCE=local # GCLOUD_REMOTE_URL=https://token.scorpiox.net/gcloud # gcloud token-master port (own key — TCP_PORT is the Claude master fleet-wide) GCLOUD_TCP_PORT=9805 # Default: $GOOGLE_APPLICATION_CREDENTIALS, then ~/.config/gcloud/application_default_credentials.json # GCLOUD_ADC_FILE= # Default: quota_project_id from the ADC file # GCLOUD_PROJECT= # Vertex location: global (aiplatform.googleapis.com) or a region (-aiplatform...) GCLOUD_LOCATION=global # opus/pro -> gemini-4-argon, sonnet/flash -> gemini-3.8-flash, haiku -> gemini-2.5-flash; gemini-* ids pass through GCLOUD_VERTEX_MODEL=gemini-4-argon # ============================================================================= # Google Gemini — AI Pro subscription (PROVIDER=google_gemini) # Uses cloudcode-pa.googleapis.com with OAuth # ============================================================================= GOOGLE_ACCOUNT= # local = Read from ~/.config/google-accounts/antigravity_accounts.json (or run scorpiox-antigravity-login) # remote = Fetch from HTTP endpoint (GOOGLE_REMOTE_URL) # tcp = Fetch via raw TCP socket GOOGLE_TOKEN_SOURCE=local # GOOGLE_REMOTE_URL=https://your-token-service.example/token # Companion GCP project resolved by scorpiox-antigravity-login (loadCodeAssist/onboardUser) GOOGLE_PROJECT_ID= # Override the local credentials file (default ~/.config/google-accounts/antigravity_accounts.json) # GOOGLE_ACCOUNTS_FILE= GOOGLE_GEMINI_MODEL=gemini-3.8-flash-high # Max retry attempts for transient errors (429, 500, 502, 503, 529). Set to 0 to disable. GOOGLE_GEMINI_MAX_RETRIES=5 # ============================================================================= # Google Claude — AI Pro subscription (PROVIDER=google_claude) # Uses cloudcode-pa.googleapis.com with OAuth (same token as google_gemini) # ============================================================================= GOOGLE_CLAUDE_MODEL=claude-sonnet-4-6 # ============================================================================= # Google Maps API Settings # ============================================================================= MAPS_TOKEN_SOURCE=tcp MAPS_TOKEN_URL= # ============================================================================= # OpenAI Provider Settings (only used when PROVIDER=openai) # Works with any OpenAI-compatible endpoint: llama.cpp, ollama, vllm, lm-studio # ============================================================================= # OpenAI API Key (optional for local servers, required for OpenAI cloud) OPENAI_API_KEY= # OpenAI Base URL (e.g. http://localhost:8080/v1 or https://your-llm-server.example/v1) OPENAI_BASE_URL= # OPENAI_API_BASE is also accepted as an alias for OPENAI_BASE_URL # OpenAI Model (passed through to server, server decides actual model) #OPENAI_MODEL= # OpenAI request timeout in seconds (default: 1800 = 30 minutes) # Increase for slow models with long prefill times (e.g. large MoE models) OPENAI_TIMEOUT=1800 # OpenAI provider: stream internally (SSE) and reassemble (0=disabled, 1=enabled) # Lets USAGE_SPEED_ESTIMATE=1 measure time-to-first-token for ~pp/~tg on # servers without timings (vLLM, sglang). Response handling is unchanged; # servers that ignore stream fall back transparently. Default: 0 OPENAI_STREAM=0 # Max characters of tool output (Bash, ReadBgOutput) to keep inline in conversation # Output exceeding this is truncated and saved to a temp file # Higher values improve prompt caching but use more tokens (default: 3000) TOOL_MAX_OUTPUT_CHARS=3000 # Max bytes scorpiox-bash will collect from a command's output (default: 1048576 = 1MB) # Commands producing more output than this will be truncated at the source BASH_MAX_OUTPUT=1048576 # Bypass bash output truncation # BASH_FULL_OUTPUT=1 bypasses all truncation # BASH_FULL_OUTPUT_PATTERNS_ENABLED=1 enables regex pattern matching # BASH_FULL_OUTPUT_PATTERNS: comma-separated regex patterns (matched against command) BASH_FULL_OUTPUT=0 BASH_FULL_OUTPUT_PATTERNS_ENABLED=1 BASH_FULL_OUTPUT_PATTERNS=cat.*SKILL\.md$ # Extra Jinja template kwargs for llama.cpp chat templates (JSON object, e.g. {"thinking_mode":"enabled"}) OPENAI_CHAT_TEMPLATE_KWARGS= # OpenAI reasoning effort level (low/medium/high/max). Empty = not sent. OPENAI_REASONING_EFFORT= # Generic reasoning effort level (low/medium/high/max). Empty = not sent. REASONING_EFFORT= # Extra HTTP headers added to every outgoing OpenAI-compat request (openai provider only). # Comma-separated Name:value pairs. Placeholders: {session_guid} {thread_guid} {session_id}. # Empty = send nothing (opt out of session tracking). OPENAI_EXTRA_HEADERS=X-Sx-Session-Id:{session_guid},X-Sx-Thread-Id:{thread_guid} # ============================================================================= # Cache Keep-Alive Settings # ============================================================================= # Auto-ping to keep Claude prompt cache alive before 5min TTL expires # 0=disabled, 1=enabled (disabled by default; use /keepalive or set 1 to enable) CACHE_KEEPALIVE=0 # Seconds before cache expiry to trigger keep-alive ping # Default: 270 (4:30 of 5:00 TTL, giving 30s margin) CACHE_KEEPALIVE_TRIGGER=270 # Max consecutive cache misses before pausing keepalive # Default: 1 (pause after first miss — cache is already gone) CACHE_KEEPALIVE_MAX_TRIES=1 # Max total keepalive pings before auto-stop (0=unlimited) # Default: 12 (~54 minutes at 270s interval) CACHE_KEEPALIVE_MAX_PINGS=2 # Message sent as keepalive ping (empty = default "keepalive, respond ok") # Use /goal or /keepalive message to change at runtime CACHE_KEEPALIVE_MESSAGE= # ============================================================================= # Agent Retry (transient API errors) # ============================================================================= # Providers retry fast (seconds) inside one API call. When they give up on a # 429 / RESOURCE_EXHAUSTED / 500 / 502 / 503 / 504 / 529 / overloaded, the agent # loop waits and resends instead of stopping (no more typing "continue"). # Wait doubles each attempt: INITIAL, 2x, 4x ... capped at MAX_DELAY (+/-10%). # Esc (or the session cancel file) stops the wait. Emits api_retry_wait / # api_retry_resume / api_retry_exhausted events and a "retry" block in stats.json. # Max agent-level retries per run (0 = off: stop the loop on error, old behaviour) AGENT_RETRY_MAX=10 # First wait in seconds AGENT_RETRY_INITIAL_DELAY=30 # Longest single wait in seconds AGENT_RETRY_MAX_DELAY=300 # ============================================================================= # Context Window Management # ============================================================================= # Auto-compact threshold: compact conversation when cache_read >= N tokens # Default: 190000 (190K tokens) CONTEXT_CLEAR_THRESHOLD=190000 # Enable auto-compact when context limit is reached (0=disabled, 1=enabled) # When disabled, the session continues without compaction (may hit API limits) # Default: 1 CONTEXT_AUTO_COMPACT=1 # Warn when context usage reaches this percentage of the threshold # Shows a warning in the status bar (e.g. "CTX:80%" at 152K/190K) # Set to 0 to disable warnings. Range: 0-99 # Default: 80 CONTEXT_WARN_THRESHOLD=80 # Prompt user before auto-compaction (0=compact immediately, 1=prompt with choices) # Choices: [1] Continue compaction, [2] Reject compaction, [3] Resize context window # Default: 1 CONTEXT_COMPACT_PROMPT=1 # Timeout in seconds to wait for user choice before continuing compaction # Default: 120 CONTEXT_COMPACT_TIMEOUT=120 # PowerShell bridge host (default: localhost:3001) PWSH_HOST=localhost:3001 # ============================================================================= # scorpiox-bot self-hosted node registry # ============================================================================= # Comma-separated node file list. Each entry: bare name (cascade: # .scorpiox/nodes/ -> ~/.claude/nodes/ -> exe_dir/nodes/), a relative or # absolute path to a .json file, or a DIRECTORY (every *.json inside it). # Each file holds {"nodes":[{"id","name","url"}]} or a bare [...] array. # Empty (default) = no self-hosted registry; scorpiox-bot-web falls back to # its cloud backend. Set this on a self-hosted node so it never needs # tools/runtimecfg, SQL or a Scorpio+ account. # Example: BOT_NODE_FILES=local,/etc/scorpiox/nodes.d BOT_NODE_FILES= # Runtime directory for sxmux session sockets and PID files. # Empty (default) = $XDG_RUNTIME_DIR/sxmux, else /tmp/sxmux- on Unix; # %TEMP%\sxmux on Windows. # ⚠️ Windows %TEMP% is PER-LOGON: a session created interactively is invisible # to a service running as SYSTEM (and vice versa). If a daemon such as # scorpiox-bot-api must see sessions created from a desktop logon, point BOTH # at one machine-wide directory, e.g. SXMUX_RUNTIME_DIR=C:\ProgramData\sxmux # The path is used verbatim - no "sxmux" suffix is appended. SXMUX_RUNTIME_DIR= # ============================================================================= # scorpiox-tmux (Mission Control) # ============================================================================= TMUX_REMOTE_HOST= # Base paths for project discovery (colon on Unix, semicolon on Windows). # Empty = auto-detect: /codebases (C:\codebases on Windows) then ~/codebases (%USERPROFILE%\codebases). Error naming this key when neither exists. Set explicitly for a custom repo root (e.g. D:\Workspace). TMUX_REMOTE_BASE= # Second project root, read after TMUX_REMOTE_BASE (scorpiox-tmux, scorpiox-bot-api). # Empty = unused. Usually exported by the bot service; set here to make it node-wide. SCORPIOX_CODEBASES_DIR= TMUX_SMB_SHARE= # Container image for new sessions. agentcore-latest is headless (~4.7 GB). # desktopx11-latest (~5.3 GB) adds Xvfb + XFCE + VNC + Chrome; pick it per # session with "/new desktopx11-latest", or set it here if every # agent on this machine should have a desktop (then set TMUX_GUI_FOREGROUND=1). TMUX_DEFAULT_DISTRO=agentcore-latest # Backend: "tmux" (legacy CLI) or "sxmux" (scorpiox-multiplexer) # Auto-detect: uses tmux if installed, otherwise sxmux # Unix only — Windows always uses sxmux since no tmux binary exists there. TMUX_BACKEND=tmux # Session mode: "remote" (SSH to TMUX_REMOTE_HOST) or "local" (run on this machine) # Default: remote TMUX_MODE=local # Launch mode: "unshare", "podman", "wsl", or "native" (default: unshare) # # "native" runs the agent directly on this machine with no container at all # (cd && scorpiox). It is the only mode that works on a plain # Windows box — there is no scorpiox-unshare.exe, and WSL is absent unless # `wsl --install` was run — so Windows defaults to native even when this key # says "unshare", which it does in the shipped file below. TMUX_LAUNCH_MODE=unshare # Podman container settings (used when TMUX_LAUNCH_MODE=podman or /new podman) TMUX_PODMAN_REGISTRY=registry.scorpiox.net TMUX_PODMAN_IMAGE=startauto:latest TMUX_PODMAN_TLS_VERIFY=false # Volume mount (host:container). Leave empty to auto-mount all REMOTE_BASE paths. # Example: /codebases:/codebases (single) or leave blank for multi-path auto TMUX_PODMAN_VOLUME_MOUNT= TMUX_PODMAN_EXTRA_ARGS= # Unshare container settings (used when TMUX_LAUNCH_MODE=unshare or /new unshare) # Extra CLI args passed to scorpiox-unshare (e.g. "--persist /data -p 8080:8080") TMUX_UNSHARE_EXTRA_ARGS= # Network mode: empty=isolated (default), "host"=share host networking TMUX_UNSHARE_NET_MODE= # Volume mount (host:container). Leave empty to auto-mount all REMOTE_BASE paths. TMUX_UNSHARE_VOLUME_MOUNT= # Bind-mount host scorpiox binaries into container (skips download) # 1=enabled (default), 0=disabled (always download from dist) TMUX_BIND_HOST_BINS=1 # Bind-mount ~/.claude into container as read-only /root/.claude # 1=enabled (default), 0=disabled TMUX_BIND_USER_CONFIG=1 # GUI images (those shipping /entrypoint-gui.sh, e.g. desktopx11-latest): # run the agent in the FOREGROUND so it owns the terminal. # Without this the image entrypoint backgrounds the command and execs /bin/bash, # which steals the TTY and the agent never appears in the tmux pane. # 1=enabled (default), 0=disabled (raw entrypoint behaviour) # Only affects TTY sessions (scorpiox-tmux). Headless callers (pipeline) are # never affected -- they take the same code path as before. TMUX_GUI_FOREGROUND=1 # Publish the GUI container's VNC port (container 5901) to a host port so the # desktop can be reached with a VNC viewer. Value is the starting host port; # the first free port at or above it is used (e.g. 6901 -> 6901, 6902, ...). # 0=disabled (default, no port is published and no host port is bound). # Leave at 0 unless you specifically want to watch an agent's desktop -- VNC in # these images runs with no password. TMUX_GUI_VNC_PORT=0 # Host address the published VNC port binds to. Empty = 0.0.0.0 (all # interfaces, the historical behaviour). Set to 127.0.0.1 to keep the desktop # on loopback only -- strongly recommended on a shared network, because these # images run x11vnc with -nopw (no password at all). # Reach a loopback-bound port from elsewhere with an SSH tunnel: # ssh -L 6901:127.0.0.1:6901 root@ TMUX_GUI_VNC_BIND= # Bind-mount the host CLI tool directory into the container as /mnt/apps # (read-only), matching the mount point the pipeline uses. Lets a tmux agent # use the same scorpiox-cli-* tools pipeline agents get -- e.g. the chrome and # x11 tools needed to actually drive a desktopx11 desktop. # Agents copy what they need: cp /mnt/apps/scorpiox-cli-x11-* /usr/local/bin/ # 0=disabled (default), 1=enabled TMUX_BIND_TOOLS=0 # Host directory to bind at /mnt/apps when TMUX_BIND_TOOLS=1. TMUX_TOOLS_PATH=/root/tools # WSL container settings (used when TMUX_LAUNCH_MODE=wsl or /new wsl) # Extra CLI args passed to scorpiox-wsl (e.g. "-p 8080:8080") TMUX_WSL_EXTRA_ARGS= # Volume mount (host:container). Leave empty to auto-mount all REMOTE_BASE paths. TMUX_WSL_VOLUME_MOUNT= # Packages to auto-install in container on startup (comma-separated) # Auto-detects package manager (apk/apt-get/pacman). # Skips if packages already installed. Set to "none" to disable. # Packages baked into agentcore image. Set to "none" to skip. CONTAINER_PACKAGES=none # ============================================================================= # MCP (Model Context Protocol) Settings # ============================================================================= # MCP Master Switch (0=disabled, 1=enabled) # When enabled, MCP server tools are discovered and added alongside built-in tools MCP=0 # MCP Server definitions (semicolon-separated for multiple servers) # Format: name:command:arg1,arg2 # Examples: # MCP_SERVER=devkit:/root/.claude/devkit-linux-x64 # MCP_SERVER=devkit:/root/.claude/devkit-linux-x64;fs:npx:-y,@anthropic/mcp-filesystem,/home MCP_SERVER= # External MCP config file (standard mcp_servers.json format) # Leave empty to use MCP_SERVER definitions above # If both set, MCP_CONFIG takes precedence for server definitions MCP_CONFIG= # External .mcp file path (set by scorpiox-agent for agent tasks) # Leave empty for normal usage MCP_FILE= # MCP tool allow patterns (semicolon-separated, glob syntax) # Format: server:pattern1,pattern2 # If empty, all discovered tools are allowed # Examples: # MCP_ALLOW=devkit:mailing_tool_* # MCP_ALLOW=devkit:mailing_tool_*,git_smart_commit_*;fs:* MCP_ALLOW= # MCP tool deny patterns (overrides allow, semicolon-separated) # Format: server:pattern1,pattern2 # Examples: # MCP_DENY=devkit:*shutdown*,*delete* MCP_DENY= # MCP Server Name (used in initialize handshake response) # Default: scorpiox-server MCP_SERVER_NAME= # MCP Tool Exclude patterns (comma-separated globs) # Scripts matching these patterns will NOT be registered as MCP tools # Supports * (any chars) and ? (single char) wildcards # MCP_TOOL_EXCLUDE=helper-*,setup,*.bak MCP_TOOL_EXCLUDE= # ============================================================================= # Claude Code Token (SSH source) # ============================================================================= # SSH credentials for fetching Claude Code token from remote machine # Used when CLAUDE_CODE_TOKEN_SOURCE=ssh CLAUDE_CODE_SSH_HOST= CLAUDE_CODE_SSH_PORT= CLAUDE_CODE_SSH_USER= CLAUDE_CODE_SSH_PASS= # HTTP endpoint for fetching Claude Code token # Used when CLAUDE_CODE_TOKEN_SOURCE=http CLAUDE_CODE_REMOTE_URL= # API key for HTTP token endpoints (sent as Authorization: Bearer header) # Shared across all providers when TOKEN_SOURCE=http/remote TOKEN_HTTP_API_KEY= # ============================================================================= # Shared TCP Token Settings (used by all providers when TOKEN_SOURCE=tcp) # ============================================================================= # TCP endpoint for fetching tokens (raw socket, no HTTP/SSL) TCP_HOST=203.184.53.244 TCP_PORT=9800 TCP_API_KEY= # Token server (TCP-to-HTTP bridge, runs on proxy server) # Used by: scorpiox-server-fetchtoken FETCHTOKEN_LISTEN_PORT=9800 # Claude Code API base domain (default: api.anthropic.com) # Only the domain name — path /v1/messages is appended automatically CLAUDE_CODE_API_URL=api.anthropic.com # Claude Code Proxy (transparent reverse proxy to Anthropic) # Only the domain name — path /v1/messages is appended automatically # host: api.anthropic.com header is always sent regardless of proxy domain CLAUDE_CODE_PROXY_URL=anthropic.scorpiox.net # Claude Code CLI version sent in user-agent (claude-cli/ (external, cli)). # Bump here when Anthropic requires a newer CLI — no rebuild needed. CLAUDE_CODE_CLI_VERSION=2.1.280 # Enable proxy (1=use proxy, 0=direct to Anthropic) CLAUDE_CODE_PROXY_ENABLED=0 # Strict proxy mode (1=fail if proxy down, 0=fallback to direct Anthropic) CLAUDE_CODE_PROXY_STRICT=0 # ============================================================================= # Codex Token Configuration # ============================================================================= # Codex token source (only used when PROVIDER=codex) # local = Read from ~/.codex/auth.json # http = Fetch from HTTP endpoint (CODEX_REMOTE_URL) # ssh = Fetch via SSH from remote machine (CODEX_SSH_*) # tcp = Fetch via raw TCP socket (TCP_HOST:TCP_PORT) CODEX_TOKEN_SOURCE=tcp # SSH credentials for fetching Codex token from remote machine # Used when CODEX_TOKEN_SOURCE=ssh CODEX_SSH_HOST= CODEX_SSH_PORT= CODEX_SSH_USER= CODEX_SSH_PASS= # HTTP endpoint for fetching Codex token # Used when CODEX_TOKEN_SOURCE=http CODEX_REMOTE_URL= # Reasoning effort for Codex models (low, medium, high, max, off) # Only used when PROVIDER=codex CODEX_REASONING_EFFORT= # ============================================================================= # Copilot Token Configuration # ============================================================================= # Copilot token source (only used when PROVIDER=copilot) # local = Read from GitHub Copilot credentials locally # tcp = Fetch via raw TCP socket (TCP_HOST:TCP_PORT) # remote = Fetch from HTTP endpoint (COPILOT_REMOTE_URL) # ssh = Fetch via SSH from remote machine (COPILOT_SSH_*) COPILOT_TOKEN_SOURCE=local # Copilot model to use COPILOT_MODEL=claude-sonnet-5 # HTTP endpoint for fetching Copilot token # Used when COPILOT_TOKEN_SOURCE=remote COPILOT_REMOTE_URL= # SSH credentials for fetching Copilot token from remote machine # Used when COPILOT_TOKEN_SOURCE=ssh COPILOT_SSH_HOST= COPILOT_SSH_PORT= COPILOT_SSH_USER= COPILOT_SSH_PASS= # Override path to Copilot credentials file COPILOT_CREDENTIALS_FILE= # Official Copilot CLI OAuth token (gho_...). When set, skip JWT exchange # and use api.business.githubcopilot.com + copilot-developer-cli headers. # Same wire as `copilot` CLI 1.0.79. Empty = VS Code ghu_/JWT path. COPILOT_GITHUB_TOKEN= # Copilot reasoning effort level (low/medium/high). Empty = omitted (default thinking). COPILOT_REASONING_EFFORT= # ============================================================================= # Grok Token Configuration (PROVIDER=grok — CLI OAuth, not api.x.ai) # ============================================================================= # Grok token source (only used when PROVIDER=grok) # local = Read from ~/.grok/auth.json (or GROK_CREDENTIALS_FILE) # http = Fetch from HTTP endpoint (GROK_REMOTE_URL) # ssh = Fetch via SSH from remote machine (GROK_SSH_*) # tcp = Fetch via raw TCP socket (TCP_HOST:TCP_PORT) GROK_TOKEN_SOURCE=local # Grok model (grok-4.6 / grok-4.5). Short names: opus/sonnet=4.6, haiku=4.5 GROK_MODEL=grok-4.6 # HTTP endpoint for fetching Grok token # Used when GROK_TOKEN_SOURCE=http GROK_REMOTE_URL= # SSH credentials for fetching Grok token from remote machine # Used when GROK_TOKEN_SOURCE=ssh GROK_SSH_HOST= GROK_SSH_PORT= GROK_SSH_USER= GROK_SSH_PASS= # Override path to Grok credentials file GROK_CREDENTIALS_FILE= # ============================================================================= # OpenCode Zen Configuration (PROVIDER=opencode — Free Models / Responses API) # ============================================================================= # OpenCode token source: local (reads ~/.config/opencode/auth.json), env OPENCODE_TOKEN_SOURCE=local # OpenCode model (muse-spark-1.3-contributor-free / muse-spark-1.2-contributor-free) OPENCODE_MODEL=muse-spark-1.3-contributor-free # OpenCode Organization ID (from console) OPENCODE_ORG_ID= # OpenCode Base URL OPENCODE_BASE_URL=https://opencode.ai/inference/openai/v1/responses # OpenCode Session ID (optional override; defaults to auto-generated ses_) OPENCODE_SESSION_ID= # Inject bash+read decoy tools for OpenCode free-tier fingerprint (0=off, 1=on) OPENCODE_FREE_TIER_TOOLS=0 # Email Settings (SMTP) # ============================================================================= # SMTP server hostname (e.g. smtp.gmail.com, smtp.office365.com) SMTP_HOST= # SMTP port (587 = STARTTLS, 465 = SSL, 25 = plain) SMTP_PORT=587 # SMTP authentication credentials SMTP_USER= SMTP_PASS= # Sender address (From: header) SMTP_FROM= # Encryption: starttls, ssl, none SMTP_TLS=starttls # ============================================================================= # Container Image Distribution # ============================================================================= # Base URL for container images (used by scorpiox-unshare and scorpiox-wsl) IMAGE_BASE_URL=https://dist.scorpiox.net/container-images/ # Self-update URL for scorpiox-wsl UPDATE_URL=https://dist.scorpiox.net/executables/scorpiox-wsl.exe # Examples: # ============================================================================= # Podman Standalone (scorpiox-podman) # ============================================================================= # Container registry for scorpiox-podman SCORPIOX_REGISTRY=registry.scorpiox.net # SCORPIOX_DIST_BASE_URL - Base URL for scorpiox distribution (without branch) # Branch is resolved automatically from SCORPIOX_INDEX_URL at runtime. # Final URL: //scorpiox_code.tar.gz SCORPIOX_DIST_BASE_URL=https://dist.scorpiox.net/scorpiox # SCORPIOX_INDEX_URL - URL to index.txt that contains the default branch name # Fetched once at startup, cached for session lifetime. # If unreachable, falls back to branch "sx". SCORPIOX_INDEX_URL=https://dist.scorpiox.net/scorpiox/index.txt # SCORPIOX_DIST_FILENAME - Platform-specific distribution filename # Default is auto-detected at compile time: # Linux x86_64: scorpiox_code.tar.gz # Linux ARM64: scorpiox_code_arm64.tar.gz # macOS: scorpiox_code_macos.tar.gz # Windows: scorpiox_code_windows.zip # Override when local arch differs from target (e.g. SSH to ARM64 from x86). SCORPIOX_DIST_FILENAME=scorpiox_code.tar.gz # ============================================================================= # Usage Tracking Settings # ============================================================================= # Enable/disable token usage tracking (0=disabled, 1=enabled) # When enabled, scorpiox-usage posts token counts to the usage API after each API call USAGE_TRACKING=0 # Usage API endpoint (override default) # Default: https://code.scorpiox.net/usage-send USAGE_API_URL=https://code.scorpiox.net/usage-send # Enable/disable session event telemetry (0=disabled, 1=enabled) # When enabled, scorpiox-emit-session posts full conversation messages # (user prompts, assistant responses, tool calls) to the emit session API. # DISABLED by default because it transmits actual conversation content. EMIT_SESSION_TRACKING=0 # Emit Session API endpoint (override default) # Default: https://code.scorpiox.net/sessions-send EMIT_SESSION_API_URL=https://code.scorpiox.net/sessions-send # ============================================================================= # Bash Permissions (scorpiox-askuserpermission) # ============================================================================= # Require user approval before executing Bash/BackgroundBash commands # 0=disabled (default, all commands run immediately), 1=enabled (prompt user) PERMISSIONS_BASH=0 # Commands auto-approved without prompting (comma-separated glob patterns) # Matched against each segment of piped/chained commands # Wildcards: * (match any), prefix match # Examples: ls*,cat *,pwd,git status*,grep*,find *,head *,tail *,wc* PERMISSIONS_BASH_ALLOW= # Commands always denied (overrides allow, comma-separated glob patterns) # If any segment of a piped/chained command matches, entire command is rejected # Examples: rm -rf*,shutdown*,reboot*,mkfs*,dd if=* PERMISSIONS_BASH_DENY= # --- Response classifier (opt-in LLM policy gate for toolcalls) --- # Judge toolcalls against user-defined policies using a fast small LLM # before execution. 0=disabled (default), 1=enabled CLASSIFIER_ENABLE=0 # Config profile (scorpiox-env/.txt) for the classifier LLM. # The profile file sets PROVIDER, MODEL, and endpoint for the classifier. CLASSIFIER_PROFILE= # Comma-separated policy list. Each entry: bare name (cascade: # .scorpiox/policies/ -> ~/.claude/policies/ -> exe_dir/policies/ -> built-in), # relative path (contains / or .md), or absolute path. # Built-ins: destructive, readonly, prod-guard, secrets CLASSIFIER_POLICY_FILES=destructive # Which tools get classified (comma-separated) CLASSIFIER_TOOLS=Bash,BackgroundBash # On classifier error/timeout: ask (permission prompt), allow, block CLASSIFIER_FAIL_MODE=ask # On BLOCK verdict: ask (permission prompt with reason), reject (auto-deny) CLASSIFIER_BLOCK_ACTION=ask # Classifier subprocess timeout in seconds CLASSIFIER_TIMEOUT=30 # Show verdict line in TUI (blocked verdicts always shown) CLASSIFIER_SHOW_VERDICT=1 # ============================================================================= # Event Hook System (scorpiox-hook) # ============================================================================= # Enable/disable hook execution (0=disabled, 1=enabled) # When enabled, scripts in .scorpiox/hooks// run on lifecycle events HOOKS_ENABLED=1 # Timeout for sync hooks in seconds (async hooks have no timeout) HOOKS_TIMEOUT=30 # ============================================================================= # WhatsApp Channel (scorpiox-whatsapp) # ============================================================================= # Bridge binary path override (auto-downloads from dist.scorpiox.net if empty) WA_BRIDGE_PATH= # Auto-update bridge binary: on-demand | always | off WA_BRIDGE_AUTO_UPDATE=on-demand # Auth directory for WhatsApp session WA_AUTH_DIR=.scorpiox/whatsapp/auth # Inbox directory for received messages WA_INBOX_DIR=.scorpiox/whatsapp/inbox # Default tmux session for listen mode WA_LISTEN_SESSION= # ============================================================================= # WASM Proxy Settings # ============================================================================= # WASM API Proxy URL (only used in WASM builds) # When set, ALL outbound HTTP requests are routed through this proxy. # The proxy receives the original request with an X-Target-URL header. # This solves mixed-content (http from https) and CORS issues. # Example: /api/sx-proxy (same-origin relative URL) WASM_API_PROXY=/api/platform/websites/wasm_scorpiox_proxy # ============================================================================= # Voice Transcription Settings # ============================================================================= # Whisper API endpoint for voice transcription # POST raw WAV bytes with Content-Type: application/octet-stream # Response: {"text": "transcribed text", "elapsed": 1.2, "language": "en"} VOICE_WHISPER_URL=https://whisper.scorpiox.net/ # ============================================================================= # TLS / SSL Verification # ============================================================================= # Verify SSL certificates for all outbound HTTPS requests (defense-in-depth). # 1 = verify (default, recommended). Sets CURLOPT_SSL_VERIFYPEER=1, VERIFYHOST=2. # 0 = skip verification (dev/test only — insecure!). SX_TLS_VERIFY=1 # ============================================================================= # HTTP Relay (route all HTTP through TCP relay server) # ============================================================================= # When enabled, client sends serialized HTTP over plain TCP to relay server. # Eliminates libcurl/TLS/cert dependencies on the client side. HTTP_RELAY=0 HTTP_RELAY_HOST=relay.scorpiox.net HTTP_RELAY_PORT=9801 HTTP_RELAY_KEY= # ============================================================================= # Server JWT Authentication (scorpiox-server) # ============================================================================= # HMAC-SHA256 secret for JWT validation. # If starts with / or ./ -> reads secret from that file path. # Otherwise treated as inline secret string. # Empty = JWT validation disabled (scripts decide auth). SERVER_JWT_SECRET= # Expected JWT issuer claim (iss). Empty = skip issuer check. SERVER_JWT_ISSUER= # Expected JWT audience claim (aud). Empty = skip audience check. SERVER_JWT_AUDIENCE= # Cookie name to extract JWT from (browser clients). # Bearer token from Authorization header is always checked first. # Empty = no cookie extraction (Bearer header only). SERVER_JWT_COOKIE= # Custom claim-to-environment-variable mappings (comma-separated pairs). # Format: claim_name=ENV_VAR_NAME,claim_name2=ENV_VAR_NAME2 # Built-in mappings (always active): sub->X_USER_ID, email->X_USER_EMAIL # Array claims are joined with commas: ["admin","git"] -> "admin,git" # Example: permissions=X_USER_PERMISSIONS,role=X_USER_ROLE,name=X_USER_NAME SERVER_JWT_CLAIMS= # Route prefixes requiring authentication (comma-separated). # Unauthenticated requests to these prefixes get 401 or redirect. # Empty = no enforcement (scripts decide). # Example: /admin,/api/private,/dashboard SERVER_JWT_PROTECT= # Routes exempt from SERVER_JWT_PROTECT (comma-separated). Lets a site # protect "/" yet serve a few public routes (static assets, health checks). # Matches whole path segments: /assets covers /assets and /assets/x, not # /assetsX. A valid token on these routes is still exported (X_USER_ID...). # Empty = no exemptions. # Example: /assets,/xterm_assets,/api/health SERVER_JWT_PUBLIC= # Scripts (comma-separated base names) allowed to turn a WebSocket upgrade # into a WS<->TCP relay by printing "X-Sx-Ws-Target: host:port" (or # "X-Sx-Ws-Upstream: http://..." to hop through another server). # The script decides auth + target; the client never names host:port. # Empty = off (default, no behaviour change). Example: vnc,node_vnc,rdp,node_rdp SERVER_WS_SCRIPTS= # Forward a URL path prefix to an internal plain-HTTP upstream (stage 1). # /prefix=host:port, comma-separated; longest prefix wins; the prefix is # stripped and sent as X-Forwarded-Prefix. JWT protection applies first. # No https:// upstreams, no WebSocket, no chunked request bodies (501). # Empty = off. Example: /ps3=127.0.0.1:8124,/ps2=127.0.0.1:8123 SERVER_PROXY_ROUTES= # Login URL for browser clients hitting protected routes without auth. # If set and Accept header contains text/html -> 302 redirect to this URL. # Otherwise -> 401 JSON {"error":"unauthorized"}. SERVER_JWT_LOGIN_URL= # ── Config profiles ─────────────────────────────────────────────── # Active named profile. Profiles are KEY=VALUE files stored in a # scorpiox-env/ directory next to any scorpiox-env.txt in the cascade # (exe dir, ~/.claude/, .scorpiox/). The active profile loads as the # highest config tier and only overrides the keys it defines. # Switch at runtime with /profile ; empty = no profile. ACTIVE_PROFILE= # ReadImage as text: when enabled (1), the ReadImage tool calls # scorpiox-readimageastext CLI to get a text description instead of # sending base64 inline. Use for models without vision support. READIMAGE_AS_TEXT=0 # Profile name for the vision endpoint used by scorpiox-readimageastext. # This profile provides PROVIDER, MODEL, endpoint config for the CLI. # Example: a profile with PROVIDER=openai, OPENAI_BASE_URL=http://localhost:8080/v1 READIMAGE_PROFILE= # Default prompt sent to the vision model when describing images. # Override per-call with scorpiox-readimageastext --prompt "...". READIMAGE_PROMPT= # ReadImage session copy: when enabled (1, default), every image the # ReadImage tool shows the model is also saved to # .scorpiox/sessions//images/. so the SCORPIOX BOT chat # card can display it even when the file lived in a container-only path # like /tmp (served by bot-api /image). 0 = do not keep copies. READIMAGE_SAVE_COPY=1 # CreateFile session copy: when enabled (1, default), every text file # created via CreateFile is also saved to # .scorpiox/sessions//files/.txt so the SCORPIOX BOT chat # card can expand and display the full created text even when the file # lived in a container-only path like /tmp (served by bot-api /createfile). # 0 = do not keep copies. CREATEFILE_SAVE_COPY=1 # Startup working directory. When non-empty, sx / libsx chdir here on # startup, on config refresh, and on /profile switches. Supports ~. # Works per-profile (scorpiox-env/.txt), so each profile can set # its own working directory. Empty = disabled (stay in launch dir). # The --cwd CLI flag always wins over this key. STARTUP_DIR= # Skill list filtering — control which skills are LISTED in the InvokeSkill # description (initial context). All skills remain invokable by name and # searchable via SearchSkills regardless of listing. Opt-in, defaults off. # Pipeline: include -> exclude -> top-percent -> required skills always listed. # When the list is partial, SearchSkills is auto-enabled (in-memory). # Comma-separated glob patterns (* and ?), e.g. *-pipeline-*,oh-shit-* SKILL_LIST_INCLUDE= SKILL_LIST_EXCLUDE= # Pattern files: one name/glob per line, # comments (same format as required_skills.txt) SKILL_LIST_INCLUDE_FILE= SKILL_LIST_EXCLUDE_FILE= # 0=off; N = keep top N% of skills by usage across .scorpiox/sessions/*/required_skills.txt # No session data => unlist non-exempt skills (required + built-in remain, SearchSkills auto-enabled) SKILL_LIST_TOP_PERCENT=0 # full = name + description (default), names = names only (saves tokens) SKILL_LIST_STYLE=full # --- Skill filter debug log (writes every filter decision to a file) --- # 1=on (default), 0=off. Log goes to /skill-filter.log SKILL_FILTER_LOG=1 # Override log path (default: /skill-filter.log) SKILL_FILTER_LOG_PATH= # 1=rotate in place, keep newest SKILL_FILTER_LOG_MAX_BYTES (default), 0=append forever SKILL_FILTER_LOG_TRUNCATE=1 # Bytes to keep when SKILL_FILTER_LOG_TRUNCATE=1 (default 1 MiB, 0=1 MiB) SKILL_FILTER_LOG_MAX_BYTES=1048576 # Additional skills directories (comma-separated local paths) # Each path should contain /SKILL.md subdirectories # ADDITIONAL_SKILLS=