Complete reference for all 32 file formats used by scorpiox code — configuration, session data, logs, container images, traffic captures, and SDK message files.
scorpiox code is a pure C AI coding assistant that uses a well-defined set of file formats for configuration, session management, logging, traffic capture, and SDK integration. All files are UTF-8 text unless noted. The configuration cascade flows: defaults → exe_dir → ~/.claude/ → .scorpiox/ → environment variables.
# Configuration cascade order (highest priority last):
1. Compiled defaults (in C source)
2. exe_dir/scorpiox-env.txt # beside the sx binary
3. ~/.claude/scorpiox-env.txt # user-level
4. .scorpiox/scorpiox-env.txt # project-level
5. OS environment variables # override everything
scorpiox-env.txt .txtKey-value configuration with cascade: defaults → exe_dir → ~/.claude/ → CWD/.scorpiox/ → OS env vars
PROVIDER=claude_code
MODEL=opus
STREAMING=0
TOOLS=1config-snapshot.txt .txtFrozen copy of all config key-value pairs at session start
PROVIDER=claude_code
MODEL=opus
MAX_TOKENS=16384scorpiox-init.txt .txtInstallation/service configuration for scorpiox init system
SERVICE_NAME=scorpiox-server
PORT=8080conversation.json .jsonFull conversation history — messages, tool uses, tool results
{"id":"20260507-a1b2","created":"2026-05-07T19:05:26Z","messages":[]}meta.json .jsonSession metadata — model, provider, timing, usage summary
{"session_id":"20260507-a1b2","model":"opus","provider":"claude_code","total_turns":12}session.log .logsx_log output — timestamped DEBUG/INFO/WARN/ERROR with source location
[19:05:26.123] [INFO] [sx.c:42] session startedagent.log .logAgent-level logging — API requests, responses, tool uses, errors
[19:05:27] [REQUEST] POST /v1/messages
[19:05:28] [TOOL_USE] Bash: ls -laevents.jsonl .jsonlStructured event log — machine-parseable JSON Lines for telemetry
{"ts":"2026-05-07T19:05:26Z","event":"tool_use","data":{"tool":"Bash"}}trace.jsonl .jsonlData flow trace — checkpoint pipeline debugging (API_RESPONSE → TOOL_USE → CONV_SAVE)
{"ts":"19:05:26.100","cp":"API_RESPONSE","tokens":1234}required_skills.txt .txtSkill names loaded into system prompt (cascade: user → project → .scorpiox → session)
preferred-file-tools
googlemaps
create-commandCLAUDE.md .mdProject instructions appended to system prompt — conventions, rules, context
# Project Instructions
## Rules
- Use tabs for indentationSKILL.md .mdSkill definition — YAML frontmatter (name, description, has_args) + Markdown body
---
name: googlemaps
description: Google Maps API
---
Use scorpiox-googlemaps CLI...Slash command (.md) .mdCustom slash command — Markdown content sent as user message
Review the following code for security issues:
$ARGUMENTSSlash command script .sh / .ps1Executable slash command — shell script, stdout piped to conversation
#!/bin/bash
echo "Running tests..."
python -m pytest $ARGUMENTSMCP file (.mcp) .mcpMCP server definitions — compact format for stdio-based MCP servers
MCP servers JSON .jsonMCP server definitions — Claude-compatible JSON with mcpServers object
{"mcpServers":{"filesystem":{"command":"npx","args":["-y","@anthropic/mcp-fs"]}}}Traffic raw files .txt / .bin / .jsonIndividual HTTP request/response headers and bodies from MITM proxy
Traffic raw_messages .json / .txtFiltered subset — only /v1/messages API requests/responses
summary.json .jsonQuick overview of all captured HTTP requests in a traffic session
conversation.jsonl .jsonlSequential request-response log — machine-parseable traffic conversation
all.har .harStandard HTTP Archive — importable into Chrome DevTools, HAR viewers
Curl replay scripts .shGenerated curl commands to replay captured HTTP requests
msg_NNNN_type.txt .txtPer-turn message files for SDK consumers (--emit-session / --headless)
msg_NNNN_event.json .jsonStructured event emission per turn for SDK consumers
msg_NNNN_usage.json .jsonToken usage stats per turn for billing/monitoring
Rewind audit files .json / .logBefore/after snapshots and event log for conversation rewind
Container image tarball .tarRootfs tar archive for scorpiox-unshare container runtime
OCI image layout (directory)OCI-compliant container image with index.json, manifests, layer blobs
BIOS firmware binary .binx86 BIOS ROM for scorpiox-vm KVM virtual machine boot
host.pid .pidPID file for scorpiox-host daemon process
Claude Code credentials .jsonOAuth access/refresh tokens for Claude Code API
Codex auth.json .jsonOpenAI Codex OAuth tokens