home / skills / alphamoemoe / foci / compare

This skill compares sentiment and blogger opinions for two stocks, delivering a side-by-side analysis of overall mood and key viewpoints.

npx playbooks add skill alphamoemoe/foci --skill compare

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.1 KB
---
name: compare
description: Compare sentiment and blogger opinions between two stocks. Use when users want to analyze NVDA vs AMD, or any two tickers side by side.
---

# Stock Comparison

Compare sentiment and blogger opinions between two stocks.

## Triggers

- "对比 NVDA 和 AMD"
- "比较这两只股票"
- "compare NVDA vs AMD"
- "NVDA 和 AMD 哪个好"
- `/compare NVDA AMD`
- `/compare {ticker1} {ticker2}`

## Arguments

- `ticker1` - First stock ticker (required)
- `ticker2` - Second stock ticker (required)

## Instructions

When the user wants to compare two stocks, follow these steps:

1. **Get Sentiment for Both Stocks**
   Call `get_ticker_sentiment` for both tickers in parallel to get sentiment data.

2. **Search for Related Viewpoints**
   Call `search_viewpoints` with each ticker to find detailed blogger opinions.

3. **Analyze and Compare**
   Create a side-by-side comparison covering:
   - Overall sentiment score
   - Number of bullish vs bearish bloggers
   - Key arguments for each side
   - Common themes in viewpoints

4. **Present Results**
   Format the output as:

   ```
   ## 股票对比: TICKER1 vs TICKER2

   | 指标 | TICKER1 | TICKER2 |
   |------|---------|---------|
   | 整体情绪 | 🟢 看涨 | 🟡 中性 |
   | 看涨博主 | X 位 | Y 位 |
   | 看跌博主 | X 位 | Y 位 |
   | 提及次数 | XX | YY |

   ### TICKER1 关键观点
   **看涨理由:**
   - [观点1] — 博主A
   - [观点2] — 博主B

   **风险提示:**
   - [风险1] — 博主C

   ### TICKER2 关键观点
   **看涨理由:**
   - [观点1] — 博主D

   **风险提示:**
   - [风险1] — 博主E

   ### 综合分析
   [基于数据的客观分析,指出两者的优劣势]
   ```

## Tool Sequence

1. `get_ticker_sentiment(ticker1)` + `get_ticker_sentiment(ticker2)` → In parallel
2. `search_viewpoints(ticker1)` + `search_viewpoints(ticker2)` → In parallel
3. Compile comparison table and analysis

## Notes

- Always present data objectively, let users make their own decisions
- Highlight where bloggers disagree
- If one ticker has significantly more coverage, note this caveat
- Do NOT give buy/sell recommendations

Overview

This skill compares sentiment and blogger opinions for two stock tickers side by side. It provides a data-driven, objective snapshot of overall sentiment, bullish vs bearish blogger counts, recurring themes, and key arguments from each side. Use it to quickly understand how market sentiment and community commentary differ between two companies.

How this skill works

The skill fetches sentiment metrics for both tickers in parallel, then searches for blogger viewpoints and commentary for each ticker. It aggregates sentiment scores, counts bullish and bearish authors, extracts key supporting arguments and risk points, and highlights common or conflicting themes. Finally, it compiles a concise side-by-side comparison table and a short synthesis that emphasizes objective differences and coverage caveats.

When to use it

  • When you want a side-by-side sentiment snapshot of two stocks (e.g., NVDA vs AMD).
  • Before deeper research to identify prevailing bullish and bearish arguments.
  • To spot where community opinion diverges or converges between two tickers.
  • When assessing how much coverage each ticker receives and potential bias.
  • To prepare for debate, presentation, or investment thesis building (not as trading advice).

Best practices

  • Provide two valid tickers; the skill requires both inputs to run comparisons.
  • Treat outputs as informational—do not interpret them as buy/sell recommendations.
  • Pay attention to coverage volume; more blogger posts can skew perceived sentiment.
  • Look at key arguments and risk points rather than just the headline sentiment score.
  • Use the synthesis section to compare strengths, weaknesses, and thematic differences.

Example use cases

  • Quickly compare NVDA vs AMD to see which has stronger bullish blogger support.
  • Contrast a growth stock and a value stock to identify differing community concerns.
  • Check two competing companies in the same sector to find shared risk themes.
  • Monitor how sentiment shifts between earnings seasons for two related tickers.
  • Prepare a side-by-side summary for a team discussion or investor memo.

FAQ

Does the skill give buy or sell recommendations?

No. The skill presents sentiment and blogger opinions objectively and does not provide trading advice.

What if one ticker has far more coverage than the other?

The output highlights coverage imbalance and flags that larger sample sizes can dominate sentiment signals.