Xpersona
M

Mysteel_PriceSearch

CLAWHUB · Unverified

大宗商品价格数据查询技能。用于查询大宗商品期现货价格、宏观经济指标、产业链供需数据、进出口库存数据、金融市场数据等。当用户询问:(1) 期货/现货价格查询,如"螺纹钢价格"、"铜期货收盘价"; (2) 历史行情或趋势分析;(3) 区域或企业价格对比;(4) 宏观经济指标,如GDP、CPI;(5) 产业链上下游数据... Skill: Mysteel_PriceSearch Owner: wyb92 Summary: 大宗商品价格数据查询技能。用于查询大宗商品期现货价格、宏观经济指标、产业链供需数据、进出口库存数据、金融市场数据等。当用户询问:(1) 期货/现货价格查询,如"螺纹钢价格"、"铜期货收盘价"; (2) 历史行情或趋势分析;(3) 区域或企业价格对比;(4) 宏观经济指标,如GDP、CPI;(5) 产业链上下游数据... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-24T11:34:55.943Z | user Mysteel Price Search version 1.0.0 – Initial release - Provides comprehensive search for commodity prices, macroeconomic indicators,

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17d21gfp0r1h8zzn0syb7f90583gsct:mysteel-pricesearch
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wyb92-mysteel-pricesearch/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

8,238 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: Mysteel_PriceSearch
description: 大宗商品价格数据查询技能。用于查询大宗商品期现货价格、宏观经济指标、产业链供需数据、进出口库存数据、金融市场数据等。当用户询问:(1) 期货/现货价格查询,如"螺纹钢价格"、"铜期货收盘价"; (2) 历史行情或趋势分析;(3) 区域或企业价格对比;(4) 宏观经济指标,如GDP、CPI;(5) 产业链上下游数据;(6) 多市场金融数据(期权、股票、债券、外汇);(7) 结算确认单生成时触发此技能。
dependency:
  python:
    - 内置模块 (urllib, json, os, sys, re, argparse, datetime, pathlib)
---

# Mysteel Price Search

大宗商品与宏观经济数据综合查询技能,基于Mysteel数据平台提供专业、全面的价格数据服务。

## Quick Start

使用 `scripts/search.py` 脚本查询价格数据:

```bash
python scripts/search.py "<查询文本>"
```

## CSV 输出模式(推荐)

将查询结果保存为 CSV 文件,**强烈建议使用过滤参数减少数据量**:

### 基本用法
```bash
python scripts/search.py "螺纹钢最新价格" --csv
```

### 数据过滤参数(重要!)

为避免 LLM 读取过多数据,**请根据需要使用以下参数**:

| 参数 | 说明 | 示例 |
|------|------|------|
| `--limit N` | 限制每个文件最多 N 行数据 | `--limit 10` |
| `--days N` | 仅查询最近 N 天的数据 | `--days 30` |
| `--start-date` | 起始日期(含) | `--start-date 2024-01-01` |
| `--end-date` | 结束日期(含) | `--end-date 2024-01-31` |

### 推荐使用示例

```bash
# 查询最新10条价格(最常用)
python scripts/search.py "螺纹钢最新价格" --csv --limit 10

# 查询最近30天价格
python scripts/search.py "铜期货价格" --csv --days 30

# 查询特定日期范围
python scripts/search.py "热卷价格" --csv --start-date 2024-01-01 --end-date 2024-03-31
```

## 读取已有 CSV 文件

**不要使用 Read 工具读取整个 CSV 文件!** 使用 Bash 工具按需读取:

```bash
# 查看文件元数据(了解数据概况)
head -10 output/螺纹钢.csv

# 仅读取前N行数据
head -20 output/螺纹钢.csv | tail -n +10

# 按日期过滤(使用 grep)
grep -E "^2024-01" output/螺纹钢.csv

# 查看文件统计信息
wc -l output/螺纹钢.csv
```

## CSV 文件格式

CSV 文件包含元数据头注释,格式如下:

```
# index_name: 螺纹钢_上海_HRB400E
# unit: 元/吨
# total_rows: 365
# date_range: 2023-01-15 ~ 2024-01-15
# generated: 2024-01-15 10:30:00
#
date,price,unit,change,change_pct
2024-01-15,3800,元/吨,+20.00,+0.53%
2024-01-14,3780,元/吨,-10.00,-0.26%
```

## 输出示例

```
Generated 2 CSV file(s) in output:
  - 螺纹钢_上海_HRB400E.csv (10 rows, 2024-01-05 ~ 2024-01-15)
  - 热卷_上海_Q235B.csv (10 rows, 2024-01-05 ~ 2024-01-15)
```

## 完整参数列表

- `--csv`: 保存结果为 CSV 文件到 output 目录
- `--output-dir`: 指定 CSV 输出目录(默认:技能目录/output)
- `--limit N`: 限制每个文件最多 N 行数据
- `--days N`: 仅查询最近 N 天的数据
- `--start-date YYYY-MM-DD`: 起始日期过滤
- `--end-date YYYY-MM-DD`: 结束日期过滤
- `--max-files N`: 限制 output 目录最多保留 N 个 CSV 文件(默认:100),超过时删除最旧的文件

## Query Capabilities

### 1. 价格数据查询
- **期货价格**:最新收盘价、结算价、涨跌幅
- **现货价格**:实时报价、区域价格、企业报价
- **历史数据**:趋势分析、周期对比

### 2. 宏观经济数据
- 全球宏观经济主要指标
- 分国别/地区数据查询
- GDP、CPI、PMI等指标

### 3. 产业链数据
- 上游原材料价格
- 下游产品价格
- 供需平衡数据
- 进出口数据
- 库存数据

### 4. 金融市场数据
- 期权价格与隐含波动率
- 股票行情
- 债券收益率
- 外汇汇率

### 5. 智能分析
- 类目识别与指标识别
- 多维度数据对比
- 口径标准化
- 差值计算

### 6. 结算凭证
- 支持贸易双方成交数量输入

## API Reference

详细API文档参见 [api_reference.md](references/api_reference.md)。

## Response Handling

API返回JSON格式数据,主要包含:

1. **价格数据**:数值、单位、涨跌幅、时间戳
2. **图表数据**:支持历史趋势图表
3. **对比数据**:多维度价格对比

## Best Practices

1. **查询表达**:使用自然语言描述查询需求,API支持智能语义解析
2. **数据对比**:可同时查询多个品种或区域进行对比分析
3. **历史溯源**:支持基于时间范围的查询,获取历史趋势

## 回复格式
需要详细标明数据所引用的指标(inde

_meta.json

{
  "ownerId": "kn79c1sk3wj7jz08seb6wh1z1x83hs5w",
  "slug": "mysteel-pricesearch",
  "version": "1.0.0",
  "publishedAt": 1774352095943
}

references/api_reference.md

# API Reference

## Endpoint

```
POST https://mcp.mysteel.com/mcp/info/ai-search/search
```

## Request Headers

| Header       | Value            |
|--------------|------------------|
| Content-Type | application/json |
| token        | <your api_key>   |

## Request Body

| Parameter | Type | Required | Default | Description           |
|-----------|------|----------|---------|-----------------------|
| source | string | Yes | - | 数据来源模式,固定值 "MyClaw模式" |
| text | string | Yes | - | 用户查询文本                |
| indexSearchEnable | boolean | No | true | 是否启用指标数据搜索            |
| infoSearchEnable | boolean | No | false | 是否启用资讯信息搜索            |
| staticKnowledgeEnable | boolean | No | true | 是否检索静态知识              |

## Request Example

```json
{
  "source": "MyClaw模式",
  "text": "鸡蛋交割时以褐壳还是粉壳交割?最新收盘价多少",
  "indexSearchEnable": true,
  "infoSearchEnable": false,
  "staticKnowledgeEnable": true
}
```

## Response Structure

响应为JSON格式,包含查询结果数据。

## Supported Query Types

### 期货价格查询
- 最新收盘价、结算价
- 历史价格趋势
- 交割规则

### 现货价格查询
- 实时现货报价
- 区域价格对比
- 企业报价

### 宏观经济数据
- GDP、CPI等宏观指标
- 分国别/地区数据

### 产业链数据
- 供需数据
- 进出口数据
- 库存数据

### 金融市场数据
- 期权价格
- 股票行情
- 债券收益率
- 外汇汇率

## cURL Example

```bash
curl --location 'https://mcp.mysteel.com/mcp/info/ai-search/search' \
--header 'Content-Type: application/json' \
--header 'token: <your api_key>' \
--data '{
  "source": "MyClaw模式",
  "text": "鸡蛋交割时以褐壳还是粉壳交割?最新收盘价多少",
  "indexSearchEnable": true,
  "infoSearchEnable": false,
  "staticKnowledgeEnable": true
}'
```

skill-card.md

## Description:

Mysteel Price Search helps agents query Mysteel for commodity prices, futures and spot market data, macroeconomic indicators, supply-chain data, financial market data, and settlement-related information.

This skill is ready for commercial/non-commercial use.

## Publisher:

[wyb92](https://clawhub.ai/user/wyb92)

### License/Terms of Use:

MIT-0

## Use Case:

External users, analysts, and developers use this skill to retrieve Mysteel market data through natural-language queries and optionally export price-series results as filtered CSV files.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Query text is sent to Mysteel's remote API.

Mitigation: Use the skill only for queries that are appropriate to share with Mysteel's API.

Risk: CSV mode may delete existing .csv files in a user-selected output directory.

Mitigation: Prefer the default skill output directory, avoid shared or important folders for --output-dir, and keep backups of valuable exports.

Risk: The skill requires a Mysteel API token stored in references/api_key.md.

Mitigation: Store the token carefully and do not commit or share references/api_key.md after adding a real key.

## Reference(s):

- [API Reference](references/api_reference.md)
- [Mysteel AI Search API endpoint](https://mcp.mysteel.com/mcp/info/ai-search/search)
- [ClawHub skill page](https://clawhub.ai/wyb92/skills/mysteel-pricesearch)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Files, Configuration, Guidance]

**Output Format:** [JSON API responses, CSV files, and Markdown guidance with shell command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [CSV output supports row limits, date filters, output directory selection, and maximum retained file count.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Mysteel_PriceSearch and adjacent AI workflows.