3109
Programming

New AI Plugin 'Destiny' Brings Ancient East Asian Astrology to Claude Code

Posted by u/Codeh3 Stack · 2026-05-01 23:03:35

Breaking: AI-Powered Fortune-Telling Plugin Goes Viral on Hacker News

A newly released plugin for Claude Code, called Destiny, is generating buzz among developers for delivering personalized fortune readings based on classical East Asian astrology. The tool, which appeared on Hacker News earlier today, combines a deterministic Python script with Claude's prose generation to produce daily readings that its creator claims are both verifiable and non-hallucinatory.

New AI Plugin 'Destiny' Brings Ancient East Asian Astrology to Claude Code
Source: hnrss.org

"We wanted to show that AI can augment traditional systems without inventing facts," said the developer, who posted the project on Hacker News under the handle Show HN. "The numbers are fixed—anyone can check them against a traditional calendar. Claude only writes the interpretation."

How It Works: Two Layers of Truth

Destiny operates in two distinct layers. First, a Python script computes the user's eight-character birth chart, today's day pillar, the hexagram for the moment, and five-element relationships. This output is deterministic—the same person on the same day always gets identical numbers, verifiable against any standard East Asian almanac.

"Layer one is pure arithmetic," the developer explained. "It's like calculating a cryptographic hash—no room for error or randomness."

Second, Claude applies centuries-old astrological reading conventions to that fixed data, generating prose for today's stars, character sketches, life arcs, and advice. The developer emphasizes this is not an LLM-hallucinated horoscope but a systematic application of traditional rules.

Real-Time Usage: Type /destiny for Today's Reading

Users simply type /destiny within Claude Code after entering their birthday once. The plugin instantly returns a formatted reading that combines computational astrology with AI-written narrative. According to the Hacker News thread, the project has already garnered 38 points and 31 comments within hours of posting.

Background: East Asian Astrology Meets Modern AI

Classical East Asian astrology—rooted in the Chinese Ba Zi (eight characters) system—uses a person's birth year, month, day, and hour to derive four pairs of Heavenly Stems and Earthly Branches. These eight characters determine fortune through interactions with the current day's pillar and five-element cycles. Destiny automates this ancient calculation, previously the domain of trained astrologers, using open-source calendrical data.

The developer notes that while similar tools exist in the West, most rely on generic sun signs or purely random outputs. "Destiny is unique because it respects the actual system—no simplification, no made-up planet positions," the post states.

New AI Plugin 'Destiny' Brings Ancient East Asian Astrology to Claude Code
Source: hnrss.org

What This Means: A Template for Verifiable AI Applications

Destiny's approach could serve as a blueprint for other domains where AI must balance creativity with factual accuracy. By separating fixed computations from interpretive prose, the plugin demonstrates how large language models can enhance—rather than fabricate—specialized knowledge.

"This is a proof of concept," a commenter on Hacker News noted. "Imagine applying this to medical diagnostics or legal advice: you have a deterministic core (lab results, statute text) and an AI layer that explains it within strict guidelines."

The project also raises questions about the boundaries of AI creativity. While the prose is generated, its constraints ensure that readings remain grounded in tradition rather than trending on whims. "The stars may be aligned for Destiny to inspire a new category of 'constrained generative AI,'" said an astrological software engineer who reviewed the code.

Reception and Call to Action

The Hacker News community has reacted with curiosity and cautious excitement. Some users praised the technical execution, while others debated the philosophical implications of automating fortune-telling. The developer has invited verification: "Check the numbers against any traditional calendar source—they will match. The prose is where the art comes in."

Those interested can try Destiny by installing it as a Claude Code plugin. The developer, in a nod to open-source culture, added: "If you have fun with it, a star would mean a lot."

Technical Details and Links

  • Plugin name: Destiny for Claude Code
  • Action: Type /destiny after setting birth date
  • Underlying system: Ba Zi with five-element relationships
  • Verification source: Traditional East Asian calendar (see background section)