When to Use
User needs Yahoo Finance workflows, ticker discovery, quote checks, watchlist reviews, or fast market context before making a stock decision.
Agent handles symbol search, single-name snapshots, multi-ticker briefings, and risk-aware thesis framing without pretending to place trades.
Architecture
Memory lives in ~/yahoo/. If ~/yahoo/ does not exist, run setup.md. See memory-template.md for structure.
CODEBLOCK0
Quick Reference
Load only the files that improve the current answer. Use the scripts when deterministic output is faster than manual browsing.
| Topic | File |
|---|
| Setup and activation | INLINECODE4 |
| Local memory structure |
memory-template.md |
| Command recipes |
commands.md |
| Market briefing workflow |
market-playbook.md |
| Thesis framing template |
thesis-card.md |
| Risk guardrails |
risk-playbook.md |
| Single-symbol snapshot script |
yahoo_quote.py |
| Symbol and headline search script |
yahoo_search.py |
| Multi-ticker briefing script |
yahoo_brief.py |
Requirements
- - INLINECODE13
- Outbound web access to
finance.yahoo.com and Yahoo Finance search endpoints - User approval before creating or updating local watchlists or decision logs
Quick Start
CODEBLOCK1
Use the scripts for grounded snapshots, then layer judgment with market-playbook.md, thesis-card.md, and risk-playbook.md.
Operating Coverage
Fast quote check
- - Pull the current Yahoo Finance price panel, day move, and headline statistics for one symbol.
- Use
yahoo_quote.py when the user wants a quick tape read before deeper analysis.
Symbol resolution and headline scan
- - Resolve ambiguous company names, ETFs, ADRs, and similarly named tickers before analysis.
- Use
yahoo_search.py when the user says "Apple", "Nvidia", "QQQ", or anything that could map to multiple instruments.
Watchlist and market brief
- - Compare multiple names side by side, surface leaders and laggards, and flag extreme movers worth a second look.
- Use
yahoo_brief.py when the user wants a pre-market, post-market, or event-driven pass across a basket.
Core Rules
1. Resolve the exact symbol before making claims
- - Confirm the tradable instrument first: common stock, ADR, ETF, index, crypto pair, or forex pair.
- Ambiguous names create fake analysis and wrong catalysts.
- Use
yahoo_search.py whenever the input is not already a clean ticker.
2. Match the workflow to the decision horizon
- - Separate quick quote checks, same-day tape reads, swing planning, and longer position reviews.
- The same number means different things on an intraday trade than on a three-month thesis.
- Start every answer with the user's time horizon if it changes the recommendation.
3. Separate tape, thesis, and trigger
- - Report what Yahoo shows now, what the thesis claims, and what evidence would validate or break it.
- Price action alone is not a thesis.
- Use
thesis-card.md to convert commentary into a falsifiable setup.
4. Keep catalyst timing explicit
- - Mention the nearest catalyst window that could invalidate a calm-looking setup: earnings, macro releases, product events, or regulatory dates.
- If there is no clear catalyst, say that the setup is mostly technical or mostly watchlist-only.
- Use
market-playbook.md to frame why the next time window matters.
5. Put risk controls ahead of opportunity
- - Position sizing, invalidation, liquidity, and volatility limits come before upside stories.
- A good idea with undefined risk is still a bad trade.
- Use
risk-playbook.md before suggesting size, urgency, or conviction.
6. Treat local storage as opt-in continuity
- - Keep local memory limited to watchlists, recurring benchmarks, preferred answer style, and durable risk boundaries.
- Do not create
~/yahoo/ silently for sensitive market context. - Save only what clearly improves the next Yahoo workflow.
7. Verify timestamp and market state every time
- - Read whether the number is at close, pre-market, post-market, or delayed.
- Users misread stale prints as live confirmation all the time.
- Quote answers must include the market-state context when Yahoo exposes it.
Common Traps
- - Analyzing the wrong ticker because the company name matched multiple instruments -> wrong catalyst map and wrong price history.
- Treating a daily move as a thesis by itself -> momentum chasing without structure.
- Ignoring whether Yahoo is showing close, pre-market, or after-hours data -> stale or misread entries.
- Ranking a watchlist without catalyst timing -> busy output with no decision value.
- Saving detailed holdings or account balances by default -> unnecessary privacy exposure.
- Confusing a market brief with trade authorization -> the skill supports decisions but does not execute orders.
External Endpoints
| Endpoint | Data Sent | Purpose |
|---|
| INLINECODE26 | ticker symbol in URL path | Current price panel and headline quote statistics |
| INLINECODE27 |
query text, quote/news count | Symbol lookup and related headline search |
No other data is sent externally.
Security & Privacy
Data that leaves your machine:
- - Ticker symbols or text search queries sent to Yahoo Finance pages and search endpoints
Data that stays local when the user opts in:
- - Watchlists, preferred benchmarks, briefing notes, and decision boundaries in INLINECODE28
This skill does NOT:
- - Place broker orders or connect to brokerage accounts
- Store credentials, account numbers, or tax documents
- Create or update local files without user approval
- Make undeclared network requests outside Yahoo Finance endpoints
Trust
By using this skill, ticker symbols and search queries are sent to Yahoo Finance.
Only install if you trust Yahoo with that market lookup data.
Data Storage
All local state lives in ~/yahoo/ when the user wants continuity.
Keep storage compact: watchlists, repeated benchmark sets, answer-style preferences, and thesis reviews.
Avoid full holdings exports unless the user explicitly asks for local note-taking.
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
analysis — turn raw market inputs into explicit conclusions and tradeoffs - INLINECODE32 — add macro context when rates, inflation, or policy events matter
- INLINECODE33 — expand beyond Yahoo headlines when the story needs cross-source verification
- INLINECODE34 — connect market decisions to cashflow and risk capacity
- INLINECODE35 — structure execution checklists and post-trade reviews
Feedback
- - If useful: INLINECODE36
- Stay updated: INLINECODE37
使用场景
用户在做出股票决策前,需要雅虎财经工作流、股票代码发现、行情查询、自选股审查或快速市场背景信息。代理负责处理代码搜索、单只股票快照、多代码简报以及风险意识框架构建,但不模拟实际交易。
架构
记忆文件存储在 ~/yahoo/ 目录下。如果 ~/yahoo/ 不存在,请运行 setup.md。结构请参考 memory-template.md。
text
~/yahoo/
├── memory.md # 激活偏好、市场范围和回答风格
├── watchlist.md # 排序后的股票代码、基准指标和催化剂备注
├── briefing-log.md # 保存的盘前、盘后或事件驱动简报
└── decisions.md # 论点、失效条件和审查备注
快速参考
仅加载能改善当前回答的文件。当确定性输出比手动浏览更快时,使用脚本。
memory-template.md |
| 命令指南 | commands.md |
| 市场简报工作流 | market-playbook.md |
| 论点框架模板 | thesis-card.md |
| 风险护栏 | risk-playbook.md |
| 单只股票快照脚本 | yahoo_quote.py |
| 代码与标题搜索脚本 | yahoo_search.py |
| 多代码简报脚本 | yahoo_brief.py |
要求
- - python3
- 对 finance.yahoo.com 和雅虎财经搜索端点的出站网络访问
- 在创建或更新本地自选股或决策日志前需用户批准
快速开始
bash
python3 yahoo_search.py apple
python3 yahoo_quote.py AAPL
python3 yahoo_brief.py AAPL MSFT NVDA AMZN
使用脚本获取基础快照,然后结合 market-playbook.md、thesis-card.md 和 risk-playbook.md 进行判断。
操作覆盖范围
快速行情查询
- - 获取单个代码的当前雅虎财经价格面板、日涨跌幅和头条统计数据。
- 当用户希望在深入分析前快速查看行情时,使用 yahoo_quote.py。
代码解析与标题扫描
- - 在分析前解析模糊的公司名称、ETF、ADR 和名称相似的股票代码。
- 当用户提到苹果、英伟达、QQQ或任何可能对应多个工具的名称时,使用 yahoo_search.py。
自选股与市场简报
- - 并排比较多个名称,突出领涨和领跌股,标记值得关注的极端波动股。
- 当用户希望进行盘前、盘后或事件驱动的组合分析时,使用 yahoo_brief.py。
核心规则
1. 在做出断言前先确认准确的代码
- - 首先确认可交易工具:普通股、ADR、ETF、指数、加密货币对或外汇对。
- 模糊的名称会导致虚假分析和错误的催化剂判断。
- 当输入不是明确的股票代码时,始终使用 yahoo_search.py。
2. 将工作流与决策周期匹配
- - 区分快速行情查询、当日行情解读、波段规划和长期持仓审查。
- 同一个数字在日内交易和三个月论点中的含义不同。
- 如果时间周期会改变建议,每次回答都从用户的时间周期开始。
3. 区分行情、论点和触发条件
- - 报告雅虎当前显示的内容、论点主张的内容,以及哪些证据会验证或打破它。
- 仅凭价格行为不是论点。
- 使用 thesis-card.md 将评论转化为可证伪的框架。
4. 明确催化剂时间
- - 提及可能打破看似平静框架的最近催化剂窗口:财报、宏观数据发布、产品事件或监管日期。
- 如果没有明确的催化剂,说明该框架主要是技术性的或仅适合观察列表。
- 使用 market-playbook.md 说明为什么下一个时间窗口很重要。
5. 风险控制优先于机会
- - 仓位规模、失效条件、流动性、波动性限制优先于上涨故事。
- 一个风险未定义的好主意仍然是一个糟糕的交易。
- 在建议规模、紧迫性或信心之前,使用 risk-playbook.md。
6. 将本地存储视为选择性连续性
- - 将本地记忆限制为自选股、重复使用的基准指标、偏好的回答风格和持久的风险边界。
- 不要为敏感的市场背景静默创建 ~/yahoo/。
- 仅保存明确能改善下一次雅虎工作流的内容。
7. 每次验证时间戳和市场状态
- - 确认数据是收盘价、盘前价、盘后价还是延迟数据。
- 用户经常将过时数据误读为实时确认。
- 当雅虎公开市场状态时,行情回答必须包含市场状态背景。
常见陷阱
- - 因公司名称匹配多个工具而分析错误的代码 -> 错误的催化剂映射和错误的价格历史。
- 将日涨跌幅本身视为论点 -> 无结构的追涨杀跌。
- 忽略雅虎显示的是收盘价、盘前还是盘后数据 -> 过时或误读的条目。
- 对自选股排序时不考虑催化剂时间 -> 输出繁忙但无决策价值。
- 默认保存详细的持仓或账户余额 -> 不必要的隐私暴露。
- 混淆市场简报与交易授权 -> 技能支持决策但不执行订单。
外部端点
| 端点 | 发送的数据 | 目的 |
|---|
| https://finance.yahoo.com/quote/{symbol} | URL路径中的股票代码 | 当前价格面板和头条行情统计 |
| https://query1.finance.yahoo.com/v1/finance/search |
查询文本、行情/新闻数量 | 代码查找和相关头条搜索 |
不发送其他数据到外部。
安全与隐私
离开您机器的数据:
- - 发送到雅虎财经页面和搜索端点的股票代码或文本搜索查询
用户选择加入后保留在本地的数据:
- - ~/yahoo/ 中的自选股、偏好基准指标、简报备注和决策边界
此技能不会:
- - 下达券商订单或连接到券商账户
- 存储凭证、账号或税务文件
- 未经用户批准创建或更新本地文件
- 在雅虎财经端点之外进行未声明的网络请求
信任
使用此技能时,股票代码和搜索查询会发送到雅虎财经。
仅当您信任雅虎处理该市场查询数据时才安装。
数据存储
当用户希望保持连续性时,所有本地状态存储在 ~/yahoo/ 中。
保持存储精简:自选股、重复使用的基准集、回答风格偏好和论点审查。
除非用户明确要求本地记录,否则避免完整的持仓导出。
相关技能
如果用户确认,使用 clawhub install 安装:
- - analysis — 将原始市场输入转化为明确的结论和权衡
- economics — 当利率、通胀或政策事件重要时添加宏观背景
- news — 当故事需要跨来源验证时,扩展雅虎头条之外的信息
- personal-finance-tracker — 将市场决策与现金流和风险承受能力连接
- trading — 构建执行检查清单和交易后审查
反馈
- - 如果有用:clawhub star yahoo
- 保持更新:clawhub sync