technical-analysis

technical-analysis is a skill for Claude Code from staskh/trading_skills. It costs 52 tokens per session (1,833 once invoked), scanned A, original, MIT.

A stock-analysis tool that calculates indicators such as RSI, MACD, Bollinger Bands, moving averages, ATR, and ADX from historical prices. It can also include upcoming and past earnings information.

In plain words
What is it for?
Use it to analyze one or more stock symbols over periods such as one month, three months, six months, or one year. It helps examine momentum, trend, volatility, possible overbought or oversold conditions, and earnings dates.
Why use it?
It removes the need to calculate common chart indicators by hand or assemble them from several sources. It returns the price, indicator values, risk measures, and indicator-based signals in structured results.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to analyze one or more stock symbols over periods such as one month, three months, six months, or one year. It helps examine momentum, trend, volatility, possible overbought or oversold conditions, and earnings dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/staskh/trading_skills/technical-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 staskh/trading_skills --skill technical-analysis
Clone the repo
git clone --depth 1 https://github.com/staskh/trading_skills

Made for: Claude Code.

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 technical-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/staskh/trading_skills/technical-analysis/github.svg)](https://agentmods.dev/skills/staskh/trading_skills/technical-analysis)
Your own site
<a href="https://agentmods.dev/skills/staskh/trading_skills/technical-analysis"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/technical-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 technical-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/staskh/trading_skills/technical-analysis"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/technical-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,833 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. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00052 $0.01833
Opus 5.5 $0.00021 $0.00733
Sonnet 5.5 $0.00010 $0.00367
Haiku 4.5 $0.00005 $0.00183

Measured today against content hash 8e6315aa2b44, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

technical-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 today.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/correlation.py, scripts/intraday_technicals.py, scripts/technicals.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/technical-analysis/SKILL.md · 171 lines

How it starts

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

Technical Analysis

Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data.

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

uv run python scripts/technicals.py SYMBOL [--period PERIOD] [--indicators INDICATORS] [--earnings]

Arguments

  • SYMBOL - Ticker symbol or comma-separated list (e.g., AAPL or AAPL,MSFT,GOOGL)
  • --period - Historical period: 1mo, 3mo, 6mo, 1y (default: 3mo)
  • --indicators - Comma-separated list: rsi,macd,bb,sma,ema,atr,adx (default: all)
  • --earnings - Include earnings data (upcoming date + history)

Output

Single symbol returns:

  • price - Current price and recent change
  • indicators - Computed values for each indicator
  • risk_metrics - Volatility (annualized %) and Sharpe ratio
  • signals - Buy/sell signals based on indicator levels
  • earnings - Upcoming date and EPS history (if --earnings)

Multiple symbols returns:

  • results - Array of individual symbol results

Crossovers

  • indicators.macd.crossover - Most recent MACD line/signal crossover, or null:
    • direction - "up" (MACD crossed above signal = bullish) or "down" (crossed below = bearish)
    • bars_ago - Bars since the crossover (0 = happened on the most recent bar); trading days on the default daily bars
  • indicators.ema.crossover - Most recent EMA9/EMA21 crossover (same shape; null if none). indicators.ema also reports ema9 and ema21 alongside ema12/ema26.

Interpretation

  • RSI > 70 = overbought, RSI < 30 = oversold
  • MACD crossover = momentum shift; crossover.bars_ago of 0-5 = fresh signal
  • EMA9/21 crossover confirms short-term momentum; MACD typically leads, EMA confirms
  • Price near Bollinger Band = potential reversal
  • Golden cross (SMA20 > SMA50) = bullish
  • ADX > 25 = strong trend
  • Sharpe ratio > 1 = good risk-adjusted returns, > 2 = excellent
  • Volatility (annualized) = standard deviation of returns scaled to annual basis

Read the full file on GitHub · 171 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +45 lines 8e6315aa2b44
  2. 3mo ago First seen · 126 lines · 52 tokens per session scan A c2ddc90451c0

Subscribe to this mod's changes

technical-analysis is a skill published in the GitHub repository staskh/trading_skills (427 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,833 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

technical-analysis compared with skills from other repositories

technical-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
technical-analysisstaskh/trading_skillsSkill427todayMITA52Claude Code
find-cpa-firmnostrband/ServiceGraphSkill586mo agoMITA238Claude Code
nse-trading-toolkitBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA165Claude Code, Codex
clawby-dataopenclawby/openclawby-skillsSkill925d agoMITC204Claude Code, Codex
fibonacci-tradingBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA101Claude Code, Codex
multi-timeframe-analysisBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA105Claude Code, Codex
position-sizingBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA96Claude Code, Codex