Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/AI & Agent Building
starchild-ai-agent avatar

Twelvedata

starchild-ai-agent/official-skills

A comprehensive financial data interface that pulls real-time quotes, historical time series, and market data from TwelveData's API. Handles stocks, forex pairs, and commodities with proper symbol formatting and batch processing for multi-asset queries. The skill documentation is notably thorough, with clear boundaries between TwelveData and CoinGecko usage (traditional markets vs crypto), common mistake prevention, and specific symbol references for commodities like gold (XAU/USD) and oil (WTI/USD). Smart tool routing based on query type, from single quotes to batch comparisons to historical charts. Solid choice for building financial dashboards or market analysis features without dealing with API quirks directly.

installs
7.7K
GitHub stars
30
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add starchild-ai-agent/official-skills --skill twelvedata --agent claude-code

Installs into .claude/skills of the current project.

Files

logo.png

Twelve Data

Stocks, forex, and commodities price data. Traditional markets only — not for crypto.

Script Usage

This skill ships a single exports.py with all functions. Call it from a bash block:

python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/twelvedata")
from exports import twelvedata_price, twelvedata_quote, twelvedata_time_series

# Single quote
print(twelvedata_quote(symbol="AAPL"))

# Time series (last 30 daily candles)
series = twelvedata_time_series(symbol="AAPL", interval="1day", outputsize=30)
print(json.dumps(series.get("values", [])[:3], indent=2))
EOF

Available functions in exports.py: twelvedata_price, twelvedata_quote, twelvedata_time_series, twelvedata_eod, twelvedata_quote_batch, twelvedata_price_batch, twelvedata_search, twelvedata_stocks, twelvedata_forex_pairs, twelvedata_exchanges. Read exports.py directly when you need exact signatures.

Function Reference (signatures)

All functions are in exports.py. Symbols use TwelveData format (e.g. AAPL, EUR/USD, XAU/USD). Use prepost=True for pre/post-market data on US stocks.

FunctionDescription
twelvedata_price(symbol, prepost=False)Current price for one symbol.
twelvedata_price_batch(symbols, prepost=False)Prices for multiple symbols (symbols = comma-separated string).
twelvedata_quote(symbol, prepost=False)Detailed quote: price, volume, 52w high/low, change %.
twelvedata_quote_batch(symbols, prepost=False)Detailed quotes for multiple symbols.
twelvedata_time_series(symbol, interval='1day', outputsize=30, start_date=None, end_date=None, prepost=False)OHLCV bars. interval = 1min/5min/15min/30min/1h/2h/4h/1day/1week/1month.
twelvedata_eod(symbol, date=None, prepost=False)End-of-day price for a date (default: latest).
twelvedata_search(query)Search symbols by name or ticker.
twelvedata_stocks(exchange=None, country=None)List supported stocks (filterable).
twelvedata_forex_pairs()List all supported forex pairs.
twelvedata_exchanges()List supported exchanges.

Keyword → Tool Lookup

User asks aboutToolNOT this
"AAPL 股价", "current price" (single)twelvedata_quoteNot twelvedata_price (less detail)
"just the price number"twelvedata_price—
"多只股票对比" (2+ symbols)twelvedata_quote_batchNot multiple twelvedata_quote calls
"K线", "历史数据", "time series"twelvedata_time_series—
"收盘价"twelvedata_eod—
"找股票代码"twelvedata_search—
"NASDAQ 有哪些股票"twelvedata_stocks—
"汇率", "EUR/USD"twelvedata_quote(symbol="EUR/USD")—
"外汇对列表"twelvedata_forex_pairs—
"金价", "oil price"twelvedata_quote(symbol="XAU/USD")Not CoinGecko
"BTC price", any cryptoCoinGecko coin_price❌ Never twelvedata for crypto

TwelveData vs CoinGecko — Boundary

Asset classUseWhy
Stocks (AAPL, TSLA)TwelveDataCoinGecko has no stocks
Forex (EUR/USD)TwelveDataCoinGecko has no forex
Commodities (gold, oil)TwelveDataCoinGecko has no commodities
Crypto (BTC, ETH, SOL)CoinGeckoTwelveData crypto data is limited/unreliable

MISTAKES — Read Before Calling

❌ MISTAKE 1: Using TwelveData for crypto

User: "BTC 价格"
❌ WRONG: twelvedata_quote(symbol="BTC/USD")
✅ RIGHT: coin_price(ids="bitcoin")  ← CoinGecko

❌ MISTAKE 2: Calling quote individually for multiple stocks

User: "AAPL MSFT GOOGL 现在什么价"
❌ WRONG: twelvedata_quote("AAPL"), twelvedata_quote("MSFT"), twelvedata_quote("GOOGL")  ← 3 calls
✅ RIGHT: twelvedata_quote_batch(symbols=["AAPL", "MSFT", "GOOGL"])  ← 1 call, up to 120 symbols

❌ MISTAKE 3: Forex without slash

❌ WRONG: twelvedata_quote(symbol="EURUSD")
✅ RIGHT: twelvedata_quote(symbol="EUR/USD")  ← always slash format

Also: USD/CNH not USDCNH, GBP/JPY not GBPJPY.

❌ MISTAKE 4: Expecting bid/ask from quote

❌ WRONG: "EUR/USD bid: 1.0850, ask: 1.0852"  ← quote only returns close
✅ RIGHT: "EUR/USD current price: 1.0851 (close/last price — bid/ask spread not available)"

❌ MISTAKE 5: Wrong interval format

❌ WRONG: twelvedata_time_series(interval="1D")  ← uppercase
✅ RIGHT: twelvedata_time_series(interval="1day")

Valid: 1min, 5min, 15min, 30min, 1h, 2h, 4h, 8h, 1day, 1week, 1month

❌ MISTAKE 6: Using full output when compact suffices

User: "AAPL 最近走势"
❌ WRONG: twelvedata_time_series(symbol="AAPL", interval="1day", outputsize="full")  ← 5000 candles
✅ RIGHT: twelvedata_time_series(symbol="AAPL", interval="1day", outputsize="compact")  ← 30 candles

Use full only when user explicitly needs deep history.

Symbol Reference

Commodities (verified)

AssetSymbol
GoldXAU/USD
SilverXAG/USD
PlatinumXPT/USD
PalladiumXPD/USD
Crude Oil (WTI)WTI/USD
Natural GasNG/USD

Popular Forex Pairs

PairSymbol
Euro / USDEUR/USD
GBP / USDGBP/USD
USD / JPYUSD/JPY
USD / CNHUSD/CNH

Use twelvedata_search to discover others.

Pre/Post-Market Data

twelvedata_quote(symbol="AAPL", prepost=true)
twelvedata_time_series(symbol="AAPL", interval="1min", prepost=true)

Returns premarket_change, premarket_change_percent, postmarket_change, postmarket_change_percent when available.

Output Sizes

  • compact — Last 30 data points (default, faster). Use for "最近走势".
  • full — Up to 5000 data points. Use for deep analysis / charting.

Proxy-Safe Usage

  1. Agent tool calls: Always prefer twelvedata_* tools (this skill).
  2. Platform code (skills/, tools/): use core.http_client.
  3. Workspace scripts (bash): Do NOT call TwelveData directly. Use skill tools.

Compound Queries

Stock Comparison

1. twelvedata_quote_batch(symbols=["AAPL", "MSFT", "GOOGL", "TSLA"])
2. twelvedata_time_series(symbol="AAPL", interval="1day", outputsize="compact")  ← only for the one user cares most about

Macro Dashboard (stocks + forex + commodities)

1. twelvedata_quote_batch(symbols=["SPY", "QQQ"])          → US indices
2. twelvedata_quote_batch(symbols=["EUR/USD", "USD/JPY"])   → Forex
3. twelvedata_quote(symbol="XAU/USD")                       → Gold
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/starchild-ai-agent/official-skills
Categories
AI & Agent Building, Finance & Trading

More from starchild-ai-agent/official-skills

All 43
  • Skillmarketplace7.1K
  • Orderly Onboarding7K
  • Project Builder5.2K
  • Browser Preview4.6K
  • Charting4.4K
  • Composio4.3K
  • Coder4.1K
  • Slide Creator4.1K
  • Wallet Policy4.1K
  • Community Publish4K
  • Preview Dev4K
  • Web Crawler3.9K
  • Chart3.9K
  • User Onboarding3K
  • Agentx2.8K
  • Video2.7K
  • Byok Custom Model2.7K
  • Chatgpt Codex Onboarding2.5K
  • Xai Grok Onboarding2.3K
  • Image Edit2.3K
  • Image Portrait2.2K
  • Agent Hooks2.2K
  • Wechat Binding2.2K
  • Tg Bot Binding2.2K

Recommended

More AI & Agent Building
1callstackincubator avataragent-devicecallstackincubator/agent-deviceagent device7.7Kinstalls
2starchild-ai-agent avatarskillmarketplacestarchild-ai-agent/official-skillsSearch, install, and publish skills across official, community, and global registries. Use when finding or sharing skills (e.g. install a "funding rate" skill, 7.1Kinstalls
3inferen-sh avatarai-social-media-contentinferen-sh/skills7Kinstalls
4google avataragent-platform-alert-configurationgoogle/skillsConfigures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics. Use when analyzing, writing, or deploying alerting policies to moni7Kinstalls
5anthropics avatarmcp-integrationanthropics/claude-plugins-officialThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", 6.9Kinstalls
6claude-office-skills avataroffice-mcpclaude-office-skills/skillsMCP server with 39 tools for Word, Excel, PowerPoint, PDF, OCR operations6.9Kinstalls