Xpersona
A

AkShare Analysis

CLAWHUB · Unverified

Analyze Hong Kong (5-digit) and A-share (6-digit) stocks across six dimensions to generate BUY/HOLD/SELL signals with confidence scores using akshare data. Skill: AkShare Analysis Owner: coxlong Summary: Analyze Hong Kong (5-digit) and A-share (6-digit) stocks across six dimensions to generate BUY/HOLD/SELL signals with confidence scores using akshare data. Tags: latest:1.1.2 Version history: v1.1.2 | 2026-03-29T15:15:57.694Z | auto - Updated the skill description and trigger conditions: now triggers for analysis requests involving Chinese company names (e.g., 腾讯, 阿里巴巴,

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K 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 s17dt4qbsw818x2z4w4vbwbxws83ryz0:akshare-analysis
  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-coxlong-akshare-analysis/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

20,774 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: akshare-analysis
description: Stock analysis for Chinese companies: HK stocks (港股) and A-shares (A股). Use when user wants to analyze Chinese stocks by company name (腾讯, 阿里巴巴, 茅台, 比亚迪, 美团, 小米, 宁德时代, 京东, 拼多多, 网易, 百度, 快手) or ticker code (00700, 600519, etc.). Trigger for any request involving 港股, A股, 中概股, or investment/trading analysis of Chinese companies.
version: 1.0.0
commands:
  - /akshare - Analyze a HK or A-share stock (e.g., /akshare 00700)
metadata: {"clawdbot":{"emoji":"📊","requires":{"bins":["uv"],"env":[]},"install":[]}}
---

# AKShare Stock Analysis

Analyze Hong Kong and A-share stocks with 6-dimension scoring using akshare as the data source. Works reliably on servers where Yahoo Finance is rate-limited.

## Ticker Format

| Market | Format | Example |
|--------|--------|---------|
| Hong Kong | 5-digit | `00700` (Tencent), `09988` (Alibaba) |
| A-Share | 6-digit | `600519` (Moutai), `000858` (Wuliangye) |

## Quick Commands

```bash
# Single stock analysis
uv run {baseDir}/scripts/analyze.py 00700

# Multiple stocks
uv run {baseDir}/scripts/analyze.py 00700 09988 600519

# JSON output
uv run {baseDir}/scripts/analyze.py 00700 --output json

# Verbose (show per-dimension scores)
uv run {baseDir}/scripts/analyze.py 00700 --verbose

# Generate HTML report
uv run {baseDir}/scripts/analyze.py 00700 --report
uv run {baseDir}/scripts/render_report.py /data/stock-reports/00700/20260329_030822

# Search stock news (supports multiple keywords)
uv run {baseDir}/scripts/news.py 00700 腾讯 港股
uv run {baseDir}/scripts/news.py 600519 茅台 A股 --json
```

## HTML Report Generation

Four-step workflow for generating comprehensive reports:

**Step 1: Analyze and generate report directory**
```bash
uv run {baseDir}/scripts/analyze.py 00700 --report
# Creates: /data/stock-reports/00700/20260329_030822/
#   ├── chart_data.json  (K线+MA+布林带+RSI+MACD+成交量)
#   └── data.json        (structured analysis data)
```

**Step 2: Search news**
```bash
# Search by ticker, name, and market keywords
uv run {baseDir}/scripts/news.py 00700 腾讯 港股
uv run {baseDir}/scripts/news.py 600519 茅台 A股

# For HK stocks, use: ticker + name + "港股"
# For A-shares, use: ticker + name + "A股"
```

**Step 3: Generate AI analysis (manual)**
Based on the news from Step 2 and technical data from Step 1, create `ai_analysis.md` in the report directory:

```markdown
---
generated_at: 2026-03-29T20:30:00
---

## 市场情绪
... (summarize key news sentiment)

## 技术面解读
... (combine news + technical indicators from data.json)

## 关键事件影响
... (major news events and their impact)

## 综合展望
... (overall outlook combining fundamentals + technicals + news)

## 风险提示
... (key risks identified from news and technicals)
```

**Step 4: Render HTML report**
```bash
uv run {baseDir}/scripts/render_report.py /data/stock-reports/00700/20260329_030822
# Generates: index.html (self-contained with embedded charts + AI analysis)
```

The HTML report includes: signal badge, dimension scores with visual bars, financial 

_meta.json

{
  "ownerId": "kn7b916s9d7hqj68gwcfk0g0jx83rzkq",
  "slug": "akshare-analysis",
  "version": "1.1.2",
  "publishedAt": 1774797357694
}

skill-card.md

## Description:

Analyzes Hong Kong and A-share stocks using akshare data to produce informational BUY, HOLD, or SELL signals with confidence scores.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to evaluate Chinese equities by ticker or company name, retrieve market and news data, and generate informational stock-analysis outputs for review.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated HTML reports may execute untrusted report content or unverified runtime code.

Mitigation: Review report inputs before rendering, avoid untrusted ai_analysis.md or unexpected upstream data, escape HTML, add a CSP, and pin or integrity-check browser scripts.

Risk: Stock signals and market data may be delayed, incomplete, or unsuitable as financial advice.

Mitigation: Treat outputs as informational decision support only and verify findings against authoritative market and financial sources before acting.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/coxlong/skills/akshare-analysis)

## Skill Output:

**Output Type(s):** [text, JSON, HTML files, shell commands, guidance]

**Output Format:** [Plain text, JSON, and generated HTML reports]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can create report directories containing data.json, chart_data.json, and index.html; outputs include an informational disclaimer.]

## Skill Version(s):

1.1.2 (source: server-resolved release metadata; artifact frontmatter says 1.0.0)

## 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 AkShare Analysis and adjacent AI workflows.