Skill detail

pp-yahoo-finance

Broad Yahoo Finance data, screening, and portfolio tooling.

MatchDirectReviewed for finance
Sourcemvanhorn/printing-press-libraryExternal source
Reported installs533Popularity signal only

Inspect before use

Automated review checks relevance, not safety or endorsement. Read the source instructions before using this skill.

Saved source preview

SKILL.md

The saved excerpt is a snapshot from review. The external source remains the complete and most current version.

---
name: pp-yahoo-finance
description: "Every Yahoo Finance endpoint plus a SQLite portfolio, covered-call screener Trigger phrases: `quote AAPL`, `options on TSLA`, `what's my portfolio doing`, `dividend income this year`, `screen for value stocks`, `daily market briefing`, `use yahoo-finance`, `run yahoo-finance`."
author: "Trevin Chow"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - yahoo-finance-pp-cli
    install:
      - kind: go
        bins: [yahoo-finance-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/commerce/yahoo-finance/cmd/yahoo-finance-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/commerce/yahoo-finance/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Yahoo Finance — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `yahoo-finance-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install yahoo-finance --cli-only
   ```
2. Verify: `yahoo-finance-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.5 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/commerce/yahoo-finance/cmd/yahoo-finance-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI

Reach for this CLI when an agent needs Yahoo Finance market data with deterministic JSON output, a local store that compounds across calls (portfolio, watchlist, history cache), or a working session from a rate-limited host. It is the only Yahoo Finance tool that joins your cost basis with live data and survives a 429 via a Chrome cookie fallback.

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## Unique Capabilities

These capabilities aren't available in any other tool for this API.

### Local state that compounds
- **`portfolio perf`** — Track YTD / 1Y / all-time returns on your holdings with cost basis, dividends, and current price baked in.

  _Reach for this when an agent needs to report 'how is my user's portfolio doing this year' — no single Yahoo Finance endpoint encodes cost basis._

  ```bash
  yahoo-finance-pp-cli portfolio perf --agent
  ```
- **`digest`** — One command: overnight news + biggest movers + earnings today + ex-div dates for everything on your watchlist.

  _Use as a single agent call for a 'daily market briefing' across a named set of tickers — replaces 4+ separate endpoint calls._

  ```bash
  yahoo-finance-pp-cli digest --watchlist tech --agent
  ```
- **`portfolio dividends`** — See total dividend income for the year, per-holding breakdown, and yield on cost.

  _Reach for this when the user asks 'how much have I earned in dividends this year' or 'what's my real yield on my JNJ position'._

  ```bash
  yahoo-finance-pp-cli portfolio dividends --year 2026 --agent
  ```
- **`insiders-net-b
Read the full source on GitHub (opens external page)
Context

Related work