Astro Claude, for the seeker โ a free, guided Vedic-astrology reader. It asks your name, birth details, and a couple of life questions, then gives one warm, plain-language reading with real depth: where you are in life now, your career and whether you'll thrive away from your birthplace, a good time to take a new job, which gemstones to wear vs. avoid for your ascendant, and whether you can wear a Rudraksha โ every point backed by the astrological reasoning, with planets named in Hindi.
Offline Vedic / Hindu astrology and numerology skills for Claude Code. Read today's sky (panchang + how every planet is aligned now), cast a birth chart, compute dasha periods, generate the daily panchang (with Rahu Kaal & sunrise), detect classical yogas, score planetary strength (Ashtakavarga + Shadbala), match horoscopes (36-point Guna Milan), scan for doshas (Manglik, Kaal Sarpa), and run a full numerology profile โ entirely on your machine, with no API keys and no network calls.
This repo ships two sibling skills: vedic-astrology/ (ephemeris-based) and
numerology/ (pure arithmetic), plus a bundled offline city geocoder.
All planetary math is done with the Swiss Ephemeris in sidereal (Vedic) mode, using the Lahiri ayanamsa by default.
โ ๏ธ For cultural, educational, and entertainment use only. Vedic astrology is not a scientifically validated predictive method. Do not use it for medical, financial, legal, or other consequential decisions.
| Command | What it computes |
|---|---|
Astro Claude (astro_claude.py) |
The guided seeker's reading โ opens with today's Panchang + how the stars are aligned today, then name + age + life stage, career & working-away-from-home analysis, a good time to join a job, gemstone WEAR/AVOID for your Lagna, and Rudraksha advice โ all reasoned, Hindi planet names |
Full report (full_report.py) |
A single shareable PDF (via fpdf2) or HTML bundling the whole reading โ opens with today's Panchang + sky alignment โ plus birth-chart table + South/North Indian kundli diagram |
Kundli (kundli.py) |
D1 Rashi chart โ sidereal positions, signs, whole-sign houses, Lagna, nakshatra + pada, D9 navamsa, dignity, vargottama & combustion flags, retrogrades |
Vimshottari Dasha (dasha.py) |
120-year Mahadasha / Antardasha / Pratyantardasha timeline from the Moon's nakshatra |
Yogini Dasha (dasha_yogini.py) |
The 36-year, 8-Yogini cycle (MangalaโฆSankata) with antardashas โ a companion timing system to cross-read against Vimshottari |
Dasha Effects (dasha_predict.py) |
Chart-aware interpretation of the currently running period โ effects on daily life, mind, career, money, marriage, health, family, enemies, education & spirituality. Personalised by house placement, lordship, dignity, combustion & the MahaโAntar relationship |
Today's Sky (sky.py) |
The opening view โ today's Panchang + a detailed read of how every graha is aligned now (sign, nakshatra, retrograde, combustion, conjunctions, slow-mover backdrop). No birth chart needed; optionally personalised (house-from-Moon + Sade Sati) |
Panchang (panchang.py) |
The five limbs (Tithi, Nakshatra, Yoga, Karana, sunrise-based Vara) plus sunrise/sunset, Rahu Kaal, Yamaganda, Gulika, Abhijit muhurta |
Yogas (yogas.py) |
Aspect-aware detection (Vedic drishti, not just conjunction) across the major families: Gajakesari, Budhaditya, Chandra-Mangala, the five Pancha Mahapurusha, Raja, Dhana, the lunar yogas (Sunapha/Anapha/Durudhara/Kemadruma), Adhi, Amala, Vipareeta Raja, Neecha Bhanga, Parivartana, Daridra, Shakata, and the Nabhasa Sankhya/Ashraya yogas |
Strength (strength.py) |
Ashtakavarga (BAV + SAV, verified to 337) and the complete six-fold Shadbala (Sthana, Dig, Kala, Cheshta, Naisargika, Drik โ every source computed, methods documented) |
Vargas (varga.py) |
Full Shodasavarga (16 divisional charts) โ D9 marriage, D10 career, D7 children, D2 wealth, D24 education, D30 adversity, D60 โ plus cross-varga dignity counts & strength, and 4 optional non-classical divisions (D5/D6/D8/D11, clearly labelled) |
Transits (gochar.py) |
Gochar from the natal Moon, Sade Sati & Dhaiya detection, slow-planet transits, and transit graded by natal Ashtakavarga bindus |
Bhava report (houses.py) |
House-by-house: sign, lord + lord's placement/dignity, occupants with a Graha-in-Bhava reading for each (all 9 planets ร 12 houses), aspecting planets, and natural karaka |
Rectification (rectify.py) |
Birth-time rectification by event-fitting โ ranks candidate times against your dated life events (dasha + transit fit) and scans Lagna-sensitivity. Honest best-fit, never an "exact" calculation |
Remedies (remedies.py) |
Traditional upaya (deity, mantra, gemstone, charity) for the dasha lord + weak/afflicted planets โ cultural only, clearly disclaimed |
Mantra guidance (mantra.py) |
Goal-specific mantras (wealth, success, marriage, health, education, children, protection, peace, spirituality) โ a deity mantra + the chart's planetary beej mantra (strengthen/pacify) with weekday & japa count |
Chart diagram (chart.py) |
ASCII North-Indian (diamond) & South-Indian (grid) kundli for any varga |
Matching (matching.py) |
Guna Milan (36-point Ashtakoot), Manglik (Mangal Dosha), Kaal Sarpa Dosha |
Geocoder (geocode.py) |
Offline city โ latitude / longitude / IANA timezone (bundled GeoNames dataset) |
Muhurta (muhurta.py) |
Electional timing โ ranks the best days in a range for marriage, business, vehicle, house, travel, contracts, surgeryโฆ by vara/tithi/nakshatra/yoga/karana (+ Tara & Chandra Bala with birth), Abhijit window, Rahu-Kaal avoid |
Avoid / don'ts (avoid.py) |
What NOT to do today or across a week โ Rahu Kaal/Yamaganda/Gulika windows, Vishti (Bhadra), Rikta tithi & Amavasya, harsh yogas, tikshna nakshatras, Panchak, Disha Shool (direction not to travel), and โ with birth โ Chandrashtama & weak Tara/Chandra Bala, each mapped to concrete "refrain fromโฆ" actions |
Lucky profile (lucky.py) |
Lucky day, colour, number, direction, metal, gem & deity from your Lagna lord, Moon lord, yogakaraka + Moolank |
Answer Book (references/answer-book.md) |
Routes every seeker question (career, money, marriage, children, health, timing, legalโฆ) to the right tool and the chart factor behind the answer |
Numerology (numerology/) |
Moolank, Bhagyank, Naamank (Chaldean + Pythagorean), name trinity (Expression / Soul Urge / Personality) + Maturity, Karmic Debt & Lessons, Lo Shu grid, Pinnacles & Challenges, personal year/month/day, two-person compatibility, lucky mobile/house/vehicle/business-name checker, name-correction hints |
Yantra (numerology/yantra.py) |
Magic-square yantras as text, JSON & printable SVG โ personalised 4ร4 birth yantra, the nine Navagraha planetary yantras (with bija mantras), and custom-number squares, plus a plain-language how to use a yantra guide |
Configurable ayanamsa (Lahiri / Raman / KP / Yukteshwar / Fagan-Bradley), house system (Whole Sign / Placidus / Equal), node (mean / true), and topocentric positions by default (geocentric optional).
Copy the vedic-astrology/ folder into your Claude Code skills directory:
git clone https://github.com/samarth1106/vedic-astrology-skill.git
cp -r vedic-astrology-skill/vedic-astrology ~/.claude/skills/(Or, for a single project, drop it in .claude/skills/ inside that project.)
cd ~/.claude/skills/vedic-astrology
pip install -r requirements.txt # pyswisseph + pytzThat's it. The skill activates automatically when you ask Claude about a kundli, horoscope, dasha, panchang, etc.
cd vedic-astrology/scripts
python3 kundli.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata
python3 dasha.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --levels 2
python3 dasha_yogini.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --levels 2
python3 dasha_predict.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --on 2026-06-04
python3 varga.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --charts D9,D10
python3 gochar.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --on 2026-06-04
python3 houses.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --house 10
python3 remedies.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata
python3 chart.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --style both --varga D1
python3 rectify.py --date 1990-08-15 --approx-time 14:30 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --window 90 --step 3 --event 2015-06-20:marriage --event 2018-03-10:child
python3 panchang.py --date 2026-06-04 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata
python3 avoid.py --date 2026-06-08 --days 7 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata --birth-date 1990-08-15 --birth-time 14:30:00
python3 sky.py --date 2026-06-04 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata
python3 yogas.py --date 1990-08-15 --time 14:30:00 --lat 28.6139 --lon 77.2090 --tz Asia/Kolkata
# add --json to any command for machine-readable outputOnce installed, just ask naturally:
"Cast my kundli โ born 15 Aug 1990, 2:30 PM, in New Delhi."
"What's my current Vimshottari dasha?"
"I'm in MercuryโVenus dasha โ how will it affect my career, money, and marriage?"
"Am I going through Sade Sati right now? What are the transits doing?"
"Show my D10 career chart and read my 10th house."
"Draw my kundli in North Indian style."
"How are the stars aligned today? Give me today's sky and panchang."
"Give me today's panchang for Mumbai."
"Which yogas are in this chart?"
Claude will ask for any missing birth details (it needs date, exact local time, latitude, longitude, and IANA timezone) and then run the right script.
| Input | Format | Example | Notes |
|---|---|---|---|
| Date | YYYY-MM-DD |
1990-08-15 |
Local birth date |
| Time | HH:MM[:SS] (24h) |
14:30:00 |
Local clock time at the birthplace. The ascendant moves ~1ยฐ every 4 minutes, so accuracy matters. |
| Latitude | decimal degrees | 28.6139 |
North positive |
| Longitude | decimal degrees | 77.2090 |
East positive, West negative |
| Timezone | IANA name | Asia/Kolkata |
Not a numeric offset like +5:30 |
Unknown birth time? The Moon sign, dasha, and houses become unreliable. Use a
noon default only for sign-level information, and treat the Lagna/houses as invalid.
If you know roughly when you were born and have a few dated life events, try
rectify.py โ it ranks candidate times by how well each fits those events
(a best-fit estimate, not a guarantee).
vedic-astrology-skill/ # git repo (push this)
โโโ README.md LICENSE NOTICE .gitignore
โโโ examples/sample-output.md
โโโ tests/test_cli.py # golden-value regression suite
โโโ .github/workflows/ci.yml # CI: pytest on py3.10โ3.12
โโโ vedic-astrology/ # SKILL 1 โ copy into ~/.claude/skills/
โ โโโ SKILL.md
โ โโโ requirements.txt # pyswisseph, pytz
โ โโโ data/cities.csv # bundled GeoNames geocoder dataset
โ โโโ scripts/
โ โ โโโ core.py # the ONLY place Swiss Ephemeris is configured
โ โ โโโ astro_claude.py # Astro Claude โ the guided seeker's reading
โ โ โโโ full_report.py # shareable PDF/HTML report
โ โ โโโ kundli.py dasha.py dasha_yogini.py dasha_predict.py panchang.py yogas.py
โ โ โโโ lucky.py mantra.py muhurta.py avoid.py
โ โ โโโ sky.py # Today's Sky โ panchang + planetary alignment (opening view)
โ โ โโโ strength.py # Ashtakavarga + Shadbala
โ โ โโโ varga.py # 16 Shodasavarga + 4 extra divisions + cross-varga strength
โ โ โโโ gochar.py # transits + Sade Sati
โ โ โโโ houses.py # bhava (house-by-house) report
โ โ โโโ remedies.py # traditional upaya (cultural only)
โ โ โโโ chart.py # North/South Indian ASCII chart
โ โ โโโ rectify.py # birth-time rectification by event-fitting
โ โ โโโ matching.py # Guna Milan + doshas
โ โ โโโ geocode.py # offline city lookup
โ โโโ references/ # answer-book, astro-claude, dasha-effects, gochar,
โ # interpretation, nakshatras, vargas, yogas
โโโ numerology/ # SKILL 2 โ stdlib only, no ephemeris
โโโ SKILL.md
โโโ scripts/numerology.py
โโโ scripts/yantra.py # magic-square yantras (text / JSON / SVG)
โโโ references/
โโโ numbers.md
โโโ yantra.md # what a yantra is + how to use one
pip install pytest
pytest -q # 68 golden-value checks (SAV=337, BAV totals, dasha closure,
# sign placements, Guna Milan bounds, weekday, geocoderโฆ)CI runs the suite on Python 3.10โ3.12 on every push and PR.
core.pyowns the engine. Sidereal mode, ayanamsa, planet IDs, nakshatra and dasha constants, and localโUT time conversion all live in one file. It uses the built-in Moshier ephemeris, so no large.se1data files are needed.- Longitudes are sidereal. Tithi uses the MoonโSun difference (ayanamsa-independent); nakshatra and yoga use sidereal longitudes (ayanamsa-dependent).
- Ketu = Rahu + 180ยฐ; Rahu uses the mean lunar node.
- Yoga detection now spans the major families but is still not exhaustive
(the Nabhasa Akriti/Dala yogas and many nakshatra/varga yogas remain) โ see
references/yogas.md. - Panchang elements change through the day; the tool reports values at the given clock time. Vara (weekday) uses the civil date (Vedic days run sunrise-to-sunrise).
- Divisional charts (the 16 Shodasavarga, plus 4 optional non-classical extras D5/D6/D8/D11), today's-sky panchang/alignment, Ashtakavarga, transits/gochar, Sade Sati, bhava analysis, remedies, chart diagrams, and the complete six-fold Shadbala are now included. Still not covered: Jaimini Chara dasha, KP sub-lords, and Varshaphal (annual chart).
- The
varga.pyVargaBala % is the skill's own transparent dignity score, not the classical Vimshopaka โ seereferences/vargas.md. The exact own/exalted/debilitated counts are the reliable figures. remedies.pyis traditional/cultural only โ not advice, no demonstrated effect; never buy gemstones on its basis.
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) โ see
LICENSE.
Why AGPL and not MIT? This skill depends on the Swiss Ephemeris, which is
dual-licensed under AGPL-3.0 or a paid commercial license. To stay
license-compatible, this project is AGPL-3.0. If you want to use it in a
closed-source or commercial product without AGPL obligations, obtain a
Swiss Ephemeris Professional License
from Astrodienst AG. See NOTICE for full attribution.
This licensing summary is provided in good faith and is not legal advice.
- Swiss Ephemeris by Astrodienst AG
- pyswisseph Python binding
- The Lahiri ayanamsa follows the Indian government's Rashtriya Panchang standard.
Issues and PRs welcome โ especially additional yogas, divisional charts, and sunrise-accurate panchang. By contributing you agree your contributions are licensed under AGPL-3.0.