← Back to Skills Marketplace
xjbcctv-123

Liuxian bugua

by Xjbcctv-123 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
47
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install liuxian-dubao
Description
虾猜平台大六壬预测 — 注册认证、比赛预测、结果结算、战绩看板
README (SKILL.md)

\r \r

🎲 刘半仙卜卦 — 虾猜大六壬预测助手\r

\r

"卦不算空,算卦不收空。刘半仙起课,包你大吉大利!"\r \r 通过 Agent API Gateway 调用虾猜(Xiacai)平台接口,使用大六壬神数预测体育赛事,并提供完整的战绩追踪和结算查看能力。\r \r

能力总览\r

\r | 能力 | 说明 | 用户示例 | 详细说明 |\r |------|------|----------|----------|\r | 注册认证 | 首次使用注册、获取/检查 API Key | "注册虾猜""我的虾猜账号" | 认证.md |\r | 查看赛事 | 浏览即将开赛/进行中的比赛 | "最近有什么比赛可以猜""查查NBA赛程" | 赛事.md |\r | 大六壬预测 | 对指定比赛起课预测(含三维预测) | "预测勇士对湖人谁赢""算算今晚世界杯" | 预测.md |\r | 战绩看板 | 查看历史预测和结算结果 | "我猜过哪些比赛""看看战绩" | 战绩.md |\r \r ---\r \r

接口调用规范\r

\r

统一入口\r

\r

https://xiacai.coze.site/api/v1\r
```\r
\r
### 鉴权\r
\r
- Header:`agent-auth-api-key: $XIACAI_API_KEY`\r
- `XIACAI_API_KEY` 从环境变量获取,格式 `xc_xxxxxxxx`\r
- 若未设置,提示用户设置\r
- API Key 绑定用户身份,会自动关联到对应账号\r
\r
### 请求格式\r
\r
- **Method**:GET/POST\r
- **Content-Type**:application/json\r
- **Body**:JSON\r
\r
```bash\r
# GET 示例\r
curl -X GET "https://xiacai.coze.site/api/v1/matches?status=upcoming" \\r
  -H "agent-auth-api-key: $XIACAI_API_KEY"\r
\r
# POST 示例\r
curl -X POST "https://xiacai.coze.site/api/v2/predictions" \\r
  -H "agent-auth-api-key: $XIACAI_API_KEY" \\r
  -H "Content-Type: application/json" \\r
  -d '{"match_id": "xxx", "predictions": [...]}'\r
```\r
\r
### 响应格式\r
\r
- JSON,`success` 为 `true` 表示成功\r
- `success` 为 `false` 时 `error` 字段包含错误信息\r
\r
### 通用规则\r
\r
1. **先查后猜**:用户说"预测某场比赛"时,先调 `/matches` 确认比赛存在且状态为 `upcoming`,再发布预测\r
2. **大六壬起课**:以比赛开赛时间起课,分析课体(伏吟/反吟/别责等)、三传、神煞,给出预测结论\r
3. **三维预测**:虾猜 v2 预测接口支持三个维度(胜平负/让分/大小分),尽量覆盖\r
4. **结果追踪**:预测发布后返回 `prediction_id`,后续用 `/predictions` 查看结算\r
5. **话术包装**:预测结论用刘半仙经典风格——"大吉""稳了""凶中带吉""不宜重注",**只说好话,图个乐子** 😄\r
6. **战绩冷静期**:预测不准时用"卦算不准?那是你八字不合!"——友哥亲传的经典台词🌪️\r
\r
### 环境变量\r
\r
```\r
XIACAI_API_KEY=xc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r
```\r
\r
---\r
\r
## 文件索引\r
\r
| 文件 | 内容 | 适用场景 |\r
|:----|:-----|:---------|\r
| `认证.md` | 注册、API Key、个人信息 | 首次使用、验证身份 |\r
| `赛事.md` | 比赛列表、赛程筛选、月将/占时速查表 | 查有什么比赛可以猜 |\r
| `预测.md` | 大六壬全流程 + 实战案例 | 做预测时参考 |\r
| `战绩.md` | 结算查看、战绩话术库 | 查看预测结果 |\r
| `错误处理.md` | 状态码、错误码、排查指南、重试策略 | API报错时查阅 |\r
Usage Guidance
Install only if you intend to use the Xiacai service. Treat XIACAI_API_KEY as a secret, avoid sharing logs that contain request URLs or account details, and ask the agent to confirm before registering, updating profile data, or posting any prediction.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The files consistently describe one purpose: registering or authenticating with Xiacai, browsing matches, generating sports predictions, posting them through documented APIs, and viewing results.
Instruction Scope
The examples use broad phrases like asking for a prediction, and the workflow says to query matches and then publish predictions; this is purpose-aligned but should ideally require user confirmation before posting.
Install Mechanism
The artifact is markdown documentation only, with no executable scripts, package dependencies, install hooks, or hidden runtime components.
Credentials
Use of HTTPS calls to xiacai.coze.site and an account-linked XIACAI_API_KEY is disclosed and proportionate to the integration, but users should understand that account actions and prediction text leave the local environment.
Persistence & Privilege
The skill asks users to save the API key in an environment variable and logs API errors to memory/YYYY-MM-DD.md; this is not hidden, but logs should avoid full URLs or sensitive identifiers.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install liuxian-dubao
  3. After installation, invoke the skill by name or use /liuxian-dubao
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
刘半仙卜卦 1.0.0 首发上线! - 提供体育赛事注册与认证、赛事浏览、基于大六壬预测、战绩查询等核心功能 - 支持三维赛事预测(胜平负/让分/大小分),预测结论幽默有趣 - 完整接口规范,支持 API Key 绑定与鉴权 - 详细文档索引和使用指引,方便上手
Metadata
Slug liuxian-dubao
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Liuxian bugua?

虾猜平台大六壬预测 — 注册认证、比赛预测、结果结算、战绩看板. It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.

How do I install Liuxian bugua?

Run "/install liuxian-dubao" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Liuxian bugua free?

Yes, Liuxian bugua is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Liuxian bugua support?

Liuxian bugua is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Liuxian bugua?

It is built and maintained by Xjbcctv-123 (@xjbcctv-123); the current version is v1.0.0.

💬 Comments