← 返回 Skills 市场
henry4c

众安车险自助投保

作者 henry4c · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
62
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install za-car-insurance
功能描述
众安车险投保 — 车辆信息 → 报价 → 确认核保 → 支付 → 出单。
使用说明 (SKILL.md)

众安车险投保skill


服务域名

⚠️ 使用前将全文所有 \x3Cgateway域名> 替换为如下取值。

gateway 域名car.zhongan.com

所有接口(鉴权、报价、核保、出单查询)均走此单一域名,无其他依赖服务。


固定配置(首次使用必填)

⚠️ 占位符护栏:以下字段若为 xx,视为未配置。启动时逐一检查,未配置则立即停止向用户索取真实值,严禁猜测

  • car_api_keyxx(首次获取后写入,当日有效)
  • 手机号xx(首次使用后写入)
  • 车主姓名xx(首次使用后写入)
  • 车主证件号xx(首次使用后写入)
  • 投保人/被保人:默认与车主相同

支持的能力

能力 说明 参考文件
验证码登录 手机号+验证码获取 car_api_key auth.md
快速报价 一键完成绑车+询价+报价 quote.md
方案调整 修改险种、保额、不计免赔 quote.md
核保+支付 自动完成核保并获取支付链接 proposal.md
出单查询 支付后查询保单号 proposal.md

主流程概览

Step 0:检查 car_api_key
    ├─ $CAR_API_KEY 存在 → 继续
    └─ 不存在或过期(401)→ 发验证码 → 用户填验证码 → 获取 car_api_key
    详见 auth.md

Step 1:占位符校验
    检查固定配置中手机号、车主姓名、车主证件号是否已填写
    详见 auth.md

Step 2:快速报价(核心)
    POST \x3Cgateway域名>/api/quickInsure/quickQuote
    一键完成绑车+填表+询价+报价
    详见 quote.md

Step 3:用户确认/调整方案
    详见 quote.md

Step 4:核保+获取支付链接
    POST \x3Cgateway域名>/api/quickInsure/quickConfirmAndPay
    详见 proposal.md

Step 5:打开支付页面
    Chrome DevTools MCP 打开 zaPayUrl
    详见 proposal.md

Step 6:出单结果查询
    POST \x3Cgateway域名>/api/quickInsure/getCreatePolicy
    详见 proposal.md

通用规则

详见 auth.md「通用规则」章节。核心要点:

  1. 静默执行:调用接口时不在对话中打印请求参数、响应原文;仅输出面向用户的结论或下一步提示;出错时只展示简洁的错误描述,不暴露原始报文。
  2. 鉴权:每次请求带 car_api_key: $CAR_API_KEY,401 时重新走验证码流程
  3. 上下文保持vehicleNoinsureFlowCode、投保人信息对话中缓存
  4. 每次操作实时调接口
  5. 接口传参按文档,禁止猜测字段含义
  6. 错误重试:同一报错每阶段最多 3 次;接口繁忙时直接展示返回的提示文案,不重试
  7. 客服引导:接口报错无法自动恢复、或流程阻塞无法继续时,告知用户可联系专属客服,并询问"是否在浏览器中打开客服链接?",仅在用户确认后才调用 Chrome DevTools MCP 打开客服页面
  8. 终止性错误P11002已投保 立即终止
  9. 用户指定车辆不得替换

用户数据交互汇总

环节 用户需提供 备注
首次登录 手机号 + 验证码 获取 car_api_key,写入配置
快速报价(已绑车) 车牌号 投保地后端自动推断
快速报价(未绑车) 车牌号 车主信息自动从配置获取
车五项补全 VIN/发动机号/注册日期/品牌型号 missingFiveInfoFields 引导
确认方案 回复「确认投保」或调整
支付 无(点击支付链接) 浏览器内完成

最少交互路径(已绑车 + 配置已填写):车牌 → 确认核保 → 支付,共 2 轮对话


场景索引

Step 场景 关键接口 参考文件
0 获取 car_api_key POST /api/quickInsure/open/auth/sendCode + verifyCode auth.md
1 占位符校验 auth.md
2 快速报价 POST /api/quickInsure/quickQuote quote.md
3 确认/调整方案 quote.md
4 核保+支付 POST /api/quickInsure/quickConfirmAndPay proposal.md
5 出单查询 POST /api/quickInsure/getCreatePolicy proposal.md
安全使用建议
Review this skill carefully before installing. It appears intended for a real car-insurance workflow, but it should be changed to avoid writing credentials or ID details into SKILL.md, require explicit consent before transmitting personal data, remove API keys from URLs, require confirmation before opening payment pages, and stop rather than bypass any browser security warning.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The quoted workflow fits the stated purpose of vehicle insurance quoting, underwriting, payment, and policy lookup, and the use of a Zhongan gateway is disclosed, but the workflow necessarily handles government ID numbers, phone numbers, vehicle identifiers, insurance orders, and payment links.
Instruction Scope
The instructions under-disclose privacy impact, tell the agent to run silently for API calls, automatically open a payment page, and explicitly continue past an HTTP form security warning, which is not appropriate for identity and payment data.
Install Mechanism
The artifact is markdown-only with no executable scripts, no declared dependencies, and clean static/dependency scans; VirusTotal reported 0 malicious and 0 suspicious engines.
Credentials
The skill expands from API calls into browser/MCP control and local OS URL-opening fallbacks for payment, and it passes the API key in query strings as well as headers, increasing exposure beyond what is needed for the workflow.
Persistence & Privilege
The skill instructs storing a daily car_api_key, phone number, owner name, and government ID in environment variables or SKILL.md without a clear consent, retention, deletion, or secret-handling policy.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install za-car-insurance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /za-car-insurance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of 众安车险投保 skill (version 1.0.0) - Supports car insurance quoting, plan adjustment, underwriting, payment, and policy issuance - Implements step-by-step flow: gateway auth → config check → quick quote → scheme confirmation/adjustment → underwriting/payment → issuance query - Enforces user data privacy and minimal interaction (as few as 2 steps for repeat users) - Integrates error handling, context caching, and customer service guidance according to specification
元数据
Slug za-car-insurance
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

众安车险自助投保 是什么?

众安车险投保 — 车辆信息 → 报价 → 确认核保 → 支付 → 出单。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 62 次。

如何安装 众安车险自助投保?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install za-car-insurance」即可一键安装,无需额外配置。

众安车险自助投保 是免费的吗?

是的,众安车险自助投保 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

众安车险自助投保 支持哪些平台?

众安车险自助投保 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 众安车险自助投保?

由 henry4c(@henry4c)开发并维护,当前版本 v1.0.0。

💬 留言讨论