Metamask Agent Wallet
nirholas/three.ws
A skill your agent uses when the user asks anything about blockchain wallets, transactions, signing, token transfers, supported chains, wallet balances, perpetual futures trading, prediction…
Install, configure, and use the Alpaca CLI - a command-line tool for the Alpaca Trading API.
$ npx skills add alpacahq/cli --skill alpaca-cli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alpacahq/cli alpaca-cli --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/alpaca-cli .claude/skills/alpaca-cli && rm -rf skills-srcUse ~/.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/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .claude/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cliType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alpacahq/cli --skill alpaca-cli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alpacahq/cli alpaca-cli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/alpaca-cli .agents/skills/alpaca-cli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .agents/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alpacahq/cli --skill alpaca-cli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alpacahq/cli alpaca-cli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/alpaca-cli .cursor/skills/alpaca-cli && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .cursor/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alpacahq/cli.git --path .agents/skills/alpaca-cli--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alpacahq/cli --skill alpaca-cli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alpacahq/cli alpaca-cli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/alpaca-cli .gemini/skills/alpaca-cli && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .gemini/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alpacahq/cli alpaca-cliInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alpacahq/cli --skill alpaca-cli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/alpaca-cli .github/skills/alpaca-cli && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .github/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alpacahq/cli --skill alpaca-cli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alpacahq/cli alpaca-cli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alpacahq/cli.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/alpaca-cli .opencode/skills/alpaca-cli && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "alpaca-cli" agent skill from https://github.com/alpacahq/cli/tree/main/.agents/skills/alpaca-cli into .opencode/skills/alpaca-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alpaca-cli", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
alpaca-cliInstall, configure, and use the Alpaca CLI - a command-line tool for the Alpaca Trading API.
Alpaca CLI is an agent skill from alpacahq/cli. Install, configure, and use the Alpaca CLI - a command-line tool for the Alpaca Trading API. Covers installation (Go), API key authentication, profile management, and agent/automation integration. Use when the user asks to install the Alpaca CLI, set up Alpaca API credentials, trade stocks or crypto from the command line, get market data via CLI, or integrate the Alpaca CLI into scripts, CI pipelines, or AI agent workflows. Keywords: alpaca, trading, stocks, crypto, market data, brokerage, command line, CLI tool…
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires Go (go install) for installation. macOS, Linux, and Windows supported.
It sits in Business, Finance & HR, covering Stock and market analysis, CI/CD and Authentication. It works with Alpaca. The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5360627. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
ALPACA_SECRET_KEYALPACA_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires Go (go install) for installation. macOS, Linux, and Windows supported.
From compatibility in the SKILL.md frontmatter.
Alpaca CLI loads about 2.6k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 941 words of instructions outside code blocks.
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.
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.
The full file from alpacahq/cli at commit 5360627, republished under its Apache-2.0 licence (© alpacahq). 941 words, ~2,596 tokens.
.claude/skills/alpaca-cli/SKILL.md (or your agent's skills folder).Check if already installed:
alpaca versionIf not installed:
go install github.com/alpacahq/cli/cmd/alpaca@latestPaper trading is the default. alpaca profile login uses OAuth and is paper-only. For live trading, use API keys: alpaca profile login --api-key --live.
alpaca profile loginCredentials are stored in ~/.config/alpaca/profiles/ with 0600 permissions.
The embedded OAuth client ID and secret are public native-app identifiers, not security credentials. OAuth access is gated by browser consent plus redirect/state validation, and remains paper-only until the flow is hardened with PKCE or Device Authorization Grant.
No secrets touch disk. Preferred for automation:
export ALPACA_API_KEY=PK...
export ALPACA_SECRET_KEY=...Env API keys default to paper trading. For live, set ALPACA_LIVE_TRADE=true.
When env API keys are set, they are the authoritative credentials - any profile on disk is ignored. OAuth tokens cannot be set via env var; use alpaca profile login to store them in a profile.
alpaca profile login --name paper # OAuth, paper (default)
alpaca profile login --api-key --name live --live # API keys, live trading
alpaca profile switch live # switch active profile
alpaca doctor # show active profile + connectivityalpaca version
alpaca clock --quietIf authenticated, also verify credentials work:
alpaca account get --quietExit code 0 = success, 2 = auth error.
API commands are non-interactive once credentials are configured.
Auth and setup commands may still prompt or open a browser:
alpaca profile login opens a browser for OAuth and may prompt for scopes on a TTY.alpaca profile login --api-key prompts for missing credentials unless --key and --secret are provided.alpaca profile login.--quietJSON is the default output format. --quiet suppresses all non-data output (warnings, hints). Use it for machine-readable results:
alpaca position list --quiet
alpaca data latest-trade --symbol AAPL --quietOr set it once via environment variable so every invocation is quiet:
export ALPACA_QUIET=1
alpaca position listErrors are always JSON on stderr:
{"error":"rate limited","code":0,"status":429,"hint":"Rate limited. Reduce request frequency or add delays between calls."}| Code | Meaning |
|---|---|
0 | Success |
1 | API or general error |
2 | Authentication error (401) |
Preview an order without submitting:
alpaca order submit --symbol AAPL --side buy --qty 10 --type limit --limit-price 185.00 --dry-runecho '{"symbol":"AAPL","qty":"1","side":"buy","type":"market","time_in_force":"day"}' \
| alpaca api POST /v2/ordersAlways pass --client-order-id when submitting orders. The API rejects duplicates (409), preventing double-orders on ambiguous failures:
CLIENT_ORDER_ID="$(uuidgen)"
alpaca order submit --symbol AAPL --side buy --qty 10 --type market --client-order-id "$CLIENT_ORDER_ID" --quietOn failure or timeout, check before retrying:
alpaca order get-by-client-id --client-order-id "$CLIENT_ORDER_ID" --quietIf the order is returned, it went through - do not resubmit. If 404 (exit code 1), retry is safe.
The CLI retries on 429 and 5xx with exponential backoff (max 3 attempts). Retry-After headers are respected.
alpaca account get --verbose # one-line request/response summary on stderr
alpaca account get --trace # timing breakdown (DNS, TLS, TTFB) on stderr
alpaca account get --debug # full headers and bodies on stderrCredentials are always scrubbed from debug output.
alpaca position list --jq '.[0].symbol'
alpaca order list --jq '[.[] | {id, symbol, side, qty}]'--jq applies a jq expression to the JSON output without requiring an external jq install.
| Variable | Description |
|---|---|
ALPACA_API_KEY | API key. Must be set together with ALPACA_SECRET_KEY. |
ALPACA_SECRET_KEY | Secret key. Must be set together with ALPACA_API_KEY. |
ALPACA_LIVE_TRADE | true routes to live; anything else (unset, empty, false) routes to paper |
ALPACA_PROFILE | Profile name to use |
ALPACA_OUTPUT | Default output format (json, csv) |
ALPACA_CONFIG_DIR | Config directory (default: ~/.config/alpaca) |
ALPACA_QUIET | Suppress non-data output - warnings, hints, color |
ALPACA_VERBOSE | Show HTTP request summaries on stderr |
ALPACA_DEBUG | Show HTTP request/response headers and bodies on stderr |
ALPACA_TRACE | Show HTTP timing breakdown on stderr (DNS, TLS, TTFB) |
Credentials resolve as an atomic bundle (no field-level mixing). First complete source wins:
ALPACA_API_KEY + ALPACA_SECRET_KEY together -> env API keysaccess_token -> OAuth from active profileapi_key + secret_key -> API keys from active profileA partial env bundle (only one of the two) falls through to the profile. Env API keys always beat anything in a profile. OAuth tokens are not readable from env - use alpaca profile login.
Paper vs live resolves independently: ALPACA_LIVE_TRADE > profile live_trade > paper default. Env-sourced credentials ignore the profile's live_trade field and default to paper unless ALPACA_LIVE_TRADE=true opts into live. Agents should set ALPACA_LIVE_TRADE=true explicitly when live trading is intended; any other value (including false) keeps you on paper.
Check for updates explicitly before starting work when you need upgrade guidance:
alpaca update --check --quietThis returns structured output:
{"current":"0.0.1","latest":"0.0.2","update_available":true,"install_method":"goinstall","update_command":"go install github.com/alpacahq/cli/cmd/alpaca@latest"}If update_available is true, run the update_command value to upgrade. Or invoke alpaca update --yes to run the upgrade non-interactively.
Manual commands:
alpaca update # check, prompt, then run the upgrade
alpaca update --yes # check and upgrade without prompting
alpaca update --check # machine-readable update check (JSON, no prompt)alpaca --help-all # dump all commands, subcommands, and flags
alpaca order --help # help for a command group
alpaca order submit --help # help for a specific command
alpaca order list --schema # show response fields for a command
alpaca doctor # check config and API connectivityUse --help-all to find the right command. Use <command> --help for flag details. Use <command> --schema to see API response fields generated from the spec. These are always current - never rely on stale documentation when the CLI is installed.
Data commands return one page by default. Use --limit to control page size and --page-token to fetch subsequent pages:
alpaca data bars --symbol AAPL --start 2025-01-01 --limit 500
alpaca data bars --symbol AAPL --start 2025-01-01 --limit 500 --page-token <token>The response includes a next_page_token field when more data is available.
command not found: alpaca - Ensure $GOPATH/bin (usually ~/go/bin) is in your PATH.
Exit code 2 on every command - Credentials are missing or invalid. Re-run alpaca profile login or verify ALPACA_API_KEY / ALPACA_SECRET_KEY env vars.
Rate limited (429) - The CLI retries automatically, but if it persists, add delays between calls. Check Retry-After in --verbose output.
Completions not working - Run alpaca completion <shell> to generate completions, then open a new shell. For zsh, ensure compinit is loaded in .zshrc.
alpaca profile login defaults to paper trading - do not pass --live unless the user specifically asks for it.--secret as a CLI flag - it leaks into shell history. Use alpaca profile login interactively or set ALPACA_SECRET_KEY as an env var.--quiet in automation or agent workflows - without it, output may include hints and warnings on stderr that break parsing.2 - it means authentication failed. Do not retry; fix credentials first.--dry-run to preview first when there is any ambiguity.--client-order-id in automation - without it, retries after ambiguous failures (timeouts, network errors) risk placing duplicate orders.alpaca locate create may incur locate fees. Use alpaca locate quotes or alpaca locate list for read-only checks.© alpacahq, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/alpaca-cli of alpacahq/cli.
Open the folder on GitHubat commit 5360627
Alpaca CLI 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Alpaca CLI this skillalpacahq/cli | 177 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Metamask Agent Walletnirholas/three.ws | 227 | — | ~4.5k | Automated safety check: Pass | MIT | |
| Setupdaloopa/investing | 489 | — | ~1k | Automated safety check: Notes | Apache-2.0 | |
| Alpaca Broker Market Dataalpacahq/alpaca-skills | 154 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Miniqmt CLIoopslink/trading-skills | 176 | — | ~8.2k | Automated safety check: Pass | MIT | |
| Superior Trade AuthSuperior-Trade/superior-skills | 214 | — | ~950 | Automated safety check: Pass | MIT |
nirholas/three.ws
A skill your agent uses when the user asks anything about blockchain wallets, transactions, signing, token transfers, supported chains, wallet balances, perpetual futures trading, prediction…
daloopa/investing
Walk through initial setup and authentication for this Daloopa starter kit
alpacahq/alpaca-skills
Pull and stream US stock market data from Alpaca — REST snapshots/bars/trades/quotes, historical bars with timeframes and feeds (IEX vs SIP), the assets master list, market clock & calendar, news…
oopslink/trading-skills
Operate miniQMT/xtquant via the miniqmt-cli tool -- market data queries, real-time streaming, account management, order placement with safety guards, daemon health checks, SSH tunnel management, and…
Superior-Trade/superior-skills
A skill your agent uses when an agent needs to register a Superior Trade account, verify an email OTP, configure x-api-key authentication, or recover from missing or invalid credentials before using…
agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
alpacahq/cli
Keep the CLI in sync with upstream OpenAPI specs. An agent skill from alpacahq/cli.
Works with
Install, configure, and use the Alpaca CLI - a command-line tool for the Alpaca Trading API. Alpaca CLI is an agent skill from alpacahq/cli. Install, configure, and use the Alpaca CLI - a command-line tool for the Alpaca Trading API.
Alpaca CLI fits situations like: the user asks to install the Alpaca CLI; set up Alpaca API credentials; crypto from the command line; get market data via CLI.
Run `npx skills add alpacahq/cli --skill alpaca-cli -a claude-code`. Or copy the skill folder (.agents/skills/alpaca-cli in alpacahq/cli) into .claude/skills/alpaca-cli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alpacahq/cli --skill alpaca-cli -a codex`. Or copy the skill folder (.agents/skills/alpaca-cli in alpacahq/cli) into .agents/skills/alpaca-cli in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alpacahq/cli --skill alpaca-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alpaca-cli, .gemini/skills/alpaca-cli, .github/skills/alpaca-cli and .opencode/skills/alpaca-cli in your project.
Going by SKILL.md and its folder, Alpaca CLI needs the command-line tools its instructions call (go) and credentials named ALPACA_SECRET_KEY and ALPACA_API_KEY. Our summary lists: A credential in ALPACA_API_KEY; A credential in ALPACA_SECRET_KEY. Compatibility (from SKILL.md): Requires Go (go install) for installation. macOS, Linux, and Windows supported..
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.
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.
Alpaca CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Alpaca CLI: Metamask Agent Wallet (nirholas/three.ws, 227 stars), Setup (daloopa/investing, 489 stars), Alpaca Broker Market Data (alpacahq/alpaca-skills, 154 stars) and Miniqmt CLI (oopslink/trading-skills, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alpacahq (a GitHub organization) maintains it in alpacahq/cli, which has 177 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 2, 2026.
Source: alpacahq/cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.