opencontext — Claude Code skill: what it does, how to install
Structures active project memory across agent sessions and generates compact handoff packets without blowing up the context window.
npx skills add akillness/jeo-skills --skill opencontext -a claude-codeWhat opencontext does
This skill manages live repository memory so coding assistants avoid cold starts on subsequent sessions. Instead of pasting full transcript logs, it extracts small read-first manifests and records reusable conclusions once a milestone wraps up. This prevents context rot.
The internal workflow centers on the oc CLI tool to inspect context folders and search keyword records. It sets strict boundaries against tool sprawl. Structural code relationship mapping gets handed off to graphify, while flattening a whole repository into one prompt belongs to tools such as Repomix or Gitingest.
Running this setup requires Bash execution privileges alongside standard file read access. Without an active oc workspace configured in the project, the agent will fail when retrieving historical context manifests.
What it helps with
- assemble a compact read-first context packet for the next agent
- retrieve earlier decisions and architecture constraints across sessions
- persist reusable conclusions after completing a coding task
- route context storage between wikis, code graphs, and active project memory
Example prompts for the agent
- Build a minimal read-first context packet for this repository before writing code.
- Search project memory for past database decisions using
oc. - Record the conclusions of this session and refresh the handoff notes.
How to install opencontext
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill opencontext -a claude-code2Manually: put the files in place
~/.claude/skills/opencontext/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/opencontext/
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill opencontext -a codex2Manually: put the files in place
.agents/skills/opencontext/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill opencontext -a cursor2Manually: put the files in place
.cursor/skills/opencontext/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install akillness/jeo-skills opencontext2Manually: put the files in place
.github/skills/opencontext/SKILL.md1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill opencontext -a gemini-cli2Platform CLI
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/opencontextManually: put the files in place
.devin/skills/opencontext/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill opencontext -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about opencontext
How do I install opencontext in Claude Code?
Run npx skills add akillness/jeo-skills --skill opencontext -a claude-code. The skill file installs to ~/.claude/skills/opencontext/SKILL.md.
What does opencontext do?
It manages cross-session project memory for AI assistants. The skill prepares compact initial context packets, locates prior decisions, and stores key conclusions without cluttering context windows.
When should you use a different memory tool instead of opencontext?
Delegate structural code dependency graphs to graphify, long-term markdown documentation to llm-wiki, and single-prompt repository digests to dedicated unpackers like Repomix.