opencontextlisted
Install: claude install-skill aiskillstore/marketplace
# OpenContext Context Management (Persistent Memory)
> Give your AI assistant persistent memory.
> Stop repeating explanations, and build smarter.
## When to use this skill
- When you need to keep context across sessions
- When you need to record project background/decisions
- When you need to search prior conclusions/lessons
- When you need knowledge sharing in a Multi-Agent workflow
- When you want to reduce repetitive background explanations
---
## 1. Core concepts
### Problem
When working with an AI assistant, context gets lost (across sessions, repos, and dates). You end up repeating background, re-explaining decisions, and sometimes the assistant continues with incorrect assumptions.
### Solution
**OpenContext** is a lightweight personal context/knowledge store for AI assistants.
```
[Load context] → [Do work] → [Store conclusions]
```
### Default paths
| Item | Path |
|------|------|
| **Contexts** | `~/.opencontext/contexts` |
| **Database** | `~/.opencontext/opencontext.db` |
---
## 2. Install and initialize
### Install CLI
```bash
npm install -g @aicontextlab/cli
# Or use npx
npx @aicontextlab/cli <command>
```
### Initialize (run inside the repo)
```bash
cd your-project
oc init
```
**What `oc init` does:**
- Prepare the global context store (on first run)
- Generate user-level commands/skills + mcp.json for the selected tool
- Update the repo's AGENTS.md
---
## 3. Slash Commands
### Beginner-friendly commands
| Command | Purpose |
|---------|-----