BeClaude

alpaca-skills

New
85GitHub TrendingGeneralby alpacahq

Agent skills for Alpaca's Trading API and Broker API: drop-in SKILL.md files for AI coding assistants

First seen 6/17/2026

Summary

md files that configure Claude Code to interact with Alpaca's Trading and Broker APIs.

  • It enables developers to quickly integrate algorithmic trading, portfolio management, and market data retrieval into their AI-assisted coding workflows without manual setup.

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/alpaca-skills.md

3
Invoke with @agent-name
@alpaca-skills

Use Cases

Set up a trading bot that places buy/sell orders on Alpaca using natural language commands.
Retrieve real-time or historical market data for stocks and crypto assets via Claude Code.
Manage a brokerage account, including checking balances, positions, and order history.
Automate portfolio rebalancing by defining target allocations and executing trades.
Backtest trading strategies by fetching historical data and simulating order execution.
Integrate Alpaca's paper trading environment for risk-free strategy testing.

Usage Examples

1

/alpaca-skills Place a market buy order for 10 shares of AAPL.

2

Use the alpaca-skills skill to fetch the last 100 daily bars for BTC/USD.

3

Check my Alpaca account balance and open positions using the broker API.

View source on GitHub
apiagent

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is alpaca-skills?

This skill provides ready-to-use SKILL.md files that configure Claude Code to interact with Alpaca's Trading and Broker APIs. It enables developers to quickly integrate algorithmic trading, portfolio management, and market data retrieval into their AI-assisted coding workflows without manual setup.

How to install alpaca-skills?

To install alpaca-skills: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/alpaca-skills.md. Finally, @alpaca-skills in Claude Code.

What is alpaca-skills best for?

alpaca-skills is a agent categorized under General. It is designed for: api, agent. Created by alpacahq.

What can I use alpaca-skills for?

alpaca-skills is useful for: Set up a trading bot that places buy/sell orders on Alpaca using natural language commands.; Retrieve real-time or historical market data for stocks and crypto assets via Claude Code.; Manage a brokerage account, including checking balances, positions, and order history.; Automate portfolio rebalancing by defining target allocations and executing trades.; Backtest trading strategies by fetching historical data and simulating order execution.; Integrate Alpaca's paper trading environment for risk-free strategy testing..