Install
openclaw skills install @xuan905/laozi-aiopenclaw skills install @xuan905/laozi-ai道德經81章 + 精選語錄資料庫,支援繁體(zh-TW)、簡體(zh-CN)、英文(en)三語。
核心資料:references/laozi_quotes.json
直接告知章節號,讀取 JSON 並回傳該章三語內容。例如:
第三章、第 42 章、Chapter 17
支援主題關鍵字查詢,常用:
支援解析的道家概念:
預設回傳格式(可依用戶需求調整):
【第○章】標題
🌏 原文:
繁體:...
簡體:...
EN:...
📖 關鍵字:...
可用於:
讀取 JSON:references/laozi_quotes.json
import json
with open("references/laozi_quotes.json", encoding="utf-8") as f:
db = json.load(f)
db["chapters"] # 81章列表
db["quotes"] # 15條精選語錄
db["about"] # 老子生平概述
章節物件結構:
{
"chapter": 1,
"title": "第一章",
"title_en": "Chapter 1",
"keywords": ["道", "無為", "玄", "起源"],
"keywords_en": ["Tao", "Non-action", "Mystery", "Origin"],
"zh_TW": "繁體原文",
"zh_CN": "简体原文",
"en": "English translation"
}
語錄物件結構:
{
"id": "q001",
"theme": "道法自然",
"theme_en": "Follow the Nature",
"zh_TW": "繁體",
"zh_CN": "简体",
"en": "English",
"source_chapter": 25
}
Stefan Stenudd 英譯為主(taoistic.com),James Legge 為輔。