OpenContext

A personal context store for AI agents and assistants—reuse your existing coding agent CLI (Codex/Claude/OpenCode) with built‑in Skills/tools and a desktop GUI to capture, search, and reuse project knowledge across agents and repos.

750
Stars
50
Forks
JavaScript
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/0xranx/OpenContext

Getting Started

Guides for using skills like OpenContext.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

OpenContext Logo

Give your AI assistant a persistent memory.
Stop repeating yourself. Start building smarter.

Bring your own coding agent. OpenContext reuses your existing CLI (Codex/Claude/OpenCode) and adds a GUI + built-in Skills/tools — no extra agent subscription.

OpenContext Overview OpenContext Demo

npm version license

🌐 Website · 📖 Usage Guide · ⬇️ Download Desktop

中文文档


The Problem

When you use an AI assistant to build things, context gets lost (across days, repos, chats). You end up re-explaining background, repeating decisions, and sometimes the assistant continues with the wrong assumptions. Most tools stop at storage and don't plug into the coding agent you already use.

The Solution

OpenContext is a lightweight personal context / knowledge store for AI assistants (Agents) and coding tools like Cursor / Claude Code / Codex. It reuses your existing coding agent CLI (Codex/Claude/OpenCode) while adding a GUI plus built-in Skills/tools, so your agent can "load history first, then act; ship, then persist".

Skills-first support: oc init generates user-level skills (Cursor/Claude Code/Codex) plus slash commands (Cursor/Claude Code), so agents can load, search, create, and iterate your context with one command.

Before OpenContextAfter OpenContext
📂 Hard to share context across repos/sessions✅ Global context library works across all projects
🤷 Your ideas can't be quickly perceived by Agent✅ Agent loads your background & decisions automatically
🔒 Existing knowledge can't be operated by Coding Agent✅ Agent can directly read/write your knowledge base

What's Included

  • oc CLI — manage a global contexts/ library (folders/docs, manifests, search)
  • MCP Server — so Cursor/Claude Code/Codex/Agents can call OpenContext as tools
  • Skills + Slash Commands — user-level skills for Cursor/Claude Code/Codex and slash commands for Cursor/Claude Code (generated by oc init)
  • Agent-ready Knowledge Layer — reuse your existing coding agent CLI (Codex/Claude/OpenCode) with built-in skills/tools and GUI
  • Desktop App — manage/search/edit contexts with a native UI
  • Web UI — browse/edit contexts locally (no install required)

Why OpenContext for Builders

OpenContext's knowledge management Agent can be the coding agent you already use (Codex/Claude/OpenCode). You don't pay for a separate agent — you bring your own CLI and get a ready-to-use experience: a GUI for context management plus built-in Skills and tools that let the agent read, search, create, and iterate on your knowledge.

Quick Start

Install CLI

npm install -g @aicontextlab/cli

Choose Your Path

PathBest ForGet Started
🖥️ Desktop AppVisual users who want a native UIDownload from Releases
⌨️ CLI + ToolsDevelopers using Cursor/Claude Code/Codex/AI agentsnpm install -g @aicontextlab/cli && oc init
🔧 CLI OnlyPower users, automationnpm install -g @aicontextlab/cli

OpenContext works with the coding agent CLI you already have — it adds a GUI plus built-in Skills/tools instead of replacing your agent.

30-Second Setup (CLI + Cursor/Claude Code/Codex)

# 1. Install
npm install -g @aicontextlab/cli

# 2. Initialize (prompts for tool setup; defaults to all)
cd your-project
oc init

# 3. Use slash commands (Cursor + Claude Code)
#    /opencontext-context  — load background before working
#    /opencontext-search   — find relevant docs
#    /opencontext-create   — create a new doc
#    /opencontext-iterate  — persist what you learned
#    Tip: non-interactive installs can use --tools cursor,claude,codex or --no-claude/--no-cursor/--no-codex
#
#    Installed by oc init:
#    - Cursor: ~/.cursor/commands
#    - Claude Code: ~/.claude/commands (or $CLAUDE_CONFIG_DIR/commands)
#    Skills (wrapped from slash commands):
#    - Cursor: ~/.cursor/skills/opencontext-*/SKILL.md
#    - Claude Code: ~/.claude/skills/opencontext-*/SKILL.md (or $CLAUDE_CONFIG_DIR/skills)
#    - Codex: ~/.codex/skills/opencontext-*/SKILL.md (or $CODEX_HOME/skills)
#
# 4. MCP config is user-level (Cursor/Claude Code/Codex)
#    - Cursor: ~/.cursor/mcp.json
#    - Claude Code: ~/.claude/mcp.json (or $CLAUDE_CONFIG_DIR/mcp.json)
#    - Codex: ~/.codex/mcp.json (or $CODEX_HOME/mcp.json)

📖 For detailed usage guide, search configuration, and FAQ, visit the Website.



FAQ (Frequently Asked Questions)

What is OpenContext?

OpenContext is a lightweight personal context / knowledge store for AI assistants and coding tools like Cursor / Claude Code / Codex. It gives your AI agent a persistent memory so you can stop repeating yourself and start building smarter.

How does OpenContext work with my existing coding agent?

OpenContext reuses your existing coding agent CLI (Codex/Claude/OpenCode) while adding a GUI plus built-in Skills/tools. You don't pay for a separate agent subscription — you bring your own CLI and get a ready-to-use experience.

What are the core components?

ComponentFunction
oc CLIManage global contexts/ library (folders/docs, manifests, search)
MCP ServerCursor/Claude Code/Codex/Agents call OpenContext as tools
Skills + Slash CommandsUser-level skills for Cursor/Claude Code/Codex + slash commands for Cursor/Claude Code
Desktop AppManage/search/edit contexts with a native UI
Web UIBrowse/edit contexts locally (no install required)

What coding agents are supported?

AgentConfig Location
Cursor~/.cursor/mcp.json
Claude Code~/.claude/mcp.json
Codex~/.codex/mcp.json
OpenCode~/.config/opencode/

What are the key benefits?

Before OpenContextAfter OpenContext
📂 Hard to share context across repos/sessions✅ Global context library works across all projects
🤷 Your ideas can't be quickly perceived by Agent✅ Agent loads your background & decisions automatically
🔒 Existing knowledge can't be operated by Coding Agent✅ Agent can directly read/write your knowledge base

Is OpenContext free and open source?

Yes! OpenContext is free and open source. Check the repository for license details.

How do I get started?

npm install -g @aicontextlab/cli
oc init

This generates user-level skills and slash commands for your coding agent.

Where can I get help?

CLI Commands (Quick Reference)

Run oc <cmd> --help for details.

CommandWhat it does
oc initInitialize OpenContext + user-level tool integrations
oc folder lsList folders
oc folder create <path> -d "desc"Create a folder
oc doc create <folder> <name>.md -d "desc"Create a document
oc doc ls <folder>List documents
oc context manifest <folder>Generate file list for AI to read
oc search "query"Search documents
oc mcpStart MCP server for MCP clients
oc uiStart local Web UI

📖 Full command reference available on the Website.


Development

# Clone & install
git clone https://github.com/0xranx/OpenContext.git
cd OpenContext && npm install

# Desktop app
npm run tauri:dev    # development
npm run tauri:build  # production build

# Web UI
npm run ui:dev       # development
npm run ui:build     # production build

License

MIT © OpenContext

Frequently Asked Questions

What is OpenContext?

OpenContext is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 0xranx. A personal context store for AI agents and assistants—reuse your existing coding agent CLI (Codex/Claude/OpenCode) with built‑in Skills/tools and a desktop GUI to capture, search, and reuse project knowledge across agents and repos. It has 750 GitHub stars.

Is OpenContext safe to use?

OpenContext failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.

How do I install OpenContext?

Clone the repository with "git clone https://github.com/0xranx/OpenContext" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is OpenContext written in?

OpenContext is primarily written in JavaScript. It is open-source under 0xranx on GitHub, so you can review or fork the full source.

Are there alternatives to OpenContext?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OpenContext against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details