OpenContext

A local context store for coding agents that captures project knowledge and reuses it across Codex, Claude Code and OpenCode

CLI

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Reads and writes project files and agent settings
  • Deploys MCP and commands into the agent configuration
All reasons and checks

0xranx/opencontext

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/opencontext

Detects the agents on your machine, checks the risk and pins the version.

Other ways to install

Install the tool

npm install -g @aicontextlab/cli

You will need: Node.js

Checked against the repository on Sep 25, 2026, commit 0649e71.

Text for your agent

Install the CLI: npm install -g @aicontextlab/cli, then run oc init and pick the agents to integrate.

Other ways from the author
npm install -g @aicontextlab/cli
oc init

oc init asks which agents to set up commands, skills and MCP for.

This is third-party code. Review the repository files before installing.

What it does

OpenContext installs as the oc CLI and layers on top of an agent you already run rather than replacing it. It gathers notes, decisions and project knowledge into a local store and exposes them to the agent through built-in skills and MCP. The oc init command wires commands, skills and an MCP entry into Cursor, Claude Code, Codex and OpenCode. A Tauri desktop app is available for people who prefer a visual interface. Everything stays on the user's machine.

Who it is for. For developers who work across several agents and want context to persist between sessions and repositories.

Good fit when

  • You want the agent to remember decisions and project details between sessions
  • You use several agents and want a shared knowledge store
  • You want context stored locally, without a cloud

Not a fit when

  • You need a networked team knowledge server
  • One agent's built-in memory is enough

Example request

Save this project's architecture decisions to context and recall them in the next session

Limitations

It runs on top of your agent and its model and ships no LLM of its own. The desktop app and MCP require Node.js 18 or later.

How to disable. Remove the package with npm uninstall -g @aicontextlab/cli, then delete the opencontext entries from your agents' skill directories and mcp.json.

Security check

  • Reads and writes project files and agent settings
  • Deploys MCP and commands into the agent configuration

README in short

The README presents OpenContext as persistent memory for an assistant: install the CLI, run oc init, and the tool adds commands, skills and an MCP entry to Cursor, Claude Code, Codex and OpenCode. Besides the CLI there is a desktop app for working with the knowledge base visually. The project is written in JavaScript and Rust and ships under the MIT license.

FAQ

Do I need a separate agent subscription?

No, OpenContext reuses the CLI you already have and its model access.

Where is data stored?

Locally on your machine; there is no separate cloud service.

Editors’ pick

Open-source personal AI assistant on your own machine: answers in Telegram, Slack, Discord and WhatsApp, extended with skills and plugins

CLIHigh risk390.7KRepository stars
Editors’ pick

A self-improving agent from Nous Research with a TUI, messaging gateway, cron jobs and skills it writes itself

CLIHigh risk249.8KRepository stars
Editors’ pick

An open source coding agent for the terminal and desktop with build and plan modes

CLIHigh risk210.6KRepository stars
Editors’ pick

Open prompt library with a Claude Code plugin, MCP server and CLI: search, fetch and improve prompts and skills from an agent

PluginMedium risk171.5KRepository stars
Foxx AIOpenContext

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.