← Back to Skills Marketplace
43
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ziwei-verify
Description
基于 verification_points 通过 ±1、±2 时辰偏移自动校正出生时间,提升紫微斗数命盘置信度和准确性。
README (SKILL.md)
ziwei_verify Skill Definition
Basic Information
- Skill ID:
ziwei_verify - Name: 生时校正与命盘验证
- Description: 基于 verification_points 的生时校正引擎,通过 ±1、±2 时辰偏移搜索最优出生时间
- Version:
0.1.0 - Author: 基于倪海厦紫微斗数体系
- Vibe: 精准、严谨、数据驱动
Dependencies
- Required Skills:
ziwei(提供命盘计算) - Python Libraries:
zhdate(农历转换) - System: Python 3.9+
Input Schema
StandardDataPacket (from ziwei)
{
"trace_id": "uuid-string",
"skill_name": "ziwei",
"execution_time": 1.234,
"timestamp": "2024-01-01T12:00:00Z",
"status": "SUCCESS",
"confidence": 0.45,
"data": {
"birth_info": {
"gender": "M",
"birth_dt": "1993-04-01T14:00:00+08:00",
"location": "北京"
},
"chart_data": { ... }
},
"verification_points": [
{
"field": "命宫主星",
"description": "命宫为空宫",
"impact": "high",
"suggestions": ["考虑生时校正"],
"related_fields": ["命宫", "身宫"]
}
],
"errors": [],
"warnings": [],
"metadata": {
"cache_key": "ziwei:19930401M..."
}
}
Output Schema
StandardDataPacket (CALIBRATION_DONE)
{
"trace_id": "uuid-string",
"skill_name": "ziwei_verify",
"execution_time": 3.456,
"timestamp": "2024-01-01T12:00:05Z",
"status": "CALIBRATION_DONE",
"confidence": 0.82,
"data": {
"original_birth_dt": "1993-04-01T14:00:00+08:00",
"corrected_birth_dt": "1993-04-01T13:00:00+08:00",
"shift_hours": -1,
"shift_description": "提前1个时辰",
"calibration_candidates": [ ... ]
},
"verification_points": [ ... ], // 校正后
"errors": [],
"warnings": [],
"metadata": {
"original_packet": { ... },
"candidates_compared": 5,
"best_candidate_confidence": 0.82
}
}
StandardDataPacket (LOW_CONFIDENCE)
{
"status": "LOW_CONFIDENCE",
"confidence": 0.0,
"message": "自动校正未能显著提升置信度",
"data": {
"best_candidate": { ... },
"all_candidates": [ ... ]
}
}
StandardDataPacket (NEED_VERIFICATION)
{
"status": "NEED_VERIFICATION",
"confidence": 0.0,
"data": {
"candidates": [ ... ],
"comparison_table": "格式化表格字符串"
}
}
Action Types
| Action | Description | Input | Output |
|---|---|---|---|
calibrate |
自动/交互式生时校正 | packet + birth_dt | CALIBRATION_DONE / LOW_CONFIDENCE / NEED_VERIFICATION |
suggest |
仅生成候选不执行 | packet | 候选列表 |
validate |
验证输入数据包 | packet | 验证结果 |
Call Examples
Python API
from ziwei_verify import calibrate
result = calibrate(
packet=ziwei_packet,
birth_dt=datetime(1993, 4, 1, 14, 0),
max_shifts=2,
interactive=False
)
OpenClaw Invocation
ziwei_verify action=calibrate packet=\x3CStandardDataPacket> birth_dt="1993-04-01T14:00:00+08:00" max_shifts=2 interactive=false
Skill Lifecycle
- INIT: 加载配置,验证依赖
- RUN: 执行校正流程
- OUTPUT: 返回 StandardDataPacket
Error Codes
INVALID_INPUT: 输入数据包缺失或格式错误ZIWEI_DEPENDENCY_MISSING: ziwei 技能未就绪NO_CANDIDATES: 无法生成候选时间CALIBRATION_FAILED: 所有候选均失败
Performance Targets
- 候选生成:\x3C 50ms
- 单次命盘计算:\x3C 300ms(依赖 ziwei)
- 总耗时(5候选):\x3C 2s
- 内存占用:\x3C 100MB
Notes
- 本技能不直接
import ziwei,应通过 OpenClaw 的 skill invoke 机制调用 - 农历转换依赖
zhdate库,需在部署时安装 - 交互模式下返回
NEED_VERIFICATION,由上层 Agent 发起用户确认 - 置信度阈值:≥0.7 且无 high-impact 校验点视为校正成功
Usage Guidance
This skill appears safe to review/install for its stated astrology calibration purpose, but only use it if you are comfortable providing birth date, gender, and location data; verify manual dependencies, and avoid running demo or test scripts from untrusted sources.
Capability Analysis
Type: OpenClaw Skill
Name: ziwei-verify
Version: 1.0.0
The ziwei-verify skill bundle is a well-structured and documented engine for birth time calibration in the context of Ziwei Dou Shu (Chinese astrology). The code implements logic for generating time offsets, calculating matching scores based on astrological verification points, and providing interactive dialogue handling for users. Analysis of the Python source files (main.py, calibrator.py, prompt_generator.py) and documentation reveals no evidence of data exfiltration, malicious execution, or prompt injection; the system uses standard environment variable configuration (config.py) and local data processing with legitimate dependencies like 'zhdate'.
Capability Assessment
Purpose & Capability
The stated purpose, inputs, outputs, and code paths align around Ziwei birth-time correction using birth date, gender, location, confidence scores, and verification points.
Instruction Scope
The skill exposes scoped actions such as calibrate, suggest, and validate; interactive mode is documented as requiring user confirmation through the upper agent.
Install Mechanism
There is no install spec and the source/homepage are not provided, while documentation mentions a Python dependency; users may need to verify and install dependencies manually.
Credentials
The main behavior appears local and purpose-aligned, but demo/test files include dynamic import execution if manually run.
Persistence & Privilege
No credentials, account privileges, or privileged system access are declared, but the interactive dialogue handler stores session state in memory and the cleanup method is not implemented.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ziwei-verify - After installation, invoke the skill by name or use
/ziwei-verify - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the ziwei-verify skill for 生时校正与命盘验证.
- Provides an engine to calibrate birth time using verification points, searching within ±2 Chinese "时辰" for optimal results.
- Supports three main actions: calibrate (auto/interactively adjusts birth time), suggest (generates candidate times), and validate (checks input packets).
- Outputs follow a standardized data packet format, indicating calibration status, confidence, and detailed calibration results or need for verification.
- Requires the ziwei skill for chart calculation and zhdate for lunar date conversion.
- Includes specific error codes and performance targets for efficient operation.
Metadata
Frequently Asked Questions
What is Ziwei Verify?
基于 verification_points 通过 ±1、±2 时辰偏移自动校正出生时间,提升紫微斗数命盘置信度和准确性。 It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.
How do I install Ziwei Verify?
Run "/install ziwei-verify" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ziwei Verify free?
Yes, Ziwei Verify is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ziwei Verify support?
Ziwei Verify is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ziwei Verify?
It is built and maintained by caojyb (@caojyb); the current version is v1.0.0.
More Skills