Configuration

  1. Installer environment variables
  2. Context+
  3. Hindsight
  4. Agents and models
  5. Allowing a switched-off tool again

Installer environment variables

Variable Default Meaning
HINDSIGHT_SERVER daemon daemon, self-hosted or cloud
HINDSIGHT_API_URL — server URL for self-hosted
HINDSIGHT_API_TOKEN — token for cloud
CONTEXTPLUS_VERSION 1.0.9 pinned Context+ release
DEVSTACK_CONTEXTPLUS_HOME ~/.local/share/devstack/contextplus where Context+ is installed (also read by the launcher)

Context+

The plugin’s .mcp.json starts Context+ on the current project ($CLAUDE_PROJECT_DIR) with:

Variable Value Used for
OLLAMA_EMBED_MODEL nomic-embed-text embeddings
OLLAMA_CHAT_MODEL llama3.2 cluster labels in semantic_navigate

To use an OpenAI-compatible embedding API instead of Ollama, set CONTEXTPLUS_EMBED_PROVIDER=openai and the CONTEXTPLUS_OPENAI_* variables in that file. See the Context+ README for the variables. The provider then receives your code for embedding.

Hindsight

Hindsight reads one file, ~/.hindsight/coding-agent.json. devstack writes three keys there and leaves everything else to you:

Key devstack sets Why
codebaseSurvey false Context+ reads structure live
pages."Component map" false same
toolGuideExtra a one-line routing note keeps memory and code questions apart

Useful keys of Hindsight’s own:

Key Use it to
optInOnly + optInPaths remember only the repos you list
retainExtractionMode trade extraction detail against tokens per turn
autoUpdate pin the installed version (false)
disabled (per harness) turn memory off without uninstalling

The full reference is in the Hindsight coding-agents docs.

Agents and models

Agent Model Change it in
scout haiku plugins/devstack/agents/scout.md
worker sonnet plugins/devstack/agents/worker.md
verifier the session’s model plugins/devstack/agents/verifier.md

After editing plugin files, re-run ./install.sh so Claude Code refreshes its cached copy.

Allowing a switched-off tool again

Remove its line from permissions.deny in ~/.claude/settings.json. The rules all start with mcp__plugin_devstack_contextplus__.


MIT © codicoscepticos. devstack bundles graph-engineering (MIT) and installs Hindsight and Context+ from npm.