Search & Analysis v0.1.0

cochesnet-cli

Use the cochesnet CLI to search coches.net listings and fetch listing details. Apply when a user asks for coches.net...

Cochesnet Cli 更新于 2026-11-23 1 浏览
下载 SKILL

技能说明

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.

使用场景

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.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/cochesnet-cli
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 13 kB
SKILL.md text/markdown
---
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
```
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.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。