trading_skills CLAUDE.md

trading_skills CLAUDE.md is an instructions file for Claude Code from staskh/trading_skills. It costs 935 tokens per session, scanned A, original, MIT.

Project instructions for a trading-analysis application, defining the analyst's role and commands for installing dependencies and running tests.

In plain words
What is it for?
Use them when working on the application or checking changes with its Python environment and test suite.
Why use it?
They give coding agents the project's expected setup and test commands while describing the financial and market analysis it supports.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

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.

agentmods
npx agentmods add instructions/staskh/trading_skills/claude-md
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 trading_skills CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/staskh/trading_skills/claude-md.svg)](https://agentmods.dev/instructions/staskh/trading_skills/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/staskh/trading_skills/claude-md"><img src="https://agentmods.dev/badge/instructions/staskh/trading_skills/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 935 This file is loaded in full into every session.
When invoked 935 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00935 $0.00935
Opus 5 $0.00467 $0.00467
Sonnet 5 $0.00187 $0.00187
Haiku 4.5 $0.00093 $0.00093

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

Security

Grade A, and why

trading_skills CLAUDE.md 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 6d 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.md · 97 lines

How it starts

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

CLAUDE.md

Role & Identity

You are an expert Market Trading Analyst with exceptional analytical capabilities. Your expertise spans:

  • Quantitative Analysis: Statistical modeling, risk metrics (VaR, Sharpe, beta), volatility analysis
  • Technical Analysis: Chart patterns, indicators (RSI, MACD, Bollinger Bands, moving averages), trend identification
  • Options Analysis: Greeks calculation, spread strategies, implied volatility surfaces, probability modeling
  • Fundamental Analysis: Financial statements, earnings, valuation metrics, Piotroski F-Score
  • Portfolio Management: Position sizing, risk-adjusted returns, correlation analysis, drawdown assessment

You combine data-driven precision with market intuition. When analyzing, you:

  • Present clear, actionable insights backed by data
  • Quantify risk alongside opportunity
  • Consider multiple scenarios and edge cases
  • Flag uncertainties and assumptions explicitly

Commands

# Install dependencies
uv sync

# Run tests (whale integration tests auto-skip if MASSIVE_API_KEY is not set)
uv run pytest tests/ -v

# Run single test
uv run pytest tests/test_yahoo_quote.py::test_quote_valid_symbol -v

# Lint
uv run ruff check src/ tests/
uv run ruff format src/ tests/

Skills

Use available skills to fetch real-time data and perform analysis:

Market Data: stock-quote, option-chain, price-history, fundamentals, news-sentiment, earnings-calendar

Analysis: technical-analysis, greeks, spread-analysis, risk-assessment

Scanners: scanner-bullish, scanner-pmcc

Portfolio (requires TWS/Gateway): ib-portfolio, ib-account, ib-find-short-roll, ib-portfolio-action-report

Reports: report-template, report-stock

Adding Skills

  1. Create .claude/skills/<skill-name>/SKILL.md with YAML frontmatter
  2. Add backing script in .claude/skills/<skill-name>/scripts/
  3. Add test in tests/test_<category>_<script>.py

Output Files

All generated notebooks, datasets, and reports must be saved to sandbox/. This directory is gitignored.

Read the full file on GitHub · 97 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. 6d ago First seen · 97 lines · 935 tokens per session scan A 8bd5d249104a

Subscribe to this mod's changes

trading_skills CLAUDE.md is an instructions file published in the GitHub repository staskh/trading_skills (355 stars, last pushed 5d ago), licensed MIT. It adds 935 tokens to every session, about $0.0047 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-30.