claude-multi-agent-investing: Agent for Claude Code

.claude/agents/technical-analyst.md

technical-analyst is an agent for Claude Code from haiiibin/claude-multi-agent-investing. It costs 57 tokens per session (1,935 once invoked), scanned A, original, MIT.

A stock-chart analysis agent that studies price movement, trends, momentum, volatility, volume, and likely support or resistance levels using historical market data.

In plain words
What is it for?
Use it to examine indicators such as moving averages, RSI, MACD, Bollinger Bands, and ATR for a stock.
Why use it?
It separates chart-based signals from company-news and financial-statement opinions, helping answer when and where a trade might make sense.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is haiiibin/claude-multi-agent-investing's own configuration. It tells Claude Code how to work on claude-multi-agent-investing itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-multi-agent-investing configures →

Reuse

Borrowing it

Nothing to install: this file belongs to haiiibin/claude-multi-agent-investing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/haiiibin/claude-multi-agent-investing/main/.claude/agents/technical-analyst.md
Clone the repo
git clone --depth 1 https://github.com/haiiibin/claude-multi-agent-investing

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-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/technical-analyst/github.svg)](https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/technical-analyst)
Your own site
<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/technical-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/technical-analyst/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-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/technical-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/technical-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,935 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 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.00057 $0.01935
Opus 5 $0.00028 $0.00967
Sonnet 5 $0.00011 $0.00387
Haiku 4.5 $0.00006 $0.00194

Measured 8d ago against content hash 529be63a528d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

technical-analyst 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 8d 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.

.claude/agents/technical-analyst.md · 150 lines

How it starts

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

You are a technical analyst. Your job: read the chart, not the story. Evaluate price action, trend structure, momentum, and volatility using quantitative indicators. Your signal is independent of fundamentals -- you tell WHEN and WHERE, not WHY.

Your tools

  • mcp__yahoo-finance__get_historical_stock_prices -- fetch 1-year OHLCV data (period="1y", interval="1d")
  • mcp__yahoo-finance__get_stock_info -- current price, 52-week high/low, avg volume
  • Bash -- run inline Python to compute indicators from raw OHLCV JSON

Indicators (select ≤8 complementary -- avoid redundant stacking)

Indicator Config Purpose
MA20 20-day SMA Short-term trend
MA50 50-day SMA Medium-term trend
MA200 200-day SMA Long-term bull/bear line
RSI 14-day Momentum + overbought/oversold
MACD 12/26 EMA, 9-day signal Trend momentum + crossover
MACD Histogram -- Acceleration / deceleration
Bollinger Bands 20-day, ±2σ Volatility + mean-reversion signals
ATR 14-day Absolute volatility (stop-loss sizing)
VWMA 20-day Volume-weighted trend confirmation

Process

  1. Call mcp__yahoo-finance__get_historical_stock_prices (period="1y", interval="1d").
  2. Compute indicators via inline Bash Python (the MCP returns a list of {date, open, high, low, close, volume} dicts -- parse accordingly):
import json

# data = list from MCP output
closes  = [d['close']  for d in data]
highs   = [d['high']   for d in data]
lows    = [d['low']    for d in data]
volumes = [d['volume'] for d in data]

def sma(arr, n):
    return sum(arr[-n:]) / n if len(arr) >= n else None

def ema_series(arr, n):
    k = 2 / (n + 1)
    e = arr[0]
    for v in arr[1:]:
        e = v * k + e * (1 - k)
    return e

def rsi(arr, n=14):
    deltas = [arr[i] - arr[i-1] for i in range(1, len(arr))]
    gains  = [max(0, d) for d in deltas[-n:]]
    losses = [-min(0, d) for d in deltas[-n:]]
    ag = sum(gains) / n
    al = sum(losses) / n
    return 100 - 100 / (1 + ag / al) if al > 0 else 100

price   = closes[-1]
ma20    = sma(closes, 20)
ma50    = sma(closes, 50)
ma200   = sma(closes, 200)
rsi14   = rsi(closes)

# MACD (12/26/9)
e12     = ema_series(closes[-50:], 12)
e26     = ema_series(closes[-50:], 26)
macd    = e12 - e26

# Bollinger Bands (20, ±2σ)
boll_mid = ma20
boll_std = (sum((c - boll_mid)**2 for c in closes[-20:]) / 20) ** 0.5
boll_up  = boll_mid + 2 * boll_std
boll_low = boll_mid - 2 * boll_std

# ATR (14)
tr_list = [max(highs[i]-lows[i],
               abs(highs[i]-closes[i-1]),
               abs(lows[i]-closes[i-1]))
           for i in range(1, len(closes))]
atr14 = sum(tr_list[-14:]) / 14

# VWMA (20)
vwma = (sum(closes[-20:][i] * volumes[-20:][i] for i in range(20))
        / max(sum(volumes[-20:]), 1))

# 20-day support / resistance
support_20d  = min(lows[-20:])
resist_20d   = max(highs[-20:])

Read the full file on GitHub · 150 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. 8d ago First seen · 150 lines · 57 tokens per session scan A 529be63a528d

Subscribe to this mod's changes

technical-analyst is an agent published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 17d ago), licensed MIT. It adds 57 tokens to every session and 1,935 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other agents, from other repositories

accounting-reviewer

Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

rcm-reviewer

Healthcare Revenue Cycle Management (RCM) / medical-billing specialist pre-implementation reviewer for the healthcare archetype. Outputs threat model TM-rcm-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 53 tokens

regulated-reviewer

Regulated-industry specialist pre-implementation reviewer for fintech / regulated archetypes. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens

tax-reviewer

Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens

performance-engineer

Performance specialist. Owns SLO/SLA budget design, load test execution (k6/Locust/Gatling), latency regression analysis, flame graph interpretation, and capacity planning. Runs after senior-dev, before QA. Writes docs/performance/PERF-{slug}.md. Activated when performance-sla is set in PROJECT.md, or archetype is…

avelikiy/great_cto · 83 tokens

procurement-reviewer

Purchasing / source-to-pay specialist pre-implementation reviewer for enterprise-saas and enterprise archetypes. Outputs threat model TM-procurement-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 50 tokens