Agent skill

Batch Market Cap

by OctagonAI in OctagonAI/skills

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

MITAuto-check passedBusiness, Finance & HR

Install Batch Market Cap

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

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

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

At a glance

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

  • Works in 4 steps: Prepare Company List → Execute Query via Octagon MCP → Expected Output → …
  • Comparing valuations across peers
  • SKILL.md covers Prerequisites, Workflow, Example Queries and Market Cap Categories, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Batch Market Cap is an agent skill from OctagonAI/skills. Retrieve market capitalization data for multiple companies at once using Octagon MCP. Use when comparing valuations across peers, screening by market cap, or analyzing a portfolio's composition by company size.

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

  • Comparing valuations across peers
  • Screening by market cap
  • Analyzing a portfolios composition by company size

Example prompts

  • “/batch-market-cap”

Workflow steps

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

  1. Prepare Company List
  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

Batch Market Cap loads about 1.6k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 530 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
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.8k

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). 530 words, ~1,566 tokens.

Download SKILL.mdSave it as .claude/skills/batch-market-cap/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
batch-market-cap
description
Retrieve market capitalization data for multiple companies at once using Octagon MCP. Use when comparing valuations across peers, screening by market cap, or analyzing a portfolio's composition by company size.

Batch Market Cap

Retrieve market capitalization data for multiple companies in a single query 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. Prepare Company List

Compile the list of ticker symbols you want to analyze (e.g., AAPL, MSFT, GOOGL).

2. Execute Query via Octagon MCP

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

Retrieve market capitalization data for the following companies: <TICKER1>, <TICKER2>, <TICKER3>.

MCP Call Format:

json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve market capitalization data for the following companies: AAPL, MSFT, GOOG."
  }
}
3. Expected Output

The agent returns a structured table with market cap data:

CompanyTickerMarket Cap (USD)Source
AppleAAPL$2.99986 trillionOctagon Companies Agent
MicrosoftMSFT$3.143 trillionCompanies Market Cap
AlphabetGOOGL$2.00018 trillionOctagon Companies Agent

Data Sources: octagon-companies-agent, octagon-financials-agent, octagon-web-search-agent

4. Interpret Results

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

  • Comparing market caps across companies
  • Understanding size categories
  • Analyzing relative valuations
  • Tracking market cap changes

Example Queries

Basic Batch Query:

Retrieve market capitalization data for the following companies: AAPL, MSFT, GOOG.

Sector Comparison:

Get market caps for tech giants: AAPL, MSFT, GOOGL, AMZN, META, NVDA.

Portfolio Analysis:

What are the market capitalizations of TSLA, F, GM, and RIVN?

Industry Comparison:

Compare market caps of major banks: JPM, BAC, WFC, C, GS.

Index Components:

Get market caps for the top 10 S&P 500 companies by weight.

International Comparison:

Compare market caps of AAPL, SMSN.IL (Samsung), TSM, and ASML.

Market Cap Categories

Size Classifications
CategoryMarket Cap Range
Mega-cap>$200 billion
Large-cap$10B - $200B
Mid-cap$2B - $10B
Small-cap$300M - $2B
Micro-cap$50M - $300M
Nano-cap<$50M
Category Characteristics
CategoryTypical Traits
Mega-capMarket leaders, global reach, stable
Large-capEstablished, diversified, moderate growth
Mid-capGrowth potential, less coverage
Small-capHigher growth, higher volatility
Micro-capSpeculative, limited liquidity

Comparative Analysis Framework

Peer Comparison
AnalysisPurpose
Absolute SizeRank by market cap
Relative SizeRatio to peers
Size DistributionConcentration analysis
Historical RankPosition changes
Industry Context
ComparisonWhat It Shows
vs. Industry LeaderDistance from top
vs. Industry MedianAbove/below average
vs. Sector TotalMarket share proxy
Valuation Implications
ScenarioInterpretation
Higher market cap, lower revenuePremium valuation
Lower market cap, higher revenueDiscount valuation
Similar market cap, different earningsP/E differential

Use Cases

Portfolio Allocation
UseDescription
Concentration AnalysisLargest holdings by cap
Diversification CheckSize mix across holdings
RebalancingAdjust for cap changes
Show full SKILL.md (218 more words)Show less
Competitive Analysis
UseDescription
Market LeadershipLargest in industry
Relative PositioningSize vs. competitors
Growth ComparisonCap changes over time
Screening
UseDescription
Size FilterInclude/exclude by cap
Category SelectionTarget specific sizes
Index EligibilityMeets cap requirements

Market Cap Calculations

Basic Formula
Market Cap = Share Price × Shares Outstanding
Factors Affecting Market Cap
FactorImpact
Price ChangeDirect proportional effect
Share BuybacksReduces shares, concentrates value
New IssuanceDilutes if price doesn't rise
Stock SplitsNo effect (price adjusts)
Fully Diluted Market Cap
ComponentDescription
Basic SharesCurrently outstanding
OptionsEmployee stock options
WarrantsConvertible instruments
ConvertiblesConvertible debt/preferred

Data Considerations

Source Variations
FactorConsideration
TimingReal-time vs. delayed data
CurrencyUSD conversion rates
Share CountBasic vs. diluted
UpdatesFrequency of refresh
Handling Discrepancies
IssueApproach
Different sourcesNote the variance
Different datesUse consistent timing
Currency mixConvert to single currency
Missing dataFlag unavailable items

Analysis Tips

  1. Use consistent data: Same source/date for fair comparison.

  2. Consider context: Industry norms for market cap.

  3. Track changes: Market cap shifts over time.

  4. Combine with fundamentals: P/E, P/S for valuation context.

  5. Watch for outliers: Investigate unusual sizes.

  6. Global perspective: Different markets, different scales.

Integration with Other Skills

SkillCombined Use
stock-quoteMarket cap + current price
income-statementMarket cap vs. revenue/earnings
financial-metrics-analysisValuation multiples
analyst-estimatesMarket cap vs. price targets

© 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/batch-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

Batch 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.

Batch Market Cap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Batch Market Cap this skillOctagonAI/skills127—~1.6kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Dr Manhattanguzus/dr-manhattan204—~2kAutomated safety check: PassApache-2.0
Agentic Trading DeskOft3r/agentic-trading-desk306—~5.1kAutomated safety check: PassMIT

Similar skills

  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • 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
  • Dr Manhattan

    guzus/dr-manhattan

    Trade prediction markets (Polymarket, Kalshi, Opinion, Limitless, Predict.fun) using a unified CCXT-style API.

    204 GitHub stars~2k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Agentic Trading Desk

    Oft3r/agentic-trading-desk

    Personal trading desk for short-term technical analysis on stocks/ETFs via Robinhood MCP.

    306 GitHub stars~5.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Earnings Analysis

    Wind-Alice/AliceMarket

    Create professional equity research earnings update reports (8-12 pages, 3,000-5,000 words) analyzing quarterly results for companies already under coverage.

    134 GitHub starsUsed in 3 repos~2.2k tokens
    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
  • 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
  • Commodities List

    OctagonAI/skills

    Retrieve the full catalog of tradable commodities across energy, metals, and agriculture using Octagon MCP.

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

Questions about Batch Market Cap

What does Batch Market Cap do?

Retrieve market capitalization data for multiple companies at once using Octagon MCP. Batch Market Cap is an agent skill from OctagonAI/skills. Retrieve market capitalization data for multiple companies at once using Octagon MCP.

When should I use Batch Market Cap?

Batch Market Cap fits situations like: comparing valuations across peers; screening by market cap; analyzing a portfolios composition by company size.

How do I install Batch Market Cap in Claude Code?

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

How do I install Batch Market Cap in Codex?

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

Can I use Batch 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 batch-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/batch-market-cap, .gemini/skills/batch-market-cap, .github/skills/batch-market-cap and .opencode/skills/batch-market-cap in your project.

What does Batch Market Cap need to run?

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

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

Batch 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 Batch Market Cap 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.2k tokens, read only when the agent opens those files.

What are the alternatives to Batch Market Cap?

Skills that share tags, products or a category with Batch Market Cap: Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars), Stock API (zhangxiangliang/stock-api, 2k stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Dr Manhattan (guzus/dr-manhattan, 204 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Batch 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.