agentCLAWHUBUnverified

all in one skill for wencai 同花顺

同花顺问财全功能合并技能。集成行情数据查询、指数数据查询、财务数据查询、基本资料查询、事件数据查询、公司经营数据查询、机构研究与评级查询、研报搜索、公告搜索、新闻搜索、问财选A股、问财选板块共12个子功能。只需配置 IWENCAI_BASE_URL 和 IWENCAI_API_KEY 两个环境变量,无需任何外部库... Skill: all in one skill for wencai 同花顺 Owner: hhofchina Summary: 同花顺问财全功能合并技能。集成行情数据查询、指数数据查询、财务数据查询、基本资料查询、事件数据查询、公司经营数据查询、机构研究与评级查询、研报搜索、公告搜索、新闻搜索、问财选A股、问财选板块共12个子功能。只需配置 IWENCAI_BASE_URL 和 IWENCAI_API_KEY 两个环境变量,无需任何外部库... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-16T01:11:03.833Z | user Initial release — merges 12 sub-skills of 同花顺问财 (iWenCai) into a single, full-featured skill. - Supports market data,

OpenClaw

Rank

62

Safety

84

Downloads

2.1k

Updated

Oct 9, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

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

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.1K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.0release · observed Apr 16, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17dqeh3nvm2frd4ss3rgwvba184yyga:wen-cai
  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-hhofchina-wen-cai/snapshot"

Documentation

CLAWHUB

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

Extracted files

3 files captured from the source.

SKILL.md

---
name: wen-cai
description: 同花顺问财全功能合并技能。集成行情数据查询、指数数据查询、财务数据查询、基本资料查询、事件数据查询、公司经营数据查询、机构研究与评级查询、研报搜索、公告搜索、新闻搜索、问财选A股、问财选板块共12个子功能。只需配置 IWENCAI_BASE_URL 和 IWENCAI_API_KEY 两个环境变量,无需任何外部库依赖(仅使用 Python 标准库)。当用户询问以下任意场景时必须使用此技能:股票价格/涨跌幅/成交量/行情数据、指数行情/点位/成分股、财务指标/营收/净利润/ROE/负债率/现金流/毛利率、公司基本信息/上市日期/行业/费率、业绩预告/增发配股/股权质押/限售解禁/机构调研/监管函/重大事件、主营业务/主要客户/供应商/参控股公司/重大合同、研报评级/目标价/机构评级/业绩预测/ESG/券商金股、研究报告搜索/投研决策、公告查询/年报/分红/回购/资产重组、财经新闻/行业动态/政策资讯、A股股票筛选/选股/板块筛选。
---

# wen-cai — 同花顺问财全功能技能

> 将 12 个同花顺问财子技能合并为单一技能,仅依赖 Python 标准库,配置 `IWENCAI_BASE_URL` 和 `IWENCAI_API_KEY` 即可使用。

---

## 环境变量

| 变量名 | 说明 | 示例 |
|--------|------|------|
| `IWENCAI_API_KEY` | 必填,问财 API Key | `sk-proj-xxx` |
| `IWENCAI_BASE_URL` | 可选,默认 `https://openapi.iwencai.com` | `https://openapi.iwencai.com` |

---

## 功能路由表

根据用户意图自动选择接口和 channel:

| 用户意图 | 接口 | channel / 说明 |
|---------|------|---------------|
| 股票行情、涨跌幅、成交量、技术指标、资金流向 | `/v1/query2data` | — |
| 指数行情、点位、涨跌幅 | `/v1/query2data` | — |
| 财务数据、营收、净利润、ROE、负债率、现金流 | `/v1/query2data` | — |
| 基本资料、公司简介、上市日期、行业归属 | `/v1/query2data` | — |
| 事件数据、业绩预告、增发、解禁、质押、调研、监管函 | `/v1/query2data` | — |
| 公司经营、主营业务、客户、供应商、重大合同 | `/v1/query2data` | — |
| 机构评级、目标价、业绩预测、ESG、券商金股 | `/v1/query2data` | — |
| A股选股、股票筛选 | `/v1/query2data` | — |
| 板块筛选、行业板块、概念板块 | `/v1/query2data` | — |
| 研报搜索、研究报告 | `/v1/comprehensive/search` | `channels: ["report"]` |
| 公告搜索、年报、分红、回购公告 | `/v1/comprehensive/search` | `channels: ["announcement"]` |
| 财经新闻、行业动态、政策资讯 | `/v1/comprehensive/search` | `channels: ["news"]` |

---

## 核心处理流程

### 步骤 1:意图识别与接口路由

分析用户查询,按上面路由表选择接口和参数。

### 步骤 2:Query 改写

将口语化表达转为标准金融查询语句,保留核心意图。如需多维度查询(如同时要行情+财务),可拆分为多次调用。

### 步骤 3:API 调用

```python
import urllib.request
import json
import os

BASE_URL = os.environ.get("IWENCAI_BASE_URL", "https://openapi.iwencai.com")
API_KEY  = os.environ["IWENCAI_API_KEY"]

HEADERS = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

def call_query2data(query, page="1", limit="10", is_cache="1", expand_index="true"):
    """适用于:行情、指数、财务、基本资料、事件、经营、机构评级、选股、选板块"""
    url = f"{BASE_URL}/v1/query2data"
    payload = {
        "query": query,
        "page": page,
        "limit": limit,
        "is_cache": is_cache,
        "expand_index": expand_index
    }
    data = json.dumps(payload).encode("utf-8")
    req = urllib.request.Request(url, data=data, headers=HEADERS, method="POST")
    with urllib.request.urlopen(req, timeout=30) as resp:
        result = json.loads(resp.read().decode("utf-8"))
    # status_code=0 为成功
    return result

def call_comprehensive_search(query, channel):
    """适用于:研报(report)、公告(announcement)、新闻(news)"""
    url = f"{BASE_URL}/v1/comprehensive/search"
    payload = {
        "channels": [channel],
        "app_id": "AIME_SKILL",
        "query": query
    }
    data = json.dumps(payload).encode("utf-8")
    req = urllib.request.Request(url, data=data, headers=HEADERS, method="POST")
    with urllib.request.urlopen(req, timeout=30) as resp:
        retu

_meta.json

{
  "ownerId": "kn72w4sgq2pm0h4f1ezhrbms1s82w39k",
  "slug": "wen-cai",
  "version": "1.0.0",
  "publishedAt": 1776301863833
}

skill-card.md

## Description:

同花顺问财全功能合并技能,集成行情、指数、财务、公司基本资料、事件、经营数据、机构研究与评级、研报、公告、新闻、A股选股和板块筛选查询。

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Agents use this skill to answer Chinese financial-market questions by routing natural-language iWenCai queries across market data, index data, financial metrics, company information, events, research reports, announcements, news, A-share screening, and sector screening. It is intended for users who need concise tabular or listed outputs with source attribution to 同花顺问财.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill handles an iWenCai API key and can accept the key on the command line.

Mitigation: Provide IWENCAI_API_KEY through a protected environment or secret store and avoid passing secrets through --api-key.

Risk: Financial queries may include sensitive portfolio, account, or trading-interest details.

Mitigation: Avoid sending private account identifiers or sensitive portfolio details in queries.

Risk: Changing IWENCAI_BASE_URL could send requests and API credentials to an untrusted endpoint.

Mitigation: Keep IWENCAI_BASE_URL fixed to the official HTTPS iWenCai endpoint before installing or running the skill.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/hhofchina/skills/wen-cai)
- [Publisher profile](https://clawhub.ai/user/hhofchina)
- [同花顺问财 query page](https://www.iwencai.com/unifiedwap/chat)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown tables or lists, optional raw JSON from the CLI, and configuration guidance for required environment variables.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires IWENCAI_API_KEY and uses IWENCAI_BASE_URL, defaulting to the HTTPS iWenCai endpoint.]

## Skill Version(s):

1.0.0 (source: 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.
Github ReposUpdated 5h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/hhofchina/skills/wen-cai",
      "sourceUrl": "https://clawhub.ai/hhofchina/skills/wen-cai",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:41:55.226Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-hhofchina-wen-cai/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-hhofchina-wen-cai/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:41:55.226Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.1K downloads",
      "href": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceUrl": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:41:55.226Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceUrl": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-16T01:11:03.833Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-hhofchina-wen-cai/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-hhofchina-wen-cai/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial release — merges 12 sub-skills of 同花顺问财 (iWenCai) into a single, full-featured skill. - Supports market data, index data, financials, company info, events, operations, institutional ratings, research reports, announcements, news, A-share and sector screening—all via unified API. - Requires only two environment variables (`IWENCAI_BASE_URL`, `IWENCAI_API_KEY`); no external libraries (Python standard library only). - Auto-routing of queries based on user intent; smart query rewriting and error handling included. - CLI usage examples for all sub-functions; clear result formatting and source attribution. - Robust fallback and pagination logic; guides users in case of empty data or errors.",
      "href": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceUrl": "https://clawhub.ai/hhofchina/wen-cai",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-16T01:11:03.833Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to all in one skill for wencai 同花顺 and adjacent AI workflows.