Encyclopedias Skill
Overview
This skill allows the agent to retrieve detailed encyclopedia entries, definitions, and historical/geographical descriptions from the local SQLite encyclopedia database.
Guidelines & Objectives
When executing this skill:
- Always run the python retriever script located at
.codex/skills/encyclopedias/encyclopedias_query.pyto retrieve encyclopedia records. - Execute the script using:
python3 .codex/skills/encyclopedias/encyclopedias_query.py "<query>"where<query>is the encyclopedia entry to search. - The script automatically handles exact matches, substring lookups, and fuzzy spelling matching (Levenshtein distance).
- It queries the
encyclopedia.datadatabase to retrieve the full content associated with the matched entry's path(s). - Present the exact output of the script to the user (converting HTML to formatted Markdown).
- Integrate Detailed Retrieved Data (MANDATORY): You MUST thoroughly weave the retrieved encyclopedia definition data, historical details, dimensions, locations, names, and biographical facts from the database script output directly into your final study analysis report. Do not provide thin or high-level summaries; expound upon the specific facts and descriptions retrieved from the database to create a comprehensive, self-contained study document.
- Unified Study Output (MANDATORY): Do not split the retrieved database definitions and the detailed analysis into separate files. The final saved markdown document in the
biblemate/folder MUST be a single, unified piece. It should start with the retrieved raw encyclopedia definitions (the output of the query script), followed immediately by your detailed, unified explanation and analysis directly answering the user's original request. Overwrite the file created by the script with this complete unified content. - All study outputs generated by the
/encyclopediascommand must be saved to thebiblemate/folder with a timestamp prefix under the Universal Study Output Saving Rule.
Detailed Encyclopedia & Study Analysis
After presenting the retrieved details from the script, expand upon the term's significance by addressing the following areas, fully incorporating and referencing the specific details from the database definitions:
- Linguistic & Etymological Background: Original Greek, Hebrew, or Latin root words, their meanings, transliteration, and semantic ranges.
- Historical & Cultural Context: The setting, archaeological findings, historical figures, or ancient Near East / Greco-Roman customs associated with the term, directly integrating all database-retrieved historical descriptions.
- Canonical & Theological Integration: How this term or concept appears and develops throughout the Old and New Testaments.
- Christological Fulfillment: How this term, location, or concept connects to or is fulfilled by Jesus Christ.
- Practical & Pastoral Application: Spiritual lessons or applications for Christian life and faith.
Codex Runtime Notes
- Use this
.codex/skills/encyclopedias/copy as the active skill. Do not invoke
sibling skills from .agents/, .claude/, .grok/, or .cursor/.
- Run helper scripts with
exec_commandfrom the repository root, using the
.codex/skills/... paths named above.
- Use
apply_patchwhen creating or editing repository files; use shell
commands only for execution, inspection, validation, and generated helper
output.