# Lorebook

URL: https://onlykin.ai/glossary/lorebook
Updated: 2026-06-04
Category: Worldbuilding

## Definition

A lorebook is a set of background entries that can be added to an AI roleplay prompt when relevant keywords, rules, or retrieval settings match the current scene.

## Quick Answer

Use a lorebook for durable world facts such as locations, factions, timelines, side characters, family histories, magic rules, or recurring objects that should not fill the prompt on every turn.

## Plain Language

A lorebook is not the live chat and not the main character card. It is a reference shelf the app can pull from when the scene needs a specific fact.

## Why It Matters

Lorebook searches attract advanced roleplay users comparing Chub, SillyTavern, SpicyChat, and guided apps.

## OnlyKin Angle

OnlyKin does not need to expose every advanced lorebook switch, but it should explain the concept and simplify the benefits for story-first users.

## Related Terms

- World info: https://onlykin.ai/glossary/world-info
- Context window: https://onlykin.ai/glossary/context-window
- Semantic memory: https://onlykin.ai/glossary/semantic-memory
- Character card: https://onlykin.ai/glossary/character-card

## Sources

- [Chub AI docs: Lorebooks](https://docs.chub.ai/docs/advanced-setups/lorebooks) - Used for lorebook mechanics such as keyword activation, scan depth, token budget, and entries.
- [SillyTavern documentation: World Info](https://docs.sillytavern.app/usage/core-concepts/worldinfo/) - Used for the related world-info concept and activation behavior.

