# opencontext

Structures active project memory across agent sessions and generates compact handoff packets without blowing up the context window.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 370 installs · ★ 51
- Author: akillness
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/opencontext/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/opencontext

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill opencontext -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/opencontext/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/opencontext/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill opencontext -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/opencontext/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill opencontext -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/opencontext/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install akillness/jeo-skills opencontext
```

2. **Manually: put the files in place**
- File: `.github/skills/opencontext/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill opencontext -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/opencontext
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/opencontext/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill opencontext -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/opencontext/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [akillness/jeo-skills](https://affpapa.org/en/nevibecode/by/akillness/jeo-skills.md) — 65 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
