Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/analyzing-market-sentiment

@820dfc8
Run it yourself

Analyze cryptocurrency market sentiment using Fear & Greed Index, news analysis, and market momentum. Use when gauging overall market mood, checking if markets are fearful or greedy, or analyzing sentiment for specific coins. Trigger with phrases like "analyze crypto sentiment", "check market mood", "is the market fearful", "sentiment for Bitcoin", or "Fear and Greed index".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/analyzing-market-sentiment

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈101 tokens for metadata: the name and description. ≈1k when used: this file. ≈11k more on demand in 6 files.

Description uses 5.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈406 characters, or 5.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Analyzing Market Sentiment

Overview

Cryptocurrency market sentiment analysis combining Fear & Greed Index, news keyword analysis, and price/volume momentum into a composite 0-100 score.

Prerequisites

  1. Python 3.8+ installed
  2. Dependencies: pip install requests
  3. Internet connectivity for API access (Alternative.me, CoinGecko)
  4. Optional: crypto-news-aggregator skill for enhanced news analysis

Instructions

  1. Assess user intent - determine what analysis is needed:

    • Overall market: no specific coin, general sentiment
    • Coin-specific: extract symbol (BTC, ETH, etc.)
    • Quick vs detailed: quick score or full component breakdown
  2. Run sentiment analysis with appropriate options:

    # Quick market sentiment check
    python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py
    
    # Coin-specific sentiment
    python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --coin BTC
    
    # Detailed breakdown with all components
    python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --detailed
    
    # Custom time period
    python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --period 7d --detailed
  3. Export results for trading models or analysis:

    python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --format json --output sentiment.json
  4. Present results to the user:

    • Show composite score and classification prominently
    • Explain what the sentiment reading means
    • Highlight extreme readings (potential contrarian signals)
    • For detailed mode, show component breakdown with weights

Output

Composite sentiment score (0-100) with classification and weighted component breakdown. Extreme readings serve as contrarian indicators:

==============================================================================
  MARKET SENTIMENT ANALYZER                         Updated: 2026-01-14 15:30  # 2026 - current year timestamp
==============================================================================

  COMPOSITE SENTIMENT
------------------------------------------------------------------------------
  Score: 65.5 / 100                         Classification: GREED

  Component Breakdown:
  - Fear & Greed Index:  72.0  (weight: 40%)  -> 28.8 pts
  - News Sentiment:      58.5  (weight: 40%)  -> 23.4 pts
  - Market Momentum:     66.5  (weight: 20%)  -> 13.3 pts

  Interpretation: Market is moderately greedy. Consider taking profits or
  reducing position sizes. Watch for reversal signals.

==============================================================================

Error Handling

Error Cause Solution
Fear & Greed unavailable API down Uses cached value with warning
News fetch failed Network issue Reduces weight of news component
Invalid coin Unknown symbol Proceeds with market-wide analysis

See references/errors.md for comprehensive error handling.

Examples

Sentiment analysis patterns from quick checks to custom-weighted deep analysis:

# Quick market sentiment
python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py

# Bitcoin-specific sentiment
python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --coin BTC

# Detailed analysis with component breakdown
python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --detailed

# Custom weights emphasizing news
python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --weights "news:0.5,fng:0.3,momentum:0.2"

# Weekly sentiment trend
python ${CLAUDE_SKILL_DIR}/scripts/sentiment_analyzer.py --period 7d --detailed

Resources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill aggregates cryptocurrency market sentiment data from public APIs and RSS feeds. It contains a surface for indirect prompt injection from untrusted news content and utilizes dynamic imports to interact with sibling skills in the same ecosystem.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
What it can do
Reads files Runs commands
version
1.25.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "crypto",
  "analyzing-market"
]
All 2 allowed tools
ReadBash(crypto:sentiment-*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/analyzing-market-sentiment