{"id":"dfdeb546-6e6d-439a-8dcd-84b18526795c","entityType":"agent","slug":"clawhub-tianlinle-cantian-bazi","name":"Awesome Bazi Calculator - Cantian AI","canonicalUrl":"https://www.xpersona.co/agent/clawhub-tianlinle-cantian-bazi","canonicalPath":"/agent/clawhub-tianlinle-cantian-bazi","generatedAt":"2026-10-10T08:56:32.251Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":null},"description":"以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Skill: Awesome Bazi Calculator - Cantian AI Owner: tianlinle Summary: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Tags: latest:0.0.8 Version history: v0.0.8 | 2026-04-13T08:32:59.825Z | user **Expanded functionality for Bazi range queries and true solar time conversion** - New: Added scripts/convertToT","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.8K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17bf5trh1r5yt8s9refx05bgn83gdaa:cantian-bazi","sourceUrl":"https://clawhub.ai/tianlinle/cantian-bazi","homepage":"https://clawhub.ai/tianlinle/skills/cantian-bazi","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/tianlinle/cantian-bazi","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/tianlinle/skills/cantian-bazi","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":null},"stars":null,"forks":null,"downloads":2789,"packageName":null,"latestVersion":"0.0.8","tractionLabel":"2.8K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T11:30:26.103Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T11:30:26.104Z","lastCrawledAt":"2026-10-09T11:30:26.103Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T11:30:26.103Z","lastVerifiedAt":null,"highlights":[{"version":"0.0.8","createdAt":"2026-04-13T08:32:59.825Z","changelog":"**Expanded functionality for Bazi range queries and true solar time conversion** - New: Added `scripts/convertToTrueSolarTime.ts` for longitude-based true solar time conversion (supports both longitude and common city names as input). - New: Added `scripts/queryFortuneRange.ts` for querying decade, annual, monthly, daily, and hourly luck cycles over a time range, with rich output (includes support for merging consecutive hourly cycles and relational analysis). - Skill description and documentation greatly expanded to clarify fortune range querying as a main scenario. - All usage examples and error handling for new scripts are included. - True solar time conversion is now provided as a dedicated script, decoupled from core Bazi charting.","fileCount":11,"zipByteSize":19433},{"version":"0.0.7","createdAt":"2026-03-16T03:05:01.969Z","changelog":"- Expanded the skill description and keywords to include “查黄历 (huangli)” and “宜忌 (yi-ji)” scenarios, clarifying application to Chinese almanac and auspicious/inauspicious activity queries. - No code changes in this version. Documentation updates only.","fileCount":8,"zipByteSize":4985},{"version":"0.0.6","createdAt":"2026-03-14T07:28:19.315Z","changelog":"Version 0.0.6 - Refactored scripts from JavaScript (.js) to TypeScript (.ts) for improved type safety and maintainability. - Added new scripts: buildBaziFromLunar.ts, buildBaziFromSolar.ts, getChineseCalendar.ts, and util.ts. - Introduced getChineseCalendar.ts to support Chinese calendar (农历/干支) and almanac queries. - Enhanced documentation with detailed instructions, parameter definitions, and usage examples for both Bazi calculation and calendar lookup. - Updated prerequisites to recommend Node 24+ and provided compatible fallback instructions using tsx.","fileCount":8,"zipByteSize":4936},{"version":"0.0.5","createdAt":"2026-03-09T04:54:13.324Z","changelog":"- Skill renamed from \"bazi\" to \"cantian-bazi\" - Description expanded to include calculation of \"Ten Gods\" and various astrological factors (神煞), and translated into English - No code or feature changes detected in this version","fileCount":6,"zipByteSize":3692},{"version":"0.0.4","createdAt":"2026-03-07T09:19:09.430Z","changelog":"- Added an English and Chinese introduction highlighting Cantian AI's expertise and platform features for Bazi charting and analysis. - Enhanced descriptions to emphasize AI-powered interpretations and personalized astrology services. - No changes to usage instructions, parameters, or script examples.","fileCount":6,"zipByteSize":3527},{"version":"0.0.3","createdAt":"2026-03-07T09:08:58.679Z","changelog":"- Added English translations to all documentation sections for bilingual support. - Clarified usage scenarios, parameters, and examples in both Chinese and English. - Improved documentation consistency for easier understanding by a wider audience. - No functional changes; documentation update only.","fileCount":6,"zipByteSize":3277},{"version":"0.0.2","createdAt":"2026-03-07T08:48:08.487Z","changelog":"- Added package.json to manage dependencies. - Removed scripts/package.json, consolidating package management to the root. - Updated documentation to instruct users to run npm install in the skill root directory before using scripts.","fileCount":6,"zipByteSize":2795},{"version":"0.0.1","createdAt":"2026-03-07T07:25:52.692Z","changelog":"Initial release of Cantian Bazi: - Enables 八字排盘 (Bazi calculation) based on Gregorian birth date and time. - Returns 四柱八字, 五行, 十神 and other related fate analysis information. - Supports solar-to-Bazi conversion, gender, and 子时 (midnight hour) calculation options. - CLI interface with parameters for date, gender, and midnight configuration. - Usage scenarios include Bazi queries, fate analysis, and solar-to-Chinese calendar conversions.","fileCount":6,"zipByteSize":2743}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17bf5trh1r5yt8s9refx05bgn83gdaa:cantian-bazi","setupComplexity":"low","setupSteps":["Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.","Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T08:56:32.250Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":null},"readme":"Skill: Awesome Bazi Calculator - Cantian AI\n\nOwner: tianlinle\n\nSummary: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太...\n\nTags: latest:0.0.8\n\nVersion history:\n\nv0.0.8 | 2026-04-13T08:32:59.825Z | user\n\n**Expanded functionality for Bazi range queries and true solar time conversion**\n\n- New: Added `scripts/convertToTrueSolarTime.ts` for longitude-based true solar time conversion (supports both longitude and common city names as input).\n- New: Added `scripts/queryFortuneRange.ts` for querying decade, annual, monthly, daily, and hourly luck cycles over a time range, with rich output (includes support for merging consecutive hourly cycles and relational analysis).\n- Skill description and documentation greatly expanded to clarify fortune range querying as a main scenario.\n- All usage examples and error handling for new scripts are included.\n- True solar time conversion is now provided as a dedicated script, decoupled from core Bazi charting.\n\nv0.0.7 | 2026-03-16T03:05:01.969Z | user\n\n- Expanded the skill description and keywords to include “查黄历 (huangli)” and “宜忌 (yi-ji)” scenarios, clarifying application to Chinese almanac and auspicious/inauspicious activity queries.\n- No code changes in this version. Documentation updates only.\n\nv0.0.6 | 2026-03-14T07:28:19.315Z | user\n\nVersion 0.0.6\n\n- Refactored scripts from JavaScript (.js) to TypeScript (.ts) for improved type safety and maintainability.\n- Added new scripts: buildBaziFromLunar.ts, buildBaziFromSolar.ts, getChineseCalendar.ts, and util.ts.\n- Introduced getChineseCalendar.ts to support Chinese calendar (农历/干支) and almanac queries.\n- Enhanced documentation with detailed instructions, parameter definitions, and usage examples for both Bazi calculation and calendar lookup.\n- Updated prerequisites to recommend Node 24+ and provided compatible fallback instructions using tsx.\n\nv0.0.5 | 2026-03-09T04:54:13.324Z | user\n\n- Skill renamed from \"bazi\" to \"cantian-bazi\"\n- Description expanded to include calculation of \"Ten Gods\" and various astrological factors (神煞), and translated into English\n- No code or feature changes detected in this version\n\nv0.0.4 | 2026-03-07T09:19:09.430Z | user\n\n- Added an English and Chinese introduction highlighting Cantian AI's expertise and platform features for Bazi charting and analysis.\n- Enhanced descriptions to emphasize AI-powered interpretations and personalized astrology services.\n- No changes to usage instructions, parameters, or script examples.\n\nv0.0.3 | 2026-03-07T09:08:58.679Z | user\n\n- Added English translations to all documentation sections for bilingual support.\n- Clarified usage scenarios, parameters, and examples in both Chinese and English.\n- Improved documentation consistency for easier understanding by a wider audience.\n- No functional changes; documentation update only.\n\nv0.0.2 | 2026-03-07T08:48:08.487Z | user\n\n- Added package.json to manage dependencies.\n- Removed scripts/package.json, consolidating package management to the root.\n- Updated documentation to instruct users to run npm install in the skill root directory before using scripts.\n\nv0.0.1 | 2026-03-07T07:25:52.692Z | user\n\nInitial release of Cantian Bazi:\n\n- Enables 八字排盘 (Bazi calculation) based on Gregorian birth date and time.\n- Returns 四柱八字, 五行, 十神 and other related fate analysis information.\n- Supports solar-to-Bazi conversion, gender, and 子时 (midnight hour) calculation options.\n- CLI interface with parameters for date, gender, and midnight configuration.\n- Usage scenarios include Bazi queries, fate analysis, and solar-to-Chinese calendar conversions.\n\nArchive index:\n\nArchive v0.0.8: 11 files, 19433 bytes\n\nFiles: package.json (99b), scripts/buildBaziFromLunar.ts (289b), scripts/buildBaziFromSolar.ts (289b), scripts/convertToTrueSolarTime.ts (1698b), scripts/getChineseCalendar.ts (1106b), scripts/queryFortuneRange.ts (23227b), scripts/util.ts (13876b), skill-card.md (1841b), SKILL.md (12084b), tsconfig.json (167b), _meta.json (131b)\n\nFile v0.0.8:SKILL.md\n\n---\nname: cantian-bazi\ndescription: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太阳时换算属于辅助能力，仅在需要校时定盘时使用。 / Bazi-first skill for charting, Chinese almanac lookup, and range queries of decade/annual/monthly/daily/hourly luck cycles. Use for requests like “calculate my Bazi”, “convert solar/lunar datetime to Bazi”, “check huangli”, “query next 10 years”, and “check next month daily/hourly cycles”. Keywords focus on Bazi/Four Pillars and fortune-cycle analysis; true-solar-time conversion is an auxiliary step only when time correction is required.\n---\n\n# 八字排盘、黄历与大运流年查询 (Bazi, Calendar & Fortune Range)\n\n## 何时使用 / When to Use\n\n- 用户要根据阳历出生时间计算四柱八字。 / User wants Four Pillars from Gregorian birth datetime.\n- 用户要根据农历出生时间计算四柱八字。 / User wants Four Pillars from lunar birth datetime.\n- 用户要查询某一天对应的农历、干支、宜忌等信息。 / User wants Chinese calendar info for a specific date.\n- 用户要“查黄历”或看某天宜忌。 / User wants almanac-style daily auspicious/inauspicious info.\n- 用户要查询一段时间内的大运、流年、流月、流日或流时。 / User wants decade/annual/monthly/daily/hourly fortune cycles in a time range.\n\n## 前置依赖 / Prerequisites\n\n- 推荐运行环境：Node 24（可直接运行 TypeScript 源码）。 / Recommended runtime: Node 24 (can run TypeScript source directly).\n- 兼容方案：若 Node 版本较低，使用 `tsx` 执行。 / Fallback: use `tsx` on lower Node versions.\n- 执行目录：在 skill 根目录（`SKILL.md` 所在目录）执行以下命令。 / Run commands in the skill root (where `SKILL.md` is located).\n\n```bash\nnpm i\n\n# 仅在需要兼容运行时安装\n# Install only for fallback mode\nnpm i -D tsx\n```\n\n## 脚本清单 / Script Index\n\n- `scripts/buildBaziFromSolar.ts`：根据阳历时间生成八字 Markdown。 / Build Bazi from solar datetime.\n- `scripts/buildBaziFromLunar.ts`：根据农历时间生成八字 Markdown。 / Build Bazi from lunar datetime.\n- `scripts/convertToTrueSolarTime.ts`：将北京时间按经度换算为真太阳时（输出可直接给其它脚本使用）。 / Convert Beijing time to true solar time by longitude.\n- `scripts/getChineseCalendar.ts`：查询指定日期（默认今天）的农历与干支信息。 / Get Chinese calendar for a given date (defaults to today).\n- `scripts/queryFortuneRange.ts`：按时间区间查询大运与流年/流月/流日/流时（流时按时辰段合并）。 / Query decade fortune and annual/monthly/daily/hourly cycles in a time range.\n\n## 脚本与参数 / Scripts & Parameters\n\n### `scripts/buildBaziFromSolar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `solarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-05-15T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/buildBaziFromLunar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `lunarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-04-21T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/convertToTrueSolarTime.ts`（真太阳时换算）\n\n```bash\n# 推荐方式\nnode scripts/convertToTrueSolarTime.ts <beijingTime> <longitudeOrCity> [standardLongitude]\n\n# 兼容方式（fallback）\ntsx scripts/convertToTrueSolarTime.ts <beijingTime> <longitudeOrCity> [standardLongitude]\n```\n\n参数定义 / Parameters:\n\n- `beijingTime`（必填 / required）\n  - 含义：北京时间（东八区标准时）输入时间\n  - 格式：`YYYY-MM-DDTHH:mm[:ss]`（不带时区），如 `1990-05-15T14:30:00`\n  - 默认值：无\n  - 非法输入：抛错 `时间格式无效...请使用不带时区的 YYYY-MM-DDTHH:mm[:ss]...`\n- `longitudeOrCity`（必填 / required）\n  - 含义：可直接传经度，或传城市名由脚本自动匹配经度\n  - 经度格式：十进制度数，范围 `-180` 到 `180`（如武汉 `114.17`）\n  - 城市格式：城市名（支持常见后缀，如 `武汉`、`武汉市`）\n  - 默认值：无\n  - 非法输入：地点无法识别时抛错 `无法识别地点...请传经度或城市名...`\n- `standardLongitude`（可选 / optional）\n  - 含义：标准经度，默认 `120`（北京时间基准经线）\n  - 取值范围：`-180` 到 `180`\n  - 默认值：`120`\n  - 非法输入：抛错 `standardLongitude 无效...` 或 `standardLongitude 超出范围...`\n\n输出 / Output:\n\n- 标准输出仅返回 1 行真太阳时时间字符串（`YYYY-MM-DDTHH:mm:ss`），可直接作为 `buildBaziFromSolar.ts` 与 `queryFortuneRange.ts` 的 `solar` 时间参数。\n\n### `scripts/getChineseCalendar.ts`（黄历/农历查询）\n\n```bash\n# 推荐方式（不传参默认今天）\nnode scripts/getChineseCalendar.ts [date]\n\n# 兼容方式（fallback）\ntsx scripts/getChineseCalendar.ts [date]\n```\n\n参数定义 / Parameters:\n\n- `date`（可选 / optional）\n  - 格式：`YYYY-MM-DD`（兼容 `YYYY/MM/DD`），如 `2024-02-10`\n  - 默认值：当天日期\n  - 取值范围：有效公历日期\n  - 非法输入：\n    - 格式错误时抛错 `日期格式无效。请传入 YYYY-MM-DD（也兼容 YYYY/MM/DD）。`\n    - 日期不存在时抛错 `日期值无效。请确认年月日是实际存在的日期。`\n\n### `scripts/queryFortuneRange.ts`（大运/流年/流月/流日/流时区间查询）\n\n```bash\n# 推荐方式\nnode scripts/queryFortuneRange.ts '<json>'\n\n# 兼容方式（fallback）\ntsx scripts/queryFortuneRange.ts '<json>'\n```\n\n参数定义 / Parameters:\n\n- `json`（必填 / required）\n  - 格式：JSON 字符串，结构如下：\n    - `birth.calendar`（必填）：`solar` 或 `lunar`\n    - `birth.time`（必填）：出生时间（不带时区），如 `1990-05-15T14:30:00`\n    - `birth.gender`（可选）：`1` 男，`0` 女，默认 `1`\n    - `birth.sect`（可选）：`1` 或 `2`，默认 `2`\n    - `query.startDateTime`（必填）：`YYYY-MM-DD` 或 `YYYY-MM-DDTHH`\n    - `query.endDateTime`（必填）：`YYYY-MM-DD` 或 `YYYY-MM-DDTHH`\n    - `query.level`（可选）：`year`、`month`、`day`、`hour`，默认 `year`\n  - 自动补全规则：\n    - `startDateTime` 传 `YYYY-MM-DD` 时补为 `T00`\n    - `endDateTime` 传 `YYYY-MM-DD` 时补为 `T23`\n  - 结果规则：\n    - `level` 采用层级语义：`year < month < day < hour`\n    - 自动补父级：查 `day` 自动包含 `year+month`；查 `hour` 自动包含 `year+month+day`\n    - `level=hour` 时返回流时，输出会将连续相同流时合并为时辰段（2 小时语义）\n    - 查询层级达到 `month` 时返回按连续干支月分段的流月区间\n    - 流年/流月/流日/流时结果均包含：干支、十神、神煞、与原命盘的刑冲合会关系\n    - 输出固定为完整 Markdown（按层级标题展开全部字段，不使用代码块），不做省略与去重\n  - 非法输入：\n    - JSON 非法时抛错 `参数 JSON 解析失败。请传入合法 JSON。`\n    - 时间格式错误时抛错 `时间格式无效...请使用 YYYY-MM-DD 或 YYYY-MM-DDTHH...`\n    - `startDateTime` 晚于 `endDateTime` 时抛错 `时间范围无效：startDateTime 不能晚于 endDateTime。`\n    - `level=hour` 且范围超过 62 天时抛错 `hour 查询区间过大...`\n\n## 示例 / Examples\n\n```bash\n# buildBaziFromSolar.ts 最小可用示例\nnode scripts/buildBaziFromSolar.ts \"1990-05-15T14:30:00\"\n\n# buildBaziFromLunar.ts 最小可用示例\nnode scripts/buildBaziFromLunar.ts \"1990-04-21T14:30:00\"\n\n# convertToTrueSolarTime.ts 最小可用示例（武汉经度）\nnode scripts/convertToTrueSolarTime.ts \"1990-05-15T14:30:00\" 114.17\n\n# convertToTrueSolarTime.ts 城市名示例（无需手查经度）\nnode scripts/convertToTrueSolarTime.ts \"1990-05-15T14:30:00\" 武汉\n\n# getChineseCalendar.ts 最小可用示例（默认今天）\nnode scripts/getChineseCalendar.ts\n\n# getChineseCalendar.ts 指定日期\nnode scripts/getChineseCalendar.ts 2024-02-10\n\n# queryFortuneRange.ts: 查询 2026-2028 流年\nnode scripts/queryFortuneRange.ts '{\"birth\":{\"calendar\":\"solar\",\"time\":\"1990-05-15T14:30:00\",\"gender\":1,\"sect\":2},\"query\":{\"startDateTime\":\"2026-01-01\",\"endDateTime\":\"2028-12-31\",\"level\":\"year\"}}'\n\n# queryFortuneRange.ts: 查询下个月流日（按日）\nnode scripts/queryFortuneRange.ts '{\"birth\":{\"calendar\":\"solar\",\"time\":\"1990-05-15T14:30:00\"},\"query\":{\"startDateTime\":\"2026-05-01\",\"endDateTime\":\"2026-05-31\",\"level\":\"day\"}}'\n\n# queryFortuneRange.ts: 查询某段流时（按时辰段合并）\nnode scripts/queryFortuneRange.ts '{\"birth\":{\"calendar\":\"solar\",\"time\":\"1990-05-15T14:30:00\"},\"query\":{\"startDateTime\":\"2026-05-01T09\",\"endDateTime\":\"2026-05-03T18\",\"level\":\"hour\"}}'\n\n# 两步流程示例：先换算真太阳时，再排盘（示例结果需替换为实际换算输出）\nnode scripts/convertToTrueSolarTime.ts \"1990-05-15T14:30:00\" 114.17\nnode scripts/buildBaziFromSolar.ts \"1990-05-15T14:10:20\" 1 2\n```\n\n## 注意事项 / Notes\n\n1. 所有命令均在 skill 根目录执行，不依赖仓库根目录路径。 / Run all commands in the skill root; do not rely on repo-root paths.\n2. 时间字符串不要携带时区后缀（如 `Z`、`+08:00`），以免产生与预期不一致的换日结果。 / Do not append timezone suffixes (such as `Z` or `+08:00`) to avoid unexpected day shifts.\n3. 若要按真太阳时排盘，请先运行 `convertToTrueSolarTime.ts`，再把输出时间传给其它脚本；其它脚本本身不做真太阳时换算。 / For true solar time workflow, run `convertToTrueSolarTime.ts` first and pass its output to other scripts.\n4. 涉及 23:00-23:59 出生时，建议显式传 `sect`，避免晚子时归属歧义。 / For births between 23:00-23:59, explicitly set `sect` to avoid ambiguity.\n5. `queryFortuneRange.ts` 的 `startDateTime/endDateTime` 只支持 `YYYY-MM-DD` 或 `YYYY-MM-DDTHH`，不支持分钟秒。 / `queryFortuneRange.ts` supports only `YYYY-MM-DD` and `YYYY-MM-DDTHH` for range inputs.\n6. 真太阳时换算只依赖经度，不需要纬度；脚本支持直接传城市名自动匹配经度。 / True solar time conversion uses longitude only; latitude is not required.\n\nFile v0.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.8\",\n  \"publishedAt\": 1776069179825\n}\n\nFile v0.0.8:skill-card.md\n\n## Description:\n\nProvides Bazi/Four Pillars charting, Chinese almanac lookup, true-solar-time conversion, and decade, annual, monthly, daily, and hourly fortune-cycle range queries for an agent.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[tianlinle](https://clawhub.ai/user/tianlinle)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and agent developers use this skill to answer Bazi/Four Pillars, solar and lunar calendar, huangli, true-solar-time, and fortune-cycle range questions by running local TypeScript scripts.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Installing npm dependencies can execute third-party code during install or runtime.\n\nMitigation: Install only in a restricted project directory after reviewing the dependency set.\n\nRisk: The cantian-tymext dependency is declared as a version range.\n\nMitigation: Pin cantian-tymext to an exact reviewed version and add a package-lock.json before deployment.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/tianlinle/skills/cantian-bazi)\n- [Publisher profile](https://clawhub.ai/user/tianlinle)\n\n## Skill Output:\n\n**Output Type(s):** [Markdown, Text, Shell commands, Guidance]\n\n**Output Format:** [Markdown reports and plain text strings from local TypeScript commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Fortune range outputs expand by requested level; hourly queries are limited to ranges of 62 days or less.]\n\n## Skill Version(s):\n\n0.0.8 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers 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.\n\nFile v0.0.8:package.json\n\n{\n  \"private\": true,\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nFile v0.0.8:tsconfig.json\n\n{\n  \"extends\": \"../../tsconfig.base.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist-js\",\n    \"rootDir\": \"scripts\",\n    \"rewriteRelativeImportExtensions\": true\n  }\n}\n\nArchive v0.0.7: 8 files, 4985 bytes\n\nFiles: package.json (99b), scripts/buildBaziFromLunar.ts (289b), scripts/buildBaziFromSolar.ts (289b), scripts/getChineseCalendar.ts (1106b), scripts/util.ts (796b), SKILL.md (5904b), tsconfig.json (167b), _meta.json (131b)\n\nFile v0.0.7:SKILL.md\n\n---\nname: cantian-bazi\ndescription: 八字排盘与农历/干支日期查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历时间转八字”“查询某天农历或干支日期”“查黄历/宜忌”等场景；关键词包括：八字、四柱、命理、阳历转八字、农历转八字、黄历、宜忌、干支日期、农历日期。 / Bazi charting and Chinese calendar conversion skill. Use for requests like “calculate my Bazi”, “Four Pillars chart”, “convert solar/lunar datetime to Bazi”, “check Chinese almanac (huangli)”, or “check auspicious/inauspicious activities (yi-ji) for a date”; keywords include: Bazi, Four Pillars, solar-to-Bazi, lunar-to-Bazi, Chinese calendar, Chinese almanac (huangli), yi-ji, heavenly stems and earthly branches.\n---\n\n# 八字排盘与农历日期查询 (Bazi & Chinese Calendar)\n\n## 何时使用 / When to Use\n\n- 用户要根据阳历出生时间计算四柱八字。 / User wants Four Pillars from Gregorian birth datetime.\n- 用户要根据农历出生时间计算四柱八字。 / User wants Four Pillars from lunar birth datetime.\n- 用户要查询某一天对应的农历、干支、宜忌等信息。 / User wants Chinese calendar info for a specific date.\n- 用户要“查黄历”或看某天宜忌。 / User wants almanac-style daily auspicious/inauspicious info.\n\n## 前置依赖 / Prerequisites\n\n- 推荐运行环境：Node 24（可直接运行 TypeScript 源码）。 / Recommended runtime: Node 24 (can run TypeScript source directly).\n- 兼容方案：若 Node 版本较低，使用 `tsx` 执行。 / Fallback: use `tsx` on lower Node versions.\n- 执行目录：在 skill 根目录（`SKILL.md` 所在目录）执行以下命令。 / Run commands in the skill root (where `SKILL.md` is located).\n\n```bash\nnpm i\n\n# 仅在需要兼容运行时安装\n# Install only for fallback mode\nnpm i -D tsx\n```\n\n## 脚本清单 / Script Index\n\n- `scripts/buildBaziFromSolar.ts`：根据阳历时间生成八字 Markdown。 / Build Bazi from solar datetime.\n- `scripts/buildBaziFromLunar.ts`：根据农历时间生成八字 Markdown。 / Build Bazi from lunar datetime.\n- `scripts/getChineseCalendar.ts`：查询指定日期（默认今天）的农历与干支信息。 / Get Chinese calendar for a given date (defaults to today).\n\n## 脚本与参数 / Scripts & Parameters\n\n### `scripts/buildBaziFromSolar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `solarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-05-15T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/buildBaziFromLunar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `lunarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-04-21T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/getChineseCalendar.ts`（黄历/农历查询）\n\n```bash\n# 推荐方式（不传参默认今天）\nnode scripts/getChineseCalendar.ts [date]\n\n# 兼容方式（fallback）\ntsx scripts/getChineseCalendar.ts [date]\n```\n\n参数定义 / Parameters:\n\n- `date`（可选 / optional）\n  - 格式：`YYYY-MM-DD`（兼容 `YYYY/MM/DD`），如 `2024-02-10`\n  - 默认值：当天日期\n  - 取值范围：有效公历日期\n  - 非法输入：\n    - 格式错误时抛错 `日期格式无效。请传入 YYYY-MM-DD（也兼容 YYYY/MM/DD）。`\n    - 日期不存在时抛错 `日期值无效。请确认年月日是实际存在的日期。`\n\n## 示例 / Examples\n\n```bash\n# buildBaziFromSolar.ts 最小可用示例\nnode scripts/buildBaziFromSolar.ts \"1990-05-15T14:30:00\"\n\n# buildBaziFromLunar.ts 最小可用示例\nnode scripts/buildBaziFromLunar.ts \"1990-04-21T14:30:00\"\n\n# getChineseCalendar.ts 最小可用示例（默认今天）\nnode scripts/getChineseCalendar.ts\n\n# getChineseCalendar.ts 指定日期\nnode scripts/getChineseCalendar.ts 2024-02-10\n```\n\n## 注意事项 / Notes\n\n1. 所有命令均在 skill 根目录执行，不依赖仓库根目录路径。 / Run all commands in the skill root; do not rely on repo-root paths.\n2. 时间字符串不要携带时区后缀（如 `Z`、`+08:00`），以免产生与预期不一致的换日结果。 / Do not append timezone suffixes (such as `Z` or `+08:00`) to avoid unexpected day shifts.\n3. 涉及 23:00-23:59 出生时，建议显式传 `sect`，避免晚子时归属歧义。 / For births between 23:00-23:59, explicitly set `sect` to avoid ambiguity.\n\nFile v0.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.7\",\n  \"publishedAt\": 1773630301969\n}\n\nFile v0.0.7:package.json\n\n{\n  \"private\": true,\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nFile v0.0.7:tsconfig.json\n\n{\n  \"extends\": \"../../tsconfig.base.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist-js\",\n    \"rootDir\": \"scripts\",\n    \"rewriteRelativeImportExtensions\": true\n  }\n}\n\nArchive v0.0.6: 8 files, 4936 bytes\n\nFiles: package.json (99b), scripts/buildBaziFromLunar.ts (289b), scripts/buildBaziFromSolar.ts (289b), scripts/getChineseCalendar.ts (1106b), scripts/util.ts (796b), SKILL.md (5774b), tsconfig.json (167b), _meta.json (131b)\n\nFile v0.0.6:SKILL.md\n\n---\nname: cantian-bazi\ndescription: 八字排盘与农历/干支日期查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历时间转八字”“查询某天农历或干支日期”等场景；关键词包括：八字、四柱、命理、阳历转八字、农历转八字、黄历、干支日期、农历日期。 / Bazi charting and Chinese calendar conversion skill. Use for requests like “calculate my Bazi”, “Four Pillars chart”, “convert solar/lunar datetime to Bazi”, or “check Chinese calendar for a date”; keywords include: Bazi, Four Pillars, solar-to-Bazi, lunar-to-Bazi, Chinese calendar, heavenly stems and earthly branches.\n---\n\n# 八字排盘与农历日期查询 (Bazi & Chinese Calendar)\n\n## 何时使用 / When to Use\n\n- 用户要根据阳历出生时间计算四柱八字。 / User wants Four Pillars from Gregorian birth datetime.\n- 用户要根据农历出生时间计算四柱八字。 / User wants Four Pillars from lunar birth datetime.\n- 用户要查询某一天对应的农历、干支、宜忌等信息。 / User wants Chinese calendar info for a specific date.\n- 用户要“查黄历”或看某天宜忌。 / User wants almanac-style daily auspicious/inauspicious info.\n\n## 前置依赖 / Prerequisites\n\n- 推荐运行环境：Node 24（可直接运行 TypeScript 源码）。 / Recommended runtime: Node 24 (can run TypeScript source directly).\n- 兼容方案：若 Node 版本较低，使用 `tsx` 执行。 / Fallback: use `tsx` on lower Node versions.\n- 执行目录：在 skill 根目录（`SKILL.md` 所在目录）执行以下命令。 / Run commands in the skill root (where `SKILL.md` is located).\n\n```bash\nnpm i\n\n# 仅在需要兼容运行时安装\n# Install only for fallback mode\nnpm i -D tsx\n```\n\n## 脚本清单 / Script Index\n\n- `scripts/buildBaziFromSolar.ts`：根据阳历时间生成八字 Markdown。 / Build Bazi from solar datetime.\n- `scripts/buildBaziFromLunar.ts`：根据农历时间生成八字 Markdown。 / Build Bazi from lunar datetime.\n- `scripts/getChineseCalendar.ts`：查询指定日期（默认今天）的农历与干支信息。 / Get Chinese calendar for a given date (defaults to today).\n\n## 脚本与参数 / Scripts & Parameters\n\n### `scripts/buildBaziFromSolar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `solarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-05-15T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/buildBaziFromLunar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `lunarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-04-21T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/getChineseCalendar.ts`（黄历/农历查询）\n\n```bash\n# 推荐方式（不传参默认今天）\nnode scripts/getChineseCalendar.ts [date]\n\n# 兼容方式（fallback）\ntsx scripts/getChineseCalendar.ts [date]\n```\n\n参数定义 / Parameters:\n\n- `date`（可选 / optional）\n  - 格式：`YYYY-MM-DD`（兼容 `YYYY/MM/DD`），如 `2024-02-10`\n  - 默认值：当天日期\n  - 取值范围：有效公历日期\n  - 非法输入：\n    - 格式错误时抛错 `日期格式无效。请传入 YYYY-MM-DD（也兼容 YYYY/MM/DD）。`\n    - 日期不存在时抛错 `日期值无效。请确认年月日是实际存在的日期。`\n\n## 示例 / Examples\n\n```bash\n# buildBaziFromSolar.ts 最小可用示例\nnode scripts/buildBaziFromSolar.ts \"1990-05-15T14:30:00\"\n\n# buildBaziFromLunar.ts 最小可用示例\nnode scripts/buildBaziFromLunar.ts \"1990-04-21T14:30:00\"\n\n# getChineseCalendar.ts 最小可用示例（默认今天）\nnode scripts/getChineseCalendar.ts\n\n# getChineseCalendar.ts 指定日期\nnode scripts/getChineseCalendar.ts 2024-02-10\n```\n\n## 注意事项 / Notes\n\n1. 所有命令均在 skill 根目录执行，不依赖仓库根目录路径。 / Run all commands in the skill root; do not rely on repo-root paths.\n2. 时间字符串不要携带时区后缀（如 `Z`、`+08:00`），以免产生与预期不一致的换日结果。 / Do not append timezone suffixes (such as `Z` or `+08:00`) to avoid unexpected day shifts.\n3. 涉及 23:00-23:59 出生时，建议显式传 `sect`，避免晚子时归属歧义。 / For births between 23:00-23:59, explicitly set `sect` to avoid ambiguity.\n\nFile v0.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.6\",\n  \"publishedAt\": 1773473299315\n}\n\nFile v0.0.6:package.json\n\n{\n  \"private\": true,\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nFile v0.0.6:tsconfig.json\n\n{\n  \"extends\": \"../../tsconfig.base.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist-js\",\n    \"rootDir\": \"scripts\",\n    \"rewriteRelativeImportExtensions\": true\n  }\n}\n\nArchive v0.0.5: 6 files, 3692 bytes\n\nFiles: package.json (79b), scripts/buildBaziFromLunar.js (453b), scripts/buildBaziFromSolar.js (453b), scripts/util.js (817b), SKILL.md (3110b), _meta.json (131b)\n\nFile v0.0.5:SKILL.md\n\n---\nname: cantian-bazi\ndescription: 八字排盘技能。根据阳历出生时间计算四柱八字、五行、十神、神煞等命理信息。使用场景：用户查询八字、命理分析、四柱排盘、出生时间转换农历/干支。 / Bazi charting skill. Calculates the Four Pillars (Bazi), Five Elements, Ten Gods, and various astrological factors based on the Gregorian birth date and time. Use cases include Bazi chart queries, destiny analysis, Four Pillars charting, and converting birth time to the lunar calendar or Heavenly Stems and Earthly Branches.\n---\n\n# 八字排盘 (Bazi)\n\nAwesome Bazi Calculator by Cantian AI\n\nBazi chart calculator and AI interpretation by Cantian AI, an AI-powered astrology platform for Bazi reading, five elements analysis, and destiny insights. Visit Cantian AI for more tools, reports, and personalized guidance.\n\n八字排盘、五行分析与命盘解读，由参天 AI 提供。参天 AI (https://www.cantian.ai/) 是专注于八字与东方命理智能解读的平台，提供更专业的排盘分析、命理解读与个性化内容服务。\n\n## 何时使用 / When to Use\n\n当用户想要查询八字、命理、四柱、干支等信息时触发此技能。\n\nTrigger this skill when users want to query Bazi, fate analysis, four pillars, or heavenly stems and earthly branches.\n\n**典型触发 / Typical Triggers:**\n\n- \"帮我算一下八字\" / \"Calculate my Bazi\"\n- \"1990 年 5 月 15 日下午 2 点半出生，四柱是什么\" / \"I was born on May 15, 1990 at 2:30 PM, what are my four pillars?\"\n- \"查一下我的命理\" / \"Check my fate\"\n- \"阳历转八字\" / \"Convert solar date to Bazi\"\n\n## 前置依赖 / Prerequisites\n\n首次使用需要在本技能的根目录（SKILL.md 所在目录）安装好依赖。\n\nInstall dependencies in the skill root directory (where SKILL.md is located) before first use.\n\n```bash\nnpm i\n```\n\n## 脚本 / Script\n\n```bash\nnode scripts/buildBaziFromSolar.js <solarTime> [gender] [sect]\n```\n\n## 参数 / Parameters\n\n- `solarTime`（必填/required）：阳历时间，ISO 8601 格式（不带时区），如 `1990-05-15T14:30:00`\n- `gender`（可选/optional）：性别，`1`=男/male，`0`=女/female，默认/default `1`\n- `sect`（可选/optional）：子时配置，`1`=晚子时算明天，`2`=晚子时算当天，默认/default `2`\n\n## 示例 / Examples\n\n```bash\n# 基础用法（默认男性，晚子时算当天）\n# Basic usage (default: male, late Zi hour counts as next day)\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\"\n\n# 指定女性\n# Specify female\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0\n\n# 指定晚子时算明天\n# Specify late Zi hour counts as next day\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0 1\n```\n\n## 注意事项 / Notes\n\n1. **时间格式 / Time Format** - 必须为 ISO 8601 格式，不带时区标识 / Must be ISO 8601 format without timezone\n2. **子时说明 / Zi Hour Note** - 23:00-23:59 出生需明确 `sect` 参数，否则按默认处理 / For births between 23:00-23:59, specify the `sect` parameter, otherwise defaults apply\n\nFile v0.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.5\",\n  \"publishedAt\": 1773032053324\n}\n\nFile v0.0.5:package.json\n\n{\n  \"private\": true,\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nArchive v0.0.4: 6 files, 3527 bytes\n\nFiles: package.json (79b), scripts/buildBaziFromLunar.js (453b), scripts/buildBaziFromSolar.js (453b), scripts/util.js (817b), SKILL.md (2765b), _meta.json (131b)\n\nFile v0.0.4:SKILL.md\n\n---\nname: bazi\ndescription: 八字排盘技能。根据阳历出生时间计算四柱八字、五行、十神等命理信息。使用场景：用户查询八字、命理分析、四柱排盘、出生时间转换农历/干支。\n---\n\n# 八字排盘 (Bazi)\n\nAwesome Bazi Calculator by Cantian AI\n\nBazi chart calculator and AI interpretation by Cantian AI, an AI-powered astrology platform for Bazi reading, five elements analysis, and destiny insights. Visit Cantian AI for more tools, reports, and personalized guidance.\n\n八字排盘、五行分析与命盘解读，由参天 AI 提供。参天 AI (https://www.cantian.ai/) 是专注于八字与东方命理智能解读的平台，提供更专业的排盘分析、命理解读与个性化内容服务。\n\n## 何时使用 / When to Use\n\n当用户想要查询八字、命理、四柱、干支等信息时触发此技能。\n\nTrigger this skill when users want to query Bazi, fate analysis, four pillars, or heavenly stems and earthly branches.\n\n**典型触发 / Typical Triggers:**\n\n- \"帮我算一下八字\" / \"Calculate my Bazi\"\n- \"1990 年 5 月 15 日下午 2 点半出生，四柱是什么\" / \"I was born on May 15, 1990 at 2:30 PM, what are my four pillars?\"\n- \"查一下我的命理\" / \"Check my fate\"\n- \"阳历转八字\" / \"Convert solar date to Bazi\"\n\n## 前置依赖 / Prerequisites\n\n首次使用需要在本技能的根目录（SKILL.md 所在目录）安装好依赖。\n\nInstall dependencies in the skill root directory (where SKILL.md is located) before first use.\n\n```bash\nnpm i\n```\n\n## 脚本 / Script\n\n```bash\nnode scripts/buildBaziFromSolar.js <solarTime> [gender] [sect]\n```\n\n## 参数 / Parameters\n\n- `solarTime`（必填/required）：阳历时间，ISO 8601 格式（不带时区），如 `1990-05-15T14:30:00`\n- `gender`（可选/optional）：性别，`1`=男/male，`0`=女/female，默认/default `1`\n- `sect`（可选/optional）：子时配置，`1`=晚子时算明天，`2`=晚子时算当天，默认/default `2`\n\n## 示例 / Examples\n\n```bash\n# 基础用法（默认男性，晚子时算当天）\n# Basic usage (default: male, late Zi hour counts as next day)\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\"\n\n# 指定女性\n# Specify female\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0\n\n# 指定晚子时算明天\n# Specify late Zi hour counts as next day\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0 1\n```\n\n## 注意事项 / Notes\n\n1. **时间格式 / Time Format** - 必须为 ISO 8601 格式，不带时区标识 / Must be ISO 8601 format without timezone\n2. **子时说明 / Zi Hour Note** - 23:00-23:59 出生需明确 `sect` 参数，否则按默认处理 / For births between 23:00-23:59, specify the `sect` parameter, otherwise defaults apply\n\nFile v0.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.4\",\n  \"publishedAt\": 1772875149430\n}\n\nFile v0.0.4:package.json\n\n{\n  \"private\": true,\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nArchive v0.0.3: 6 files, 3277 bytes\n\nFiles: package.json (79b), scripts/buildBaziFromLunar.js (453b), scripts/buildBaziFromSolar.js (453b), scripts/util.js (817b), SKILL.md (2306b), _meta.json (131b)\n\nFile v0.0.3:SKILL.md\n\n---\nname: bazi\ndescription: 八字排盘技能。根据阳历出生时间计算四柱八字、五行、十神等命理信息。使用场景：用户查询八字、命理分析、四柱排盘、出生时间转换农历/干支。\n---\n\n# 八字排盘 (Bazi)\n\n> 参天 AI · https://www.cantian.ai/\n\n## 何时使用 / When to Use\n\n当用户想要查询八字、命理、四柱、干支等信息时触发此技能。\n\nTrigger this skill when users want to query Bazi, fate analysis, four pillars, or heavenly stems and earthly branches.\n\n**典型触发 / Typical Triggers:**\n\n- \"帮我算一下八字\" / \"Calculate my Bazi\"\n- \"1990 年 5 月 15 日下午 2 点半出生，四柱是什么\" / \"I was born on May 15, 1990 at 2:30 PM, what are my four pillars?\"\n- \"查一下我的命理\" / \"Check my fate\"\n- \"阳历转八字\" / \"Convert solar date to Bazi\"\n\n## 前置依赖 / Prerequisites\n\n首次使用需要在本技能的根目录（SKILL.md 所在目录）安装好依赖。\n\nInstall dependencies in the skill root directory (where SKILL.md is located) before first use.\n\n```bash\nnpm i\n```\n\n## 脚本 / Script\n\n```bash\nnode scripts/buildBaziFromSolar.js <solarTime> [gender] [sect]\n```\n\n## 参数 / Parameters\n\n- `solarTime`（必填/required）：阳历时间，ISO 8601 格式（不带时区），如 `1990-05-15T14:30:00`\n- `gender`（可选/optional）：性别，`1`=男/male，`0`=女/female，默认/default `1`\n- `sect`（可选/optional）：子时配置，`1`=晚子时算明天，`2`=晚子时算当天，默认/default `2`\n\n## 示例 / Examples\n\n```bash\n# 基础用法（默认男性，晚子时算当天）\n# Basic usage (default: male, late Zi hour counts as next day)\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\"\n\n# 指定女性\n# Specify female\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0\n\n# 指定晚子时算明天\n# Specify late Zi hour counts as next day\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0 1\n```\n\n## 注意事项 / Notes\n\n1. **时间格式 / Time Format** - 必须为 ISO 8601 格式，不带时区标识 / Must be ISO 8601 format without timezone\n2. **子时说明 / Zi Hour Note** - 23:00-23:59 出生需明确 `sect` 参数，否则按默认处理 / For births between 23:00-23:59, specify the `sect` parameter, otherwise defaults apply\n\nFile v0.0.3:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.3\",\n  \"publishedAt\": 1772874538679\n}\n\nFile v0.0.3:package.json\n\n{\n  \"private\": true,\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nArchive v0.0.2: 6 files, 2795 bytes\n\nFiles: package.json (79b), scripts/buildBaziFromLunar.js (453b), scripts/buildBaziFromSolar.js (453b), scripts/util.js (817b), SKILL.md (1520b), _meta.json (131b)\n\nFile v0.0.2:SKILL.md\n\n---\nname: bazi\ndescription: 八字排盘技能。根据阳历出生时间计算四柱八字、五行、十神等命理信息。使用场景：用户查询八字、命理分析、四柱排盘、出生时间转换农历/干支。\n---\n\n# 八字排盘 (Bazi)\n\n> 参天 AI · https://www.cantian.ai/\n\n## 何时使用\n\n当用户想要查询八字、命理、四柱、干支等信息时触发此技能。\n\n**典型触发：**\n\n- \"帮我算一下八字\"\n- \"1990 年 5 月 15 日下午 2 点半出生，四柱是什么\"\n- \"查一下我的命理\"\n- \"阳历转八字\"\n\n## 前置依赖\n\n首次使用需要在本技能的根目录（SKILL.md所在目录）安装好依赖\n\n```bash\nnpm i\n```\n\n## 脚本\n\n```bash\nnode scripts/buildBaziFromSolar.js <solarTime> [gender] [sect]\n```\n\n## 参数\n\n- `solarTime`（必填）：阳历时间，ISO 8601 格式（不带时区），如 `1990-05-15T14:30:00`\n- `gender`（可选）：性别，`1`=男，`0`=女，默认 `1`\n- `sect`（可选）：子时配置，`1`=晚子时算明天，`2`=晚子时算当天，默认 `2`\n\n## 示例\n\n```bash\n# 基础用法（默认男性，晚子时算当天）\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\"\n\n# 指定女性\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0\n\n# 指定晚子时算明天\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0 1\n```\n\n## 注意事项\n\n1. **时间格式** - 必须为 ISO 8601 格式，不带时区标识\n2. **子时说明** - 23:00-23:59 出生需明确 `sect` 参数，否则按默认处理\n\nFile v0.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.2\",\n  \"publishedAt\": 1772873288487\n}\n\nFile v0.0.2:package.json\n\n{\n  \"private\": true,\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}\n\nArchive v0.0.1: 6 files, 2743 bytes\n\nFiles: scripts/buildBaziFromLunar.js (453b), scripts/buildBaziFromSolar.js (453b), scripts/package.json (79b), scripts/util.js (817b), SKILL.md (1399b), _meta.json (131b)\n\nFile v0.0.1:SKILL.md\n\n---\nname: bazi\ndescription: 八字排盘技能。根据阳历出生时间计算四柱八字、五行、十神等命理信息。使用场景：用户查询八字、命理分析、四柱排盘、出生时间转换农历/干支。\n---\n\n# 八字排盘 (Bazi)\n\n> 参天 AI · https://www.cantian.ai/\n\n## 何时使用\n\n当用户想要查询八字、命理、四柱、干支等信息时触发此技能。\n\n**典型触发：**\n\n- \"帮我算一下八字\"\n- \"1990 年 5 月 15 日下午 2 点半出生，四柱是什么\"\n- \"查一下我的命理\"\n- \"阳历转八字\"\n\n## 脚本\n\n```bash\nnode scripts/buildBaziFromSolar.js <solarTime> [gender] [sect]\n```\n\n## 参数\n\n- `solarTime`（必填）：阳历时间，ISO 8601 格式（不带时区），如 `1990-05-15T14:30:00`\n- `gender`（可选）：性别，`1`=男，`0`=女，默认 `1`\n- `sect`（可选）：子时配置，`1`=晚子时算明天，`2`=晚子时算当天，默认 `2`\n\n## 示例\n\n```bash\n# 基础用法（默认男性，晚子时算当天）\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\"\n\n# 指定女性\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0\n\n# 指定晚子时算明天\nnode scripts/buildBaziFromSolar.js \"1990-05-15T14:30:00\" 0 1\n```\n\n## 注意事项\n\n1. **时间格式** - 必须为 ISO 8601 格式，不带时区标识\n2. **子时说明** - 23:00-23:59 出生需明确 `sect` 参数，否则按默认处理\n\nFile v0.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.1\",\n  \"publishedAt\": 1772868352692\n}\n\nFile v0.0.1:scripts/package.json\n\n{\n  \"private\": true,\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}","readmeExcerpt":"Skill: Awesome Bazi Calculator - Cantian AI Owner: tianlinle Summary: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Tags: latest:0.0.8 Version history: v0.0.8 | 2026-04-13T08:32:59.825Z | user **Expanded functionality for Bazi range queries and true solar time conversion** - New: Added scripts/convertToT","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"npm i\n\n# 仅在需要兼容运行时安装\n# Install only for fallback mode\nnpm i -D tsx"},{"language":"bash","snippet":"# 推荐方式\nnode scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]"},{"language":"bash","snippet":"# 推荐方式\nnode scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]"},{"language":"bash","snippet":"# 推荐方式\nnode scripts/convertToTrueSolarTime.ts <beijingTime> <longitudeOrCity> [standardLongitude]\n\n# 兼容方式（fallback）\ntsx scripts/convertToTrueSolarTime.ts <beijingTime> <longitudeOrCity> [standardLongitude]"},{"language":"bash","snippet":"# 推荐方式（不传参默认今天）\nnode scripts/getChineseCalendar.ts [date]\n\n# 兼容方式（fallback）\ntsx scripts/getChineseCalendar.ts [date]"},{"language":"bash","snippet":"# 推荐方式\nnode scripts/queryFortuneRange.ts '<json>'\n\n# 兼容方式（fallback）\ntsx scripts/queryFortuneRange.ts '<json>'"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: cantian-bazi\ndescription: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太阳时换算属于辅助能力，仅在需要校时定盘时使用。 / Bazi-first skill for charting, Chinese almanac lookup, and range queries of decade/annual/monthly/daily/hourly luck cycles. Use for requests like “calculate my Bazi”, “convert solar/lunar datetime to Bazi”, “check huangli”, “query next 10 years”, and “check next month daily/hourly cycles”. Keywords focus on Bazi/Four Pillars and fortune-cycle analysis; true-solar-time conversion is an auxiliary step only when time correction is required.\n---\n\n# 八字排盘、黄历与大运流年查询 (Bazi, Calendar & Fortune Range)\n\n## 何时使用 / When to Use\n\n- 用户要根据阳历出生时间计算四柱八字。 / User wants Four Pillars from Gregorian birth datetime.\n- 用户要根据农历出生时间计算四柱八字。 / User wants Four Pillars from lunar birth datetime.\n- 用户要查询某一天对应的农历、干支、宜忌等信息。 / User wants Chinese calendar info for a specific date.\n- 用户要“查黄历”或看某天宜忌。 / User wants almanac-style daily auspicious/inauspicious info.\n- 用户要查询一段时间内的大运、流年、流月、流日或流时。 / User wants decade/annual/monthly/daily/hourly fortune cycles in a time range.\n\n## 前置依赖 / Prerequisites\n\n- 推荐运行环境：Node 24（可直接运行 TypeScript 源码）。 / Recommended runtime: Node 24 (can run TypeScript source directly).\n- 兼容方案：若 Node 版本较低，使用 `tsx` 执行。 / Fallback: use `tsx` on lower Node versions.\n- 执行目录：在 skill 根目录（`SKILL.md` 所在目录）执行以下命令。 / Run commands in the skill root (where `SKILL.md` is located).\n\n```bash\nnpm i\n\n# 仅在需要兼容运行时安装\n# Install only for fallback mode\nnpm i -D tsx\n```\n\n## 脚本清单 / Script Index\n\n- `scripts/buildBaziFromSolar.ts`：根据阳历时间生成八字 Markdown。 / Build Bazi from solar datetime.\n- `scripts/buildBaziFromLunar.ts`：根据农历时间生成八字 Markdown。 / Build Bazi from lunar datetime.\n- `scripts/convertToTrueSolarTime.ts`：将北京时间按经度换算为真太阳时（输出可直接给其它脚本使用）。 / Convert Beijing time to true solar time by longitude.\n- `scripts/getChineseCalendar.ts`：查询指定日期（默认今天）的农历与干支信息。 / Get Chinese calendar for a given date (defaults to today).\n- `scripts/queryFortuneRange.ts`：按时间区间查询大运与流年/流月/流日/流时（流时按时辰段合并）。 / Query decade fortune and annual/monthly/daily/hourly cycles in a time range.\n\n## 脚本与参数 / Scripts & Parameters\n\n### `scripts/buildBaziFromSolar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect]\n```\n\n参数定义 / Parameters:\n\n- `solarTime`（必填 / required）\n  - 格式：ISO 8601 日期时间（不带时区），如 `1990-05-15T14:30:00`\n  - 默认值：无\n  - 非法输入：格式不合法或为空时，由底层解析失败并报错\n- `gender`（可选 / optional）\n  - 取值范围：`1`（男 / male）、`0`（女 / female）\n  - 默认值：`1`\n  - 非法输入：抛错 `性别参数无效。男性传 1，女性传 0。`\n- `sect`（可选 / optional）\n  - 取值范围：`1`（23:00-23:59 视为明天）、`2`（23:00-23:59 视为当天）\n  - 默认值：`2`\n  - 非法输入：抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天，传 2 表示 23:00-23:59 日干支为当天。`\n\n### `scripts/buildBaziFromLunar.ts`\n\n```bash\n# 推荐方式\nnode scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]\n\n# 兼容方式（fallback）\ntsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7fyzqabnv7v6m1gxmv73565h82acv9\",\n  \"slug\": \"cantian-bazi\",\n  \"version\": \"0.0.8\",\n  \"publishedAt\": 1776069179825\n}"},{"path":"skill-card.md","content":"## Description:\n\nProvides Bazi/Four Pillars charting, Chinese almanac lookup, true-solar-time conversion, and decade, annual, monthly, daily, and hourly fortune-cycle range queries for an agent.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[tianlinle](https://clawhub.ai/user/tianlinle)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and agent developers use this skill to answer Bazi/Four Pillars, solar and lunar calendar, huangli, true-solar-time, and fortune-cycle range questions by running local TypeScript scripts.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Installing npm dependencies can execute third-party code during install or runtime.\n\nMitigation: Install only in a restricted project directory after reviewing the dependency set.\n\nRisk: The cantian-tymext dependency is declared as a version range.\n\nMitigation: Pin cantian-tymext to an exact reviewed version and add a package-lock.json before deployment.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/tianlinle/skills/cantian-bazi)\n- [Publisher profile](https://clawhub.ai/user/tianlinle)\n\n## Skill Output:\n\n**Output Type(s):** [Markdown, Text, Shell commands, Guidance]\n\n**Output Format:** [Markdown reports and plain text strings from local TypeScript commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Fortune range outputs expand by requested level; hourly queries are limited to ranges of 62 days or less.]\n\n## Skill Version(s):\n\n0.0.8 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers 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."},{"path":"package.json","content":"{\n  \"private\": true,\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"cantian-tymext\": \"^0.0.26\"\n  }\n}"},{"path":"tsconfig.json","content":"{\n  \"extends\": \"../../tsconfig.base.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist-js\",\n    \"rootDir\": \"scripts\",\n    \"rewriteRelativeImportExtensions\": true\n  }\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Skill: Awesome Bazi Calculator - Cantian AI Owner: tianlinle Summary: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景；关键词包括：八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Tags: latest:0.0.8 Version history: v0.0.8 | 2026-04-13T08:32:59.825Z | user **Expanded functionality for Bazi range queries and true solar time conversion** - New: Added scripts/convertToT","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1341,"uniquenessScore":47,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T11:30:26.104Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T08:56:32.251Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}