/jarvis:jarvis-settingsfrom jarvis
View and update Jarvis configuration including vault path, PostgreSQL connection, embedding model, file format, auto-extract, replication, and statusline.
Ships in jarvis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Re-runnable configuration manager for Jarvis. Jump to any setting, change what you need, leave the rest.
First-time setup? If ~/.jarvis/config.json doesn't exist, guide the user through initial config (vault path + basics), then offer to explore advanced settings.
Read ~/.jarvis/config.json and show a summary:
Jarvis Configuration
--------------------
Vault: ~/.jarvis/vault/
File Format: Markdown (.md)
PostgreSQL: postgresql://jarvis:***@localhost:5432/jarvis (ok, 2657 docs)
Embedding: granite-small-r2 (384d, onnx)
Auto-Extract: background (min text: 200 chars)
Replication: disabled
Shell: jarvis command in PATH
Version: 2.3.0
If config doesn't exist, say: "No config found. Let's set up the basics." and go to Step 2a (first-time flow).
Use AskUserQuestion:
AskUserQuestion:
questions:
- question: "What would you like to configure?"
header: "Settings"
options:
- label: "Vault path"
description: "Change where Jarvis stores your knowledge"
- label: "PostgreSQL connection"
description: "Configure database URL, test connectivity"
- label: "Embedding model"
description: "View/change embedding model and dimensions"
- label: "File format"
description: "Choose Markdown (.md) or Org-mode (.org) for new files"
- label: "Auto-Extract"
description: "Configure observation capture from conversations"
- label: "Replication"
description: "Configure bidirectional sync between instances"
- label: "Statusline"
description: "Install or update the Claude Code statusline"
- label: "Advanced settings"
description: "Vault paths, memory tuning, context enrichment"
multiSelect: false
If no config exists, skip the menu and walk through essentials:
Scan for common vault locations, then ask:
AskUserQuestion:
questions:
- question: "Where should Jarvis store your knowledge vault?"
header: "Vault"
options:
- label: "~/.jarvis/vault/ (Recommended)"
description: "Starter vault - good for trying Jarvis or if you don't have a PKM"
- label: "[detected Obsidian vault]"
description: "Use your existing Obsidian vault at [path]"
- label: "Enter custom path"
description: "Specify your own directory"
multiSelect: false
Scan these locations for Obsidian vaults (contain .obsidian/):
~/Documents/Obsidian*~/Obsidian*~/vaults/*~/Library/Mobile Documents/iCloud~md~obsidian/Documents/*What is a vault? If the user seems confused, explain briefly:
A vault is just a folder of markdown files. If you use Obsidian, it's your Obsidian vault. If not, Jarvis creates a simple folder structure for journals, notes, and strategic context.
After changing vault path: ask if user wants to reindex for semantic search.
Show current format (file_format in config, default: md), then ask:
AskUserQuestion:
questions:
- question: "File format for new vault files? (current: [format])"
header: "Format"
options:
- label: "Markdown (.md) (Recommended)"
description: "Standard format, works with Obsidian and most tools"
- label: "Org-mode (.org)"
description: "For Emacs/Org-mode users. Existing .md files remain readable."
multiSelect: false
Map to config values:
"md""org"Update file_format in config. Note: this only affects new files. Existing files in either format are always readable and searchable.
Show current mode, then ask:
AskUserQuestion:
questions:
- question: "Auto-Extract mode? (current: [mode])"
header: "Auto-Extract"
options:
- label: "Background (Recommended)"
description: "Smart fallback: tries API first, then CLI. Near-zero cost (~$0.02/session)."
- label: "Background API only"
description: "Requires ANTHROPIC_API_KEY. Fastest extraction (~200ms)."
- label: "Background CLI only"
description: "Uses Claude CLI via OAuth. No API key needed (~2-5s)."
- label: "Disabled"
description: "No automatic observation capture."
multiSelect: false
Map to mode values:
"background""background-api""background-cli""disabled"If NOT disabled, ask about thresholds:
AskUserQuestion:
questions:
- question: "Extraction sensitivity?"
header: "Tuning"
options:
- label: "Defaults (Recommended)"
description: "Min text: 200 chars per turn"
- label: "Frequent capture"
description: "Min text: 100 chars (more observations, slightly noisier)"
- label: "Conservative"
description: "Min text: 500 chars (fewer, higher quality)"
- label: "Custom values"
description: "Enter your own min_turn_chars threshold"
multiSelect: false
Preset mapping:
min_turn_chars: 200min_turn_chars: 100min_turn_chars: 500min_turn_chars (int)Show current connection (mask password) and offer test:
AskUserQuestion:
questions:
- question: "PostgreSQL configuration?"
header: "PostgreSQL"
options:
- label: "Test connection"
description: "Verify connectivity and show doc count"
- label: "Change connection URL"
description: "Set postgres_url (current: ***@localhost:5432/jarvis)"
- label: "Back to main menu"
multiSelect: false
Test connection: Call /health endpoint or use jarvis_collection_stats tool to verify PG is reachable. Display: status, doc count, table size.
Change URL: Ask for new postgres_url. Update memory.postgres_url in config. Warn: "Changing the database URL means connecting to a different database. Existing data will not be migrated."
Config key: memory.postgres_url
Env override: POSTGRES_URL
Show current model and dimensions:
AskUserQuestion:
questions:
- question: "Embedding model configuration? (current: granite-small-r2, 384d)"
header: "Embedding"
options:
- label: "View current"
description: "Show model name, dimensions, device, and backend"
- label: "Change model"
description: "⚠️ Requires re-embedding all content"
- label: "Back to main menu"
multiSelect: false
View current: Read from get_embedding_config() and display:
ibm-granite/granite-embedding-small-english-r2Change model: Warn prominently:
⚠️ Changing the embedding model requires re-embedding ALL stored content. The stored model in jarvis_meta must match the active config. After changing, run:
jarvis-init-db --force-model-record
Config keys: memory.embedding_model, memory.embedding_model_id, memory.embedding_dimensions, memory.embedding_device, memory.embedding_backend, memory.embedding_host_model, memory.embedding_host_url, memory.embedding_host_timeout_ms
Env overrides: EMBEDDING_MODEL, JARVIS_EMBEDDING_MODEL_ID, EMBEDDING_DIMENSIONS, EMBEDDING_DEVICE, EMBEDDING_BACKEND, JARVIS_MODEL_HOST_MODEL, JARVIS_MODEL_HOST_URL, JARVIS_MODEL_HOST_TIMEOUT_MS
Show current replication mode:
AskUserQuestion:
questions:
- question: "Replication configuration? (current: disabled)"
header: "Replication"
options:
- label: "View status"
description: "Show publications, subscriptions, and sync state"
- label: "Enable as local node"
description: "Subscribe to a central Jarvis instance"
- label: "Enable as central hub"
description: "Accept subscriptions from local nodes"
- label: "Disable"
description: "Turn off replication"
- label: "Back to main menu"
multiSelect: false
View status: Call /health endpoint and display replication section (publications, subscriptions, sync lag).
Enable as local: Ask for central_url, node_id. Update config keys:
memory.replication.mode -> "local"memory.replication.central_url -> user inputmemory.replication.node_id -> user inputThen instruct: "Run jarvis-setup-replication --role local --central-url <URL> to create the PG subscription."
Enable as central: Set memory.replication.mode -> "central". Instruct: "Run jarvis-setup-replication --role central to create the PG publication and replication user."
Config key: memory.replication
Env overrides: JARVIS_REPLICATION_MODE, JARVIS_CENTRAL_URL
AskUserQuestion:
questions:
- question: "Which advanced area?"
header: "Advanced"
options:
- label: "Vault directory paths"
description: "Where journals, notes, inbox, etc. are stored"
- label: "Memory system"
description: "Secret detection, importance scoring, DB location"
- label: "Context enrichment"
description: "Automatic vault memory injection on every message"
- label: "Back to main menu"
multiSelect: false
Show all vault-relative paths with current vs default:
| Path Name | Default | Current |
|---|---|---|
journal_jarvis | journal/jarvis | [current or default] |
journal_daily | journal/daily | ... |
notes | notes | ... |
work | work | ... |
inbox | inbox | ... |
inbox_todoist | inbox/todoist | ... |
templates | templates | ... |
strategic | .jarvis/strategic | ... |
Let user change specific paths. All paths are relative to vault root.
| Setting | Default | Description |
|---|---|---|
secret_detection | true | Scan content for secrets before storing |
importance_scoring | true | Score content importance on write |
recency_boost_days | 7 | Boost recent content in search results |
default_importance | 0.5 | Default importance score (0.0–1.0) for new content |
postgres_url | postgresql://jarvis:jarvis@localhost:5432/jarvis | PostgreSQL connection URL |
embedding_model | ibm-granite/granite-embedding-small-english-r2 | Sentence-transformer model |
embedding_dimensions | 384 | Vector dimensions |
embedding_device | cpu | Compute device (cpu/cuda) |
embedding_backend | onnx | Inference backend (onnx, torch, bedrock, or native host); the Docker image supports host only |
embedding_model_id | Granite model ID | Stable embedding-space identity persisted with stored vectors |
embedding_host_url | http://host.docker.internal:8751 | Native llama.cpp embedding endpoint |
| Setting | Default | Description |
|---|---|---|
enabled | false | Enable cross-encoder reranking for explicit recall and context enrichment |
backend | onnx | Inference backend (onnx or native host); the Docker image supports host only |
model | BAAI/bge-reranker-v2-m3 | Stable reranker model identity/API alias |
candidate_count | 20 | How many results to over-fetch for reranking |
top_k | 10 | Legacy reranking cap; the caller's n_results decides the final result count |
alpha | 0.7 | Blend weight (0.0=vector only, 1.0=reranker only) |
max_latency_ms | 1500 | Latency budget before fallback to vector scores |
batch_size | 32 | Tokenization batch size for ONNX inference |
host_url | http://host.docker.internal:8752 | Native llama.cpp reranker endpoint |
host_timeout_ms | 1500 | Per-request host timeout |
Config key: memory.reranking
The Docker image contains no ONNX runtime or model weights. Keep the configured host services running; reranking fails open to vector scores when BGE is unavailable, while embedding unavailability is a visible service error.
| Setting | Default | Description |
|---|---|---|
enabled | true | Master switch for automatic memory recall |
threshold | 0.85 | Minimum raw cosine similarity; higher values favor precision (0.876 = zero false positives but ~0.26 recall), lower values favor recall |
budget | 8000 | Total character budget for injection (split 50/50 between auto-generated content and vault documents) |
max_results | 20 | Maximum injected matches after thresholding, ranking, and deduplication |
Offer presets:
threshold: 0.85, budget: 8000, max_results: 20threshold: 0.80, budget: 12000, max_results: 20threshold: 0.876, budget: 8000, max_results: 20threshold: 0.88, budget: 4000, max_results: 10enabled: falseConfig key: memory.context_enrichment
| Setting | Default | Description |
|---|---|---|
enabled | true | Persist semantic retrieval funnels and candidate scores |
retention_days | 30 | Delete traces and labels after this many days |
store_user_prompts | true | Store full user-facing search prompts; internal document-derived queries remain hash/reference only |
candidate_detail_limit | 100 | Maximum score-only candidate rows per trace |
shadow.enabled | true | Score pending top candidates with the configured host BGE reranker without changing live selection |
shadow.candidate_count | 20 | Maximum vector-ranked candidates scored per trace |
shadow.max_attempts | 3 | Durable retry limit before a shadow job is marked failed |
Config key: memory.retrieval_telemetry
Telemetry is diagnostic only: it does not change context_enrichment.threshold,
the character budget, or result ordering. Policy simulation in Memory Explorer
is read-only and only produces a copyable configuration snippet.
Pretty-print ~/.jarvis/config.json grouped by section:
=== Core ===
vault_path: ~/.jarvis/vault/
file_format: md
vault_confirmed: true
configured_at: 2026-02-08T10:30:00Z
=== Memory ===
postgres_url: postgresql://jarvis:***@localhost:5432/jarvis
embedding_model: ibm-granite/granite-embedding-small-english-r2
embedding_dimensions: 384
secret_detection: true
importance_scoring: true
recency_boost_days: 7
default_importance: 0.5
=== Context Enrichment ===
enabled: true
threshold: 0.85
budget: 8000
max_results: 20
=== Retrieval Telemetry ===
enabled: true
retention_days: 30
store_user_prompts: true
shadow.enabled: true
shadow.candidates: 20
=== Auto-Extract ===
mode: background
min_turn_chars: 200
max_transcript_lines: 500
debug: false
=== Replication ===
mode: disabled
central_url: (not set)
node_id: (not set)
=== Vault Paths (relative to vault root) ===
journal_jarvis: journal/jarvis
journal_daily: journal/daily
notes: notes
...
Highlight any non-default values with a marker. After viewing, return to main menu.
Check if the jarvis executable is already installed and in PATH (command -v jarvis).
If not installed or outdated, find the shell script in the plugin distribution and install it:
jarvis.sh in the plugin's shell/ directory (use the skill's base directory, two levels up from skills/<name>/)~/.local/bin/ if it exists and is in PATH (preferred)/usr/local/bin/ if writable~/.local/bin/ (create it, warn about PATH)<install_dir>/jarvis and chmod +xexport PATH="~/.local/bin:$PATH"If old shell function markers exist in RC files (# Jarvis AI Assistant START in ~/.zshrc, ~/.bashrc, or ~/.bash_profile), offer to clean them up by removing the START/END block.
Install or update the Jarvis statusline for Claude Code. The statusline shows model, MCP servers, cost, duration, context usage, and Jarvis server health.
Check current state:
statusLine in the user's settings.json (at $CLAUDE_CONFIG_DIR/settings.json or ~/.claude/settings.json)~/.jarvis/statusline.py existsIf not installed:
statusline.py in the plugin's statusline/ directory (use the skill's base directory, two levels up from skills/<name>/)~/.jarvis/statusline.py and chmod +xstatusLine config into the user's settings.json:
{"statusLine": {"type": "command", "command": "~/.jarvis/statusline.py"}}
If already installed: Offer to update from the plugin distribution (in case a new version shipped).
Important: The user's settings.json path depends on their CLAUDE_CONFIG_DIR. If the user runs multiple Claude configs, ask which settings.json to update.
Merge changes into existing config. Never overwrite keys that weren't changed.
For first-time setup, read the default config template shipped with the plugin:
<plugin_root>/defaults/config.json
skills/<name>/) to find defaults/Read tool on the defaults/config.json file relative to the plugin rootvault_path -> user's chosen pathvault_confirmed -> trueconfigured_at -> current ISO 8601 timestampfile_format -> user's chosen format ("md" or "org")auto_extract.mode -> user's chosen mode~/.jarvis/config.jsonFor existing config updates, merge changes — don't overwrite keys that weren't changed.
Also ensure directories exist:
mkdir -p [vault_path]
mkdir -p ~/.jarvis/db
Show what changed:
Settings updated!
Changed:
- vault_path: ~/old/path -> ~/new/path
- auto_extract.mode: disabled -> background
Quick Start:
/jarvis-recall <query> - Search vault semantically
/jarvis-settings - Update configuration anytime
$ jarvis - Launch from terminal (if shell configured)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/jarvisActivate Jarvis identity and load strategic context. Fallback for users without the jarvis executable./jarvis-closeSession closure checklist. Use when user says "/jarvis-close", "close session", "am I done", "anything left", "ready to close", or "session review"./jarvis-consolidateBrowse and consolidate redundant memories via LLM-driven clusteringOther plugins' skills for the same job
/jarvis-memory-statsShow memory system health and statistics. Use when user says "/jarvis-memory-stats", "Jarvis, memory status", "how many files indexed", or "memory health".npx claudepluginhub rsprudencio/jarvis --plugin jarvis