Agent skill

Historyofmarket

by gauss314 in gauss314/skills

History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871.

MITAuto-check passedBusiness, Finance & HR

Install Historyofmarket

skills CLI
$ npx skills add gauss314/skills --skill historyofmarket -a claude-code

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

GitHub CLI
$ gh skill install gauss314/skills historyofmarket --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/gauss314/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/historyofmarket .claude/skills/historyofmarket && 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
historyofmarket
GitHub stars
248
Token cost
~1.6k tokens
SKILL.md length
447 words
Files
12 (incl. scripts, references, assets)
Skills in repo
32
Repo updated
First seen
Licence
MIT

At a glance

History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871.

  • Works in 5 steps: CAPE (Shiller PE) desde 1871 — el unico… → Drawdowns con causa — cada drawdown… → Driver decomposition — descompone el… → …
  • Tasks that involve Stock and market analysis
  • SKILL.md covers 🎯 Que datos cubre, ⚡ Singularidades de este skill, 🚀 Quick start and 📁 File map, plus 3 more sections
  • Runs Python scripts from its folder; calls curl; reaches historyofmarket.com

What it does

Historyofmarket is an agent skill from gauss314/skills. History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. S&P 500 (price, CAPE, EPS, drawdowns, changes, constituents), Nasdaq Composite/Nasdaq 100 (price, volatility, VXN, changes), Dow Jones, SOX/SMH, sector ETFs (XLK, XLF), Magnificent 7 y macro. Sin API key, CORS libre, CC BY 4.0.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `assets/endpoints.json`, `references/BROADER_MARKET.md` and `references/DRAWDOWN_VOLATILITY.md`).

It sits in Business, Finance & HR, covering Stock and market analysis. The repository describes itself as: Financial market data consumption skills for claude code and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Stock and market analysis

Example prompts

  • “/historyofmarket”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. CAPE (Shiller PE) desde 1871 — el unico skill del repo con PE10
  2. Drawdowns con causa — cada drawdown incluye el evento que lo
  3. Driver decomposition — descompone el retorno anual en rerating
  4. GICS reclassification — impacto de los cambios de sector GICS 2018
  5. Reconstitucion historica — los scripts permiten reconstruir

What it can do on your machine

Read from SKILL.md and the folder at commit 5156f81. 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

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • curl

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • historyofmarket.com

    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

Historyofmarket loads about 1.6k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 447 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from gauss314/skills at commit 5156f81, republished under its MIT licence (© gauss314). 447 words, ~1,592 tokens.

Download SKILL.mdSave it as .claude/skills/historyofmarket/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
historyofmarket
description
History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. S&P 500 (price, CAPE, EPS, drawdowns, changes, constituents), Nasdaq Composite/Nasdaq 100 (price, volatility, VXN, changes), Dow Jones, SOX/SMH, sector ETFs (XLK, XLF), Magnificent 7 y macro. Sin API key, CORS libre, CC BY 4.0.
license
MIT

History of Market

Skill para acceder a la API publica historyofmarket.com — 88 datasets pre-generados (JSON estatico) sobre la historia de los mercados financieros de EE.UU. desde 1871. Sin API key, sin autenticacion, CORS libre, licencia CC BY 4.0.

Cada dataset es un archivo JSON pre-generado (sin parametros). Cache: max-age=300 con stale-while-revalidate=3600. Soporta ETag.


🎯 Que datos cubre

CategoriaIndices / ETFsDatos disponibles
S&P 500SPXDaily desde 1928, CAPE desde 1871, EPS, drawdowns, volatilidad, VIX, constituents, changes, sectors, forward PE, ROE, driver decomp, return details
Nasdaq CompositeCOMPDaily desde 1971
Nasdaq 100NDXDaily desde 1985, constituents, annual returns, drawdowns, VXN, forward PE, driver decomp, rolling 5y, changes
QQQQQQReturn details (price + dividend + buyback)
Dow JonesDJIADaily desde 1914
Philadelphia SemiSOXDaily desde 1994, 30 constituents, SMH holdings, memory valuation, ratios SOX/SPX, ETF compare
Sector ETFsXLK, XLFPrice, annual returns, drawdowns, volatility, holdings, GICS reclassifications (2018/2023)
Mag 7AAPL/MSFT/NVDA/GOOGL/AMZN/META/TSLAEqual-weighted composite, concentration, correlation, AI valuation, AI capex, lineage
Macro—AIAE (equity allocation), NBER recessions, yield curve, forward PE by sector

⚡ Singularidades de este skill

  1. CAPE (Shiller PE) desde 1871 — el unico skill del repo con PE10 historico. references/VALUATION_METRICS.md

  2. Drawdowns con causa — cada drawdown incluye el evento que lo desencadeno y dias de recuperacion. references/DRAWDOWN_VOLATILITY.md

  3. Driver decomposition — descompone el retorno anual en rerating (cambio de PE) vs revision (cambio de EPS). references/VALUATION_METRICS.md

  4. GICS reclassification — impacto de los cambios de sector GICS 2018 y 2023 en XLK y XLF. references/SECTOR_ETFS.md

  5. Reconstitucion historica — los scripts permiten reconstruir miembros historicos de S&P 500 y Nasdaq 100 a una fecha dada.


🚀 Quick start

bash
# S&P 500 — century closes
curl https://historyofmarket.com/api/sp500/century.json

# Shiller CAPE
curl https://historyofmarket.com/api/sp500/pe.json

# Drawdowns historicos con causa
curl https://historyofmarket.com/api/sp500/drawdowns.json

# Constituyentes actuales S&P 500
curl https://historyofmarket.com/api/sp500/constituents.json

# Cambios historicos S&P 500 (adds/removes)
curl https://historyofmarket.com/api/sp500/changes.json

# Nasdaq 100 constituyentes actuales
curl https://historyofmarket.com/api/nasdaq/100.json

# Mag 7 concentracion en S&P 500
curl https://historyofmarket.com/api/mag7/concentration.json

# NBER recessions
curl https://historyofmarket.com/api/recessions.json

📁 File map

skills/historyofmarket/
├── SKILL.md
├── assets/
│   └── endpoints.json        ← snapshot de todos los 88 endpoints
├── references/
│   ├── SP500_METHODOLOGY.md  ← S&P 500: elegibilidad, earnings test, cambios
│   ├── NASDAQ_100_METHODOLOGY.md
│   ├── DRAWDOWN_VOLATILITY.md
│   ├── VALUATION_METRICS.md  ← CAPE, forward PE, driver decomp, ROE
│   ├── SECTOR_ETFS.md        ← XLK, XLF, GICS reclass, holdings
│   ├── MAGNIFICENT7.md       ← Mag 7, concentration, AI capex, lineage
│   └── BROADER_MARKET.md     ← Dow, SOX, recessions, yield curve
└── scripts/
    ├── reconstitute_sp500.py  ← reconstruir miembros S&P 500 a fecha dada
    ├── reconstitute_ndx.py    ← reconstruir miembros NDX a fecha dada
    └── sector_rotation.py     ← rotacion sectorial XLK vs XLF vs SPY

Show full SKILL.md (178 more words)Show less

📚 Referencias

Para entender la teoria detras de los datos:

DocumentoContenido
references/SP500_METHODOLOGY.mdElegibilidad, earnings test, market cap minimo, comite de indices, historial de cambios
references/NASDAQ_100_METHODOLOGY.mdNasdaq 100 methodology, annual reconstitution, weight caps
references/DRAWDOWN_VOLATILITY.mdDrawdowns, intrayear vs year-end, volatilidad realizada, VIX/VXN
references/VALUATION_METRICS.mdShiller CAPE, forward PE, trailing PE, EPS, ROE, driver decomp
references/SECTOR_ETFS.mdSector ETFs XLK/XLF, GICS reclassification 2018/2023, holdings
references/MAGNIFICENT7.mdMag 7 composite, concentration in SPX, correlation, AI capex, lineage
references/BROADER_MARKET.mdDow Jones, SOX/SMH, NBER recessions, yield curve

🐍 Scripts

ScriptPropositoUso
scripts/reconstitute_sp500.pyReconstruir los 500 miembros del S&P 500 en una fecha historicapy scripts/reconstitute_sp500.py 2020-01-01
scripts/reconstitute_ndx.pyReconstruir los 100 miembros del Nasdaq 100 en una fecha historicapy scripts/reconstitute_ndx.py 2020-01-01
scripts/sector_rotation.pyAnalizar rotacion sectorial: rolling returns, correlacion, drawdowns sincronicospy scripts/sector_rotation.py

🌐 Entry points

EndpointDescripcion
/api/_manifest.jsonCatalogo completo de los 88 datasets
/api/profile.jsonPerfil del sitio para AI agents
/api/tools.jsonLista machine-callable de 68 tools
/llms.txtResumen LLM-friendly
/.well-known/llms.txtWell-known location
/ai.txtAI agent instructions
/sitemap.xmlSitemap completo (60+ panels × 6 locales)
/robots.txtRobots.txt

Ver assets/endpoints.json para el snapshot completo de los 88 endpoints con descripcion.

© gauss314, 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 11 other files (scripts, references, assets) in skills/historyofmarket of gauss314/skills.

  • SKILL.md
  • assets/endpoints.json
  • references/BROADER_MARKET.md
  • references/DRAWDOWN_VOLATILITY.md
  • references/MAGNIFICENT7.md
  • references/NASDAQ_100_METHODOLOGY.md
  • references/SECTOR_ETFS.md
  • references/SP500_METHODOLOGY.md
  • references/VALUATION_METRICS.md
  • scripts/reconstitute_ndx.py
  • scripts/reconstitute_sp500.py
  • scripts/sector_rotation.py

Open the folder on GitHubat commit 5156f81

Compare with similar skills

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

Historyofmarket compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Historyofmarket this skillgauss314/skills248—~1.6kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • 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
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    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
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    271 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from gauss314/skills

All 32 skills in this repo
  • Backtesting

    gauss314/skills

    Academic backtesting framework for quantitative research. An agent skill from gauss314/skills.

    248 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Google Finance

    gauss314/skills

    Datos de Google Finance via batchexecute (API RPC interna sin auth ni API key).

    248 GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Indec

    gauss314/skills

    Datos macro y sociales de Argentina via la API oficial Series de Tiempo del Estado (apis.datos.gob.ar/series).

    248 GitHub stars~3k tokensUpdated 3 mo ago
    Auto-check passed
  • Morningstar

    gauss314/skills

    Morningstar Screener via API JSON publica: descarga masiva de 53 universes (102K+ listings, 39 paises, NYSE/Nasdaq/BCBA/etc) con 33 campos (precio, market cap, ratios, retornos…

    248 GitHub stars~2.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Option Pricing

    gauss314/skills

    Pricing completo de opciones europeas y americanas. An agent skill from gauss314/skills.

    248 GitHub stars~4.7k tokensUpdated 3 mo ago
    Auto-check passed
  • Portfolio

    gauss314/skills

    Construcción y optimización cuantitativa de portafolios: Markowitz (scipy.optimize + Monte Carlo), Black-Litterman (prior CAPM, views absolutas/relativas, posterior bayesiano), HRP/HERC/NCO…

    248 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Historyofmarket

What does Historyofmarket do?

History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. Historyofmarket is an agent skill from gauss314/skills.com) — API publica con 88 datasets historicos de indices US desde 1871.

When should I use Historyofmarket?

Historyofmarket fits situations like: tasks that involve Stock and market analysis.

How do I install Historyofmarket in Claude Code?

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

How do I install Historyofmarket in Codex?

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

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

What does Historyofmarket need to run?

Going by SKILL.md and its folder, Historyofmarket needs Python for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: Python 3.

Does Historyofmarket access the network?

SKILL.md names 1 domain. In commands or code: historyofmarket.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Historyofmarket 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Historyofmarket use?

Historyofmarket is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Historyofmarket use?

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

What are the alternatives to Historyofmarket?

Skills that share tags, products or a category with Historyofmarket: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 878 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Historyofmarket?

gauss314 (a GitHub user) maintains it in gauss314/skills, which has 248 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on June 14, 2026.

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