# Send Astrology API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "astroapi-skill",
    "name": "Astrology API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/serslon/astroapi-skill",
    "canonicalUrl": "https://clawhub.ai/serslon/astroapi-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/astroapi-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astroapi-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/api-endpoints.md",
      "references/use-cases.md",
      "scripts/astro-api.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "astroapi-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T04:41:25.638Z",
      "expiresAt": "2026-05-07T04:41:25.638Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astroapi-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astroapi-skill",
        "contentDisposition": "attachment; filename=\"astroapi-skill-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "astroapi-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/astroapi-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/astroapi-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/astroapi-skill",
    "agentUrl": "https://openagent3.xyz/skills/astroapi-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astroapi-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astroapi-skill/agent.md"
  }
}
```
## Documentation

### When to Use

Use this skill when the user asks about:

Birth charts, natal charts, horoscopes
Zodiac compatibility, synastry, relationship analysis
Planetary positions, transits, aspects
Moon phases, lunar metrics, void of course
Solar/lunar returns, progressions, directions
Tarot card readings, spreads, interpretations
Numerology (core numbers, compatibility, comprehensive)
Vedic astrology (kundli, doshas, dashas, panchang)
Chinese astrology (bazi, ming gua, feng shui)
Human design (bodygraph, type, channels, gates)
Kabbalah (tree of life, birth angels, gematria)
Astrocartography (relocation, power zones, lines)
Fixed stars (positions, conjunctions)
Eclipses (upcoming, natal impact)
Palmistry (palm analysis, reading)
Daily/weekly/monthly/yearly horoscopes
Career, health, spiritual, psychological analysis
Chart rendering (SVG, PNG images)

### Prerequisites

Before making any API call, verify:

$ASTROLOGY_API_KEY environment variable is set
curl is available on PATH

If the API key is missing, ask the user to set it:

export ASTROLOGY_API_KEY="your_token_here"

### How It Works

Gather data from the user depending on the request type:

For natal/personal: name, birth date (year, month, day), birth time (hour, minute), birth city + country code (2-letter ISO)
For synastry/compatibility: birth data for TWO people
For transits: natal data + transit date/time
For horoscopes by sign: just the zodiac sign name
For tarot: question or spread type
For numerology: full name + birth date



Call the API using {baseDir}/scripts/astro-api.sh:
bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{ ... }'



Present results in a human-friendly format, highlighting key findings.

### Natal Chart (most common)

bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "options": {
    "house_system": "P",
    "zodiac_type": "Tropic",
    "language": "EN"
  }
}'

### Synastry (compatibility)

bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/synastry '{
  "subject": {
    "name": "Person A",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "partner": {
    "name": "Person B",
    "year": 1992, "month": 7, "day": 20,
    "hour": 9, "minute": 0, "second": 0,
    "city": "London", "country_code": "GB"
  },
  "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'

### Transit Snapshot

bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/transit '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "transit": {
    "year": 2026, "month": 2, "day": 12,
    "hour": 12, "minute": 0, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'

### Current Sky Data (no parameters needed)

bash {baseDir}/scripts/astro-api.sh GET /api/v3/data/now

### Planetary Positions

bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/positions '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "options": {"house_system": "P", "zodiac_type": "Tropic"}
}'

### Lunar Metrics

bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/lunar-metrics '{
  "subject": {
    "name": "now",
    "year": 2026, "month": 2, "day": 12,
    "hour": 12, "minute": 0, "second": 0,
    "city": "New York", "country_code": "US"
  }
}'

### Daily Horoscope by Sign

bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/sign/daily '{
  "sign": "aries",
  "language": "EN"
}'

### Personal Daily Horoscope

bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/personal/daily '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "language": "EN"
}'

### Natal Analysis Report (AI-generated interpretation)

bash {baseDir}/scripts/astro-api.sh POST /api/v3/analysis/natal-report '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'

### Render Chart as SVG

bash {baseDir}/scripts/astro-api.sh POST /api/v3/svg/natal '{
  "subject": {
    "name": "John",
    "year": 1990, "month": 3, "day": 15,
    "hour": 14, "minute": 30, "second": 0,
    "city": "New York", "country_code": "US"
  },
  "options": {"house_system": "P", "zodiac_type": "Tropic"}
}'

### Tarot Card Draw

bash {baseDir}/scripts/astro-api.sh POST /api/v3/tarot/cards/draw '{
  "count": 3
}'

### Numerology Core Numbers

bash {baseDir}/scripts/astro-api.sh POST /api/v3/numerology/core-numbers '{
  "full_name": "John Smith",
  "birth_date": "1990-03-15"
}'

Full endpoint reference: Read {baseDir}/references/api-endpoints.md for all 190+ endpoints with detailed parameters.

### Default Options

When the user doesn't specify preferences, use these defaults:

House system: P (Placidus) — most common in Western astrology
Zodiac type: Tropic (Tropical) — Western standard
Language: EN (English) — override based on user's language
Tradition: universal — broadest coverage

### Output Format

When presenting results to the user:

Start with the highlights: Sun sign, Moon sign, Ascendant (Rising)
Use plain language — translate astrological jargon
Format positions as tables when showing multiple planets
Highlight notable aspects (conjunctions, oppositions, squares, trines)
For compatibility: lead with the overall score/summary
For horoscopes: present the text naturally, don't dump raw JSON
For chart images (SVG/render): save to a file and inform the user

### Edge Cases

Birth time unknown: Use noon (12:00) and note that house positions and Moon degree may be less accurate
City not found: Ask for latitude/longitude instead. Use latitude and longitude fields instead of city/country_code
API errors (400/422): Parse the error message and explain to the user what's wrong (e.g., invalid date, missing field)
Large responses: For analysis reports, summarize the key points rather than showing everything
Language support: The API supports EN, RU, FR, DE, ES, IT, PT, and more — match the user's language when possible
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: serslon
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T04:41:25.638Z
- Expires at: 2026-05-07T04:41:25.638Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/astroapi-skill)
- [Send to Agent page](https://openagent3.xyz/skills/astroapi-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/astroapi-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/astroapi-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/astroapi-skill)