LO

lore-extraction

Standardized logic for sub-agents to identify and extract narrative entities into structured JSON data.

Install

mkdir -p .claude/skills/lore-extraction && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17409" && unzip -o skill.zip -d .claude/skills/lore-extraction && rm skill.zip

Installs to .claude/skills/lore-extraction

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Base extraction rules for all lore subagents. Governs entity identification, contextual analysis, relationship mapping, and JSON output formatting.
147 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Read source text completely before extraction
  • Identify named, described, or implied entities
  • Classify each entity to its correct type
  • Format extracted data as JSON compatible with LoreData.to_dict
  • Validate output against domain model constraints
  • Review for completeness and accuracy

How it works

The skill processes narrative text by identifying and classifying entities, then formats the extracted data into JSON. It validates the output against domain models and reviews for accuracy.

Inputs & outputs

You give it
narrative text
You get back
JSON formatted lore data

When to use lore-extraction

  • Extract character data from story text
  • Map relationships between magical systems
  • Format lore content for GUI integration

About this skill

lore-extraction

Base skill for all loreSystem extraction subagents. Common rules for extracting entities from narrative text.

Extraction Pipeline

  1. Read the source text completely before extracting
  2. Identify entities — look for named things, described systems, relationships
  3. Classify each entity to its correct type from the entity ownership map
  4. Format according to the export schema
  5. Output as JSON compatible with LoreData.to_dict (see src/presentation/gui/lore_data.py)
  6. Validate against domain model constraints
  7. Review for completeness and accuracy

Entity Identification Rules

  • Named entities (proper nouns, titles) → extract with exact name
  • Described systems (magic system, economy) → extract with descriptive name
  • Implied entities (unnamed but significant) → extract with contextual name
  • Groups/collections → extract as single entity with members in description

Cross-Domain References

When text mentions an entity owned by another skill:

  • Do NOT create the entity — it belongs to the other skill
  • Record the reference in a separate draft note for the lead to merge
  • Include enough context (name, location, relation) for reconciliation

Quality Rules

  • Extract only what the text explicitly states or strongly implies
  • Do not invent details not supported by the text
  • If unsure, add a short comment in your draft note (not in the JSON export)
  • Prefer fewer high-quality entities over many low-quality ones

When not to use it

  • Creating entities owned by another skill
  • Inventing details not supported by the text

Limitations

  • Does not create entities owned by other skills
  • Does not invent details not supported by the text
  • Requires validation against domain model constraints

How it compares

This skill provides a structured pipeline for extracting and formatting lore data from text into a specific JSON schema, ensuring consistency and validation, unlike manual data entry.

Compared to similar skills

lore-extraction side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
lore-extraction (this skill)05moNo flagsIntermediate
literature-review5591moReviewAdvanced
openalex-database487moReviewIntermediate
scientific-critical-thinking187moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

literature-review

K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

5591,298

openalex-database

davila7

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

48202

scientific-critical-thinking

davila7

Evaluate research rigor. Assess methodology, experimental design, statistical validity, biases, confounding, evidence quality (GRADE, Cochrane ROB), for critical analysis of scientific claims.

1888

biorxiv-database

lifangda

Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.

780

physics-validator

omriwen

Validate optical physics parameters including Fresnel numbers, diffraction regimes, and resolution limits. This skill should be used when configuring Telescope, Microscope, or Camera instruments to ensure physically realistic parameters.

664

fda-database

davila7

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

539

Search skills

Search the agent skills registry