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.
npx agentmods add skills/yourdaylight/stock_datasource/stock-data-assistantnpx skills add Yourdaylight/stock_datasource --skill stock-data-assistantgit clone --depth 1 https://github.com/Yourdaylight/stock_datasourceWrote 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.
[](https://agentmods.dev/skills/yourdaylight/stock_datasource/stock-data-assistant)<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>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.
| Model | Per session | Once 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 |
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.
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.
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
该命令会依次完成:
- 检查/下载 picoclaw — 自动检测系统架构,从 GitHub Releases 下载
- 生成配置 — 从
.env读取 LLM 配置,生成picoclaw.yaml - 启动 picoclaw — 启动 Gateway (18790) + 微信 Channel
- 启动实时订阅 — 启动 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
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.
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.
- today Changed 5dae3e350965
- 6d ago First seen · 215 lines · 129 tokens per session scan A efd17d4735e4
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.
Other skills, from other repositories
sector-rotation
行业轮动分析——申万行业景气度评分、行业动量排名、产业链传导、估值/盈利/资金流多维比较框架.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.