Agent skill

Historical Market Cap

by OctagonAI in OctagonAI/skills

Retrieve historical market capitalization data for any stock using Octagon MCP.

MITAuto-check passedBusiness, Finance & HR

Install Historical Market Cap

skills CLI
$ npx skills add OctagonAI/skills --skill historical-market-cap -a claude-code

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

GitHub CLI
$ gh skill install OctagonAI/skills historical-market-cap --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/historical-market-cap .claude/skills/historical-market-cap && 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
historical-market-cap
GitHub stars
127
Token cost
~1.8k tokens
SKILL.md length
580 words
Files
5 (incl. references)
Skills in repo
53
Repo updated
First seen
Licence
MIT

At a glance

Retrieve historical market capitalization data for any stock using Octagon MCP.

  • Works in 4 steps: Identify Parameters → Execute Query via Octagon MCP → Expected Output → …
  • Tracking market cap changes over time
  • SKILL.md covers Prerequisites, Workflow, Example Queries and Understanding Market Cap History, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Historical Market Cap is an agent skill from OctagonAI/skills. Retrieve historical market capitalization data for any stock using Octagon MCP. Use when tracking market cap changes over time, analyzing valuation trends, identifying peak and trough valuations, and comparing historical size classifications.

Its SKILL.md is about 1.8k 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 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

  • Tracking market cap changes over time
  • Analyzing valuation trends
  • Identifying peak and trough valuations
  • Comparing historical size classifications

Example prompts

  • “/historical-market-cap”

Workflow steps

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

  1. Identify 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

Historical Market Cap loads about 1.8k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 580 words of instructions outside code blocks.

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

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). 580 words, ~1,788 tokens.

Download SKILL.mdSave it as .claude/skills/historical-market-cap/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
historical-market-cap
description
Retrieve historical market capitalization data for any stock using Octagon MCP. Use when tracking market cap changes over time, analyzing valuation trends, identifying peak and trough valuations, and comparing historical size classifications.

Historical Market Cap

Retrieve historical market capitalization data over a specified date range 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 Parameters

Determine your query parameters:

  • Ticker: Stock symbol (e.g., AAPL, MSFT)
  • Start Date: Beginning of date range
  • End Date: End of date range
  • Limit (optional): Maximum records to return
2. Execute Query via Octagon MCP

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

Retrieve historical market capitalization data for <TICKER> from <START_DATE> to <END_DATE>, limited to <LIMIT> records.

MCP Call Format:

json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve historical market capitalization data for AAPL from 2025-01-01 to 2025-04-30, limited to 1000 records."
  }
}
3. Expected Output

The agent returns daily market cap values:

DateMarket Cap (USD)
2025-04-30$3.17 trillion
2025-02-25$3.70 trillion (High)
2025-04-08$2.57 trillion (Low)
......

Summary Statistics:

  • Highest: $3.70 trillion on 2025-02-25
  • Lowest: $2.57 trillion on 2025-04-08
  • Most Recent: $3.17 trillion on 2025-04-30

Data Sources: octagon-stock-data-agent

4. Interpret Results

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

  • Analyzing market cap trends
  • Calculating growth rates
  • Identifying peaks and troughs
  • Understanding volatility

Example Queries

Standard Date Range:

Retrieve historical market capitalization data for AAPL from 2025-01-01 to 2025-04-30, limited to 1000 records.

Full Year:

Get historical market cap for MSFT for the entire year 2024.

Quarterly Analysis:

Show TSLA's market cap history for Q1 2025.

Multi-Year Trend:

Retrieve market cap history for NVDA from 2020 to 2025.

Peak Analysis:

When did AAPL reach its highest market cap in 2024?

Understanding Market Cap History

What the Data Shows
MetricDescription
Daily Market CapEnd-of-day value
Date SeriesTrading days only
CalculationPrice × Shares Outstanding
AdjustmentsSplit-adjusted shares
Key Statistics
StatisticPurpose
MaximumPeak valuation
MinimumTrough valuation
AverageTypical valuation
RangeVolatility indicator

Trend Analysis

Calculating Changes
MetricFormula
Absolute ChangeEnd Cap - Start Cap
Percentage Change(End - Start) / Start × 100%
CAGR(End/Start)^(1/years) - 1
Example Calculation

From the AAPL data:

  • High: $3.70T (Feb 25)
  • Low: $2.57T (Apr 8)
  • Range: $1.13T
  • Peak-to-Trough: -30.5%
Trend Patterns
PatternCharacteristics
UptrendHigher highs, higher lows
DowntrendLower highs, lower lows
ConsolidationRange-bound
V-RecoverySharp decline, sharp recovery
Rounded TopGradual peak formation

Period Analysis

Daily Analysis
Use CaseFocus
TradingShort-term moves
VolatilityDay-to-day changes
EventsCatalyst impact
Weekly/Monthly Analysis
Use CaseFocus
TrendsDirection over time
ComparisonsPeriod-over-period
SmoothingReduce noise
Annual Analysis
Use CaseFocus
GrowthLong-term trajectory
MilestonesMajor achievements
CAGRCompound growth

Volatility Assessment

Measuring Volatility
MetricCalculation
RangeHigh - Low
Range %(High - Low) / Average
Daily MovesAverage daily change
Standard DeviationPrice dispersion
Show full SKILL.md (238 more words)Show less
Volatility Interpretation
Range %Volatility
<20%Low
20-40%Moderate
40-60%High
>60%Very High
Example

From AAPL data:

  • High: $3.70T
  • Low: $2.57T
  • Range: $1.13T
  • Range %: ~35%
  • Interpretation: Moderate-high volatility

Peak and Trough Analysis

Identifying Peaks
SignalDescription
All-time HighHighest ever
Period HighHighest in range
Local PeakTemporary high
Identifying Troughs
SignalDescription
All-time LowLowest ever
Period LowLowest in range
Local TroughTemporary low
Peak-to-Trough Metrics
MetricPurpose
Drawdown %Decline from peak
Recovery TimeDays to recover
Drawdown DurationPeak to trough time

Size Classification Over Time

Tracking Category Changes
If Market Cap...Classification
>$200BMega-cap
$10B-$200BLarge-cap
$2B-$10BMid-cap
$300M-$2BSmall-cap
Milestone Analysis
MilestoneSignificance
First $1THistoric achievement
Crossed $2TElite status
Crossed $3TWorld's most valuable

Comparative Analysis

Same Company Over Time
ComparisonPurpose
YoYYear-over-year growth
QoQQuarterly momentum
MoMMonthly trends
Multiple Companies
ComparisonPurpose
Relative SizeMarket position
Relative GrowthPerformance comparison
CorrelationMovement similarity

Common Use Cases

Trend Analysis
How has AAPL's market cap changed over the past year?
Peak Finding
When did TSLA reach its highest market cap?
Drawdown Analysis
What was NVDA's biggest decline from peak in 2024?
Milestone Tracking
When did MSFT first cross $3 trillion market cap?
Comparison
Compare the market cap growth of AAPL and MSFT over 5 years.

Analysis Tips

  1. Use appropriate timeframes: Match analysis to investment horizon.

  2. Identify catalysts: Major moves often have drivers.

  3. Consider splits: Ensure data is split-adjusted.

  4. Watch for milestones: Round numbers are psychologically important.

  5. Calculate drawdowns: Understand downside risk.

  6. Compare to benchmarks: Market cap vs. index performance.

Integration with Other Skills

SkillCombined Use
company-market-capCurrent vs. historical
stock-performancePrice driving cap changes
income-statementEarnings supporting cap
financial-metrics-analysisValuation evolution

© 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/historical-market-cap 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

Historical Market Cap 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.

Historical Market Cap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Historical Market Cap this skillOctagonAI/skills127—~1.8kAutomated 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
Odoo Agency Fleet Reviewerpipe-org/mcp-odoo421—~699Automated 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
  • Odoo Agency Fleet Review

    erpipe-org/mcp-odoo

    Review many client Odoo databases at once through odoo-mcp's cross-instance tools — fleet-wide accounting health, per-client aging, partial-failure triage — for agencies and partners managing 5–50…

    421 GitHub stars~699 tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Sops Secrets

    VeriTeknik/pluggedin-app

    A skill your agent uses when adding, changing, reading or rotating a secret in infra/sops/secrets.env.sops, adding an age recipient, or when sops reports "Error unmarshalling input json", "Config…

    103 GitHub stars~1.4k tokensUpdated 5 days 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 Historical Market Cap

What does Historical Market Cap do?

Retrieve historical market capitalization data for any stock using Octagon MCP. Historical Market Cap is an agent skill from OctagonAI/skills. Retrieve historical market capitalization data for any stock using Octagon MCP.

When should I use Historical Market Cap?

Historical Market Cap fits situations like: tracking market cap changes over time; analyzing valuation trends; identifying peak and trough valuations; comparing historical size classifications.

How do I install Historical Market Cap in Claude Code?

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

How do I install Historical Market Cap in Codex?

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

Can I use Historical Market Cap 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 historical-market-cap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/historical-market-cap, .gemini/skills/historical-market-cap, .github/skills/historical-market-cap and .opencode/skills/historical-market-cap in your project.

What does Historical Market Cap need to run?

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

Does Historical Market Cap 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 Historical Market Cap 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 Historical Market Cap use?

Historical Market Cap 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 Historical Market Cap use?

About 1.8k tokens (SKILL.md is roughly 7.2k 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.4k tokens, read only when the agent opens those files.

What are the alternatives to Historical Market Cap?

Skills that share tags, products or a category with Historical Market Cap: 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 Historical Market Cap?

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.