{
  "schemaVersion": "1.0",
  "item": {
    "slug": "yahoo-finance-cli",
    "name": "Yahoo Finance CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/stuhorsman/yahoo-finance-cli",
    "canonicalUrl": "https://clawhub.ai/stuhorsman/yahoo-finance-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/yahoo-finance-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=yahoo-finance-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/yahoo-finance-cli"
    },
    "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/yahoo-finance-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/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": "Yahoo Finance CLI",
        "body": "A Node.js CLI for fetching comprehensive stock data from Yahoo Finance using the yahoo-finance2 library."
      },
      {
        "title": "Requirements",
        "body": "Node.js\nyahoo-finance2 installed globally or available as yf\njq"
      },
      {
        "title": "Install",
        "body": "brew install jq\nnpm install yahoo-finance2\nsudo ln -s /opt/homebrew/bin/yahoo-finance /usr/local/bin/yf"
      },
      {
        "title": "Usage",
        "body": "The tool is available as yf. It outputs JSON, which can be piped to jq for filtering.\n\nyf <module> <symbol> [queryOptions]"
      },
      {
        "title": "Quote (Real-time Price & Data)",
        "body": "Get real-time price, change, and basic data.\n\nyf quote AAPL\nyf quote AAPL | jq '.regularMarketPrice'"
      },
      {
        "title": "Quote Summary (Fundamentals & More)",
        "body": "Get detailed modules like earnings, financial data, and profiles.\n\n# Get specific sub-modules\nyf quoteSummary AAPL '{\"modules\":[\"assetProfile\", \"financialData\", \"defaultKeyStatistics\"]}'\n\n# Common modules to request:\n# - assetProfile (Company info, sector)\n# - financialData (Target price, margins, cash)\n# - defaultKeyStatistics (Enterprise value, float, shares)\n# - calendarEvents (Earnings dates)\n# - earnings (History and trend)\n# - recommendationTrend (Analyst ratings)\n# - upgradeDowngradeHistory"
      },
      {
        "title": "Insights",
        "body": "Get technical and fundamental insights (valuation, outlook).\n\nyf insights AAPL"
      },
      {
        "title": "Search",
        "body": "Search for symbols.\n\nyf search \"Apple\"\nyf search \"BTC-USD\""
      },
      {
        "title": "Historical Data (Deprecated)",
        "body": "Get historical OHLCV data. Note: historical is deprecated; use chart instead.\n\n# Deprecated - use chart instead\nyf historical AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\"}'\n\n# Recommended: use chart\nyf chart AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\"}'"
      },
      {
        "title": "Trending",
        "body": "See what's trending.\n\nyf trendingSymbols US"
      },
      {
        "title": "Examples",
        "body": "Quick Price Check\n\n# Full JSON then filter with jq\nyf quote NVDA | jq '{symbol: .symbol, price: .regularMarketPrice, changePct: .regularMarketChangePercent}'\n\nNext Earnings Date\n\n# Use single quotes around the JSON option in zsh/bash\nyf quoteSummary TSLA '{\"modules\":[\"calendarEvents\"]}' | jq '.calendarEvents.earnings.earningsDate'\n\nAnalyst Recommendations\n\nyf quoteSummary AAPL '{\"modules\":[\"recommendationTrend\"]}'\n\nCompany Profile\n\nyf quoteSummary MSFT '{\"modules\":[\"assetProfile\"]}'\n\nHistorical OHLCV\n\n# Using chart (recommended)\nyf chart AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\",\"interval\":\"1d\"}' | jq '.quotes[0:5]'\n\n# Using historical (deprecated, but still works)\nyf historical AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\",\"interval\":\"1d\"}' | jq '.[0:5]'\n\nSearch for Symbols\n\nyf search 'Apple'\nyf search 'BTC-USD'\n\nTrending Symbols (US)\n\nyf trendingSymbols US\n\nInsights (valuation, outlook)\n\nyf insights AAPL"
      },
      {
        "title": "Troubleshooting",
        "body": "Cookies: The tool automatically handles cookies (stored in ~/.yf2-cookies.json). If you encounter issues, try deleting this file.\nJSON Output: The output is pure JSON. Use jq to parse it for scripts or readability.\n\nAdditional tips:\n\nIf you see authentication or parsing errors, delete the cookie file and retry:\n\nrm -f ~/.yf2-cookies.json\nyf quote AAPL\n\nOn macOS with zsh, prefer single quotes around JSON option arguments and use double quotes inside (see examples above).\nIf you want a compact numeric value only (no jq), use a short jq filter, e.g.:\n\nyf quote AAPL | jq -r '.regularMarketPrice'"
      }
    ],
    "body": "Yahoo Finance CLI\n\nA Node.js CLI for fetching comprehensive stock data from Yahoo Finance using the yahoo-finance2 library.\n\nRequirements\nNode.js\nyahoo-finance2 installed globally or available as yf\njq\nInstall\nbrew install jq\nnpm install yahoo-finance2\nsudo ln -s /opt/homebrew/bin/yahoo-finance /usr/local/bin/yf\n\nUsage\n\nThe tool is available as yf. It outputs JSON, which can be piped to jq for filtering.\n\nyf <module> <symbol> [queryOptions]\n\nModules\nQuote (Real-time Price & Data)\n\nGet real-time price, change, and basic data.\n\nyf quote AAPL\nyf quote AAPL | jq '.regularMarketPrice'\n\nQuote Summary (Fundamentals & More)\n\nGet detailed modules like earnings, financial data, and profiles.\n\n# Get specific sub-modules\nyf quoteSummary AAPL '{\"modules\":[\"assetProfile\", \"financialData\", \"defaultKeyStatistics\"]}'\n\n# Common modules to request:\n# - assetProfile (Company info, sector)\n# - financialData (Target price, margins, cash)\n# - defaultKeyStatistics (Enterprise value, float, shares)\n# - calendarEvents (Earnings dates)\n# - earnings (History and trend)\n# - recommendationTrend (Analyst ratings)\n# - upgradeDowngradeHistory\n\nInsights\n\nGet technical and fundamental insights (valuation, outlook).\n\nyf insights AAPL\n\nSearch\n\nSearch for symbols.\n\nyf search \"Apple\"\nyf search \"BTC-USD\"\n\nHistorical Data (Deprecated)\n\nGet historical OHLCV data. Note: historical is deprecated; use chart instead.\n\n# Deprecated - use chart instead\nyf historical AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\"}'\n\n# Recommended: use chart\nyf chart AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\"}'\n\nTrending\n\nSee what's trending.\n\nyf trendingSymbols US\n\nExamples\n\nQuick Price Check\n\n# Full JSON then filter with jq\nyf quote NVDA | jq '{symbol: .symbol, price: .regularMarketPrice, changePct: .regularMarketChangePercent}'\n\n\nNext Earnings Date\n\n# Use single quotes around the JSON option in zsh/bash\nyf quoteSummary TSLA '{\"modules\":[\"calendarEvents\"]}' | jq '.calendarEvents.earnings.earningsDate'\n\n\nAnalyst Recommendations\n\nyf quoteSummary AAPL '{\"modules\":[\"recommendationTrend\"]}'\n\n\nCompany Profile\n\nyf quoteSummary MSFT '{\"modules\":[\"assetProfile\"]}'\n\n\nHistorical OHLCV\n\n# Using chart (recommended)\nyf chart AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\",\"interval\":\"1d\"}' | jq '.quotes[0:5]'\n\n# Using historical (deprecated, but still works)\nyf historical AAPL '{\"period1\":\"2024-01-01\",\"period2\":\"2024-12-31\",\"interval\":\"1d\"}' | jq '.[0:5]'\n\n\nSearch for Symbols\n\nyf search 'Apple'\nyf search 'BTC-USD'\n\n\nTrending Symbols (US)\n\nyf trendingSymbols US\n\n\nInsights (valuation, outlook)\n\nyf insights AAPL\n\nTroubleshooting\nCookies: The tool automatically handles cookies (stored in ~/.yf2-cookies.json). If you encounter issues, try deleting this file.\nJSON Output: The output is pure JSON. Use jq to parse it for scripts or readability.\n\nAdditional tips:\n\nIf you see authentication or parsing errors, delete the cookie file and retry:\nrm -f ~/.yf2-cookies.json\nyf quote AAPL\n\nOn macOS with zsh, prefer single quotes around JSON option arguments and use double quotes inside (see examples above).\nIf you want a compact numeric value only (no jq), use a short jq filter, e.g.:\nyf quote AAPL | jq -r '.regularMarketPrice'"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/stuhorsman/yahoo-finance-cli",
    "publisherUrl": "https://clawhub.ai/stuhorsman/yahoo-finance-cli",
    "owner": "stuhorsman",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/yahoo-finance-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/yahoo-finance-cli",
    "agentUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/yahoo-finance-cli/agent.md"
  }
}