liudao-heritage

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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "liudao-heritage" with this command: npx skills add sirius-777-llm/liudao-heritage

六道 (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

  • Database Path: /home/admin/.openclaw/workspace/liudao-bot/data/liudao.db
  • Core Scripts: Located in /home/admin/.openclaw/workspace/liudao-bot/
  • User Privacy: For private entries (e.g., family members), ensure you pass the correct 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:

  • Run the python search script passing the name and the user's ID for privacy.
  • Example: python3 scripts/search_person.py "康熙" --viewer_id "5104087055"

2. Resolving Relationships ("A的B")

When a user asks relationship questions (e.g., "朱元璋的长子是谁?"):

  • Use the relation engine script.
  • Example: python3 scripts/resolve_relation.py "朱元璋" "长子"

3. Adding/Editing Data

For inserting a new person or adding milestones:

  • Write a quick python script using db_manager.py's upsert_person method.
  • Ensure is_private=1 and creator_id are set when adding personal family data.

Important Notes

  • Always parse the relations_json and milestones_json carefully; they contain structured relationship links and life events.
  • See references/db_schema.md for exact table structures.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Wangdongjie Cfo Skill

基于王东杰26年实战经验,提供A+H双市场IPO操盘、资本杠杆设计、业财融合和AI数字化风控咨询。

Registry SourceRecently Updated
General

Hk Stock Morning Report

Generate HK stock market morning report (股市晨報) for Chinese bank trading desk. Use when user asks "生成晨报", "股市晨报", "今日股市", "港股晨報", or any similar HK stock mark...

Registry SourceRecently Updated
General

Nansen Mpp Payment

Pay-per-call access to the Nansen API via MPP (Tempo). Use when a user wants anonymous Nansen access without an API key and without managing their own Base/S...

Registry SourceRecently Updated
General

Etsy Autolist

Auto-create and manage digital product listings on Etsy. Creates listings from existing digital product files (PDFs, templates, spreadsheets) using Etsy Open...

Registry SourceRecently Updated