When the user asks about a vehicle's price, worth, or market value and has a VIN:
- Optionally refine the estimate with these parameters if the user mentions them:
state— US state code (e.g.,CA,TX) for regional pricingmileage— current mileage to adjust the valuecondition— vehicle condition:excellent,clean,average, orrough
- Make an HTTP GET request to the CarsXE Market Value API:
AppendGET https://api.carsxe.com/v2/marketvalue?key={CARSXE_API_KEY}&vin={VIN}&source=codex_plugin&state=<STATE>,&mileage=<MILEAGE>, and/or&condition=<CONDITION>if provided. - Present the estimated market value clearly, including:
- Current value estimate
- Low / average / high range if available
- Historical trend if available
- Provide helpful context (e.g., whether the value is strong for its age/mileage).
- If the API key is missing, tell the user to set the
CARSXE_API_KEYenvironment variable (see AGENTS.md).
Source: hashgraph-online/awesome-codex-plugins → plugins/carsxe/carsxe-codex-plugin/skills/market-value/SKILL.md