Skip to content
Back to skills

Lore Extraction

ASecurity

Base extraction rules for all lore subagents. Governs entity identification, contextual analysis, relationship mapping, and JSON output formatting.

  • 586 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill lore-extraction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lore Extraction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lore Extraction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-lore-extraction/badge)](https://www.skillsdirectory.com/skills/majiayu000-lore-extraction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lore-extraction
description: Base extraction rules for all lore subagents. Governs entity identification, contextual analysis, relationship mapping, and JSON output formatting.
user-invocable: false
---
# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…