yunqi-calc

yunqi-calc is a skill for Claude Code from dhicoc/wuyun-liuqi-skills. It costs 96 tokens per session (1,013 once invoked), scanned A, original, MIT.

A calculation tool for the traditional Chinese medical system called 五运六气, which links a year’s heavenly stem and earthly branch to seasonal and environmental patterns. It calculates the system’s yearly cycles, influences, relationships, and named combinations.

In plain words
What is it for?
Use it to calculate the 五运六气 pattern for a given year, including the year name, major cycles, seasonal influences, and their interactions. The results can support academic study, calendars, or later analysis.
Why use it?
It removes the need to work through several calendar and relationship rules by hand. It also provides a traceable sequence of calculations for checking the result.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wuyun-liuqi-skills plugin — 38 skills shipped together

Good fit Use it to calculate the 五运六气 pattern for a given year, including the year name, major cycles, seasonal influences, and their interactions. The results can support academic study, calendars, or later analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dhicoc/wuyun-liuqi-skills/yunqi-calc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dhicoc/wuyun-liuqi-skills --skill yunqi-calc
Clone the repo
git clone --depth 1 https://github.com/dhicoc/wuyun-liuqi-skills

Made for: Claude Code.

Or install wuyun-liuqi-skills, the plugin that ships this one along with the rest of its 38 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yunqi-calc

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc/github.svg)](https://agentmods.dev/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc)
Your own site
<a href="https://agentmods.dev/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc"><img src="https://agentmods.dev/badge/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yunqi-calc

Your own site · 80×15
<a href="https://agentmods.dev/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc"><img src="https://agentmods.dev/badge/skills/dhicoc/wuyun-liuqi-skills/yunqi-calc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,013 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01013
Opus 5 $0.00048 $0.00507
Sonnet 5 $0.00019 $0.00203
Haiku 4.5 $0.00010 $0.00101

Measured 12d ago against content hash 1963bb53e6bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

yunqi-calc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

modules/yunqi-calc/SKILL.md · 84 lines

What it actually says

运气推算核心子技能

适用范围

  • 根据公历年份推算五运六气全套参数
  • 大运太过不及判断及平气分析
  • 主运五步与客运五步排列
  • 司天在泉推算及客气六步排列
  • 主气六步固定排列
  • 客主加临顺逆分析
  • 运气同化判断(天符、岁会、太一天符)
  • 为病机分析和临床方案提供运气基础数据

脚本依赖

脚本 用途 必需
calculate_yunqi_api.py 统一推算:干支/大运/主运客运/司天在泉/客主加临,单次返回全部域

推荐工作流

Step 1/5: 干支推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取该年的天干地支(year_gz)

Step 2/5: 大运推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取大运五行、太过不及判断(sui_yun)

Step 3/5: 六气推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取司天在泉及客气六步排列(si_tian / zai_quan / ke_qi_six_steps)

Step 4/5: 客主加临 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取六步客主加临顺逆分析(ke_zhu_jia_lin)

Step 5/5: 运气同化判断 ACT: 查 references/yunqi_tonghua.md 判断天符/岁会/太一天符

常见误区

问题 原因 解决方案
大运太过不及判断错误 阳干太过阴干不及 查 references/taiguo_buji.md
客气初气定错 客气初气取决于司天位置 查 references/zhuqi_keqi.md
司天在泉配对错误 不是简单的五行相克关系 查 references/sitian_zaiquan.md
客主加临顺逆判断错误 需按五行生克关系判断 查 references/kezhujialin.md

输出要求

  • 明确标注年份及对应干支
  • 大运需标注五行属性及太过/不及/平气
  • 主运五步和客运五步需标注太少
  • 司天在泉需标注六气名称
  • 客气六步需按初气至终气顺序排列
  • 客主加临需逐步标注顺逆及五行生克关系
  • 运气同化需标注天符/岁会/太一天符(若有)
  • 所有推算结果应可追溯至参考文档

路由上下文

  • 上游入口: SKILL.md, routing.yaml
  • 下游出口: 病机分析→modules/yunqi-pathogenesis/; 临床方案→modules/yunqi-clinical/
  • 同级关联: 干支基础→modules/ganzhi-basics/

ACTION REQUIRED

  • 确认输入年份为公历纪年
  • 确认所有脚本依赖已安装且可执行
  • 确认参考文档目录结构完整

任务完成自检

  • 干支推算结果已输出
  • 大运太过不及已判断
  • 主运客运五步已排列
  • 司天在泉已推算
  • 客气主气六步已排列
  • 客主加临顺逆已分析
  • 运气同化已判断
  • 所有结果可追溯至参考文档
Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 84 lines · 96 tokens per session scan A 1963bb53e6bc

Subscribe to this mod's changes

yunqi-calc is a skill published in the GitHub repository dhicoc/wuyun-liuqi-skills (42 stars, last pushed 27d ago), licensed MIT. It adds 96 tokens to every session and 1,013 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens