🦀 ClawHub
Liudao Heritage
by @sirius-777-llm
Search, enrich, and manage family heritage and historical relationship data from the LiùDào (六道) SQLite database. Use this skill when answering questions abo...
TERMINAL
clawhub install liudao-heritage📖 About This Skill
name: liudao-heritage description: Search, enrich, and manage family heritage and historical relationship data from the LiùDào (六道) SQLite database. Use this skill when answering questions about historical figures, calculating relationship paths (A的B), or adding new personal records with privacy controls.
六道 (LiùDào) Heritage Manager
This skill provides access to the LiùDào family heritage and relationship database. It allows you to query historical figures, analyze relationship networks, and manage personal data with strict privacy controls.
Core Capabilities
1. Search Database: Look up people by name, including their basic info, relationships, and milestones. 2. Relationship Engine: Resolve complex queries like "A的B" (e.g., "康熙的父亲"). 3. Data Enrichment: Safely upsert new records or append milestones (history today) to existing ones.
Environment Details
/home/admin/.openclaw/workspace/liudao-bot/data/liudao.db/home/admin/.openclaw/workspace/liudao-bot/viewer_id (e.g., 1234567890 for the specific authorized user).Workflows
1. Searching for a Person
When a user asks about a specific historical figure or family member:python3 scripts/search_person.py "康熙" --viewer_id "5104087055"2. Resolving Relationships ("A的B")
When a user asks relationship questions (e.g., "朱元璋的长子是谁?"):python3 scripts/resolve_relation.py "朱元璋" "长子"3. Adding/Editing Data
For inserting a new person or adding milestones:db_manager.py's upsert_person method.is_private=1 and creator_id are set when adding personal family data.Important Notes
relations_json and milestones_json carefully; they contain structured relationship links and life events.references/db_schema.md for exact table structures.