sentiment-analysis

sentiment-analysis is a skill for Claude Code, Codex from skloxo/TideTrading. It costs 41 tokens per session (2,975 once invoked), scanned A, a copy of sentiment-analysis, MIT.

A market-sentiment analysis workflow that measures whether investors appear fearful or greedy using indicators such as options activity, leveraged money, foreign flows, and social-media discussion. It covers crypto and provides combined measures for A-shares.

In plain words
What is it for?
Use it to review fear-and-greed readings, the put-call ratio, market turnover, limit-up and limit-down activity, margin balances, ETF flows, and social sentiment.
Why use it?
It turns vague market mood into indicators that can be compared over time. This helps you judge whether crowd behaviour may be adding risk or creating a possible contrarian signal.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review fear-and-greed readings, the put-call ratio, market turnover, limit-up and limit-down activity, margin balances, ETF flows, and social sentiment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skloxo/tidetrading/sentiment-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add skloxo/TideTrading --skill sentiment-analysis
Clone the repo
git clone --depth 1 https://github.com/skloxo/TideTrading

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sentiment-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/skloxo/tidetrading/sentiment-analysis/github.svg)](https://agentmods.dev/skills/skloxo/tidetrading/sentiment-analysis)
Your own site
<a href="https://agentmods.dev/skills/skloxo/tidetrading/sentiment-analysis"><img src="https://agentmods.dev/badge/skills/skloxo/tidetrading/sentiment-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sentiment-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/skloxo/tidetrading/sentiment-analysis"><img src="https://agentmods.dev/badge/skills/skloxo/tidetrading/sentiment-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,975 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.02975
Opus 5 $0.00020 $0.01488
Sonnet 5 $0.00008 $0.00595
Haiku 4.5 $0.00004 $0.00298

Measured 7d ago against content hash 1b0dbc016c4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sentiment-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to sentiment-analysis — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agent/src/skills/sentiment-analysis/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

市场情绪分析

概述

量化市场情绪,将主观的"贪婪与恐惧"转化为可衡量的指标。覆盖恐贪指数、期权情绪、杠杆资金、外资流向和社交舆情五大维度。情绪指标常作为反向指标使用。

恐贪指数

加密恐贪指数(Crypto Fear & Greed Index)

分值范围: 0-100

| 分值 | 情绪状态 | 历史信号 |
|------|---------|---------|
| 0-20 | 极度恐惧 | 底部区域(逆向买入)|
| 20-40 | 恐惧 | 偏底部 |
| 40-60 | 中性 | 观望 |
| 60-80 | 贪婪 | 偏顶部 |
| 80-100 | 极度贪婪 | 顶部区域(逆向卖出)|

构成因子:
- 波动率 (25%): BTC 30天/90天波动率
- 市场动量 (25%): BTC价格 vs MA(30/90)
- 社交媒体 (15%): Twitter/Reddit情绪词频
- 调查 (15%): 投资者调查
- 比特币市占率 (10%): BTC Dominance
- Google趋势 (10%): "Bitcoin"搜索热度

A股恐贪指标

A股没有统一的恐贪指数,用以下组合替代:

指标 数据源 极度恐惧 极度贪婪
上证换手率 交易所 <0.5% >2.5%
涨停家数/跌停家数 行情数据 <0.3 >5.0
新增开户数(周) 中登 <20万 >100万
融资余额变化(月) 交易所 净流出>500亿 净流入>1000亿
ETF净申购 基金数据 宽基ETF净申购(抄底) 净赎回(获利了结)

恐贪指数使用方法

核心原则: 别人恐惧时贪婪,别人贪婪时恐惧

实操:
1. 极度恐惧(<20): 分批建仓信号
   - 不要一次性全仓,分3-5批
   - 确认有基本面支撑(不是暴雷导致的恐惧)

2. 极度贪婪(>80): 逐步减仓信号
   - 不要做空(趋势可能持续)
   - 减仓到安全水位(如从80%仓位降到50%)

3. 中性区间: 情绪指标失效,看其他因素

Put-Call Ratio

定义与解读

Put-Call Ratio = Put期权成交量 / Call期权成交量

| PCR | 含义 | 信号(反向指标)|
|-----|------|----------------|
| > 1.5 | 极度看空情绪 | 看多(恐惧过度)|
| 1.0-1.5 | 偏空 | 偏多 |
| 0.7-1.0 | 中性 | 无明确信号 |
| 0.5-0.7 | 偏多 | 偏空 |
| < 0.5 | 极度看多情绪 | 看空(贪婪过度)|

不同市场PCR参考

市场 数据源 正常范围 极端区间
美股(CBOE) VIX期权 0.7-1.2 <0.5 或 >1.5
A股(上证50ETF) 上交所 0.5-1.5 <0.3 或 >2.0
BTC(Deribit) Deribit 0.3-0.8 <0.2 或 >1.2

PCR与VIX配合使用

PCR高 + VIX高 = 极度恐慌(强烈看多反转信号)
PCR低 + VIX低 = 极度自满(警惕黑天鹅)
PCR高 + VIX低 = 对冲需求(机构在保护多头)
PCR低 + VIX高 = 矛盾信号(需要更多确认)

融资融券信号(A股)

融资余额分析

融资 = 借钱买股(看多杠杆)
融券 = 借股卖出(看空杠杆)

融资余额指标:
- 绝对值: 反映杠杆资金总量(2024年约1.5-1.8万亿)
- 变化率: 周环比/月环比,方向比绝对值重要
- 占比: 融资余额/A股总市值,通常2-3%

融资融券信号

指标 看多信号 看空信号
融资余额 底部企稳后连续增加 高位加速增加(过热)
融资净买入 连续5天净买入 连续5天净卖出
融券余额 大幅增加后减少(空头回补) 突然大增(有人做空)
融资/融券比 比值回落后反弹 极端高位(杠杆过高)

融资余额历史阈值(A股)

2015年牛市顶部: 2.27万亿(极端)
2018年熊市底部: 0.76万亿
2020年正常区间: 1.0-1.2万亿
2024年正常区间: 1.4-1.8万亿

经验法则: 融资余额月增>10% → 过热警示
          融资余额月减>10% → 恐慌警示

Read the full file on GitHub · 274 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 274 lines · 41 tokens per session scan A 1b0dbc016c4a

Subscribe to this mod's changes

sentiment-analysis is a skill published in the GitHub repository skloxo/TideTrading (10 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 2,975 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to sentiment-analysis, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

daily-deep-brief

A scheduled, pre-market investment briefing for Hong Kong and United States stocks. A deterministic preparation step gathers data and an agent adds judgment, while a later step validates and publishes the result.

KCNyu/clawock · 163 tokens

hk-stock-analysis

A workspace-aware analysis workflow for Hong Kong-listed stocks. It retrieves prices, technical indicators, market comparisons, and news through a local data pipeline, then adds Hong Kong-specific investment context.

KCNyu/clawock · 126 tokens

us-stock-analysis

Workspace-aware US stock analysis for kcn. Routes through clawock analyze-us / clawock us-quotes instead of generic web search, then layers fundamental/technical/news analysis on top. Use when user asks to analyze a US ticker (e.g. "analyze AAPL", "look at RKLB", "compare TSLA vs NVDA"), check earnings, run…

KCNyu/clawock · 97 tokens

portfolio-swarm-review

Multi-agent swarm review of kcn's current holdings. Inspired by TauricResearch/TradingAgents framework already in workspace — three-tier analysis (analysts → bull/bear debate → risk debate + judge) with confidence scoring. Use for post-close reviews, holiday/next-session planning, pre-add sizing decisions, and any…

KCNyu/clawock · 90 tokens

invest-analyst

A framework for producing professional investment research, including company reports, industry studies, event analysis, analyst-expectation reviews, comparisons, and market summaries. It connects several investment research workflows into one process.

taxueseek/fund-investment-guide · 193 tokens

invest-fund

A Chinese-language guide for analysing investment funds, with different workflows for comparing funds, reviewing ETFs, examining new funds, and studying industry funds.

taxueseek/fund-investment-guide · 142 tokens