Qimen Dunjia

Casts a Qimen Dunjia chart for one specific question with a calculation script, then reads it for timing and direction, in Chinese.

Productivity & Lifeqimen dunjiadivinationchinese metaphysicschineseby FANzR-arch1.6kGitHub

What it is

A Chinese divination skill for people who want to consult Qimen Dunjia (奇门遁甲), a traditional system that builds a nine-palace chart for a moment in time to judge one specific matter: whether it will work out, when to act, which direction is better and what to avoid. It works in Chinese and is written for ordinary questioners rather than practitioners. If you only want to learn, it also explains the theory, chart patterns and worked examples.

The difference from asking an AI directly is that the chart is calculated, not guessed. Before casting, it interviews you: what the matter is, which moment to use, your city, what you most want to know and how far things have progressed. A bundled Python script then computes the chart under one fixed rule set (time-based rotating-plate Qimen, Beijing time by default), including the yin or yang cycle, the chart number, the empty branches, the duty star and door, and detected auspicious and inauspicious patterns. The AI must read from that output and never calculate by hand.

Readings follow a fixed order: confirmed details, rules used, chart summary, the key indicator chosen for your kind of question and why, the core judgment, advice on direction and timing, and a risk reminder. It avoids frightening language, adds a reminder to consult doctors, lawyers or financial advisers on serious matters, and gently discourages asking the same question twice. It supports only this one school of rules; if you want another, it says so and offers theory only.

What it can do

  • Interviews you in two rounds about the matter, time, place and goal before casting any chart.
  • Calculates the full nine-palace chart with a Python script, including solar terms, cycles and the chart number.
  • Detects patterns such as oppressed doors and lucky stems paired with good doors, and flags boundary warnings.
  • Picks the key indicator for career, money, relationships, exams, health, travel, disputes or lost items.
  • Turns the chart into advice on timing, favourable directions and what to secure before acting.
  • Teaches concepts, chart patterns and worked examples when you only want to learn.

When to use it

  • You are deciding whether to change jobs this spring and want a Qimen reading on whether and when to move.
  • You have an important meeting or contract signing and want to know which direction and time look better.
  • You are learning Qimen Dunjia and want correctly calculated charts with explanations to study from.
  • You live outside mainland China and want a chart cast for your own city and time zone.

How it works

  1. 1Asks what you want to look at, the time, your city, what you want to judge, how far things have got and how detailed the answer should be.
  2. 2Follows up on missing details such as the exact hour, a lunar leap month or your time zone, and does not cast until everything is clear.
  3. 3Writes your answers into an input file and runs its Python charting script under the default rule set.
  4. 4Reads the script's output, picks the key indicator for your question and checks the patterns it detected.
  5. 5Delivers the reading in a fixed seven-part structure that ends with practical advice and a disclaimer.

Try asking

“Use Qimen Dunjia to see whether I should change jobs now. I'm in Shanghai.”
“Cast a Qimen chart for signing a contract tomorrow at 10am. Which direction is favourable?”
“Explain how Qimen Dunjia picks the key indicator for a money question”
“I'm in London. Can you do a Qimen reading for a business trip next week?”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/FANzR-arch/Numerologist_skills/tree/main/qimen-dunjia
pnpm
pnpm dlx skills add https://github.com/FANzR-arch/Numerologist_skills/tree/main/qimen-dunjia

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the qimen-dunjia folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/FANzR-arch/Numerologist_skills.git
mkdir -p ~/.claude/skills
cp -r Numerologist_skills/qimen-dunjia ~/.claude/skills/qimen-dunjia

Then just ask in plain language, for example: “Use Qimen Dunjia to see whether I should change jobs now. I'm in Shanghai.”