界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

plate-decoder

plate-decoder

【开发与工程】Look up vehicle information from a license plate number using the CarsXE API. Use this when a user mentions a license plate and wants to know what vehicle it belongs to.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: plate-decoder description: Look up vehicle information from a license plate number using the CarsXE API. Use this when a user mentions a license plate and wants to know what vehicle it belongs to. license: MIT version: 1.0.0 author: CarsXE

When the user provides a license plate number:

  1. Extract the following from the user's message:

    • plate (required): the license plate number — if not provided, ask:

      "Please provide a license plate number."

    • country (required): ISO 3166-1 alpha-2 country code (e.g., US, AU, GB) — if not provided, ask:

      "Please provide a country code (e.g., US, AU, GB)."

    • state (required): 2-letter state/province code (e.g., CA, NY) — if not provided, ask:

      "Please provide a state code (e.g., CA, NY, TX)."

  2. Do not call the API until all three fields are provided.

  3. Make an HTTP GET request to the CarsXE Plate Decoder API:

    GET https://api.carsxe.com/v2/platedecoder?key={CARSXE_API_KEY}&plate={PLATE}&country={COUNTRY}&state={STATE}&source=codex_plugin
    
  4. Present the results: vehicle Make, Model, Year, VIN (if returned), and registration info.

  5. If the API key is missing, tell the user to set the CARSXE_API_KEY environment variable (see AGENTS.md).

我的收藏