stock-watcher
About
The stock-watcher skill manages a personal stock watchlist by allowing users to add, remove, and list tracked stocks. It provides performance summaries using real-time data from 10jqka.com.cn for Chinese A-share markets. Use this skill when you need to monitor specific stocks or maintain a watchlist within your application.
Quick Install
Claude Code
Recommendednpx skills add agentbay-ai/agentbay-skills -a claude-code/plugin add https://github.com/agentbay-ai/agentbay-skillsgit clone https://github.com/agentbay-ai/agentbay-skills.git ~/.claude/skills/stock-watcherCopy and paste this command in Claude Code to install this skill
Documentation
Stock Watcher Skill
This skill provides comprehensive stock watchlist management capabilities, allowing users to track their favorite stocks and get performance summaries using real-time data from 同花顺 (10jqka.com.cn).
自选股行情查看
当你要求查看自选股行情时,系统会直接显示以下信息:
- 每只股票的代码和名称
- 近期表现指标(涨跌幅等关键数据)
- 详细信息链接(可点击查看)
无需额外命令,直接为你呈现简洁明了的行情概览。
管理自选股
添加股票
使用股票代码(6位数字)添加到自选股:
- 例如:添加 600053 九鼎投资
删除股票
通过股票代码删除自选股:
- 例如:删除 600053
查看自选股列表
显示当前所有自选股的完整列表
清空自选股列表
完全清空所有自选股
数据来源
主要使用同花顺 (10jqka.com.cn) 作为数据源:
- 股票页面:
https://stockpage.10jqka.com.cn/{stock_code}/ - 支持沪深A股及科创板市场
- 提供实时行情、技术分析和资金流向数据
自选股管理
文件格式
自选股存储在 ~/.clawdbot/stock_watcher/watchlist.txt:
600053|九鼎投资
600018|上港集团
688785|恒运昌
支持操作
- 添加股票: 验证股票代码格式并添加到自选股
- 删除股票: 按股票代码精确匹配删除
- 查看列表: 显示当前自选股
- 清空列表: 完全清空自选股
- 行情总结: 获取所有股票的最新数据并提供简洁摘要
行情摘要特点
- 直接显示关键行情指标,无冗余信息
- 提供股票详情链接便于深入查看
- 自动处理网络错误和数据异常
- 合理控制请求频率(每秒1次)
注意事项
- 股票代码格式: 使用6位数字代码(如
600053) - 数据延迟: 行情可能有1-3分钟延迟
- 网络依赖: 需要网络连接获取实时数据
- 市场范围: 主要支持A股市场(沪市/深市/科创板)
安装与卸载
安装
运行 scripts/install.sh 脚本自动创建必要的目录结构。
卸载
运行 scripts/uninstall.sh 脚本完全移除所有相关文件。
脚本说明
所有脚本都使用统一的配置文件 config.py 来管理存储路径,确保路径一致性:
add_stock.py- 添加股票到自选股remove_stock.py- 从自选股删除股票list_stocks.py- 列出所有自选股clear_watchlist.py- 清空自选股列表summarize_performance.py- 获取股票行情摘要
GitHub Repository
Related Skills
llamaguard
OtherLlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.
cost-optimization
OtherThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
quantizing-models-bitsandbytes
OtherThis skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.
dispatching-parallel-agents
OtherThis Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.
