{
  "schemaVersion": "1.0",
  "item": {
    "slug": "charts",
    "name": "Charts",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/ryandeangraves/charts",
    "canonicalUrl": "https://clawhub.ai/ryandeangraves/charts",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/charts",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=charts",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/charts"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/charts",
    "agentPageUrl": "https://openagent3.xyz/skills/charts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/charts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/charts/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Purpose",
        "body": "Generate professional technical analysis charts with candlesticks, Fibonacci retracement, moving averages (SMA 20/50), RSI, and pattern detection. Uses the local crypto_charts.py module."
      },
      {
        "title": "When to Use",
        "body": "Boss Man asks \"show me the BTC chart\" or \"run TA on silver\"\nYou need visual charts for market analysis or reporting\nMorning protocol chart generation\nAny request for technical analysis with visuals"
      },
      {
        "title": "Generate All Charts (Full Suite)",
        "body": "Generates charts for all 6 tracked assets: BTC, ETH, XRP, SUI, Gold, Silver.\nWarning: Takes 2-3 minutes due to API rate limits between requests.\n\ncd ~/clawd && python3 -c \"\nimport json\nfrom crypto_charts import generate_all_charts, cleanup_old_charts\ncleanup_old_charts()\nreport = generate_all_charts(output_dir=os.path.expanduser('~/clawd/charts'))\nprint(json.dumps(report, indent=2, default=str))\n\" 2>&1\n\nCharts saved to: ~/clawd/charts/chart_btc.png, chart_eth.png, etc."
      },
      {
        "title": "Generate Single Chart",
        "body": "For a quick single-asset chart without waiting for the full suite:\n\ncd ~/clawd && python3 -c \"\nimport os, json\nfrom crypto_charts import (\n    fetch_yfinance, fetch_ohlc, fetch_market_data,\n    calc_moving_averages, calc_rsi, calc_fibonacci,\n    detect_patterns, generate_chart, COINS\n)\n\ncoin_id = 'COIN_ID'  # bitcoin, ethereum, ripple, sui, gold, silver\ninfo = COINS[coin_id]\n\n# Fetch data (Yahoo Finance first, CoinGecko fallback)\ndf = fetch_yfinance(coin_id)\nif df is None or len(df) < 10:\n    df = fetch_ohlc(coin_id)\nif df is None or len(df) < 10:\n    df = fetch_market_data(coin_id)\n\nif df is not None and len(df) >= 5:\n    df = calc_moving_averages(df)\n    df = calc_rsi(df)\n    fib = calc_fibonacci(df)\n    patterns = detect_patterns(df)\n\n    chart_path = os.path.expanduser(f'~/clawd/charts/chart_{info[\\\"symbol\\\"].lower()}.png')\n    generate_chart(coin_id, df, fib, chart_path)\n\n    print(f'Chart: {chart_path}')\n    print(f'Price: \\${df[\\\"close\\\"].iloc[-1]:,.2f}')\n    print(f'RSI: {df[\\\"rsi\\\"].iloc[-1]:.1f}')\n    print('Patterns:')\n    for p in patterns:\n        print(f'  - {p}')\nelse:\n    print('Not enough data to generate chart')\n\""
      },
      {
        "title": "Tracked Assets",
        "body": "coin_idSymbolChart ColorData SourcebitcoinBTC#F7931AYahoo Finance → CoinGeckoethereumETH#627EEAYahoo Finance → CoinGeckorippleXRP#00AAE4Yahoo Finance → CoinGeckosuiSUI#6FBCF0Yahoo Finance → CoinGeckogoldXAU#FFD700Yahoo FinancesilverXAG#C0C0C0Yahoo Finance"
      },
      {
        "title": "What the Charts Include",
        "body": "Candlestick bars (green up / red down) — 90 days of daily data\n20 SMA (blue) and 50 SMA (gold) — trend and support/resistance\nFibonacci retracement levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%)\nRSI subplot (purple) — with overbought (70) and oversold (30) lines\nCurrent price marker — dot + horizontal line in the asset's accent color"
      },
      {
        "title": "Pattern Detection (Automatic)",
        "body": "The module auto-detects and reports:\n\nSMA crossovers (Golden Cross / Death Cross)\nHead & Shoulders / Inverse H&S\nFibonacci zone positioning\nTrend strength (7-day momentum)\nRSI condition (overbought/oversold/neutral)\nPrice position within 90-day range"
      },
      {
        "title": "Sending Charts via Telegram",
        "body": "After generating, send the chart image using Clawdbot's native message command:\n\nmessage (Telegram, target=\"7887978276\") [attach ~/clawd/charts/chart_btc.png]"
      },
      {
        "title": "Rules",
        "body": "Charts use 90 days of history — enough for meaningful TA\nYahoo Finance is tried first (free, reliable), CoinGecko is fallback\nRate limit: 8-second delays between coins, 20-second batch cooldowns\nAlways run cleanup_old_charts() first to avoid disk buildup\nChart images are ~150 DPI, dark theme (#0f172a background)"
      }
    ],
    "body": "Skill: charts\nPurpose\n\nGenerate professional technical analysis charts with candlesticks, Fibonacci retracement, moving averages (SMA 20/50), RSI, and pattern detection. Uses the local crypto_charts.py module.\n\nWhen to Use\nBoss Man asks \"show me the BTC chart\" or \"run TA on silver\"\nYou need visual charts for market analysis or reporting\nMorning protocol chart generation\nAny request for technical analysis with visuals\nGenerate All Charts (Full Suite)\n\nGenerates charts for all 6 tracked assets: BTC, ETH, XRP, SUI, Gold, Silver. Warning: Takes 2-3 minutes due to API rate limits between requests.\n\ncd ~/clawd && python3 -c \"\nimport json\nfrom crypto_charts import generate_all_charts, cleanup_old_charts\ncleanup_old_charts()\nreport = generate_all_charts(output_dir=os.path.expanduser('~/clawd/charts'))\nprint(json.dumps(report, indent=2, default=str))\n\" 2>&1\n\n\nCharts saved to: ~/clawd/charts/chart_btc.png, chart_eth.png, etc.\n\nGenerate Single Chart\n\nFor a quick single-asset chart without waiting for the full suite:\n\ncd ~/clawd && python3 -c \"\nimport os, json\nfrom crypto_charts import (\n    fetch_yfinance, fetch_ohlc, fetch_market_data,\n    calc_moving_averages, calc_rsi, calc_fibonacci,\n    detect_patterns, generate_chart, COINS\n)\n\ncoin_id = 'COIN_ID'  # bitcoin, ethereum, ripple, sui, gold, silver\ninfo = COINS[coin_id]\n\n# Fetch data (Yahoo Finance first, CoinGecko fallback)\ndf = fetch_yfinance(coin_id)\nif df is None or len(df) < 10:\n    df = fetch_ohlc(coin_id)\nif df is None or len(df) < 10:\n    df = fetch_market_data(coin_id)\n\nif df is not None and len(df) >= 5:\n    df = calc_moving_averages(df)\n    df = calc_rsi(df)\n    fib = calc_fibonacci(df)\n    patterns = detect_patterns(df)\n\n    chart_path = os.path.expanduser(f'~/clawd/charts/chart_{info[\\\"symbol\\\"].lower()}.png')\n    generate_chart(coin_id, df, fib, chart_path)\n\n    print(f'Chart: {chart_path}')\n    print(f'Price: \\${df[\\\"close\\\"].iloc[-1]:,.2f}')\n    print(f'RSI: {df[\\\"rsi\\\"].iloc[-1]:.1f}')\n    print('Patterns:')\n    for p in patterns:\n        print(f'  - {p}')\nelse:\n    print('Not enough data to generate chart')\n\"\n\nTracked Assets\ncoin_id\tSymbol\tChart Color\tData Source\nbitcoin\tBTC\t#F7931A\tYahoo Finance → CoinGecko\nethereum\tETH\t#627EEA\tYahoo Finance → CoinGecko\nripple\tXRP\t#00AAE4\tYahoo Finance → CoinGecko\nsui\tSUI\t#6FBCF0\tYahoo Finance → CoinGecko\ngold\tXAU\t#FFD700\tYahoo Finance\nsilver\tXAG\t#C0C0C0\tYahoo Finance\nWhat the Charts Include\nCandlestick bars (green up / red down) — 90 days of daily data\n20 SMA (blue) and 50 SMA (gold) — trend and support/resistance\nFibonacci retracement levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%)\nRSI subplot (purple) — with overbought (70) and oversold (30) lines\nCurrent price marker — dot + horizontal line in the asset's accent color\nPattern Detection (Automatic)\n\nThe module auto-detects and reports:\n\nSMA crossovers (Golden Cross / Death Cross)\nHead & Shoulders / Inverse H&S\nFibonacci zone positioning\nTrend strength (7-day momentum)\nRSI condition (overbought/oversold/neutral)\nPrice position within 90-day range\nSending Charts via Telegram\n\nAfter generating, send the chart image using Clawdbot's native message command:\n\nmessage (Telegram, target=\"7887978276\") [attach ~/clawd/charts/chart_btc.png]\n\nRules\nCharts use 90 days of history — enough for meaningful TA\nYahoo Finance is tried first (free, reliable), CoinGecko is fallback\nRate limit: 8-second delays between coins, 20-second batch cooldowns\nAlways run cleanup_old_charts() first to avoid disk buildup\nChart images are ~150 DPI, dark theme (#0f172a background)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ryandeangraves/charts",
    "publisherUrl": "https://clawhub.ai/ryandeangraves/charts",
    "owner": "ryandeangraves",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/charts",
    "downloadUrl": "https://openagent3.xyz/downloads/charts",
    "agentUrl": "https://openagent3.xyz/skills/charts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/charts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/charts/agent.md"
  }
}