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

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./.local/bin/picoclaw auth weixin.

Good fit 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.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stock-data-assistant

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 115
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 192
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 122
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.5 $0.00052 $0.00836
Sonnet 5.5 $0.00026 $0.00418
Haiku 4.5 $0.00013 $0.00209

Measured 1mo ago against content hash 5dae3e350965, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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. 1mo ago Changed 5dae3e350965
  2. 2mo 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 (193 stars, last pushed 1mo ago), licensed MIT. It adds 129 tokens to every session and 2,090 once invoked, about $0.0005 per session on Opus 5.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.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

recipe-daily-pnl-report

Generate a daily profit and loss summary from trades and balances.

krakenfx/kraken-cli · 19 tokens