cyberstrike.json (or cyberstrike.jsonc) file. Config can be placed globally, per-project, or supplied inline — multiple sources are merged in a defined precedence order.
Config file name
CyberStrike looks for either of these files:cyberstrike.json— standard JSONcyberstrike.jsonc— JSON with comments and trailing commas
{env:VAR} interpolation to inject environment variable values and {file:path} references to inline file contents.
IDE autocomplete
Add a$schema field to get validation and autocomplete in editors that support JSON Schema:
cyberstrike.json
Config loading precedence
Config sources are merged from lowest to highest priority. Later sources override earlier ones for scalar values; arrays (likeplugin and instructions) are concatenated and deduplicated.
Remote org defaults
Fetched from
.well-known/cyberstrike on an authenticated remote host. Used for org-wide defaults in team or enterprise deployments.Global config
~/.config/cyberstrike/cyberstrike.json (or .jsonc). Applies to all projects on your machine.Custom config path
The file pointed to by the
CYBERSTRIKE_CONFIG environment variable. Overrides the global config.Project config
cyberstrike.json or cyberstrike.jsonc found by searching up from the current directory to the worktree root. The closest file takes precedence..cyberstrike/ directory configs
Files and subdirectories inside
.cyberstrike/ folders (agents, commands, plugins, and a nested cyberstrike.json). Searched from the current directory up to the worktree root, plus ~/.cyberstrike/.Inline config content
JSON supplied directly in the
CYBERSTRIKE_CONFIG_CONTENT environment variable. Useful for CI pipelines or scripted runs.Top-level config fields
The following fields can appear at the root ofcyberstrike.json.
model
model
The default model for all sessions in the format
provider/model.small_model
small_model
A lighter model used for background tasks like session title generation.
default_agent
default_agent
Name of the primary agent to use when none is specified. Falls back to the built-in
cyberstrike agent if unset or invalid.theme
theme
UI theme name.
logLevel
logLevel
Log verbosity. Accepted values:
debug, info, warn, error.username
username
Custom display name shown in conversations instead of the system username.
share
share
autoupdate
autoupdate
Controls automatic updates.
| Value | Behavior |
|---|---|
true | Updates automatically |
false | Disables update checks |
"notify" | Shows a notification without updating |
snapshot
snapshot
Enable session snapshots.
compaction
compaction
Controls how CyberStrike manages context window space.
| Field | Type | Description |
|---|---|---|
auto | boolean | Compact automatically when context fills up (default: true) |
prune | boolean | Remove old tool outputs during compaction (default: true) |
reserved | integer | Token buffer reserved to prevent overflow during compaction |
instructions
instructions
Additional instruction files or glob patterns to include as system context.
plugin
plugin
Array of plugin specifiers (npm package names or
file:// paths).Full example
cyberstrike.json
Related pages
Providers
Configure LLM providers, API keys, and model defaults.
Permissions
Control what tools CyberStrike can use without asking.
Keybinds
Customize keyboard shortcuts for every action.
Agents
Configure and extend built-in and custom agents.