Creator · alpacahq
Last updated · Sep 4, 2026
Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.
Creator · alpacahq
Last updated · Sep 4, 2026
Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.
Creator · alpacahq
Last updated · Sep 4, 2026
Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.
Creator · alpacahq
Last updated · Sep 4, 2026
Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.
Sandbox only
Install targets
Codex install prompt
Install the "alpaca-trading-paper-trading-cli" agent skill from https://github.com/alpacahq/alpaca-skills/tree/main/skills/trading-api/paper-trading-cli. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alpacahq-alpaca-trading-paper-trading-cli","task":"Install alpaca-trading-paper-trading-cli","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Maintenance
fresh
3d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
142
68/100 Quality · 73/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
142 GitHub stars
Repo activity
142 stars, 17 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Agent should check
Copy prompt
Task: Use alpaca-trading-paper-trading-cli in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Install command: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
LLM text format
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install?format=text
Find alternatives
/api/skills/search?q=alpaca-trading-paper-trading-cli&limit=3
Agent prompt
Use alpaca-trading-paper-trading-cli for this task. Review https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install, then install with: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli
LLM text
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli?format=text
Install alias
/api/registry/install/alpacahq-alpaca-trading-paper-trading-cli
Recommend
/api/registry/recommend?task=Use%20alpaca-trading-paper-trading-cli%20in%20an%20agent%20workflow&limit=3
Agent fit
Finance and quant
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Finance and quant
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO142 GitHub stars
Stars/forks activity
CHECK142 stars, 17 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: alpaca-trading-paper-trading-cli description: > Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. ---
# Alpaca Paper Trading — CLI Version
Use this skill when you want your AI agent to preview, submit, inspect, and manage paper-trading orders using the Alpaca CLI.
This skill is written for you, a Trading API user working with your own Alpaca paper-trading account, CLI profile, and local workspace. Your agent executes all operations through the `alpaca` command-line tool, giving you full visibility into every command and its output.
This is the CLI-specific version. A generic (implementation-agnostic) version and an MCP-server version are also available as companion skills.
---
## 0 - How your AI agent should use this skill
1. **Start with the signal source.** Identify the origin of the trade idea — a backtest result, manual idea, scheduled trigger, or strategy output. 2. **Reiterate strategy logic and confirm with you.** Summarize the thesis, expected behavior, and conditions under which the order should execute. Wait for your confirmation before proceeding. 3. **Gather and confirm ALL configurations.** Timing, asset class, symbol, side, qty/notional, order type, TIF, limit/stop prices, extended-hours flag, risk controls, and margin usage — every parameter must be stated and confirmed. 4. **Confirm the CLI resolves to the paper endpoint.** Run `alpaca doctor` and require its `Trading:` line to read `https://paper-api.alpaca.markets`. If it shows the live endpoint, **STOP immediately** and alert you. 5. **Show a complete order preview** using a formatted table. Include the exact CLI command that will run. 6. **Ask whether you want explicit confirmation before each order** (default: ON). Respect your preference for the session. 7. **Submit via `alpaca order submit`** with the paper profile. 8. **Return order ID, status, submitted payload, and next inspection commands** so you can independently verify. 9. **Monitor order lifecycle** with `alpaca order get`. Report fills, rejections, cancellations with portfolio impact. 10. **Never place live trades.** Verify the resolved paper endpoint before every submission. If any ambiguity exists about the environment, STOP.
---
## 1 - Prerequisites
### Alpaca CLI installed and on PATH
```bash alpaca version ```
Install if needed:
```bash # Homebrew (macOS / Linux) brew install alpacahq/tap/cli
# Or with Go — requires $GOPATH/bin (typically ~/go/bin) on your PATH go install github.com/alpacahq/cli/cmd/alpaca@latest ```
> The CLI is in **Alpha Preview**. Commands, flags, and output formats may change between releases, which is why your agent discovers flags at runtime rather than trusting any list in this file.
### Paper profile configured
```bash alpaca profile login # or with API key alpaca profile login --api-key ```
Discover login options:
```bash alpaca profile login --help ```
### Connectivity verified
```bash alpaca doctor ```
Your agent runs this before every trading session. If it fails, no orders are submitted.
### Asset-class requirements
| Asset class | Requirement | |---|---| | US equities | Paper account active | | Options | Options trading enabled on paper account | | Crypto | Crypto trading enabled on paper account |
### Environment
- A Go toolchain, only if installing via `go install`; the Homebrew formula ships a prebuilt binary and needs no Go - `uuidgen` or equivalent (for client order IDs)
External `jq` is **not** required. The CLI ships a built-in `--jq` flag that filters its own JSON output.
---
## 2 - Gather inputs
Your agent collects the following before proceeding to order construction:
| Parameter | Description | Default | Required | |---|---|---|---| | `signal_source` | Origin of trade idea (backtest, manual, scheduled, strategy) | — | Yes | | `symbol` | Ticker symbol (e.g., AAPL, BTC/USD, AAPL250718C00200000) | — | Yes | | `asset_class` | `us_equity`, `us_option`, `crypto` | `us_equity` | Yes | | `side` | `buy` or `sell` | — | Yes | | `qty` | Number of shares/contracts/coins | — | Yes (or notional) | | `notional` | Dollar amount (fractional shares). Market orders with `day` TIF only; cannot combine with `qty` | — | Yes (or qty) | | `order_type` | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` — **supported values vary by asset class** | `market` | Yes | | `time_in_force` | `day`, `gtc`, `ioc`, `fok`, `opg`, `cls` — **supported values vary by asset class** | `day` for equities and options; `gtc` for crypto | Yes | | `order_class` | `simple`, `bracket`, `oco`, `oto` (equities); `simple`, `mleg` (options); `simple` (crypto) | `simple` | No | | `limit_price` | Required for limit/stop_limit | — | Conditional | | `stop_price` | Required for stop/stop_limit | — | Conditional | | `trail_percent` | For trailing_stop | — | Conditional | | `trail_price` | For trailing_stop | — | Conditional | | `extended_hours` | Allow pre/post-market fills | `false` | No | | `client_order_id` | Idempotency key, max 128 characters | Auto-generated by Alpaca if omitted | No | | `profile` | Alpaca CLI profile name. Set it via the `ALPACA_PROFILE` environment variable for the whole session — **never** with the `-p`/`--profile` flag. See the warning in Step 10 | Currently active paper profile | No | | `output_format` | JSON is the default; `--csv` for CSV, `--jq '<expr>'` to filter | JSON | No | | `confirmation_mode` | Require explicit yes before each order | `ON` | No | | `max_position_pct` | Max % of portfolio in single position | None | No | | `max_order_value` | Hard cap on single order notional | None | No |
### Strategy confirmation checklist
Before building the order, your agent confirms:
- [ ] Strategy logic is clearly stated - [ ] You understand what the order will do - [ ] Entry criteria are met (if from backtest/signal) - [ ] Exit criteria / stop-loss plan discussed - [ ] Position sizing is intentional - [ ] Risk controls reviewed
---
## 3 - Source-of-truth references
Your agent uses these authoritative sources for validation:
| Source | URL | Used for | |---|---|---| | Create an order | https://docs.alpaca.markets/us/reference/postorder | Order parameters, per-asset-class constraints, status codes | | Alpaca CLI docs | https://docs.alpaca.markets/us/docs/alpacas-cli | CLI commands, flags, syntax | | Order types | https://docs.alpaca.markets/us/docs/orders-at-alpaca | Order type behavior and requirements | | Paper trading | https://docs.alpaca.markets/us/docs/paper-trading | Paper environment specifics | | Options trading | https://docs.alpaca.markets/us/docs/options-trading | Options order requirements and approval levels | | Crypto trading | https://docs.alpaca.markets/us/docs/crypto-trading | Crypto order specifics | | Alpaca disclosures | https://alpaca.markets/disclosures | Disclosure language |
### CLI discovery rule
Your agent verifies flags at runtime rather than trusting this file:
```bash alpaca --help-all # full command tree with every flag alpaca order submit --help # flags for one command alpaca order submit --schema # response shape, without calling the API ```
The CLI is in Alpha Preview, so flags and output shapes can change between releases. Anything in this skill that contradicts `--help` output is stale; trust the CLI.
---
## 4 - Workflow
### Phase 1: Strategy Confirmation
**Step 1** — Identify the signal source.
Your agent asks: "Where does this trade idea come from?" Options include: - A completed backtest (link to run folder if available) - A manual trade idea you described - A scheduled or recurring strategy trigger - Output from another skill or system
**Step 2** — Reiterate the strategy logic.
Your agent summarizes: - Thesis (why this trade) - Expected outcome - Time horizon - Exit conditions or stop-loss plan
**Step 3** — Confirm interpretation.
Your agent asks: "Is this interpretation correct? Should I proceed to configure the order?"
---
### Phase 2: Configuration Agreement
**Step 4** — Confirm asset class and symbol.
Your agent validates the symbol format: - Equities: `AAPL`, `MSFT` - Options: OCC format `AAPL250718C00200000` - Crypto: `BTC/USD`, `ETH/USD`
Format is necessary but not sufficient — a well-formed symbol can still be untradable or delisted. Your agent confirms it against the asset record:
```bash alpaca asset get --symbol-or-asset-id AAPL ```
It requires `status` = `active` and `tradable` = `true`, and checks `fractionable` before proposing a notional or fractional-quantity order. For options, it resolves real contracts with `alpaca option contracts --underlying-symbols AAPL` rather than hand-assembling an OCC string.
**Step 5** — Confirm side, quantity, and order type.
**Step 6** — Confirm time-in-force and pricing parameters.
Time-in-force is not uniform across asset classes. Your agent validates the combination before building the command, because the API rejects the invalid ones:
| Asset class | Order types | Time-in-force | Order classes | |---|---|---|---| | US equities | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` | `day`, `gtc`, `opg`, `cls`, `ioc`, `fok` | `simple`, `bracket`, `oco`, `oto` | | US options | `market`, `limit`, `stop`, `stop_limit` (`stop` types single-leg only) | `day`, `gtc` | `simple`, `mleg` | | Crypto | `market`, `limit`, `stop_limit` | `gtc`, `ioc` — but `stop_limit` is `gtc`-only, and `ioc` applies only to `market` and `limit` | `simple` |
The CLI supplies the time-in-force default itself based on symbol shape: a symbol containing `/` (i.e. a crypto pair) defaults to `gtc`, everything else to `day`. Submitting a crypto order without `--time-in-force` therefore sends `gtc`, not `day`.
Alpaca's own sources disagree on the options row, so treat it as guidance rather than a hard gate. The OpenAPI spec's `TimeInForce`/`OrderType` descriptions say options are `market`/`limit` with `day` only; the Options Trading page and the Placing Orders matrix both allow `gtc` and both allow `stop`/`stop_limit` on single-leg orders. The two product pages agree with each other against the spec blob, so this table follows them. Your agent still defaults to `day` as the conservative choice and lets Alpaca reject rather than pre-blocking an order that the matrix permits.
Additional constraints that cut across order type:
- **Extended hours** requires `limit` type with `day` or `gtc` TIF. Every other type and TIF is rejected outright. - **Trailing stop** accepts only `day` and `gtc`. - **Notional** orders are market-type with `day` TIF only, cannot be combined with `qty`, and **cannot be replaced** — cancel and resubmit instead. - **Bracket, OCO, and OTO** classes require `day` or `gtc`, do not support extended hours, and are equities-only. - **Options** do not support extended hours at all. Multi-leg strategies use the `mleg` order class with up to 4 legs, and `stop`/`stop_limit` types are single-leg only.
**Step 7** — Confirm extended hours and client order ID preferences.
Alpaca supports three sessions outside regular hours, all of which require `extended_hours: true` on a limit order:
| Session | Window (ET) | Days | |---|---|---| | Overnight | 8:00pm – 4:00am | Sunday to Friday | | Pre-market | 4:00am – 9:30am | Monday to Friday | | After-hours | 4:00pm – 8:00pm | Monday to Friday |
Not every asset trades overnight; your agent confirms eligibility on the asset record rather than assuming.
**Step 8** — Review risk controls.
Your agent presents any position-sizing or max-value constraints and validates: - Order notional vs. buying power - New position concentration vs. portfolio - Existing exposure to the same symbol
**Step 9** — Final configuration summary.
Your agent displays a complete parameter table and asks: "All parameter
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for alpaca-trading-paper-trading-cli, ready for a manual X post.
alpaca-trading-paper-trading-cli: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Suppor... 142 stars https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x
Listing + install path for alpaca-trading-paper-trading-cli: https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x Install: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to alpacahq but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli/audit)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)alpacahq
@alpacahq
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "alpaca-trading-paper-trading-cli" agent skill from https://github.com/alpacahq/alpaca-skills/tree/main/skills/trading-api/paper-trading-cli. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alpacahq-alpaca-trading-paper-trading-cli","task":"Install alpaca-trading-paper-trading-cli","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Maintenance
fresh
3d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
142
68/100 Quality · 73/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
142 GitHub stars
Repo activity
142 stars, 17 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Agent should check
Copy prompt
Task: Use alpaca-trading-paper-trading-cli in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Install command: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
LLM text format
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install?format=text
Find alternatives
/api/skills/search?q=alpaca-trading-paper-trading-cli&limit=3
Agent prompt
Use alpaca-trading-paper-trading-cli for this task. Review https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install, then install with: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli
LLM text
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli?format=text
Install alias
/api/registry/install/alpacahq-alpaca-trading-paper-trading-cli
Recommend
/api/registry/recommend?task=Use%20alpaca-trading-paper-trading-cli%20in%20an%20agent%20workflow&limit=3
Agent fit
Finance and quant
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Finance and quant
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO142 GitHub stars
Stars/forks activity
CHECK142 stars, 17 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: alpaca-trading-paper-trading-cli description: > Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. ---
# Alpaca Paper Trading — CLI Version
Use this skill when you want your AI agent to preview, submit, inspect, and manage paper-trading orders using the Alpaca CLI.
This skill is written for you, a Trading API user working with your own Alpaca paper-trading account, CLI profile, and local workspace. Your agent executes all operations through the `alpaca` command-line tool, giving you full visibility into every command and its output.
This is the CLI-specific version. A generic (implementation-agnostic) version and an MCP-server version are also available as companion skills.
---
## 0 - How your AI agent should use this skill
1. **Start with the signal source.** Identify the origin of the trade idea — a backtest result, manual idea, scheduled trigger, or strategy output. 2. **Reiterate strategy logic and confirm with you.** Summarize the thesis, expected behavior, and conditions under which the order should execute. Wait for your confirmation before proceeding. 3. **Gather and confirm ALL configurations.** Timing, asset class, symbol, side, qty/notional, order type, TIF, limit/stop prices, extended-hours flag, risk controls, and margin usage — every parameter must be stated and confirmed. 4. **Confirm the CLI resolves to the paper endpoint.** Run `alpaca doctor` and require its `Trading:` line to read `https://paper-api.alpaca.markets`. If it shows the live endpoint, **STOP immediately** and alert you. 5. **Show a complete order preview** using a formatted table. Include the exact CLI command that will run. 6. **Ask whether you want explicit confirmation before each order** (default: ON). Respect your preference for the session. 7. **Submit via `alpaca order submit`** with the paper profile. 8. **Return order ID, status, submitted payload, and next inspection commands** so you can independently verify. 9. **Monitor order lifecycle** with `alpaca order get`. Report fills, rejections, cancellations with portfolio impact. 10. **Never place live trades.** Verify the resolved paper endpoint before every submission. If any ambiguity exists about the environment, STOP.
---
## 1 - Prerequisites
### Alpaca CLI installed and on PATH
```bash alpaca version ```
Install if needed:
```bash # Homebrew (macOS / Linux) brew install alpacahq/tap/cli
# Or with Go — requires $GOPATH/bin (typically ~/go/bin) on your PATH go install github.com/alpacahq/cli/cmd/alpaca@latest ```
> The CLI is in **Alpha Preview**. Commands, flags, and output formats may change between releases, which is why your agent discovers flags at runtime rather than trusting any list in this file.
### Paper profile configured
```bash alpaca profile login # or with API key alpaca profile login --api-key ```
Discover login options:
```bash alpaca profile login --help ```
### Connectivity verified
```bash alpaca doctor ```
Your agent runs this before every trading session. If it fails, no orders are submitted.
### Asset-class requirements
| Asset class | Requirement | |---|---| | US equities | Paper account active | | Options | Options trading enabled on paper account | | Crypto | Crypto trading enabled on paper account |
### Environment
- A Go toolchain, only if installing via `go install`; the Homebrew formula ships a prebuilt binary and needs no Go - `uuidgen` or equivalent (for client order IDs)
External `jq` is **not** required. The CLI ships a built-in `--jq` flag that filters its own JSON output.
---
## 2 - Gather inputs
Your agent collects the following before proceeding to order construction:
| Parameter | Description | Default | Required | |---|---|---|---| | `signal_source` | Origin of trade idea (backtest, manual, scheduled, strategy) | — | Yes | | `symbol` | Ticker symbol (e.g., AAPL, BTC/USD, AAPL250718C00200000) | — | Yes | | `asset_class` | `us_equity`, `us_option`, `crypto` | `us_equity` | Yes | | `side` | `buy` or `sell` | — | Yes | | `qty` | Number of shares/contracts/coins | — | Yes (or notional) | | `notional` | Dollar amount (fractional shares). Market orders with `day` TIF only; cannot combine with `qty` | — | Yes (or qty) | | `order_type` | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` — **supported values vary by asset class** | `market` | Yes | | `time_in_force` | `day`, `gtc`, `ioc`, `fok`, `opg`, `cls` — **supported values vary by asset class** | `day` for equities and options; `gtc` for crypto | Yes | | `order_class` | `simple`, `bracket`, `oco`, `oto` (equities); `simple`, `mleg` (options); `simple` (crypto) | `simple` | No | | `limit_price` | Required for limit/stop_limit | — | Conditional | | `stop_price` | Required for stop/stop_limit | — | Conditional | | `trail_percent` | For trailing_stop | — | Conditional | | `trail_price` | For trailing_stop | — | Conditional | | `extended_hours` | Allow pre/post-market fills | `false` | No | | `client_order_id` | Idempotency key, max 128 characters | Auto-generated by Alpaca if omitted | No | | `profile` | Alpaca CLI profile name. Set it via the `ALPACA_PROFILE` environment variable for the whole session — **never** with the `-p`/`--profile` flag. See the warning in Step 10 | Currently active paper profile | No | | `output_format` | JSON is the default; `--csv` for CSV, `--jq '<expr>'` to filter | JSON | No | | `confirmation_mode` | Require explicit yes before each order | `ON` | No | | `max_position_pct` | Max % of portfolio in single position | None | No | | `max_order_value` | Hard cap on single order notional | None | No |
### Strategy confirmation checklist
Before building the order, your agent confirms:
- [ ] Strategy logic is clearly stated - [ ] You understand what the order will do - [ ] Entry criteria are met (if from backtest/signal) - [ ] Exit criteria / stop-loss plan discussed - [ ] Position sizing is intentional - [ ] Risk controls reviewed
---
## 3 - Source-of-truth references
Your agent uses these authoritative sources for validation:
| Source | URL | Used for | |---|---|---| | Create an order | https://docs.alpaca.markets/us/reference/postorder | Order parameters, per-asset-class constraints, status codes | | Alpaca CLI docs | https://docs.alpaca.markets/us/docs/alpacas-cli | CLI commands, flags, syntax | | Order types | https://docs.alpaca.markets/us/docs/orders-at-alpaca | Order type behavior and requirements | | Paper trading | https://docs.alpaca.markets/us/docs/paper-trading | Paper environment specifics | | Options trading | https://docs.alpaca.markets/us/docs/options-trading | Options order requirements and approval levels | | Crypto trading | https://docs.alpaca.markets/us/docs/crypto-trading | Crypto order specifics | | Alpaca disclosures | https://alpaca.markets/disclosures | Disclosure language |
### CLI discovery rule
Your agent verifies flags at runtime rather than trusting this file:
```bash alpaca --help-all # full command tree with every flag alpaca order submit --help # flags for one command alpaca order submit --schema # response shape, without calling the API ```
The CLI is in Alpha Preview, so flags and output shapes can change between releases. Anything in this skill that contradicts `--help` output is stale; trust the CLI.
---
## 4 - Workflow
### Phase 1: Strategy Confirmation
**Step 1** — Identify the signal source.
Your agent asks: "Where does this trade idea come from?" Options include: - A completed backtest (link to run folder if available) - A manual trade idea you described - A scheduled or recurring strategy trigger - Output from another skill or system
**Step 2** — Reiterate the strategy logic.
Your agent summarizes: - Thesis (why this trade) - Expected outcome - Time horizon - Exit conditions or stop-loss plan
**Step 3** — Confirm interpretation.
Your agent asks: "Is this interpretation correct? Should I proceed to configure the order?"
---
### Phase 2: Configuration Agreement
**Step 4** — Confirm asset class and symbol.
Your agent validates the symbol format: - Equities: `AAPL`, `MSFT` - Options: OCC format `AAPL250718C00200000` - Crypto: `BTC/USD`, `ETH/USD`
Format is necessary but not sufficient — a well-formed symbol can still be untradable or delisted. Your agent confirms it against the asset record:
```bash alpaca asset get --symbol-or-asset-id AAPL ```
It requires `status` = `active` and `tradable` = `true`, and checks `fractionable` before proposing a notional or fractional-quantity order. For options, it resolves real contracts with `alpaca option contracts --underlying-symbols AAPL` rather than hand-assembling an OCC string.
**Step 5** — Confirm side, quantity, and order type.
**Step 6** — Confirm time-in-force and pricing parameters.
Time-in-force is not uniform across asset classes. Your agent validates the combination before building the command, because the API rejects the invalid ones:
| Asset class | Order types | Time-in-force | Order classes | |---|---|---|---| | US equities | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` | `day`, `gtc`, `opg`, `cls`, `ioc`, `fok` | `simple`, `bracket`, `oco`, `oto` | | US options | `market`, `limit`, `stop`, `stop_limit` (`stop` types single-leg only) | `day`, `gtc` | `simple`, `mleg` | | Crypto | `market`, `limit`, `stop_limit` | `gtc`, `ioc` — but `stop_limit` is `gtc`-only, and `ioc` applies only to `market` and `limit` | `simple` |
The CLI supplies the time-in-force default itself based on symbol shape: a symbol containing `/` (i.e. a crypto pair) defaults to `gtc`, everything else to `day`. Submitting a crypto order without `--time-in-force` therefore sends `gtc`, not `day`.
Alpaca's own sources disagree on the options row, so treat it as guidance rather than a hard gate. The OpenAPI spec's `TimeInForce`/`OrderType` descriptions say options are `market`/`limit` with `day` only; the Options Trading page and the Placing Orders matrix both allow `gtc` and both allow `stop`/`stop_limit` on single-leg orders. The two product pages agree with each other against the spec blob, so this table follows them. Your agent still defaults to `day` as the conservative choice and lets Alpaca reject rather than pre-blocking an order that the matrix permits.
Additional constraints that cut across order type:
- **Extended hours** requires `limit` type with `day` or `gtc` TIF. Every other type and TIF is rejected outright. - **Trailing stop** accepts only `day` and `gtc`. - **Notional** orders are market-type with `day` TIF only, cannot be combined with `qty`, and **cannot be replaced** — cancel and resubmit instead. - **Bracket, OCO, and OTO** classes require `day` or `gtc`, do not support extended hours, and are equities-only. - **Options** do not support extended hours at all. Multi-leg strategies use the `mleg` order class with up to 4 legs, and `stop`/`stop_limit` types are single-leg only.
**Step 7** — Confirm extended hours and client order ID preferences.
Alpaca supports three sessions outside regular hours, all of which require `extended_hours: true` on a limit order:
| Session | Window (ET) | Days | |---|---|---| | Overnight | 8:00pm – 4:00am | Sunday to Friday | | Pre-market | 4:00am – 9:30am | Monday to Friday | | After-hours | 4:00pm – 8:00pm | Monday to Friday |
Not every asset trades overnight; your agent confirms eligibility on the asset record rather than assuming.
**Step 8** — Review risk controls.
Your agent presents any position-sizing or max-value constraints and validates: - Order notional vs. buying power - New position concentration vs. portfolio - Existing exposure to the same symbol
**Step 9** — Final configuration summary.
Your agent displays a complete parameter table and asks: "All parameter
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for alpaca-trading-paper-trading-cli, ready for a manual X post.
alpaca-trading-paper-trading-cli: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Suppor... 142 stars https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x
Listing + install path for alpaca-trading-paper-trading-cli: https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x Install: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to alpacahq but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli/audit)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)alpacahq
@alpacahq
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "alpaca-trading-paper-trading-cli" agent skill from https://github.com/alpacahq/alpaca-skills/tree/main/skills/trading-api/paper-trading-cli. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alpacahq-alpaca-trading-paper-trading-cli","task":"Install alpaca-trading-paper-trading-cli","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Maintenance
fresh
3d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
142
68/100 Quality · 73/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
142 GitHub stars
Repo activity
142 stars, 17 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Agent should check
Copy prompt
Task: Use alpaca-trading-paper-trading-cli in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Install command: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
LLM text format
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install?format=text
Find alternatives
/api/skills/search?q=alpaca-trading-paper-trading-cli&limit=3
Agent prompt
Use alpaca-trading-paper-trading-cli for this task. Review https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install, then install with: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli
LLM text
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli?format=text
Install alias
/api/registry/install/alpacahq-alpaca-trading-paper-trading-cli
Recommend
/api/registry/recommend?task=Use%20alpaca-trading-paper-trading-cli%20in%20an%20agent%20workflow&limit=3
Agent fit
Finance and quant
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Finance and quant
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO142 GitHub stars
Stars/forks activity
CHECK142 stars, 17 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: alpaca-trading-paper-trading-cli description: > Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. ---
# Alpaca Paper Trading — CLI Version
Use this skill when you want your AI agent to preview, submit, inspect, and manage paper-trading orders using the Alpaca CLI.
This skill is written for you, a Trading API user working with your own Alpaca paper-trading account, CLI profile, and local workspace. Your agent executes all operations through the `alpaca` command-line tool, giving you full visibility into every command and its output.
This is the CLI-specific version. A generic (implementation-agnostic) version and an MCP-server version are also available as companion skills.
---
## 0 - How your AI agent should use this skill
1. **Start with the signal source.** Identify the origin of the trade idea — a backtest result, manual idea, scheduled trigger, or strategy output. 2. **Reiterate strategy logic and confirm with you.** Summarize the thesis, expected behavior, and conditions under which the order should execute. Wait for your confirmation before proceeding. 3. **Gather and confirm ALL configurations.** Timing, asset class, symbol, side, qty/notional, order type, TIF, limit/stop prices, extended-hours flag, risk controls, and margin usage — every parameter must be stated and confirmed. 4. **Confirm the CLI resolves to the paper endpoint.** Run `alpaca doctor` and require its `Trading:` line to read `https://paper-api.alpaca.markets`. If it shows the live endpoint, **STOP immediately** and alert you. 5. **Show a complete order preview** using a formatted table. Include the exact CLI command that will run. 6. **Ask whether you want explicit confirmation before each order** (default: ON). Respect your preference for the session. 7. **Submit via `alpaca order submit`** with the paper profile. 8. **Return order ID, status, submitted payload, and next inspection commands** so you can independently verify. 9. **Monitor order lifecycle** with `alpaca order get`. Report fills, rejections, cancellations with portfolio impact. 10. **Never place live trades.** Verify the resolved paper endpoint before every submission. If any ambiguity exists about the environment, STOP.
---
## 1 - Prerequisites
### Alpaca CLI installed and on PATH
```bash alpaca version ```
Install if needed:
```bash # Homebrew (macOS / Linux) brew install alpacahq/tap/cli
# Or with Go — requires $GOPATH/bin (typically ~/go/bin) on your PATH go install github.com/alpacahq/cli/cmd/alpaca@latest ```
> The CLI is in **Alpha Preview**. Commands, flags, and output formats may change between releases, which is why your agent discovers flags at runtime rather than trusting any list in this file.
### Paper profile configured
```bash alpaca profile login # or with API key alpaca profile login --api-key ```
Discover login options:
```bash alpaca profile login --help ```
### Connectivity verified
```bash alpaca doctor ```
Your agent runs this before every trading session. If it fails, no orders are submitted.
### Asset-class requirements
| Asset class | Requirement | |---|---| | US equities | Paper account active | | Options | Options trading enabled on paper account | | Crypto | Crypto trading enabled on paper account |
### Environment
- A Go toolchain, only if installing via `go install`; the Homebrew formula ships a prebuilt binary and needs no Go - `uuidgen` or equivalent (for client order IDs)
External `jq` is **not** required. The CLI ships a built-in `--jq` flag that filters its own JSON output.
---
## 2 - Gather inputs
Your agent collects the following before proceeding to order construction:
| Parameter | Description | Default | Required | |---|---|---|---| | `signal_source` | Origin of trade idea (backtest, manual, scheduled, strategy) | — | Yes | | `symbol` | Ticker symbol (e.g., AAPL, BTC/USD, AAPL250718C00200000) | — | Yes | | `asset_class` | `us_equity`, `us_option`, `crypto` | `us_equity` | Yes | | `side` | `buy` or `sell` | — | Yes | | `qty` | Number of shares/contracts/coins | — | Yes (or notional) | | `notional` | Dollar amount (fractional shares). Market orders with `day` TIF only; cannot combine with `qty` | — | Yes (or qty) | | `order_type` | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` — **supported values vary by asset class** | `market` | Yes | | `time_in_force` | `day`, `gtc`, `ioc`, `fok`, `opg`, `cls` — **supported values vary by asset class** | `day` for equities and options; `gtc` for crypto | Yes | | `order_class` | `simple`, `bracket`, `oco`, `oto` (equities); `simple`, `mleg` (options); `simple` (crypto) | `simple` | No | | `limit_price` | Required for limit/stop_limit | — | Conditional | | `stop_price` | Required for stop/stop_limit | — | Conditional | | `trail_percent` | For trailing_stop | — | Conditional | | `trail_price` | For trailing_stop | — | Conditional | | `extended_hours` | Allow pre/post-market fills | `false` | No | | `client_order_id` | Idempotency key, max 128 characters | Auto-generated by Alpaca if omitted | No | | `profile` | Alpaca CLI profile name. Set it via the `ALPACA_PROFILE` environment variable for the whole session — **never** with the `-p`/`--profile` flag. See the warning in Step 10 | Currently active paper profile | No | | `output_format` | JSON is the default; `--csv` for CSV, `--jq '<expr>'` to filter | JSON | No | | `confirmation_mode` | Require explicit yes before each order | `ON` | No | | `max_position_pct` | Max % of portfolio in single position | None | No | | `max_order_value` | Hard cap on single order notional | None | No |
### Strategy confirmation checklist
Before building the order, your agent confirms:
- [ ] Strategy logic is clearly stated - [ ] You understand what the order will do - [ ] Entry criteria are met (if from backtest/signal) - [ ] Exit criteria / stop-loss plan discussed - [ ] Position sizing is intentional - [ ] Risk controls reviewed
---
## 3 - Source-of-truth references
Your agent uses these authoritative sources for validation:
| Source | URL | Used for | |---|---|---| | Create an order | https://docs.alpaca.markets/us/reference/postorder | Order parameters, per-asset-class constraints, status codes | | Alpaca CLI docs | https://docs.alpaca.markets/us/docs/alpacas-cli | CLI commands, flags, syntax | | Order types | https://docs.alpaca.markets/us/docs/orders-at-alpaca | Order type behavior and requirements | | Paper trading | https://docs.alpaca.markets/us/docs/paper-trading | Paper environment specifics | | Options trading | https://docs.alpaca.markets/us/docs/options-trading | Options order requirements and approval levels | | Crypto trading | https://docs.alpaca.markets/us/docs/crypto-trading | Crypto order specifics | | Alpaca disclosures | https://alpaca.markets/disclosures | Disclosure language |
### CLI discovery rule
Your agent verifies flags at runtime rather than trusting this file:
```bash alpaca --help-all # full command tree with every flag alpaca order submit --help # flags for one command alpaca order submit --schema # response shape, without calling the API ```
The CLI is in Alpha Preview, so flags and output shapes can change between releases. Anything in this skill that contradicts `--help` output is stale; trust the CLI.
---
## 4 - Workflow
### Phase 1: Strategy Confirmation
**Step 1** — Identify the signal source.
Your agent asks: "Where does this trade idea come from?" Options include: - A completed backtest (link to run folder if available) - A manual trade idea you described - A scheduled or recurring strategy trigger - Output from another skill or system
**Step 2** — Reiterate the strategy logic.
Your agent summarizes: - Thesis (why this trade) - Expected outcome - Time horizon - Exit conditions or stop-loss plan
**Step 3** — Confirm interpretation.
Your agent asks: "Is this interpretation correct? Should I proceed to configure the order?"
---
### Phase 2: Configuration Agreement
**Step 4** — Confirm asset class and symbol.
Your agent validates the symbol format: - Equities: `AAPL`, `MSFT` - Options: OCC format `AAPL250718C00200000` - Crypto: `BTC/USD`, `ETH/USD`
Format is necessary but not sufficient — a well-formed symbol can still be untradable or delisted. Your agent confirms it against the asset record:
```bash alpaca asset get --symbol-or-asset-id AAPL ```
It requires `status` = `active` and `tradable` = `true`, and checks `fractionable` before proposing a notional or fractional-quantity order. For options, it resolves real contracts with `alpaca option contracts --underlying-symbols AAPL` rather than hand-assembling an OCC string.
**Step 5** — Confirm side, quantity, and order type.
**Step 6** — Confirm time-in-force and pricing parameters.
Time-in-force is not uniform across asset classes. Your agent validates the combination before building the command, because the API rejects the invalid ones:
| Asset class | Order types | Time-in-force | Order classes | |---|---|---|---| | US equities | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` | `day`, `gtc`, `opg`, `cls`, `ioc`, `fok` | `simple`, `bracket`, `oco`, `oto` | | US options | `market`, `limit`, `stop`, `stop_limit` (`stop` types single-leg only) | `day`, `gtc` | `simple`, `mleg` | | Crypto | `market`, `limit`, `stop_limit` | `gtc`, `ioc` — but `stop_limit` is `gtc`-only, and `ioc` applies only to `market` and `limit` | `simple` |
The CLI supplies the time-in-force default itself based on symbol shape: a symbol containing `/` (i.e. a crypto pair) defaults to `gtc`, everything else to `day`. Submitting a crypto order without `--time-in-force` therefore sends `gtc`, not `day`.
Alpaca's own sources disagree on the options row, so treat it as guidance rather than a hard gate. The OpenAPI spec's `TimeInForce`/`OrderType` descriptions say options are `market`/`limit` with `day` only; the Options Trading page and the Placing Orders matrix both allow `gtc` and both allow `stop`/`stop_limit` on single-leg orders. The two product pages agree with each other against the spec blob, so this table follows them. Your agent still defaults to `day` as the conservative choice and lets Alpaca reject rather than pre-blocking an order that the matrix permits.
Additional constraints that cut across order type:
- **Extended hours** requires `limit` type with `day` or `gtc` TIF. Every other type and TIF is rejected outright. - **Trailing stop** accepts only `day` and `gtc`. - **Notional** orders are market-type with `day` TIF only, cannot be combined with `qty`, and **cannot be replaced** — cancel and resubmit instead. - **Bracket, OCO, and OTO** classes require `day` or `gtc`, do not support extended hours, and are equities-only. - **Options** do not support extended hours at all. Multi-leg strategies use the `mleg` order class with up to 4 legs, and `stop`/`stop_limit` types are single-leg only.
**Step 7** — Confirm extended hours and client order ID preferences.
Alpaca supports three sessions outside regular hours, all of which require `extended_hours: true` on a limit order:
| Session | Window (ET) | Days | |---|---|---| | Overnight | 8:00pm – 4:00am | Sunday to Friday | | Pre-market | 4:00am – 9:30am | Monday to Friday | | After-hours | 4:00pm – 8:00pm | Monday to Friday |
Not every asset trades overnight; your agent confirms eligibility on the asset record rather than assuming.
**Step 8** — Review risk controls.
Your agent presents any position-sizing or max-value constraints and validates: - Order notional vs. buying power - New position concentration vs. portfolio - Existing exposure to the same symbol
**Step 9** — Final configuration summary.
Your agent displays a complete parameter table and asks: "All parameter
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for alpaca-trading-paper-trading-cli, ready for a manual X post.
alpaca-trading-paper-trading-cli: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Suppor... 142 stars https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x
Listing + install path for alpaca-trading-paper-trading-cli: https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x Install: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to alpacahq but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli/audit)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)alpacahq
@alpacahq
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "alpaca-trading-paper-trading-cli" agent skill from https://github.com/alpacahq/alpaca-skills/tree/main/skills/trading-api/paper-trading-cli. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alpacahq-alpaca-trading-paper-trading-cli","task":"Install alpaca-trading-paper-trading-cli","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Maintenance
fresh
3d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
142
68/100 Quality · 73/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
142 GitHub stars
Repo activity
142 stars, 17 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Agent should check
Copy prompt
Task: Use alpaca-trading-paper-trading-cli in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20alpaca-trading-paper-trading-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
Install command: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install
LLM text format
/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install?format=text
Find alternatives
/api/skills/search?q=alpaca-trading-paper-trading-cli&limit=3
Agent prompt
Use alpaca-trading-paper-trading-cli for this task. Review https://www.openagentskill.com/api/skills/alpacahq-alpaca-trading-paper-trading-cli/install, then install with: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cliRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli
LLM text
/api/registry/manifest/alpacahq-alpaca-trading-paper-trading-cli?format=text
Install alias
/api/registry/install/alpacahq-alpaca-trading-paper-trading-cli
Recommend
/api/registry/recommend?task=Use%20alpaca-trading-paper-trading-cli%20in%20an%20agent%20workflow&limit=3
Agent fit
Finance and quant
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Finance and quant
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO142 GitHub stars
Stars/forks activity
CHECK142 stars, 17 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: alpaca-trading-paper-trading-cli description: > Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface. ---
# Alpaca Paper Trading — CLI Version
Use this skill when you want your AI agent to preview, submit, inspect, and manage paper-trading orders using the Alpaca CLI.
This skill is written for you, a Trading API user working with your own Alpaca paper-trading account, CLI profile, and local workspace. Your agent executes all operations through the `alpaca` command-line tool, giving you full visibility into every command and its output.
This is the CLI-specific version. A generic (implementation-agnostic) version and an MCP-server version are also available as companion skills.
---
## 0 - How your AI agent should use this skill
1. **Start with the signal source.** Identify the origin of the trade idea — a backtest result, manual idea, scheduled trigger, or strategy output. 2. **Reiterate strategy logic and confirm with you.** Summarize the thesis, expected behavior, and conditions under which the order should execute. Wait for your confirmation before proceeding. 3. **Gather and confirm ALL configurations.** Timing, asset class, symbol, side, qty/notional, order type, TIF, limit/stop prices, extended-hours flag, risk controls, and margin usage — every parameter must be stated and confirmed. 4. **Confirm the CLI resolves to the paper endpoint.** Run `alpaca doctor` and require its `Trading:` line to read `https://paper-api.alpaca.markets`. If it shows the live endpoint, **STOP immediately** and alert you. 5. **Show a complete order preview** using a formatted table. Include the exact CLI command that will run. 6. **Ask whether you want explicit confirmation before each order** (default: ON). Respect your preference for the session. 7. **Submit via `alpaca order submit`** with the paper profile. 8. **Return order ID, status, submitted payload, and next inspection commands** so you can independently verify. 9. **Monitor order lifecycle** with `alpaca order get`. Report fills, rejections, cancellations with portfolio impact. 10. **Never place live trades.** Verify the resolved paper endpoint before every submission. If any ambiguity exists about the environment, STOP.
---
## 1 - Prerequisites
### Alpaca CLI installed and on PATH
```bash alpaca version ```
Install if needed:
```bash # Homebrew (macOS / Linux) brew install alpacahq/tap/cli
# Or with Go — requires $GOPATH/bin (typically ~/go/bin) on your PATH go install github.com/alpacahq/cli/cmd/alpaca@latest ```
> The CLI is in **Alpha Preview**. Commands, flags, and output formats may change between releases, which is why your agent discovers flags at runtime rather than trusting any list in this file.
### Paper profile configured
```bash alpaca profile login # or with API key alpaca profile login --api-key ```
Discover login options:
```bash alpaca profile login --help ```
### Connectivity verified
```bash alpaca doctor ```
Your agent runs this before every trading session. If it fails, no orders are submitted.
### Asset-class requirements
| Asset class | Requirement | |---|---| | US equities | Paper account active | | Options | Options trading enabled on paper account | | Crypto | Crypto trading enabled on paper account |
### Environment
- A Go toolchain, only if installing via `go install`; the Homebrew formula ships a prebuilt binary and needs no Go - `uuidgen` or equivalent (for client order IDs)
External `jq` is **not** required. The CLI ships a built-in `--jq` flag that filters its own JSON output.
---
## 2 - Gather inputs
Your agent collects the following before proceeding to order construction:
| Parameter | Description | Default | Required | |---|---|---|---| | `signal_source` | Origin of trade idea (backtest, manual, scheduled, strategy) | — | Yes | | `symbol` | Ticker symbol (e.g., AAPL, BTC/USD, AAPL250718C00200000) | — | Yes | | `asset_class` | `us_equity`, `us_option`, `crypto` | `us_equity` | Yes | | `side` | `buy` or `sell` | — | Yes | | `qty` | Number of shares/contracts/coins | — | Yes (or notional) | | `notional` | Dollar amount (fractional shares). Market orders with `day` TIF only; cannot combine with `qty` | — | Yes (or qty) | | `order_type` | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` — **supported values vary by asset class** | `market` | Yes | | `time_in_force` | `day`, `gtc`, `ioc`, `fok`, `opg`, `cls` — **supported values vary by asset class** | `day` for equities and options; `gtc` for crypto | Yes | | `order_class` | `simple`, `bracket`, `oco`, `oto` (equities); `simple`, `mleg` (options); `simple` (crypto) | `simple` | No | | `limit_price` | Required for limit/stop_limit | — | Conditional | | `stop_price` | Required for stop/stop_limit | — | Conditional | | `trail_percent` | For trailing_stop | — | Conditional | | `trail_price` | For trailing_stop | — | Conditional | | `extended_hours` | Allow pre/post-market fills | `false` | No | | `client_order_id` | Idempotency key, max 128 characters | Auto-generated by Alpaca if omitted | No | | `profile` | Alpaca CLI profile name. Set it via the `ALPACA_PROFILE` environment variable for the whole session — **never** with the `-p`/`--profile` flag. See the warning in Step 10 | Currently active paper profile | No | | `output_format` | JSON is the default; `--csv` for CSV, `--jq '<expr>'` to filter | JSON | No | | `confirmation_mode` | Require explicit yes before each order | `ON` | No | | `max_position_pct` | Max % of portfolio in single position | None | No | | `max_order_value` | Hard cap on single order notional | None | No |
### Strategy confirmation checklist
Before building the order, your agent confirms:
- [ ] Strategy logic is clearly stated - [ ] You understand what the order will do - [ ] Entry criteria are met (if from backtest/signal) - [ ] Exit criteria / stop-loss plan discussed - [ ] Position sizing is intentional - [ ] Risk controls reviewed
---
## 3 - Source-of-truth references
Your agent uses these authoritative sources for validation:
| Source | URL | Used for | |---|---|---| | Create an order | https://docs.alpaca.markets/us/reference/postorder | Order parameters, per-asset-class constraints, status codes | | Alpaca CLI docs | https://docs.alpaca.markets/us/docs/alpacas-cli | CLI commands, flags, syntax | | Order types | https://docs.alpaca.markets/us/docs/orders-at-alpaca | Order type behavior and requirements | | Paper trading | https://docs.alpaca.markets/us/docs/paper-trading | Paper environment specifics | | Options trading | https://docs.alpaca.markets/us/docs/options-trading | Options order requirements and approval levels | | Crypto trading | https://docs.alpaca.markets/us/docs/crypto-trading | Crypto order specifics | | Alpaca disclosures | https://alpaca.markets/disclosures | Disclosure language |
### CLI discovery rule
Your agent verifies flags at runtime rather than trusting this file:
```bash alpaca --help-all # full command tree with every flag alpaca order submit --help # flags for one command alpaca order submit --schema # response shape, without calling the API ```
The CLI is in Alpha Preview, so flags and output shapes can change between releases. Anything in this skill that contradicts `--help` output is stale; trust the CLI.
---
## 4 - Workflow
### Phase 1: Strategy Confirmation
**Step 1** — Identify the signal source.
Your agent asks: "Where does this trade idea come from?" Options include: - A completed backtest (link to run folder if available) - A manual trade idea you described - A scheduled or recurring strategy trigger - Output from another skill or system
**Step 2** — Reiterate the strategy logic.
Your agent summarizes: - Thesis (why this trade) - Expected outcome - Time horizon - Exit conditions or stop-loss plan
**Step 3** — Confirm interpretation.
Your agent asks: "Is this interpretation correct? Should I proceed to configure the order?"
---
### Phase 2: Configuration Agreement
**Step 4** — Confirm asset class and symbol.
Your agent validates the symbol format: - Equities: `AAPL`, `MSFT` - Options: OCC format `AAPL250718C00200000` - Crypto: `BTC/USD`, `ETH/USD`
Format is necessary but not sufficient — a well-formed symbol can still be untradable or delisted. Your agent confirms it against the asset record:
```bash alpaca asset get --symbol-or-asset-id AAPL ```
It requires `status` = `active` and `tradable` = `true`, and checks `fractionable` before proposing a notional or fractional-quantity order. For options, it resolves real contracts with `alpaca option contracts --underlying-symbols AAPL` rather than hand-assembling an OCC string.
**Step 5** — Confirm side, quantity, and order type.
**Step 6** — Confirm time-in-force and pricing parameters.
Time-in-force is not uniform across asset classes. Your agent validates the combination before building the command, because the API rejects the invalid ones:
| Asset class | Order types | Time-in-force | Order classes | |---|---|---|---| | US equities | `market`, `limit`, `stop`, `stop_limit`, `trailing_stop` | `day`, `gtc`, `opg`, `cls`, `ioc`, `fok` | `simple`, `bracket`, `oco`, `oto` | | US options | `market`, `limit`, `stop`, `stop_limit` (`stop` types single-leg only) | `day`, `gtc` | `simple`, `mleg` | | Crypto | `market`, `limit`, `stop_limit` | `gtc`, `ioc` — but `stop_limit` is `gtc`-only, and `ioc` applies only to `market` and `limit` | `simple` |
The CLI supplies the time-in-force default itself based on symbol shape: a symbol containing `/` (i.e. a crypto pair) defaults to `gtc`, everything else to `day`. Submitting a crypto order without `--time-in-force` therefore sends `gtc`, not `day`.
Alpaca's own sources disagree on the options row, so treat it as guidance rather than a hard gate. The OpenAPI spec's `TimeInForce`/`OrderType` descriptions say options are `market`/`limit` with `day` only; the Options Trading page and the Placing Orders matrix both allow `gtc` and both allow `stop`/`stop_limit` on single-leg orders. The two product pages agree with each other against the spec blob, so this table follows them. Your agent still defaults to `day` as the conservative choice and lets Alpaca reject rather than pre-blocking an order that the matrix permits.
Additional constraints that cut across order type:
- **Extended hours** requires `limit` type with `day` or `gtc` TIF. Every other type and TIF is rejected outright. - **Trailing stop** accepts only `day` and `gtc`. - **Notional** orders are market-type with `day` TIF only, cannot be combined with `qty`, and **cannot be replaced** — cancel and resubmit instead. - **Bracket, OCO, and OTO** classes require `day` or `gtc`, do not support extended hours, and are equities-only. - **Options** do not support extended hours at all. Multi-leg strategies use the `mleg` order class with up to 4 legs, and `stop`/`stop_limit` types are single-leg only.
**Step 7** — Confirm extended hours and client order ID preferences.
Alpaca supports three sessions outside regular hours, all of which require `extended_hours: true` on a limit order:
| Session | Window (ET) | Days | |---|---|---| | Overnight | 8:00pm – 4:00am | Sunday to Friday | | Pre-market | 4:00am – 9:30am | Monday to Friday | | After-hours | 4:00pm – 8:00pm | Monday to Friday |
Not every asset trades overnight; your agent confirms eligibility on the asset record rather than assuming.
**Step 8** — Review risk controls.
Your agent presents any position-sizing or max-value constraints and validates: - Order notional vs. buying power - New position concentration vs. portfolio - Existing exposure to the same symbol
**Step 9** — Final configuration summary.
Your agent displays a complete parameter table and asks: "All parameter
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for alpaca-trading-paper-trading-cli, ready for a manual X post.
alpaca-trading-paper-trading-cli: Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Suppor... 142 stars https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x
Listing + install path for alpaca-trading-paper-trading-cli: https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=x Install: npx skills add alpacahq/alpaca-skills --skill alpaca-trading-paper-trading-cli
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to alpacahq but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli/audit)
[](https://www.openagentskill.com/skills/alpacahq-alpaca-trading-paper-trading-cli?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)alpacahq
@alpacahq
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness