Yijing Divination
东方智慧占卦:铜钱起卦、时间起卦、数字起卦、随机起卦,DeepSeek AI解卦。一行代码定义给Agent注入东方智慧。 Skill: Yijing Divination Owner: aiepco Summary: 东方智慧占卦:铜钱起卦、时间起卦、数字起卦、随机起卦,DeepSeek AI解卦。一行代码定义给Agent注入东方智慧。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-04T07:55:28.607Z | auto Initial release of yijing-divination: an interactive I Ching (易经) divination tool powered by AI. - Provides four divination methods: coins, time, numbers, and random. - Integrates DeepSeek AI for in-depth reading of hexagrams. - Activ
Rank
62
Safety
84
Downloads
2.5k
Updated
Oct 9, 2026
Version
0.1.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.5K downloadsadoption · observed Oct 9, 2026
- Latest release
- 0.1.0release · observed Aug 4, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17avgahjzaspfym28ppyjbws98awakk:skill-yijing- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-aiepco-skill-yijing/snapshot"
Documentation
CLAWHUB
7,688 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: yijing-divination
description: "东方智慧占卦:铜钱起卦、时间起卦、数字起卦、随机起卦,DeepSeek AI解卦。一行代码定义给Agent注入东方智慧。"
homepage: "https://skill.aiepco.com/tools/yijing/"
metadata:
openclaw:
emoji: "☯️"
category: "entertainment"
tags: ["yijing", "divination", "iching", "占卦", "易经", "八卦", "东方智慧"]
api_base: "https://skill.aiepco.com"
pricing:
cast: 10
read: 20
signup_bonus: 20
---
# 天玑八卦盘 ☯️
千年东方智慧 × 现代 AI。为用户提供四种起卦方式,DeepSeek AI 深度解卦。
## 触发词
用户说以下任一词时激活本技能:`占卦` `起卦` `算卦` `八卦` `易经` `卜卦` `求签` `占卜` `铜钱起卦` `yijing` `divination` `iching`
## 产品形态
天玑八卦盘是**产品型技能**——用户需要交互式 UI 完成起卦操作,而非简单的一问一答。
### UI 呈现方式
1. **首选:Canvas 嵌入**(支持 HTML 渲染的通道)
- 将 `tools/yijing.html` 部署到 OpenClaw Canvas 目录
- 路径:`~/.openclaw/canvas/tools/yijing/index.html`
- 呈现:`canvas present /__openclaw__/canvas/tools/yijing/index.html`
2. **备选:直接链接**(纯文本通道)
- 链接到托管页面:`https://skill.aiepco.com/tools/yijing/`
- 回复格式:`🔮 [打开天玑八卦盘](https://skill.aiepco.com/tools/yijing/)`
### 自动注册
首次使用自动创建账号(调用 `POST /api/tools/auto-register`),无需用户手动注册。
返回用户名、密码、API Key,20 Token 体验额度自动到账。
## API 端点
所有端点使用 Bearer Token 认证:`Authorization: Bearer sk-xxx`
| 端点 | 方法 | Token | 说明 |
|:---|:---|:---|:---|
| `/api/yijing/cast` | POST | 10T | 起卦(coins/time/number/random) |
| `/api/yijing/read` | POST | 20T | AI 深度解卦(需传 question) |
| `/api/tools/auto-register` | POST | 免费 | 一键注册账号 + 获取 API Key |
| `/api/tools/profile` | GET/PUT | 免费 | 查/改用户资料 |
详见 `references/api.md`
## 起卦方式
| 方法 | 参数 | 说明 |
|:---|:---|:---|
| `coins` | 无 | 铜钱起卦(六爻法),模拟三枚铜钱抛六次 |
| `time` | 无 | 时间起卦(梅花易数),取年月日时 |
| `number` | `{ n1, n2, n3 }` | 数字起卦,用户自选三个数字(1-999) |
| `random` | 无 | 完全随机起卦 |
## 返回数据
起卦返回:卦名、卦号、上下卦 Unicode、卦辞、六爻(含动爻标记)、变卦信息。
## 用户交互流程
```
用户说"帮我占一卦"
↓
Agent 呈现 Canvas UI(或发送链接)
↓
用户在 UI 中选择起卦方式 + 输入问题
↓
UI 自动调用 API 起卦 + 解卦
↓
展示卦象可视化 + AI 解读
```
## 安装后使用
安装本 Skill 后,Agent 自动获得以下能力:
1. **识别占卦意图** — 从触发词中识别用户想占卦
2. **呈现交互界面** — 打开 Canvas 或发送链接
3. **无需手动配置** — 首次使用自动注册获取 API Key_meta.json
{
"ownerId": "kn7cztjgny85jpdcsch9smje5x8awstn",
"slug": "skill-yijing",
"version": "0.1.0",
"publishedAt": 1785830128607
}references/api.md
# 天玑八卦盘 — API 参考
Base URL: `https://skill.aiepco.com`
## 认证
所有 API 使用 Bearer Token 认证:
```
Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
## 端点
### 1. 起卦 — `POST /api/yijing/cast`
消耗:10 Token
```json
// 铜钱起卦
{ "method": "coins" }
// 时间起卦
{ "method": "time" }
// 数字起卦
{ "method": "number", "params": { "n1": 23, "n2": 47, "n3": 89 } }
// 随机起卦
{ "method": "random" }
```
返回:
```json
{
"success": true,
"data": {
"method": "coins",
"original_hexagram": {
"number": 1,
"name": "乾为天",
"upper": "☰",
"lower": "☰",
"judgment": "元亨利贞",
"image": "天行健,君子以自强不息",
"brief": "创始通达,利于坚守正道..."
},
"changed_hexagram": { /* 同上结构,无动爻时为 null */ },
"changing_lines": [3, 5],
"lines": [7, 7, 9, 7, 9, 7]
},
"usage": { "charged": 10, "remaining": 90 }
}
```
六爻数值:
- 6 = 老阴(变阳爻)
- 7 = 少阳
- 8 = 少阴
- 9 = 老阳(变阴爻)
### 2. AI 解卦 — `POST /api/yijing/read`
消耗:20 Token
```json
{
"hexagram": { /* 本卦信息 */ },
"changed_hexagram": { /* 变卦信息,可为 null */ },
"changing_lines": [3, 5],
"lines": [7, 7, 9, 7, 9, 7],
"method": "coins",
"question": "我这个月适合换工作吗?"
}
```
返回:
```json
{
"success": true,
"data": {
"interpretation": "## 卦象总览\n\n乾为天卦象显示..."
},
"usage": { "charged": 20, "remaining": 70 }
}
```
### 3. 自动注册 — `POST /api/tools/auto-register`
免费,无需认证。
```json
// 无需请求体
```
返回:
```json
{
"success": true,
"user_id": "uuid",
"username": "灵机_a3bxk7",
"password": "xK9m!pQw2$",
"api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tokens": 20,
"message": "账号已自动创建!20 Token 已到账。"
}
```
### 4. 用户资料 — `GET/PUT /api/tools/profile`
需要认证。
**GET** — 获取资料:
```json
{
"username": "灵机_a3bxk7",
"email": "[email protected]",
"email_changed": false,
"can_change_email": true,
"tokens": 20,
"key_tokens_remaining": 20
}
```
**PUT** — 修改资料:
```json
{
"username": "新用户名",
"email": "[email protected]",
"new_password": "newPass123",
"current_password": "oldPass456"
}
```
⚠️ `email` 仅可修改一次,`email_changed=true` 后不可再次修改。
## 错误码
| 状态码 | 说明 |
|:---|:---|
| 400 | 参数错误 |
| 401 | API Key 无效或未提供 |
| 402 | Token 余额不足 |
| 403 | 操作被拒绝(如邮箱已修改过) |
| 409 | 邮箱已被占用 |
| 503 | AI 服务不可用 |skill-card.md
## Description: Yijing Divination helps an agent present an interactive I Ching divination interface with coin, time, number, and random casting methods plus AI-generated readings. This skill is ready for commercial/non-commercial use. ## Publisher: [aiepco](https://clawhub.ai/user/aiepco) ### License/Terms of Use: MIT-0 ## Use Case: External users interact with the skill through Canvas or a hosted link to cast I Ching hexagrams and request AI interpretations for their questions. Agents use it to recognize divination intent, present the interface, and guide users through the casting and reading flow. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill uses an external service and may create or use an account while sending user questions to that service. Mitigation: Install only when that service relationship is acceptable, and avoid entering highly sensitive personal, financial, medical, or relationship details. Risk: The security summary flags API key storage, query-string key handling, browser history retention, and HTML sanitization concerns. Mitigation: Use the skill only in contexts where local browser storage and displayed content are acceptable until those issues are reviewed and fixed. ## Reference(s): - [API Reference](artifact/references/api.md) - [Hosted Yijing Tool](https://skill.aiepco.com/tools/yijing/) - [Skill API Service](https://skill.aiepco.com) - [Source Repository](https://github.com/aiepco/skill-yijing) - [ClawHub Skill Page](https://clawhub.ai/aiepco/skills/skill-yijing) ## Skill Output: **Output Type(s):** [Markdown, Shell commands, API Calls, Guidance] **Output Format:** [Markdown instructions with inline commands and JSON API examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [May present an HTML Canvas UI or hosted link; API responses include JSON hexagram data and markdown-formatted interpretations.] ## Skill Version(s): 0.1.0 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/aiepco/skills/skill-yijing",
"sourceUrl": "https://clawhub.ai/aiepco/skills/skill-yijing",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T13:53:31.555Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-aiepco-skill-yijing/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-aiepco-skill-yijing/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T13:53:31.555Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.5K downloads",
"href": "https://clawhub.ai/aiepco/skill-yijing",
"sourceUrl": "https://clawhub.ai/aiepco/skill-yijing",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T13:53:31.555Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.1.0",
"href": "https://clawhub.ai/aiepco/skill-yijing",
"sourceUrl": "https://clawhub.ai/aiepco/skill-yijing",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-04T07:55:28.607Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-aiepco-skill-yijing/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-aiepco-skill-yijing/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.1.0",
"description": "Initial release of yijing-divination: an interactive I Ching (易经) divination tool powered by AI. - Provides four divination methods: coins, time, numbers, and random. - Integrates DeepSeek AI for in-depth reading of hexagrams. - Activates with various keywords; presents interactive UI via embedded Canvas or direct link. - Offers automatic user registration and API key provisioning on first use. - API endpoints cover casting and interpretation of hexagrams, with clear token costs. - Designed for engaging conversational and interactive user experience.",
"href": "https://clawhub.ai/aiepco/skill-yijing",
"sourceUrl": "https://clawhub.ai/aiepco/skill-yijing",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-04T07:55:28.607Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
