360 Secure SkillHub
360 安全技能中心

ClawWatch

ClawWatch 封装命令行工具 clawwatch,用于管理加密货币与股票自选列表:添加或移除代码、查询现价、设置价格与涨跌幅提醒、查看加密货币恐惧与贪婪指数,并支持 JSON 与 CSV 输出;行情来自 CoinPaprika 与 Yahoo Finance,可选配置 CoinCap 密钥,要求调用频率不超过每 60 秒一次。

goarstne
goarstne
热度 82.89
最近更新 2026-05-11 16:52:13
分类:生活依赖:代码执行 / 读写文件 / 第三方 API应用场景:财务 / 个人理财 / 市场分析 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clawwatch
Metadata
name
clawwatch
description
Crypto and stock price watchlist tracker. Use when the user asks about their watchlist, wants to add/remove assets to track, check prices, set price alerts, or get a market overview. Supports BTC, ETH, and all major crypto via CoinPaprika + stocks via Yahoo Finance. Also provides the Crypto Fear & Greed Index.
tools
Bash, Read

ClawWatch — Watchlist Skill

Quick Reference

User says... You run...
"Füg Bitcoin zur Watchlist hinzu" clawwatch add BTC
"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: bash clawwatch <command>
  2. Use --json flag to get machine-readable output you can parse
  3. Summarize results in natural language for the user
  4. 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
  2. Pass relevant data to market-analyst for interpretation
  3. Deliver combined response

Reading Cached Data

Instead of running CLI commands, you can read cached data directly:

  • ~/.clawwatch/latest.json — Last fetched prices
  • ~/.clawwatch/watchlist.json — Full watchlist state

Installation

pip install clawwatch
# No API keys needed for crypto! Works out of the box.
# Optional: set CoinCap key for higher rate limits
clawwatch config --coincap-key YOUR_KEY  # optional