Xpersona
A

A-Share Review and Analyse

CLAWHUB · Unverified

A-share market automated review and analysis system, generating daily market insights with Gemini AI, supporting publishing to Hugo blog and WeChat Official...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K 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 s17f910k54pxr4amnmy4qk7pd183j7st:stock-review-ai
  1. Install using `clawhub skill install s17f910k54pxr4amnmy4qk7pd183j7st:stock-review-ai` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/donvink/stock-review-ai before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-donvink-stock-review-ai/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

49,531 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: stock-review
description: A-share market automated review and analysis system, generating daily market insights with Gemini AI, supporting publishing to Hugo blog and WeChat Official Account
version: 1.0.1
metadata:
  openclaw:
    homepage: https://github.com/donvink/stock-review
    requires:
      anyBins:
        - python3
        - python
---

# 🚀 Stock Review

👉 **[Live Demo Blog](https://donvink.github.io/stock-review/)**

### GitHub: 👉 **[https://github.com/Donvink/stock-review](https://github.com/Donvink/stock-review)**

## Language

**Match user's language**: Respond in the same language the user uses. If the user writes in Chinese, respond in Chinese. If the user writes in English, respond in English.

## Script Directory

**Agent Execution**: Determine this SKILL.md directory as `{baseDir}`, then use `{baseDir}/scripts/<name>.py`. Ensure Python 3.10+ is installed and dependencies are configured.

| Script | Purpose |
|------|------|
| `scripts/fetch_data.py` | Fetch A-share market data (indices, stocks, sectors, etc.) |
| `scripts/analyze.py` | Gemini AI analysis of market data |
| `scripts/post_to_hugo.py` | Publish to Hugo blog |
| `scripts/post_to_wechat.py` | Publish to WeChat Official Account |
| `scripts/main.py` | Main execution script, coordinates the entire workflow |

## Configuration Preferences

1. Check if config.yaml exists: `{baseDir}/stock-review/config.yaml`

2. Check if .env file exists and is configured with `GEMINI_API_KEY`, `WECHAT_APP_ID`, `WECHAT_APP_SECRET`: `{baseDir}/stock-review/.env`


**config.yaml supports**: Default publishing platforms | Whether to skip AI analysis by default | Default data backtracking days | Default request delay | Default retry count | API key configuration
**.env supports**: API key configuration

**Minimum supported keys** (case-insensitive, accepts `1/0` or `true/false`):

| Key | Default | Description |
|-----|---------|------|
| `date` | `null` | Date in YYYYMMDD format |
| `force_refresh` | `false` | Whether to force refresh already fetched data |
| `skip_ai_analysis` | `false` | Whether to skip AI analysis |
| `platforms` | `["hugo"]` | Default publishing platforms (['hugo']/['wechat']/['hugo', 'wechat']) |
| `data_dir` | `null` | Directory for data storage |
| `max_retries` | `3` | Default retry count |
| `request_delay` | `0.5` | Default request delay (seconds) |
| `backtrack_days` | `0` | Default data backtracking days |
| `type` | `gemini` | Model type |
| `model_name` | `gemini-2.5-flash` | Model name |


**Recommended config.yaml example**:

```yml
# default configuration for stock review skill
review:
  markets:                          # can include "shanghai", "shenzhen", "hongkong"
    - "shanghai"
    - "shenzhen"
    - "hongkong"
  default_period: "daily"           # can be "daily", "weekly", "monthly"
  date: null                        # can be specific date "YYYYMMDD" like "20260101" or null for today
  force_refresh: false              # whether to

_meta.json

{
  "ownerId": "kn71qmpyrmn3zrhk4r6mwzejnd82sw4c",
  "slug": "stock-review-ai",
  "version": "1.0.1",
  "publishedAt": 1774435154738
}

skill-card.md

## Description:

A-share market automated review and analysis system, generating daily market insights with Gemini AI, supporting publishing to Hugo blog and WeChat Official Account.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and market-analysis users use this skill to automate daily A-share data collection, generate Markdown market summaries, optionally add Gemini-based analysis, and publish reports to Hugo or WeChat.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill handles Gemini and WeChat credentials.

Mitigation: Use scoped credentials in a trusted workspace and verify or fix secret redaction in logs before using real WeChat credentials.

Risk: The skill can publish generated reports to Hugo output paths or create WeChat drafts.

Mitigation: Review publishing platform settings before execution and inspect generated posts or drafts before making them public.

Risk: The skill writes market data and report files to local data and content directories.

Mitigation: Run it in a workspace where writing data and content/posts is expected, and set output paths deliberately.

Risk: Generated market analysis may contain incomplete or misleading trading guidance.

Mitigation: Treat reports as informational analysis, keep the investment-risk disclaimer, and require human review before acting on recommendations.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/donvink/skills/stock-review-ai)
- [Project homepage from metadata](https://github.com/donvink/stock-review)
- [Live demo blog](https://donvink.github.io/stock-review/)
- [AkShare Documentation](https://akshare.akfamily.xyz/index.html)
- [Google AI Studio](https://aistudio.google.com/)
- [WeChat Official Account Platform](https://developers.weixin.qq.com/platform/)
- [Hugo Documentation](https://gohugo.io/)

## Skill Output:

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

**Output Format:** [Markdown reports, CSV data files, shell commands, configuration snippets, and status text]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can write local data and blog-post files, optionally call Gemini for analysis, and optionally create WeChat drafts when credentials are configured.]

## Skill Version(s):

1.0.1 (source: server release metadata and SKILL.md frontmatter)

## 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.

SKILL.zh.md

---
name: stock-review
description: A股市场自动化复盘分析系统,基于Gemini AI生成每日市场洞察报告,支持发布到Hugo博客和微信公众号
version: 1.0.1
metadata:
  openclaw:
    homepage: https://github.com/donvink/stock-review
    requires:
      anyBins:
        - python3
        - python
---

# 🚀 Stock Review

👉 **[在线演示博客](https://donvink.github.io/stock-review/)**

### GitHub: 👉 **[https://github.com/Donvink/stock-review](https://github.com/Donvink/stock-review)**

## Language

**匹配用户语言**: 使用用户使用的相同语言回复。如果用户用中文写,就用中文回复。如果用户用英文写,就用英文回复。

## 脚本目录

**Agent执行**: 确定此SKILL.md目录为 `{baseDir}`,然后使用 `{baseDir}/scripts/<name>.py`。运行时需确保Python 3.10+已安装,依赖包已配置。

| 脚本 | 用途 |
|------|------|
| `scripts/fetch_data.py` | 获取A股市场数据(指数、个股、板块等) |
| `scripts/analyze.py` | Gemini AI分析市场数据 |
| `scripts/post_to_hugo.py` | 发布到Hugo博客 |
| `scripts/post_to_wechat.py` | 发布到微信公众号 |
| `scripts/main.py` | 主执行脚本,协调整个流程 |

## 偏好配置

1. 检查config.yaml是否存在: `{baseDir}/stock-review/config.yaml`

2. 检查.env文件是否存在并且已配置好 `GEMINI_API_KEY`、`WECHAT_APP_ID`、`WECHAT_APP_SECRET`: `{baseDir}/stock-review/.env`


**config.yaml支持**: 默认发布平台 | 默认是否跳过AI分析 | 默认数据回溯天数 | 默认请求延迟 | 默认重试次数 | API密钥配置
**.env支持**: API密钥配置

**最小支持键** (不区分大小写,接受 `1/0` 或 `true/false`):

| 键 | 默认值 | 说明 |
|-----|---------|------|
| `date` | `null` | 日期,格式YYYYMMDD |
| `force_refresh` | `false` | 是否强制更新已经获取的数据 |
| `skip_ai_analysis` | `false` | 是否跳过AI分析 |
| `platforms` | `["hugo"]` | 默认发布平台 (['hugo']/['wechat']/['hugo', 'wechat']) |
| `data_dir` | `null` | 数据保存的地址 |
| `max_retries` | `3` | 默认重试次数 |
| `request_delay` | `0.5` | 默认请求延迟(秒) |
| `backtrack_days` | `0` | 默认数据回溯天数 |
| `type` | `gemini` | 模型类型 |
| `model_name` | `gemini-2.5-flash` | 模型名称 |


**推荐config.yaml示例**:

```yml
# default configuration for stock review skill
review:
  markets:                          # can include "shanghai", "shenzhen", "hongkong"
    - "shanghai"
    - "shenzhen"
    - "hongkong"
  default_period: "daily"           # can be "daily", "weekly", "monthly"
  date: null                        # can be specific date "YYYYMMDD" like "20260101" or null for today
  force_refresh: false              # whether to force refresh data even if cached data is available
  skip_ai_analysis: false           # whether to skip AI analysis and just return raw data
  platforms: ["hugo"]               # platforms to publish the report, e.g. ['hugo', 'wechat'] or ['hugo'] or ['wechat']

paths:
  data_dir: null                    # directory to store fetched data and cache, null means current project directory

parameters:
  max_retries: 3
  request_delay: 0.5
  backtrack_days: 0
  
models:
  type: "gemini"
  model_name: "gemini-2.5-flash"
```

**.env示例**:

```md
# Gemini API Key
GEMINI_API_KEY="your_gemini_api_key"

# WeChat Official Account Configuration
WECHAT_APP_ID="your_wechat_app_id"
WECHAT_APP_SECRET="your_wechat_app_secret"
```

### 获取Gemini API Key的方法:
1. 访问官方入口:前往 https://aistudio.google.com/ 并使用你的 Google 账号登录。

2. 创建 API Key:点击左侧边栏的 "Get API key",点击 "Create API key in new project",复制生成的字符串(请务必妥善保存,关闭窗

config.yaml

# default configuration for stock review skill
review:
  markets:                          # can include "shanghai", "shenzhen", "hongkong"
    - "shanghai"
    - "shenzhen"
    - "hongkong"
  default_period: "daily"           # can be "daily", "weekly", "monthly"
  date: null                        # can be specific date "YYYYMMDD" like "20260101" or null for today
  force_refresh: false              # whether to force refresh data even if cached data is available
  skip_ai_analysis: false           # whether to skip AI analysis and just return raw data
  platforms: ["hugo"]               # platforms to publish the report, e.g. ['hugo', 'wechat'] or ['hugo'] or ['wechat']

paths:
  data_dir: null                    # directory to store fetched data and cache, null means current project directory

parameters:
  max_retries: 3
  request_delay: 0.5
  backtrack_days: 0
  
models:
  type: "gemini"
  model_name: "gemini-2.5-flash"

Sponsored

Ads related to A-Share Review and Analyse and adjacent AI workflows.