# memory-okf

memory-okf — a skill for Claude Code that finds and fixes blockers to exporting a Basic Memory project as OKF v0.2. It runs before publishing, handing off a project, or checking an export bundle.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 305 installs · ★ 4660 repo stars
- Author: basicmachines-co
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/basicmachines-co/basic-memory/tree/HEAD/skills/memory-okf/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/memory-okf

## What it does

The skill checks a Basic Memory project for export blockers, including notes with unsuitable file extensions, user notes named `index.md` or `log.md`, and conflicting metadata. It renames notes with `bm_move`, preserving their links, and leaves wiki pages for the projector to manage.

Local export and bundle checks require the `bm` CLI. In Basic Memory Cloud, export runs as a cloud task. The `bm okf check` command validates bundle structure but accepts broken cross-links. Wikilinks stay in the project; export converts them to Markdown links.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-okf -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-okf -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-okf -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install basicmachines-co/basic-memory skills/memory-okf
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-okf -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/basicmachines-co/basic-memory --path skills/memory-okf
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-okf -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/basicmachines-co/basic-memory/tree/HEAD/skills/memory-okf/SKILL.md

## When to use it
- find notes ending in `.markdown` or `.MD`
- rename user notes that occupy the `index.md` or `log.md` names
- remove conflicting `bm.okf_export` metadata
- check an OKF bundle or run a local export

## Example prompts
- Prepare this Basic Memory project for OKF v0.2 export and fix the blockers.
- Check the OKF bundle in `~/exports/research`.
- Get this project ready for handoff and list the notes you renamed.

## Similar
- [okf-knowledge-base](https://affpapa.org/en/nevibecode/skills/okf-knowledge-base.md) — skill · 9400 installs
- [okf](https://affpapa.org/en/nevibecode/skills/akillness-okf.md) — skill · 127 installs
- [okf-open-knowledge-format](https://affpapa.org/en/nevibecode/skills/okf-open-knowledge-format.md) — skill · ★ 141 repo stars
- [okf-answer](https://affpapa.org/en/nevibecode/skills/okf-answer.md) — skill · ★ 105 repo stars
- [memory](https://affpapa.org/en/nevibecode/skills/johnlindquist-memory.md) — skill · 363 installs
- [okf-produce](https://affpapa.org/en/nevibecode/skills/okf-produce.md) — skill · ★ 105 repo stars

From the same set: [basicmachines-co/basic-memory](https://affpapa.org/en/nevibecode/by/basicmachines-co/basic-memory.md) — 23 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
