scbe-world-anvil-lore-rag-7th-tongue

Build and operate a lore-focused RAG system using World Anvil exports and SCBE docs, with deterministic Claude/Codex cross-talk packets for handoff. Use when users ask to structure lore canon retrieval, sync worldbuilding data, enforce citation-grounded generation, or coordinate a 7th Tongue overseer lane across multiple AI agents.

6 stars

Best use case

scbe-world-anvil-lore-rag-7th-tongue is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Build and operate a lore-focused RAG system using World Anvil exports and SCBE docs, with deterministic Claude/Codex cross-talk packets for handoff. Use when users ask to structure lore canon retrieval, sync worldbuilding data, enforce citation-grounded generation, or coordinate a 7th Tongue overseer lane across multiple AI agents.

Teams using scbe-world-anvil-lore-rag-7th-tongue should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/scbe-world-anvil-lore-rag-7th-tongue/SKILL.md --create-dirs "https://raw.githubusercontent.com/issdandavis/SCBE-AETHERMOORE/main/external/codex-skills-live/scbe-world-anvil-lore-rag-7th-tongue/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/scbe-world-anvil-lore-rag-7th-tongue/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How scbe-world-anvil-lore-rag-7th-tongue Compares

Feature / Agentscbe-world-anvil-lore-rag-7th-tongueStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Build and operate a lore-focused RAG system using World Anvil exports and SCBE docs, with deterministic Claude/Codex cross-talk packets for handoff. Use when users ask to structure lore canon retrieval, sync worldbuilding data, enforce citation-grounded generation, or coordinate a 7th Tongue overseer lane across multiple AI agents.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# SCBE World Anvil Lore RAG (7th Tongue)

Use this skill to turn World Anvil structure into a local, queryable lore index and keep Codex/Claude synchronized through packetized handoffs.

## Quick Start

1. Build index from exports + docs:

```bash
python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/build_lore_index.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --inputs exports/world_anvil docs content/articles/story_series notes \
  --db artifacts/lore_rag/world_anvil_lore.sqlite
```

2. Query lore:

```bash
python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/query_lore_index.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --db artifacts/lore_rag/world_anvil_lore.sqlite \
  --query "Kael OR future OR \"seventh tongue\"" \
  --top-k 10
```

SQLite FTS uses query operators; use `OR` for broad recall and quotes for phrase matches.

3. Emit cross-talk handoff packet:

```bash
python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/emit_crosstalk_packet.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --sender agent.codex \
  --recipient agent.claude \
  --summary "7th Tongue lore index refreshed; citations ready for generation lane." \
  --next-action "Claude generate lore answer using only top cited chunks."
```

4. Live sync from World Anvil API (then index):

```bash
python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/sync_world_anvil_live.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --self-test

python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/sync_world_anvil_live.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --endpoints articles,categories,timelines,maps,manuscripts,chronicles,secrets
```

If env vars are not set, the sync script can read from DPAPI mirror services (`world_anvil_app_key`, `world_anvil_user_token`) automatically.

Store keys into DPAPI mirror (one-time):

```bash
python C:/Users/issda/.codex/skills/scbe-api-key-local-mirror/scripts/key_mirror.py store --service world_anvil_app_key --env WORLD_ANVIL_APP_KEY
python C:/Users/issda/.codex/skills/scbe-api-key-local-mirror/scripts/key_mirror.py store --service world_anvil_user_token --env WORLD_ANVIL_USER_TOKEN
```

No-live-account test mode:

```bash
python C:/Users/issda/.codex/skills/scbe-world-anvil-lore-rag-7th-tongue/scripts/sync_world_anvil_live.py \
  --repo-root C:/Users/issda/SCBE-AETHERMOORE \
  --output-dir exports/world_anvil/mock_sync_test \
  --mock
```

## Codex + Claude Structure

1. `KO/Lead (Codex)`:
- Build/refresh index.
- Run primary retrieval queries.
- Emit packet with retrieval proof.

2. `RU/Canon Guard (Claude)`:
- Consume packet.
- Generate lore output strictly from citations.
- Flag canon conflicts as `needs-reconcile`.

3. `EL/7th Tongue Overseer`:
- Resolve conflicts between outputs.
- Enforce final canon decision with packetized audit.

## Output Contract

- Local index DB: `artifacts/lore_rag/world_anvil_lore.sqlite`
- Query results: JSON output from `query_lore_index.py`
- Packet artifacts:
- `artifacts/agent_comm/YYYYMMDD/*.json`
- `artifacts/agent_comm/github_lanes/cross_talk.jsonl`
- `notes/_inbox.md`

## Invariants

- Keep source-grounded answers with explicit chunk citations.
- Prefer World Anvil export records when available; use repo docs as fallback context.
- Keep all handoffs deterministic and packetized.
- Never include raw secrets in packets.

## Resource Guide

- `scripts/build_lore_index.py`: Parse exports/docs and build SQLite FTS index.
- `scripts/query_lore_index.py`: Retrieve top lore chunks with citation metadata.
- `scripts/emit_crosstalk_packet.py`: Append Claude/Codex handoff packet.
- `scripts/sync_world_anvil_live.py`: Pull live World Anvil API data to local exports.
- `references/world_anvil_field_mapping.md`: Field normalization and expected export shapes.

Related Skills

scbe-training-pair-authoring

6
from issdandavis/SCBE-AETHERMOORE

Create prompt and response and metadata training pairs from SCBE documents, repair traces, terminal sessions, and operational workflows using the repository's canonical dataset contract and provenance rules.

scbe-spin-conversation-engine

6
from issdandavis/SCBE-AETHERMOORE

Generate SFT training data via radial matrix conversation pivots with D&D-style combat research mode. Produces diverse, cost-effective training pairs with Sacred Tongue encoding, golden spiral problem distribution, and harmonic re-attunement.

scbe-research-training-bridge

6
from issdandavis/SCBE-AETHERMOORE

Stage arXiv evidence and Obsidian markdown into source-grounded Hugging Face training bundles for research, review, and later SFT runs.

scbe-document-management

6
from issdandavis/SCBE-AETHERMOORE

Consolidate overlapping docs, classify files by authority, and keep SCBE repo documents aligned with runtime truth. Use when the repo has drift between canonical docs, public docs, proposal notes, research branches, and generated evidence.

scbe-colab-bridge

6
from issdandavis/SCBE-AETHERMOORE

Control Google Colab notebooks from Claude Code via Chrome extension. Execute cells, run terminal commands, read outputs, and manage GPU compute remotely.

scbe-claim-to-code-evidence

6
from issdandavis/SCBE-AETHERMOORE

Map SCBE Notion technical claims, proof pages, and patent-facing architecture notes to concrete repository evidence such as code paths, tests, demos, and docs. Use when Codex needs to build a due-diligence packet, claim-to-code audit, implementation crosswalk, patent support note, or proof summary from local Notion exports and repo artifacts.

scbe-autonomous-worker-productizer

6
from issdandavis/SCBE-AETHERMOORE

Turn SCBE automation, autonomous worker, and revenue-system notes into concrete offers, workflow packs, pilot plans, or SaaS-facing product packets. Use when Codex needs to package Notion automation pages into buyer-ready offerings, n8n/Zapier workflow designs, flock-backed worker systems, or implementation roadmaps tied to existing SCBE repo surfaces.

scbe-code-scanning-ops

6
from issdandavis/SCBE-AETHERMOORE

Operate GitHub code scanning and CodeQL remediation for SCBE repositories. Use when triaging code-scanning alerts, mapping alert classes to fix patterns, validating targeted regressions, or wiring dedicated CodeQL workflows and runbooks into the repo.

scbe-webtoon-book-conversion

6
from issdandavis/SCBE-AETHERMOORE

Convert The Six Tongues Protocol and related manuscript sections into webtoon/manhwa storyboard packets, episode roadmaps, panel expansion plans, and image-generation-ready prompt lanes. Use when extending the series storyboard, adapting book chapters into vertical scroll episodes, or keeping art generation tied to canon instead of drifting into generic fantasy panels.

scbe-voice-render-verification

6
from issdandavis/SCBE-AETHERMOORE

Govern and verify SCBE voice rendering work that maps Langues weighting into breath, phase, and Layer 14 audio-axis packets. Use when implementing or reviewing `scripts/voice_gen_hf.py`, emitting sidecar voice packets, validating canonical tongue ordering, tuning breath planning or phase timing, or keeping voice docs and code aligned with `docs/LANGUES_WEIGHTING_SYSTEM.md` and `docs/specs/SCBE_VOICE_EMOTIONAL_TIMBRE_SYSTEM.md`.

scbe-universal-synthesis

6
from issdandavis/SCBE-AETHERMOORE

Orchestrate all installed Codex skills through an auto-updating synthesis matrix with Sacred Tongues routing, emotion/intent metadata, and decodable lexicon packets tied to established SCBE characters. Use when the user asks for cross-skill coordination, auto skill updates, multi-skill routing, or Sacred Tongues intent mapping.

scbe-system-engine

6
from issdandavis/SCBE-AETHERMOORE

Coordinate SCBE-AETHERMOORE math, automation, and service connectors so multi-agent systems can execute work end-to-end. Use when tasks require SCBE dimensional validation, AI-to-AI workflows, browser automation planning, Hugging Face or GitHub/Linear/Notion/Zapier integration, or self-improving skill updates.