# Memory Literary Analysis

Analyze a complete literary work into a structured Basic Memory knowledge graph: schema...

- Repository: https://github.com/basicmachines-co/basic-memory (4440 stars)
- Category: Design
- License: AGPL-3.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add basicmachines-co/basic-memory --skill memory-literary-analysis -g -a claude-code -y`
Codex: `npx skills add basicmachines-co/basic-memory --skill memory-literary-analysis -g -a codex -y`
Cursor: `npx skills add basicmachines-co/basic-memory --skill memory-literary-analysis -g -a cursor -y`
Gemini CLI: `npx skills add basicmachines-co/basic-memory --skill memory-literary-analysis -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add basicmachines-co/basic-memory`

## Description

Analyze a complete literary work into a structured Basic Memory knowledge graph: schema design, entity seeding, chapter-by-chapter processing, cross-referencing, and validation.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Memory Literary Analysis

Transform a complete literary work into a structured knowledge graph. Characters, themes, chapters, locations, symbols, and literary devices become interconnected notes, searchable, validatable, and traversable.

## Project scope

If the project is unknown, discover it with `bm_project(command="list")`.
Pass a nonempty `project` on every note, folder, context and schema call, even
with one project or a qualified `memory://` URL. Use the chosen project's name,
`workspace/project`, or external ID; `<work-name>` below is a placeholder for it.
Recent activity also requires `project`. Search accepts `project` for one
project, `projects` for selected projects, or `all_projects=True` explicitly.
Discovery and bundled manuals need no project. Keep the same scope when following
returned paths, paginating, or recovering from a refusal.

## When to Use

- Analyzing a novel, play, poem, or non-fiction book end-to-end
- Building a teaching or study resource for a literary text
- Creating a book club companion knowledge base
- Research projects requiring structured close reading
- Stress-testing Basic Memory at scale (~200+ notes, 1000+ relations)

## Pipeline Overview

```
Phase 0: Setup         → project, schemas, directory structure
Phase 1: Seed          → stub notes for known major entities
Phase 2: Process       → chapter-by-chapter notes in batches
Phase 3: Cross-ref     → enrich arcs, add parallels, write analysis
Phase 4: Validate      → schema checks, drift detection, consistency
Phase 5: Explore       → traverse the graph, write synthesis notes
```

## Tools

Writing goes through `bm_write` and `bm_edit`. MCP reads use `bm_read`, `bm_find`,
`bm_search`, and `bm_list`. The CLI keeps its POSIX verbs; the table and shell
examples below are CLI commands (prefix each verb with `bm`):

The rest: https://github.com/basicmachines-co/basic-memory/blob/HEAD/skills/memory-literary-analysis/SKILL.md
