简介
基于 cochesnet-cli 的文档型技能,支持查询西班牙二手车市场数据并 JSON 输出,零代码风险,适合自动化数据获取场景。
原始描述
Use the cochesnet CLI to search coches.net listings and fetch listing details. Apply when a user asks for coches.net marketplace data or when you need the exact CLI commands and flags for cochesnet-cli.
通过你的 Agent 添加
安装目录:cochesnet-cli/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: cochesnet-cli
description: Use the cochesnet CLI to search coches.net listings and fetch listing details. Apply when a user asks for coches.net marketplace data or when you need the exact CLI commands and flags for cochesnet-cli.
compatibility: Requires cochesnet-cli installed (Node.js 18+), network access to apps.gw.coches.net.
license: MIT
metadata:
author: pjtf93
version: "0.1.0"
Purpose
Use the cochesnet CLI to search listings and fetch ad details.
When to use
- User asks to search coches.net listings from the terminal.
- User needs listing details for a known ad ID.
- User wants JSON output for scripting.
Commands
Search listings
cochesnet search "<query>" [--limit <n>] [--page <n>]
Listing detail
Search listings
cochesnet search "<query>" [--limit <n>] [--page <n>]
cochesnet listing <adId>
JSON output
Add --json to either command:
cochesnet search "bmw" --json
cochesnet listing 58229053 --json
Configuration
Environment variables:
COCHESNET_BASE_URL(default: https://apps.gw.coches.net)COCHESNET_APP_VERSION(default: 7.94.0)COCHESNET_HTTP_USER_AGENT(default: coches.net 7.94.0)COCHESNET_X_USER_AGENT(default: 3)COCHESNET_TENANT(default: coches)COCHESNET_VARIANT(optional X-Adevinta-MT-Variant header)
Output expectations
- Search: table or JSON with id, title, price, year, km, location, url.
- Listing: table or JSON with title, price, url, seller, description.
Examples
cochesnet search "bmw" --limit 5
cochesnet search "toyota" --page 2
cochesnet listing 58229053
Error handling
- Non-zero exit code on failure.
- For scripting, use
--json and check exit code.
cochesnet search "bmw" --limit 5
cochesnet search "toyota" --page 2
cochesnet listing 58229053
Error handling
- Non-zero exit code on failure.
- For scripting, use
--json and check exit code.
--json and check exit code.正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。