agentleFS
forgequantforgequant/sentinel/skills/feargreed/SKILL.md

feargreed

Skill0 starsChanged 9 months agoMITView on GitHub

Use when the user asks about market sentiment, fear and greed index, crypto mood, or wants a contrarian/momentum read on market emotion. Fetches the Crypto Fear & Greed Index with configurable thresholds, z-score analytics, and multi-timeframe trend analysis.

The file

Files
SKILL.md

Fear & Greed Index

Crypto Fear & Greed Index — contrarian (or momentum) sentiment signal.

API

  • Source: api.alternative.me/fng/
  • Auth: None (free, public)
  • Rate limit: Not documented; data updates daily

Usage

uv run skills/feargreed/scripts/feargreed.py [options]

Options

FlagDefaultDescription
--modecontrarianSignal interpretation: contrarian or momentum
--oversold25F&G value below this = extreme fear
--overbought75F&G value above this = extreme greed
--history-days90Days of history to fetch for analytics

Modes

  • contrarian (default): Extreme fear = bullish, extreme greed = bearish
  • momentum: Follows the crowd — fear = bearish, greed = bullish

Output (SignalOutput v1)

{
  "schema": "signal/v1",
  "signal": "bullish|bearish|neutral",
  "confidence": 0-100,
  "reasoning": "F&G at 23 (extreme fear) — contrarian bullish",
  "data": {
    "current": { "value": 23, "label": "Extreme Fear" },
    "previous": { "value": 28, "label": "Fear" },
    "trend": "falling"
  },
  "analytics": {
    "zscore_30d": -1.8,
    "percentile_90d": 12,
    "trend_7d": -5,
    "trend_30d": -15,
    "trend_90d": +8,
    "regime_days": 4,
    "consensus": "aligned"
  }
}

Analytics

  • zscore_30d: Current value vs 30-day rolling mean/stddev
  • percentile_90d: Where current value sits in 90-day distribution
  • trend_Nd: Change from N days ago (absolute)
  • regime_days: Consecutive days in current signal zone
  • consensus: aligned if 2+ timeframes agree, mixed otherwise

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.