Agent skill

Stock Performance

by OctagonAI in OctagonAI/skills

Retrieve stock price data and performance metrics using Octagon MCP.

MITAuto-check passedBusiness, Finance & HR

Install Stock Performance

skills CLI
$ npx skills add OctagonAI/skills --skill stock-performance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OctagonAI/skills stock-performance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OctagonAI/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/stock-performance .claude/skills/stock-performance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stock-performance
GitHub stars
127
Token cost
~1.6k tokens
SKILL.md length
539 words
Files
5 (incl. references)
Skills in repo
53
Repo updated
First seen
Licence
MIT

At a glance

Retrieve stock price data and performance metrics using Octagon MCP.

  • Works in 4 steps: Identify Analysis Parameters → Execute Query via Octagon MCP → Expected Output → …
  • Analyzing daily closing prices
  • SKILL.md covers Prerequisites, Workflow, Example Queries and Key Metrics, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Stock Performance is an agent skill from OctagonAI/skills. Retrieve stock price data and performance metrics using Octagon MCP. Use when analyzing daily closing prices, trading volume, price trends, historical performance, and comparing stock movements over specific time periods.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `README.md`, `marketplace.json` and `references/interpreting-results.md`).

It sits in Business, Finance & HR, covering OKRs and executive reporting, Trading and backtesting and MCP servers. It works with Model Context Protocol. The repository describes itself as: A collection of Claude skills for agentic financial research by Octagon. The licence is MIT.

When your agent uses it

  • Analyzing daily closing prices
  • Historical performance
  • Comparing stock movements over specific time periods

Example prompts

  • “/stock-performance”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Identify Analysis Parameters
  2. Execute Query via Octagon MCP
  3. Expected Output
  4. Interpret Results

What it can do on your machine

Read from SKILL.md and the folder at commit 51e938c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stock Performance loads about 1.6k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 539 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OctagonAI/skills at commit 51e938c, republished under its MIT licence (© OctagonAI). 539 words, ~1,574 tokens.

Download SKILL.mdSave it as .claude/skills/stock-performance/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
stock-performance
description
Retrieve stock price data and performance metrics using Octagon MCP. Use when analyzing daily closing prices, trading volume, price trends, historical performance, and comparing stock movements over specific time periods.

Stock Performance

Retrieve daily closing prices, trading volume, and performance metrics for public companies using the Octagon MCP server.

Prerequisites

Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See references/mcp-setup.md for installation instructions.

Workflow

1. Identify Analysis Parameters

Determine the following before querying:

  • Ticker: Stock symbol (e.g., AAPL, MSFT, GOOGL)
  • Time Period: Number of days or date range
  • Metrics (optional): Price, volume, returns
2. Execute Query via Octagon MCP

Use the octagon-agent tool with a natural language prompt:

Retrieve the daily closing prices for <TICKER> over the last <N> days.

MCP Call Format:

json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve the daily closing prices for AAPL over the last 30 days."
  }
}
3. Expected Output

The agent returns structured price data including:

DateClosing PriceVolume
2026-02-02$270.0173,677,607
2026-01-30$259.4892,443,408
2026-01-29$258.2867,253,009
.........

Data Sources: octagon-stock-data-agent, octagon-web-search-agent

4. Interpret Results

See references/interpreting-results.md for guidance on:

  • Analyzing price trends
  • Evaluating volume patterns
  • Calculating returns
  • Identifying support/resistance levels

Example Queries

Daily Closing Prices:

Retrieve the daily closing prices for AAPL over the last 30 days.

Extended Historical Data:

Get historical stock prices for MSFT for the past 90 days.

Volume Analysis:

Retrieve daily trading volume for TSLA over the last 2 weeks.

Price Range:

What are the high and low prices for NVDA over the past month?

Multi-Stock Comparison:

Compare the stock performance of AAPL, MSFT, and GOOGL over the last 30 days.

52-Week Analysis:

What is the 52-week high and low for AMZN?

Key Metrics

Price Metrics
MetricDescription
Closing PriceEnd-of-day price
Opening PriceStart-of-day price
HighIntraday high
LowIntraday low
Adjusted CloseDividend/split adjusted
Volume Metrics
MetricDescription
Daily VolumeShares traded per day
Average VolumeTypical daily volume
Relative VolumeCurrent vs. average
Volume TrendDirection over time
Return Metrics
MetricCalculation
Daily Return(Close - Prior Close) / Prior Close
Period Return(End - Start) / Start
Cumulative ReturnRunning return over period
Annualized ReturnPeriod return scaled to 1 year

Price Analysis Framework

Trend Analysis
PatternCharacteristics
UptrendHigher highs, higher lows
DowntrendLower highs, lower lows
SidewaysRange-bound movement
BreakoutMove beyond range
Volatility Assessment
MeasureDescription
Price RangeHigh - Low over period
Daily RangeAverage daily high-low
Standard DeviationPrice dispersion
BetaRelative to market
Support/Resistance
LevelDescription
SupportPrice floor, buying interest
ResistancePrice ceiling, selling pressure
Moving AveragesDynamic support/resistance
Round NumbersPsychological levels

Volume Analysis

Volume Patterns
PatternInterpretation
High Volume + Price UpStrong buying conviction
High Volume + Price DownStrong selling pressure
Low Volume + Price UpWeak rally, may reverse
Low Volume + Price DownLack of selling interest
Show full SKILL.md (207 more words)Show less
Volume Indicators
IndicatorUsage
Volume SpikeUnusual activity, potential catalyst
Volume Dry-upConsolidation, waiting mode
Volume TrendConfirms price trend
On-Balance VolumeCumulative volume direction

Time Period Analysis

Short-Term (1-30 Days)
FocusUse Case
Recent PerformanceCurrent momentum
Trading SignalsEntry/exit timing
News ImpactEvent analysis
VolatilityRisk assessment
Medium-Term (1-6 Months)
FocusUse Case
Trend IdentificationDirection confirmation
SeasonalityCyclical patterns
Earnings ImpactQuarterly effects
Sector RotationRelative performance
Long-Term (1+ Years)
FocusUse Case
Major TrendsSecular moves
52-Week RangeValuation context
Recovery/DeclineMajor shifts
Dividend YieldIncome analysis

Comparative Analysis

Peer Comparison
MetricWhat to Compare
ReturnRelative performance
VolatilityRisk comparison
CorrelationMovement similarity
VolumeLiquidity comparison
Benchmark Comparison
BenchmarkUsage
S&P 500Large cap reference
Sector ETFIndustry context
NasdaqTech comparison
Russell 2000Small cap reference

Analysis Tips

  1. Consider context: Market conditions affect individual stocks.

  2. Adjust for events: Earnings, dividends, splits affect prices.

  3. Use volume confirmation: Price moves need volume support.

  4. Multiple timeframes: Longer and shorter perspectives.

  5. Compare to peers: Relative performance matters.

  6. Watch key levels: Round numbers, 52-week highs/lows.

Use Cases

  • Trading analysis: Entry and exit timing
  • Performance tracking: Portfolio monitoring
  • Event analysis: Earnings, news impact
  • Volatility assessment: Risk evaluation
  • Peer comparison: Relative performance

© OctagonAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/stock-performance of OctagonAI/skills.

  • SKILL.md
  • README.md
  • marketplace.json
  • references/interpreting-results.md
  • references/mcp-setup.md

Open the folder on GitHubat commit 51e938c

Compare with similar skills

Stock Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stock Performance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stock Performance this skillOctagonAI/skills127—~1.6kAutomated safety check: PassMIT
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Okx Cex Marketdex-original/okx-agent-trade-kit1101 repos~2.7kAutomated safety check: PassMIT
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
Okx Sentiment Trackerdex-original/okx-agent-trade-kit1101 repos~3.8kAutomated safety check: PassMIT
Massing Bimibuilder/massing122—~1.1kAutomated safety check: PassMIT

Similar skills

  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Okx Cex Market

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume…

    110 GitHub starsUsed in 1 repo~2.7k tokens
    Business, Finance & HRAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Okx Sentiment Tracker

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news'…

    110 GitHub starsUsed in 1 repo~3.8k tokens
    Business, Finance & HRAuto-check passed
  • Massing Bim

    ibuilder/massing

    Drive a Massing BIM/AEC project from an AI agent over MCP — read a project's status, records, CDE, KPI and model-quality checks; run standards-compliance, schedule-risk, embodied-carbon, permit-…

    122 GitHub stars~1.1k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Alpaca Trading Paper Trading MCP

    alpacahq/alpaca-skills

    Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca Trading API MCP Server.

    154 GitHub stars~11k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from OctagonAI/skills

All 53 skills in this repo
  • Analyst Estimates

    OctagonAI/skills

    Retrieve analyst financial estimates including Revenue and EPS projections with low/high ranges and analyst coverage.

    127 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Balance Sheet

    OctagonAI/skills

    Retrieve detailed balance sheet statement data including Total Assets, Current Assets, Non-Current Assets, Liabilities, Equity, and Net Debt for public companies.

    127 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check passed
  • Balance Sheet Growth

    OctagonAI/skills

    Retrieve year-over-year growth in balance sheet items including Total Assets, Total Liabilities, Shareholders Equity, Cash, and Inventories.

    127 GitHub stars~940 tokensUpdated 4 mo ago
    Auto-check passed
  • Batch Market Cap

    OctagonAI/skills

    Retrieve market capitalization data for multiple companies at once using Octagon MCP.

    127 GitHub stars~1.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Cash Flow Growth

    OctagonAI/skills

    Retrieve year-over-year growth in cash flow metrics including Operating Cash Flow, Free Cash Flow, and Net Cash Flow.

    127 GitHub stars~862 tokensUpdated 4 mo ago
    Auto-check passed
  • Cash Flow Statement

    OctagonAI/skills

    Retrieve real-time or historical cash flow statement data including Net Income, Operating Cash Flow, Investing Cash Flow, Financing Cash Flow, Free Cash Flow, and Cash Position for public companies.

    127 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Stock Performance

What does Stock Performance do?

Retrieve stock price data and performance metrics using Octagon MCP. Stock Performance is an agent skill from OctagonAI/skills. Retrieve stock price data and performance metrics using Octagon MCP.

When should I use Stock Performance?

Stock Performance fits situations like: analyzing daily closing prices; historical performance; comparing stock movements over specific time periods.

How do I install Stock Performance in Claude Code?

Run `npx skills add OctagonAI/skills --skill stock-performance -a claude-code`. Or copy the skill folder (skills/stock-performance in OctagonAI/skills) into .claude/skills/stock-performance in your project. Claude Code loads it when a task matches its description.

How do I install Stock Performance in Codex?

Run `npx skills add OctagonAI/skills --skill stock-performance -a codex`. Or copy the skill folder (skills/stock-performance in OctagonAI/skills) into .agents/skills/stock-performance in your project. Codex loads it when a task matches its description.

Can I use Stock Performance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OctagonAI/skills --skill stock-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stock-performance, .gemini/skills/stock-performance, .github/skills/stock-performance and .opencode/skills/stock-performance in your project.

What does Stock Performance need to run?

SKILL.md names no scripts, command-line tools or credentials: Stock Performance is instructions for the agent only.

Does Stock Performance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Stock Performance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stock Performance use?

Stock Performance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stock Performance use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Stock Performance?

Skills that share tags, products or a category with Stock Performance: Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Okx Cex Market (dex-original/okx-agent-trade-kit, 110 stars), Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars) and Okx Sentiment Tracker (dex-original/okx-agent-trade-kit, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock Performance?

OctagonAI (a GitHub organization) maintains it in OctagonAI/skills, which has 127 GitHub stars. The repository holds 53 skills in this directory. The repository was last updated on June 5, 2026.

Source: OctagonAI/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.