← Back to Skills Marketplace
481
Downloads
10
Stars
3
Active Installs
5
Versions
Install in OpenClaw
/install jisu-astro
Description
查十二星座列表与每日/周/月/年运势。当用户说:天蝎座今天运势?双子座本周财运?或类似星座运势问题时,使用本技能。
README (SKILL.md)
\r \r
极速数据星座运势(Jisu Astro)\r
\r
数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。\r \r
前置配置:获取 API Key\r
\r
- 星座列表(
/astro/all):获取 12 星座的 ID、名称、日期范围和图标。\r - 星座运势查询(
/astro/fortune):按星座 ID 和日期查询今日、明日、本周、本月、本年星座运势。\r \r 可用于对话中回答「我是什么座」「今天白羊座运势怎样」「帮我看看这个月的感情/工作运」等问题。\r \r \r
# Linux / macOS\r
export JISU_API_KEY="your_appkey_here"\r
\r
# Windows PowerShell\r
$env:JISU_API_KEY="your_appkey_here"\r
```\r
\r
## 脚本路径\r
\r
脚本文件:`skills/astro/astro.py`\r
\r
## 使用方式与请求参数\r
\r
### 1. 获取星座列表(/astro/all)\r
\r
```bash\r
python3 skills/astro/astro.py all\r
```\r
\r
返回结果示例(节选自 [极速数据文档](https://www.jisuapi.com/api/astro/)):\r
\r
```json\r
[\r
{\r
"astroid": "1",\r
"astroname": "白羊座",\r
"date": "3-21~4-19",\r
"pic": "http://api.jisuapi.com/astro/static/images/baiyang.png"\r
},\r
{\r
"astroid": "2",\r
"astroname": "金牛座",\r
"date": "4-20~5-20",\r
"pic": "http://api.jisuapi.com/astro/static/images/jinniu.png"\r
}\r
]\r
```\r
\r
字段说明:\r
\r
- `astroid`:星座 ID(1–12)\r
- `astroname`:星座名称(如 白羊座、金牛座)\r
- `date`:星座日期范围\r
- `pic`:星座图标地址\r
\r
### 2. 星座运势查询(/astro/fortune)\r
\r
```bash\r
python3 skills/astro/astro.py fortune '{"astroid":1,"date":"2016-01-19"}'\r
```\r
\r
请求 JSON 示例:\r
\r
```json\r
{\r
"astroid": 1,\r
"date": "2016-01-19"\r
}\r
```\r
\r
| 字段名 | 类型 | 必填 | 说明 |\r
|---------|------|------|-------------------------------|\r
| astroid | int | 是 | 星座 ID(1–12) |\r
| date | string | 否 | 日期(`YYYY-MM-DD`),默认今天 |\r
\r
返回结果示例(节选自 [极速数据文档](https://www.jisuapi.com/api/astro/)):\r
\r
```json\r
{\r
"astroid": "1",\r
"astroname": "白羊座",\r
"year": {\r
"date": "2016",\r
"summary": "未来一年将是白羊座历经艰辛终于寻得新的突破的一年。",\r
"money": "上半年收入还算稳定,但也不太会有意料之外的收入,需要花钱的地方倒是不少。",\r
"career": "十月之前,都相对还是白羊座的蛰伏期。",\r
"love": "与事业运类似,今年的桃花运也主要集中在下半年爆发。"\r
},\r
"week": {\r
"date": "2016-01-17~01-23",\r
"money": "偏财机会继续受重视。本职工作收入受压。",\r
"career": "太阳本周转入朋友宫,对事业的执着感下调,会寻觅新的圈子。",\r
"love": "一夜情几率高……",\r
"health": "性能量高强,小心纵欲伤身。",\r
"job": "方向有变,高新行业值得你更多关注。"\r
},\r
"today": {\r
"date": "2016-01-19",\r
"presummary": "你需要思考自身价值观是否符合当下环境。",\r
"star": "处女座",\r
"color": "黄色",\r
"number": "5",\r
"summary": "4",\r
"money": "4",\r
"career": "4",\r
"love": "3",\r
"health": "80%"\r
},\r
"tomorrow": {\r
"date": "2016-01-20",\r
"presummary": "今天你有些悲观哦。",\r
"star": "巨蟹座",\r
"color": "青绿色",\r
"number": "4",\r
"summary": "3",\r
"money": "3",\r
"career": "3",\r
"love": "3",\r
"health": "77%"\r
},\r
"month": {\r
"date": "2016-1",\r
"summary": "本月,事业对你而言是非常重要的。",\r
"money": "火星入资源宫,热烈关注偏财。",\r
"career": "木星上旬开启在工作宫的逆行……",\r
"love": "心灵刹那的触动和性的爆发,高度吻合。"\r
}\r
}\r
```\r
\r
常见字段:\r
\r
- 顶层:`astroid`, `astroname`\r
- `today` / `tomorrow`:`date`, `presummary`, `star`(贵人星座), `color`, `number`, `summary`, `money`, `career`, `love`, `health`\r
- `week` / `month` / `year`:`date`, `summary`, `money`, `career`, `love`, 以及本周的 `job`、`health` 等。\r
\r
脚本不会对内容做拆分或转换,而是原样返回 `result`,方便代理按需挑选段落进行摘要或重写。\r
\r
## 常见错误码\r
\r
来自 [极速数据星座运势文档](https://www.jisuapi.com/api/astro/) 的业务错误码:\r
\r
| 代号 | 说明 |\r
|------|-------------|\r
| 201 | 日期不正确 |\r
| 202 | 星座 ID 不正确 |\r
| 203 | 没有信息 |\r
\r
系统错误码:\r
\r
| 代号 | 说明 |\r
|------|--------------------------|\r
| 101 | APPKEY 为空或不存在 |\r
| 102 | APPKEY 已过期 |\r
| 103 | APPKEY 无请求此数据权限 |\r
| 104 | 请求超过次数限制 |\r
| 105 | IP 被禁止 |\r
| 106 | IP 请求超过限制 |\r
| 107 | 接口维护中 |\r
| 108 | 接口已停用 |\r
\r
## 推荐用法\r
\r
1. 用户提供生日或星座问题:「1995-04-10 是什么座?今天和本周运势如何?」 \r
2. 代理先调用:`astro all` 获取 12 星座的日期范围,基于生日确定用户星座对应的 `astroid`。 \r
3. 然后调用:`astro fortune '{"astroid":1,"date":"2025-03-02"}'` 获取白羊座的今日/本周/本月/本年运势。 \r
4. 从返回结构中选择合适粒度(例如今日 + 本周 + 本月),对 `summary`、`money`、`career`、`love`、`health` 等字段进行整理和摘要,用自然语言给出贴合用户问题的解读。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息 \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测 \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询 \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别 \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令 \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换 \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
Usage Guidance
This skill appears to do exactly what it claims: call JisuAPI to get horoscope data. Before installing: (1) Be aware that your JISU_API_KEY will be sent to api.jisuapi.com when the skill runs — only use a key you trust to share with that service. (2) Ensure the runtime has the Python 'requests' package (pip install requests) since astro.py depends on it but the skill metadata doesn't declare or install it. (3) If you need offline or private data handling, avoid providing your real API key or confirm the provider's data/privacy policies.
Capability Analysis
Type: OpenClaw Skill
Name: jisu-astro
Version: 1.0.4
The skill is a straightforward API wrapper for the JisuAPI horoscope service. The Python script (astro.py) correctly implements the documented functionality, using the 'requests' library to fetch constellation data and fortunes without any signs of malicious behavior, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the actual behavior: the skill queries JisuAPI horoscope endpoints and only requires python3 and a JISU_API_KEY, which are appropriate for this purpose.
Instruction Scope
SKILL.md and astro.py limit actions to calling JisuAPI endpoints (/astro/all and /astro/fortune) and returning the API result. Instructions require the API key and show how to call the script; they do not request unrelated files, other credentials, or unexpected external endpoints.
Install Mechanism
No install spec (instruction-only) which is low risk. One practical inconsistency: astro.py imports the Python 'requests' package but the metadata does not declare or install this dependency — the runtime will fail unless 'requests' is present. This is an engineering oversight, not a malicious indicator.
Credentials
Only JISU_API_KEY is required and that is the legitimate API credential needed to call the JisuAPI service. There are no unrelated credentials or broad environment/config path requests.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system config, and is invoked only when the user/agent chooses it. Normal autonomous invocation is allowed but not excessive here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jisu-astro - After installation, invoke the skill by name or use
/jisu-astro - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Updated the SKILL.md documentation with a clearer name and improved description for broader discoverability.
- Enhanced instructions for obtaining and configuring the API Key, including explicit registration and application steps.
- Added an introduction to the data provider (极速数据/JisuAPI) and its general API offerings.
- Reorganized and clarified example usage and parameters for ease of understanding.
- Kept all technical details and request/response formats unchanged; no code changes were made.
v1.0.3
- No changes detected in this version; content and functionality remain the same.
- Version bump to 1.0.3 recorded without file updates.
v1.0.2
- No file changes detected in this version.
- Documentation contents remain the same as the previous version.
- No functional updates or visible modifications included.
v1.0.1
- 文档中的「官方文档」描述统一修改为「极速数据文档」或「极速数据星座运势文档」,以表述更精确。
- 其他内容、接口和用法无变化。
v1.0.0
Version 1.0.0
- Migrated to a new implementation based on Jisu Astro API for querying Chinese zodiac fortune and lists.
- Added Python script astro.py for querying zodiac list and horoscopes by date and ID.
- Removed previous multilingual static site (Astro/Cloudflare) scripts and metadata.
- Updated documentation to reflect the new API usage, environment variable configuration, and error codes.
Metadata
Frequently Asked Questions
What is Star Sign / Horoscope Inquiry - 星座运势查询?
查十二星座列表与每日/周/月/年运势。当用户说:天蝎座今天运势?双子座本周财运?或类似星座运势问题时,使用本技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 481 downloads so far.
How do I install Star Sign / Horoscope Inquiry - 星座运势查询?
Run "/install jisu-astro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Star Sign / Horoscope Inquiry - 星座运势查询 free?
Yes, Star Sign / Horoscope Inquiry - 星座运势查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Star Sign / Horoscope Inquiry - 星座运势查询 support?
Star Sign / Horoscope Inquiry - 星座运势查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Star Sign / Horoscope Inquiry - 星座运势查询?
It is built and maintained by 极速数据 (@jisuapi); the current version is v1.0.4.
More Skills