Xpersona
S

Skills of A-share news data released by ft.tech.

CLAWHUB · Unverified

新闻语义搜索技能集(market.ft.tech)。根据搜索文字进行语义搜索,返回相关新闻列表。用户询问语义搜新闻、按关键词搜新闻时使用。数据仅支持当年、最近半个月。 Skill: Skills of A-share news data released by ft.tech. Owner: shawn92 Summary: 新闻语义搜索技能集(market.ft.tech)。根据搜索文字进行语义搜索,返回相关新闻列表。用户询问语义搜新闻、按关键词搜新闻时使用。数据仅支持当年、最近半个月。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-24T05:23:52.483Z | user - 新增 --start_time 与 --end_time 参数示例,支持更精细的时间范围过滤。 - 其余内容保持不变。 v1.0.0 | 2026-03-17T11:34:22.835Z | user v1.0.0 初识版本 Archive index: Archive v1.0.1: 6 files, 7404 bytes Files: run.py

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/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 s178tyza29hgx3h8nsvhcmdphs83h6af:ftshare-news-data
  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-shawn92-ftshare-news-data/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

11,101 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: FTShare-news-data
description: 新闻语义搜索技能集(market.ft.tech)。根据搜索文字进行语义搜索,返回相关新闻列表。用户询问语义搜新闻、按关键词搜新闻时使用。数据仅支持当年、最近半个月。
---

# FT 新闻数据 Skills

本 skill 是 `FTShare-news-data` 的**统一路由入口**。

根据用户问题,从下方「能力总览」或「询问方式与子 skill 对应表」匹配对应子 skill,然后通过 `run.py` 执行并解析响应。

> 所有接口均以 `https://market.ft.tech` 为基础域名,本技能集子 skill 无需额外请求头。

---

## 调用方式(唯一规则)

`run.py` 与本文件(`SKILL.md`)位于同一目录。执行时:

1. 取本文件的绝对路径,将末尾 `/SKILL.md` 替换为 `/run.py`,得到 `<RUN_PY>` 。
2. 调用:`python <RUN_PY> <子skill名> [参数...]`

```bash
# 示例(<RUN_PY> 为实际绝对路径)
python <RUN_PY> semantic-search-news --query 人工智能
python <RUN_PY> semantic-search-news --query 人工智能 --limit 10 --year 2026
python <RUN_PY> semantic-search-news --query 人工智能 --limit 10 --year 2026 --start_time 2026-03-01T00:00:00+08:00 --end_time 2026-03-15T23:59:59+08:00
```

> `run.py` 内部通过 `__file__` 自定位,无论安装在何处都能正确找到各子 skill 的脚本。

---

## 新闻 — 询问方式与子 skill 对应表

| 询问方式(用户常说的词) | 子 skill |
|------------------------|----------|
| **语义搜索新闻**、**按关键词搜新闻**、**搜索相关新闻** | `semantic-search-news` |

---

## 能力总览

- **`semantic-search-news`**:根据搜索文字进行语义搜索,返回相关新闻列表。数据仅支持**当年**、**最近半个月**内的新闻。必填:`--query`(搜索文字);可选:`--limit`(返回条数,默认 10)、`--year`(年份,仅支持当年)。展示时需包含来源(source_site)与文章链接(article_url),并提示用户数据仅半个月内。

---

## 使用流程

1. **记录本文件绝对路径**,将 `/SKILL.md` 替换为 `/run.py` 得到 `<RUN_PY>`。
2. **理解用户意图**,从「询问方式与子 skill 对应表」或「能力总览」匹配子 skill 名称。
3. (可选)读取 `sub-skills/<子skill名>/SKILL.md` 了解接口与参数。
4. **执行**:`python <RUN_PY> <子skill名> [参数...]`,获取 JSON 输出。
5. **解析并输出**:按子 skill 要求展示来源、链接,并提示「以下结果仅展示当年、最近半个月以内的新闻。」

sub-skills/semantic-search-news/SKILL.md

---
name: semantic-search-news
description: 语义搜索新闻(market.ft.tech)。用户问语义搜新闻、按关键词搜新闻、搜索相关新闻时使用。数据仅支持当年、最近半个月。
---

# 语义搜索新闻

## 1. 接口描述

| 项目 | 说明 |
|------|------|
| 接口名称 | 语义搜索新闻 |
| 外部接口 | `GET /data/api/v1/market/data/semantic-search-news` |
| 请求方式 | GET |
| 适用场景 | 根据搜索文字进行语义搜索,返回相关新闻列表;数据仅支持查询**当年**、**最近半个月**内的新闻 |

## 2. 请求参数

| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|--------|------|----------|------|----------|------|
| query | string | 是 | 搜索文字 | 人工智能 | - |
| limit | int | 否 | 返回条数 | 10 | 默认 10 |
| year | int | 否 | 年份 | 2026 | 仅支持**当年**;数据仅保留最近半个月,用于限定搜索范围 |
| start_time | string | 否 | 开始时间(含) | 2026-03-01T00:00:00+08:00 | ISO 8601 格式,用于限定搜索时间范围;无时区时按东八区解释 |
| end_time | string | 否 | 结束时间(含) | 2026-03-15T23:59:59+08:00 | ISO 8601 格式,用于限定搜索时间范围;无时区时按东八区解释 |

## 3. 响应说明

返回 `SearchResult` 数组,按相关度排序。

```json
[
  {
    "news_id": 556106924001595392,
    "source_site": "21经济网_要闻",
    "article_url": "https://...",
    "publish_time": "2026-03-15T21:00:00",
    "fetch_time": "2026-03-15T21:19:49",
    "title": "越是AI,越需人文",
    "media_name": "21世纪经济",
    "summary": null,
    "content": "...",
    "is_truncated": 0,
    "is_reviewed": 1,
    "score": 0.6933832764625549
  }
]
```

### SearchResult 结构

| 字段名 | 类型 | 是否可为空 | 说明 |
|--------|------|------------|------|
| news_id | long | 否 | 新闻 ID |
| source_site | string | 否 | 来源站点 |
| article_url | string | 是 | 文章链接 |
| publish_time | string | 是 | 发布时间,ISO 8601 格式 |
| fetch_time | string | 否 | 抓取时间,ISO 8601 格式 |
| title | string | 是 | 标题 |
| media_name | string | 是 | 媒体名称 |
| summary | string | 是 | 摘要 |
| content | string | 否 | 正文内容 |
| is_truncated | int | 否 | 是否被截断:0=否 1=是 |
| is_reviewed | int | 否 | 是否已审核:0=否 1=是 |
| score | float | 否 | 搜索匹配分数 |

## 4. 用法

通过主目录 `run.py` 调用(必填 `--query`,可选 `--limit`、`--year`、`--start_time`、`--end_time`):

```bash
python <RUN_PY> semantic-search-news --query 人工智能
python <RUN_PY> semantic-search-news --query 人工智能 --limit 10 --year 2026
python <RUN_PY> semantic-search-news --query 人工智能 --limit 10 --year 2026 --start_time 2026-03-01T00:00:00+08:00 --end_time 2026-03-15T23:59:59+08:00
```

`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。脚本输出 JSON;本接口无需额外请求头。

## 5. 请求示例

```
GET https://market.ft.tech/data/api/v1/market/data/semantic-search-news?query=人工智能&limit=10&year=2026&start_time=2026-03-01T00:00:00%2B08:00&end_time=2026-03-15T23:59:59%2B08:00
```

## 6. 数据范围与更新

- 数据仅支持**当年**、**最近半个月**内的新闻;`year` 用于限定搜索范围,仅支持当年。
- `start_time`、`end_time` 用于进一步限定检索时间窗口,推荐与 `year` 搭配使用;时间格式需为 ISO 8601。
- 时区处理与 K 线脚本一致:无时区输入默认按东八区(UTC+8)解释;带时区输入会统一转换为东八区再请求。
- 具体可查时间范围与更新频率以接口返回为准。

## 7. 展示与用户提示

向用户展示结果时**必须**:

1. **每条新闻展示原站与链接**:列出**来源**(`source_site`:来源站点)以及**文章链接**(`article_url`),便于用户跳转原文。
2. **数据范围提示**:在结果前或结果后向用户明确提示:**「以下结果仅展示当年、最近半个月以内的新闻。」**
3. **固定提示词(建议复用)**:**「仅支持查看最近半个月以内的新闻数据。」**

_meta.json

{
  "ownerId": "kn77sbypgfp8tv06gtgtz63sen82pcer",
  "slug": "ftshare-news-data",
  "version": "1.0.1",
  "publishedAt": 1774329832483
}

skill-card.md

## Description:

Searches recent A-share market news from market.ft.tech by semantic query and returns related news results.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and market analysts use this skill to route semantic news-search requests to market.ft.tech and present recent A-share related news with source sites and article links.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Search terms and time filters are sent to market.ft.tech.

Mitigation: Install and use the skill only where sharing those news-search inputs with market.ft.tech is acceptable.

Risk: Instructions and expected output are Chinese-language, and date filters use Beijing-time handling.

Mitigation: Confirm users can interpret the Chinese result fields and normalize requested time windows to UTC+8 when needed.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/shawn92/skills/ftshare-news-data)
- [market.ft.tech](https://market.ft.tech)
- [Semantic Search News Endpoint](https://market.ft.tech/data/api/v1/market/data/semantic-search-news)

## Skill Output:

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

**Output Format:** [JSON from the helper script, typically summarized as Markdown or text with article sources and links]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires a query; optional limit, year, start_time, and end_time filters narrow the returned news results.]

## Skill Version(s):

1.0.1 (source: ClawHub release evidence)

## 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 Skills of A-share news data released by ft.tech. and adjacent AI workflows.