stock-data-assistant

stock-data-assistant is a skill for Claude Code, Codex from Yourdaylight/stock_datasource. It costs 129 tokens per session (2,090 once invoked), scanned A, original, MIT.

A stock-data assistant that combines historical market-data queries, live price updates, and access through WeChat. It covers Chinese and Hong Kong stocks, ETFs, indexes, and related data.

In plain words
What is it for?
Use it to query historical prices and financial reports, receive live market updates, and operate the stock-data tools through a WebSocket service, web interface, or WeChat.
Why use it?
It brings several ways to work with market data into one assistant, including natural-language requests from WeChat. It requires the configured services, model settings, and WeChat login.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yourdaylight/stock_datasource/stock-data-assistant
Any agent
npx skills add Yourdaylight/stock_datasource --skill stock-data-assistant
Clone the repo
git clone --depth 1 https://github.com/Yourdaylight/stock_datasource

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stock-data-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/yourdaylight/stock_datasource/stock-data-assistant.svg)](https://agentmods.dev/skills/yourdaylight/stock_datasource/stock-data-assistant)
Your own site
<a href="https://agentmods.dev/skills/yourdaylight/stock_datasource/stock-data-assistant"><img src="https://agentmods.dev/badge/skills/yourdaylight/stock_datasource/stock-data-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.02090
Opus 5 $0.00064 $0.01045
Sonnet 5 $0.00026 $0.00418
Haiku 4.5 $0.00013 $0.00209

Measured today against content hash 5dae3e350965, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

stock-data-assistant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 3 executable files (generate_picoclaw_config.py, setup_picoclaw.sh, start_wechat_bridge.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/stock-data-assistant/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stock Data Assistant(股票数据统一助手)

整合 历史数据查询实时行情搜索微信联动 三大能力的统一 Skill。DeepSeek Harness 接入见仓库 docs/DEEPSEEK_HARNESS.md(stdio MCP,不要使用 8001/messages)。

架构总览

┌─────────────┐     ┌──────────────┐     ┌─────────────────┐
│   微信用户    │────▶│  picoclaw     │────▶│ stock-mcp (8001) │
│  (WeChat)   │     │  (LLM Gateway)│     │  历史数据查询     │
└─────────────┘     │  port:18790  │     ├─────────────────┤
                    │  微信 Channel │     │  WS (8765)       │
┌─────────────┐     │              │────▶│  实时行情推送     │
│  Web 前端    │────▶│  MCP Client  │     └─────────────────┘
│  (18080)    │     └──────────────┘
└─────────────┘

核心能力

能力 协议 端口 说明
历史数据查询 MCP (streamable-http) 8001 K线/财务/指数/ETF 等
实时行情推送 WebSocket 8765 A股/港股/ETF 逐笔
微信交互 picoclaw WeChat Channel 自然语言 → MCP 工具调用

快速开始

一键启动

bash skills/stock-data-assistant/start_wechat_bridge.sh

该命令会依次完成:

  1. 检查/下载 picoclaw — 自动检测系统架构,从 GitHub Releases 下载
  2. 生成配置 — 从 .env 读取 LLM 配置,生成 picoclaw.yaml
  3. 启动 picoclaw — 启动 Gateway (18790) + 微信 Channel
  4. 启动实时订阅 — 启动 WebSocket 推送服务 (8765)

微信登录

# 显示微信登录二维码(扫码后即绑定)
.local/bin/picoclaw auth weixin

# 或者使用完整路径
./.local/bin/picoclaw auth weixin

扫码成功后,在微信中直接发消息即可操作股票数据。

微信对话示例

📱 你: 查一下贵州茅台最近的日K线
🤖 AI: 正在为您查询贵州茅台(600519.SH)的日线数据...

📱 你: 腾讯控股现在价格多少?
🤖 AI: 腾讯控股(00700.HK) 当前价 XXX.XX 港元,涨幅 X.XX%

📱 你: 监控 00700.HK 涨跌超过2%就通知我
🤖 AI: 已设置涨跌幅告警,触发条件:±2.00%

📱 你: 列出今天涨幅最大的10只A股
🤖 AI: 正在筛选今日涨幅榜 Top 10...

手动分步操作

Step 1: 安装 picoclaw

bash skills/stock-data-assistant/setup_picoclaw.sh
# 或指定版本
bash skills/stock-data-assistant/setup_picoclaw.sh v0.2.5

Step 2: 生成 picoclaw 配置

python3 skills/stock-data-assistant/generate_picoclaw_config.py
# 自定义参数
python3 skills/stock-data-assistant/generate_picoclaw_config.py \
    --mcp-token sk-your-token-here \
    --output ./my-config.yaml

Step 3: 启动 picoclaw

Read the full file on GitHub · 215 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed 5dae3e350965
  2. 6d ago First seen · 215 lines · 129 tokens per session scan A efd17d4735e4

Subscribe to this mod's changes

stock-data-assistant is a skill published in the GitHub repository Yourdaylight/stock_datasource (183 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 2,090 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.