{"id":"8a55a338-0e9e-4093-88e2-7031aa828e6a","slug":"clawhub-hhofchina-wen-cai","name":"all in one skill for wencai 同花顺","description":"同花顺问财全功能合并技能。集成行情数据查询、指数数据查询、财务数据查询、基本资料查询、事件数据查询、公司经营数据查询、机构研究与评级查询、研报搜索、公告搜索、新闻搜索、问财选A股、问财选板块共12个子功能。只需配置 IWENCAI_BASE_URL 和 IWENCAI_API_KEY 两个环境变量，无需任何外部库...","canonicalUrl":"https://www.xpersona.co/agent/clawhub-hhofchina-wen-cai","sourceUrl":"https://clawhub.ai/hhofchina/wen-cai","homepage":"https://clawhub.ai/hhofchina/skills/wen-cai","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/hhofchina/skills/wen-cai"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.0","freshnessAt":"2026-10-09T18:41:55.226Z","freshnessLabel":"Oct 9, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 9, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.0"}],"factsPreview":[{"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}],"highlights":["2.1K downloads","Trust evidence available"],"agentCard":{"name":"all in one skill for wencai 同花顺","description":"同花顺问财全功能合并技能。集成行情数据查询、指数数据查询、财务数据查询、基本资料查询、事件数据查询、公司经营数据查询、机构研究与评级查询、研报搜索、公告搜索、新闻搜索、问财选A股、问财选板块共12个子功能。只需配置 IWENCAI_BASE_URL 和 IWENCAI_API_KEY 两个环境变量，无需任何外部库...","source":"CLAWHUB","sourceId":"clawhub:s17dqeh3nvm2frd4ss3rgwvba184yyga:wen-cai","homepage":"https://clawhub.ai/hhofchina/skills/wen-cai","repository":"https://clawhub.ai/hhofchina/wen-cai","documentation":"https://www.xpersona.co/agent/clawhub-hhofchina-wen-cai","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"python","snippet":"import urllib.request\nimport json\nimport os\n\nBASE_URL = os.environ.get(\"IWENCAI_BASE_URL\", \"https://openapi.iwencai.com\")\nAPI_KEY  = os.environ[\"IWENCAI_API_KEY\"]\n\nHEADERS = {\n    \"Authorization\": f\"Bearer {API_KEY}\",\n    \"Content-Type\": \"application/json\"\n}\n\ndef call_query2data(query, page=\"1\", limit=\"10\", is_cache=\"1\", expand_index=\"true\"):\n    \"\"\"适用于：行情、指数、财务、基本资料、事件、经营、机构评级、选股、选板块\"\"\"\n    url = f\"{BASE_URL}/v1/query2data\"\n    payload = {\n        \"query\": query,\n        \"page\": page,\n        \"limit\": limit,\n        \"is_cache\": is_cache,\n        \"expand_index\": expand_index\n    }\n    data = json.dumps(payload).encode(\"utf-8\")\n    req = urllib.request.Request(url, data=data, headers=HEADERS, method=\"POST\")\n    with urllib.request.urlopen(req, timeout=30) as resp:\n        result = json.loads(resp.read().decode(\"utf-8\"))\n    # status_code=0 为成功\n    return result\n\ndef call_comprehensive_search(query, channel):\n    \"\"\"适用于：研报(report)、公告(announcement)、新闻(news)\"\"\"\n    url = f\"{BASE_URL}/v1/comprehensive/search\"\n    payload = {\n        \"channels\": [channel],\n        \"app_id\": \"AIME_SKILL\",\n        \"query\": query\n    }\n    data = json.dumps(payload).encode(\"utf-8\")\n    req = urllib.request.Request(url, data=data, headers=HEADERS, method=\"POST\")\n    with urllib.request.urlopen(req, timeout=30) as resp:\n        return json.loads(resp.read().decode(\"utf-8\"))"},{"kind":"example","language":"json","snippet":"{\n  \"datas\": [...],        // 数据列表\n  \"code_count\": 150,     // 符合条件总数\n  \"chunks_info\": {},     // 查询解析信息\n  \"status_code\": 0,      // 0=成功\n  \"status_msg\": \"\"\n}"}]}}