# memory-literary-analysis

Turns a complete literary work into a Basic Memory knowledge graph with schemas, chapter notes, linked entities, and validation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs · ★ 4357
- 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-literary-analysis/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/memory-literary-analysis

## What it does

This skill maps a novel, play, poem, or nonfiction book into connected Basic Memory notes. It sets up schemas for characters, themes, and chapters, seeds known entities, processes the text chapter by chapter, and adds cross-references between the resulting records.

Writing uses `bm_write` and `bm_edit`; reads use `bm_read`, `bm_find`, `bm_search`, and `bm_list`. The workflow also covers project setup, schema notes, and targeted reads of note sections or source line ranges. CLI `find` defaults to page 10, so coverage checks need an explicit page-size decision.

The skill expects Basic Memory and its CLI or MCP tools to be available. Installation varies by platform; for Claude Code it places the skill at `~/.claude/skills/memory-literary-analysis/`.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- break a book into chapter notes
- define schemas for characters, themes, and chapters
- link entities across the knowledge graph
- validate notes and relationships
- build a structured study or research resource

## Example prompts
- Analyze `great-gatsby` in Basic Memory chapter by chapter, then seed entities and check the graph.
- Process the next batch of chapters and connect characters, themes, locations, and literary devices.
- Run a graph validation pass and find missing chapters or inconsistent fields.

## Similar
- [deep-agents-memory](https://affpapa.org/en/nevibecode/skills/deep-agents-memory.md) — skill · 19000 installs
- [memory-management](https://affpapa.org/en/nevibecode/skills/memory-management.md) — skill · 7400 installs
- [memory-md-management](https://affpapa.org/en/nevibecode/skills/memory-md-management.md) — skill · 3500 installs
- [trader-memory-core](https://affpapa.org/en/nevibecode/skills/trader-memory-core.md) — skill · 3300 installs
- [memory-leak-debugging](https://affpapa.org/en/nevibecode/skills/memory-leak-debugging.md) — skill · 3200 installs
- [cursor-memory-curator](https://affpapa.org/en/nevibecode/skills/cursor-memory-curator.md) — skill · 2700 installs

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