ClawWatch — Watchlist Skill
Quick Reference
| User says... | You run... |
|---|
| "Füg Bitcoin zur Watchlist hinzu" | INLINECODE0 |
| "Add NVIDIA and Tesla" |
clawwatch add NVDA TSLA --tag portfolio |
| "Wie steht meine Watchlist?" |
clawwatch check --json → parse & summarize |
| "Zeig mir nur die Kryptos" |
clawwatch list --type crypto --json |
| "Alert wenn BTC über 100k geht" |
clawwatch alert add BTC above 100000 |
| "Alert if ETH drops 5% in a day" |
clawwatch alert add ETH change 5 |
| "Wie ist die Marktstimmung?" |
clawwatch feargreed |
| "Entferne TSLA" |
clawwatch remove TSLA |
| "Check my alerts" |
clawwatch alert check --json |
| "Export als CSV" |
clawwatch export --format csv |
How to Use
- 1. Run commands via Bash tool: INLINECODE10
- Use
--json flag to get machine-readable output you can parse - Summarize results in natural language for the user
- For deep analysis, pass the JSON data to market-analyst agent
Important Rules
- - Always use
--json flag when you need to parse the output programmatically - Don't run
clawwatch check too frequently — respect API rate limits (max every 60 seconds) - Auto-detection: Just pass symbols like
BTC, ETH, NVDA, SAP.DE — the tool auto-detects crypto vs stock - Alert exit codes:
clawwatch alert check returns exit code 0 (no alerts) or 1 (triggered)
Combining with market-analyst
When the user asks for analysis (not just prices), chain:
- 1.
clawwatch check --json → get current prices - Pass relevant data to market-analyst for interpretation
- Deliver combined response
Reading Cached Data
Instead of running CLI commands, you can read cached data directly:
- -
~/.clawwatch/latest.json — Last fetched prices - INLINECODE21 — Full watchlist state
Installation
CODEBLOCK0
ClawWatch — 观察列表技能
快速参考
| 用户说... | 你运行... |
|---|
| 把比特币添加到观察列表 | clawwatch add BTC |
| 添加英伟达和特斯拉 |
clawwatch add NVDA TSLA --tag portfolio |
| 我的观察列表怎么样了? | clawwatch check --json → 解析并总结 |
| 只显示加密货币 | clawwatch list --type crypto --json |
| 当比特币超过10万时提醒我 | clawwatch alert add BTC above 100000 |
| 如果以太坊一天内下跌5%就提醒 | clawwatch alert add ETH change 5 |
| 市场情绪怎么样? | clawwatch feargreed |
| 移除特斯拉 | clawwatch remove TSLA |
| 检查我的提醒 | clawwatch alert check --json |
| 导出为CSV | clawwatch export --format csv |
使用方法
- 1. 通过Bash工具运行命令:bash clawwatch
- 使用--json标志获取机器可读的输出,方便解析
- 用自然语言为用户总结结果
- 如需深度分析,将JSON数据传递给市场分析师代理
重要规则
- - 需要以编程方式解析输出时,务必使用--json标志
- 不要过于频繁运行clawwatch check — 遵守API速率限制(最多每60秒一次)
- 自动检测: 只需传入BTC、ETH、NVDA、SAP.DE等代码 — 工具会自动检测是加密货币还是股票
- 提醒退出码: clawwatch alert check返回退出码0(无提醒)或1(已触发)
与市场分析师配合使用
当用户要求分析(不仅仅是价格)时,按以下顺序操作:
- 1. clawwatch check --json → 获取当前价格
- 将相关数据传递给市场分析师进行解读
- 返回综合响应
读取缓存数据
无需运行CLI命令,可以直接读取缓存数据:
- - ~/.clawwatch/latest.json — 最近获取的价格
- ~/.clawwatch/watchlist.json — 完整观察列表状态
安装
bash
pip install clawwatch
加密货币无需API密钥!开箱即用。
可选:设置CoinCap密钥以获得更高速率限制
clawwatch config --coincap-key YOUR_KEY # 可选