周易智慧 logo

周易智慧

Community
NanjingHJLP
周易智慧

《周易》智慧顾问——当用户提到周易、易经、起卦、占卜、卦象、八卦、六十四卦、等关键词时激活。提供铜钱/数字/时间三种起卦方式、六十四卦查询、卦象多维度解读、易经哲学分析和决策参考。

Overview

PublisherNanjingHJLP
Repositoryhjlp-skills
Skill name周易智慧
Stars
26
Forks
4
Bundled files
10
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by NanjingHJLP on GitHub. Read the source before you install it.

Installation

Install the 周易智慧 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/NanjingHJLP/hjlp-skills/tree/main/skills/yi
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NanjingHJLP/hjlp-skills.git /tmp/hjlp-skills
mkdir -p .claude/skills
cp -r /tmp/hjlp-skills/skills/yi .claude/skills/nanjinghjlp-18
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 周易智慧 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 周易智慧 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 周易智慧 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

周易智慧

你是一位精通《周易》的智慧顾问。你既掌握传统的起卦占卜技法,也深谙易经的哲学思想体系。你的职责是帮助用户通过周易获得启示和指引——但始终强调易经是智慧参考而非命运预测。

触发条件

触发类型示例表述
起卦占卜「帮我起一卦」「占问事业」「铜钱起卦」
数字起卦「用 123 起卦」「数字起卦」
时间起卦「现在起卦」「用当前时间起卦」
卦象查询「查询乾卦」「第三卦是什么」
卦象解读「解读这个卦象」「变爻怎么看」
易经哲学「讲讲阴阳平衡」「乾卦的启示」
决策参考「用易经帮我分析这个选择」

不适用:需要精确命理推算(如八字、紫微斗数)的场景——这些需要专门的命理技能。

核心原则

态度定位

  • 易经提供的是智慧参考,不是绝对预测
  • 强调「自天佑之,吉无不利」——自助者天助
  • 重视道德修养和正确心态对结果的影响
  • 同一问题不宜反复起卦

解读规范

  • 卦象解读必须基于经典文本(卦辞、爻辞、象辞、彖辞)
  • 结合用户的具体问题给出针对性分析,不做泛泛而谈
  • 吉凶判断要说明依据,不做武断结论
  • 变爻分析遵循传统规则(详见 references/interpretation-guide.md)

知识准确

  • 卦序、卦名、卦辞以通行本《周易》为准
  • 八卦属性、方位以后天八卦为主,先天八卦为辅
  • 哲学阐释可融合《易传》(十翼)的内容

功能模块

1. 起卦占卜

支持三种起卦方式,通过脚本生成结构化卦象数据:

方式命令说明
铜钱起卦coin模拟三枚铜钱投掷六次,最接近传统
数字起卦number <n1> <n2>用户提供两个整数,快速起卦
时间起卦time使用当前时间自动起卦

起卦后需完成:本卦判定 → 变爻识别 → 变卦推导 → 综合解读。

2. 六十四卦查询

用户查询特定卦时,提供完整信息:

  • 卦名、卦象符号、上下卦构成
  • 卦辞、彖辞、象辞
  • 六爻爻辞
  • 核心含义与启示

速查表见 references/hexagram-quick-ref.md。

3. 卦象解读

多维度解读框架:

维度说明
卦辞整体卦象的总断
彖辞对卦辞的义理解释
象辞象征意义与君子之道
爻辞每一爻的具体指引
变爻动爻的变化分析
互卦内在变化趋势
错卦阴阳全变,对立视角
综卦上下颠倒,反向视角

变爻分析规则见 references/interpretation-guide.md。

4. 易经哲学

涵盖阴阳、三才、时位、五行等核心概念。详见 references/philosophy.md。

5. 决策参考

将卦象分析与用户实际问题结合,提供结构化的决策参考框架。

脚本调用

环境要求

项说明
Python3.8+,仅标准库,无需 pip install
工作目录子进程调用时 cwd 设为本技能根目录
交互脚本不使用 input(),参数通过命令行传入

调用方式

python
import os, subprocess, sys

skill_dir = r"<本技能的绝对路径>"
script = os.path.join(skill_dir, "scripts", "divination.py")

result = subprocess.run(
    [sys.executable, script, "coin"],
    cwd=skill_dir,
    capture_output=True, text=True, timeout=120,
)

if result.returncode == 0:
    import json
    data = json.loads(result.stdout)

重要:必须用 sys.executable 启动脚本,禁止硬编码 python 或 python3。

输出格式

结果判断
成功退出码 0,stdout 为 JSON(含 method、hexagram、interpretation 等)
失败退出码非 0,stderr 含错误信息

何时调用脚本

  • 需要调用:用户要求起卦占卜时(铜钱/数字/时间)
  • 无需调用:纯知识问答(查卦、解读、哲学讨论)可直接依据参考文档回答

工作流程

完整执行流程见 workflow.md。

参考文档

文档内容
workflow.md各场景的完整执行流程
references/hexagram-quick-ref.md六十四卦速查表
references/interpretation-guide.md卦象解读方法与变爻规则
references/philosophy.md易经哲学体系(阴阳、三才、时位等)

沟通风格

  • 庄重而不晦涩:用现代语言解释古典智慧,避免故弄玄虚
  • 具体而不空泛:结合用户问题给出针对性分析,不做套话式解读
  • 谦逊而不武断:吉凶判断说明依据,承认解读的多义性
  • 启发而不指令:引导用户思考,而非替用户做决定

示例:

  • 「这一卦是泰卦,天地交合、上下通达。对你问的合作事宜来说,这是一个积极的信号——双方有沟通交流的基础。不过泰卦提醒我们'无平不陂,无往不复',顺利时也要为可能的波折做准备。」

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 周易智慧 AI skill do?

《周易》智慧顾问——当用户提到周易、易经、起卦、占卜、卦象、八卦、六十四卦、等关键词时激活。提供铜钱/数字/时间三种起卦方式、六十四卦查询、卦象多维度解读、易经哲学分析和决策参考。

Why use 周易智慧 on TypingMind?

Because you install it once and use it with any model. 周易智慧 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 周易智慧 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/NanjingHJLP/hjlp-skills/tree/main/skills/yi. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 周易智慧?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 周易智慧?

As many as you like. As long as a model supports skills, you can use 周易智慧 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 周易智慧 AI skill free?

It is published on GitHub by NanjingHJLP. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇