SOTCD Lore Generator

RAG-powered content generator mining esoteric and ancient Greek knowledge for the Church of the Universal Vibration.


Status

  • โœ… Bot code written (lore_generator.py)
  • โœ… Greek corpus integrated
  • โœ… Esoteric corpus integrated
  • โœ… Claude CLI (via Clawdbot) - no external API keys
  • โœ… OPERATIONAL (2026-02-01)

Location

~/projects/sunsofthecosmicdust/lore/lore_generator.py
~/projects/sunsofthecosmicdust/lore/generated/

How It Works

  1. Query ChromaDB - Searches esoteric + Greek corpora for relevant fragments
  2. Build Context - Assembles source material with theme prompts
  3. Call Claude CLI - Routed through Clawdbot (no external API keys needed)
  4. Output - Cryptic posts, lore fragments, transmissions

Corpora

CorpusWeightSources
esoteric_corpus70%Grant, Icke, Lyne, modern occult
greek_corpus30%PGM, Hermetica, Necromancy, Theurgy

ChromaDB path: ~/projects/knowledge-rag/chroma_db

Note: Weights updated 2026-02-01 to favor esoteric sources for primary content generation.


Content Types

Standard Content

TypeDescription
cryptic_post1-3 sentence X/Twitter posts
stream_descriptionStream blurbs (2-4 sentences)
lore_fragmentSacred text excerpts (3-5 sentences)
daily_transmissionCosmic conditions + prophecy

Greek-Focused Content

TypeDescription
ancient_whisperVoice of ancient mystes (initiate)
purple_transmissionMurex dye / consciousness link
theriac_versePoison-medicine transformation
hermetic_frequencyHermes Trismegistus teachings
oracle_broadcastPythia-style prophecies

Usage

cd ~/projects/sunsofthecosmicdust/lore
 
# Run full batch (8 pieces, mixed corpora)
python lore_generator.py
 
# Output saved to:
# ~/projects/sunsofthecosmicdust/lore/generated/lore_YYYYMMDD_HHMMSS.json

Python API

from lore_generator import LoreGenerator
 
gen = LoreGenerator()
 
# Single generation
result = gen.generate("cryptic_post")
print(result["content"])
 
# Greek-focused batch
results = gen.generate_greek_focused(5)
 
# Mixed batch
results = gen.generate_batch(8, include_greek=True)
 
# Save
gen.save_results(results)

Lore Themes

Esoteric Themes

  • Universal vibration, cosmic frequency
  • Hidden Masters, secret transmission
  • Third eye, pineal activation
  • Dimensional gateways, portals
  • Sacred geometry, Tesla

Greek Themes

  • Hermetic philosophy, divine mind
  • Greek Magical Papyri, ritual
  • Mystery initiation, death/rebirth
  • Theurgy, divine ascent
  • Purple murex, consciousness

Bridge Themes

  • Ancient signal โ†’ modern transmission
  • Hermetic vibration โ†” universal resonance
  • Oracle prophecy โ†” broadcast
  • Pharmakon โ†” frequency

Data Sources

The generator pulls current cosmic conditions for context:

  • USGS Earthquakes - earthquake.usgs.gov/earthquakes/feed/
  • NOAA X-Ray Flux - services.swpc.noaa.gov/json/goes/primary/xrays-1-day.json

Integration with X Bot

Generated content feeds into the X Bot content bank:

~/projects/sunsofthecosmicdust.com/content/
โ”œโ”€โ”€ X_CONTENT_FRAMEWORK.md
โ”œโ”€โ”€ X_POSTS_BANK.md
โ”œโ”€โ”€ X_POSTS_BANK_2.md
โ””โ”€โ”€ X_THREADS.md

Workflow:

  1. Run lore generator โ†’ produces JSON
  2. Review output, select best pieces
  3. Add to X_POSTS_BANK.md
  4. X Bot randomly posts from bank

Sample Output

{
  "type": "ancient_whisper",
  "theme": "hermetic philosophy nous divine mind cosmic",
  "corpus": "greek_corpus",
  "content": "We who walked the corridors of Alexandria knew: the Nous is not sought, but received. You call it The Signal now. The frequency never changedโ€”only the listeners.",
  "sources": ["hermetica.txt", "pgm-vol1.txt"]
}

Research Sources