capture-alpaca-create

capture-alpaca-create is a skill for Claude Code from estuary/agent-skills. It costs 72 tokens per session (3,496 once invoked), scanned A, original, Apache-2.0.

A setup guide for streaming stock trades from Alpaca's market-data service into Estuary collections. It combines historical data for backfilling the past with a live stream for new trades.

In plain words
What is it for?
Use it to create an Alpaca capture with flowctl for historical and real-time trades from selected stocks or exchange-traded funds.
Why use it?
It helps configure the two data sources, check plan and symbol limits, and handle duplicate records where historical and live data overlap. Alpaca is a service that provides market data and trading APIs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the estuary-captures plugin — 8 skills shipped together

Good fit Use it to create an Alpaca capture with flowctl for historical and real-time trades from selected stocks or exchange-traded funds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/estuary/agent-skills/capture-alpaca-create
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add estuary/agent-skills --skill capture-alpaca-create
Clone the repo
git clone --depth 1 https://github.com/estuary/agent-skills

Made for: Claude Code.

Or install estuary-captures, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for capture-alpaca-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/estuary/agent-skills/capture-alpaca-create/github.svg)](https://agentmods.dev/skills/estuary/agent-skills/capture-alpaca-create)
Your own site
<a href="https://agentmods.dev/skills/estuary/agent-skills/capture-alpaca-create"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/capture-alpaca-create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for capture-alpaca-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/estuary/agent-skills/capture-alpaca-create"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/capture-alpaca-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.03496
Opus 5.5 $0.00029 $0.01398
Sonnet 5.5 $0.00014 $0.00699
Haiku 4.5 $0.00007 $0.00350

Measured 2mo ago against content hash b4af09cbdc09, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

capture-alpaca-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/capture-alpaca-create/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Alpaca Capture

Create an Alpaca capture using flowctl to stream stock trade data from the Alpaca Market Data API into Estuary collections — both a historical backfill and a low-latency real-time stream, in parallel.

Applies to: source-alpaca (Alpaca Market Data connector)

Step 0: Load Connector Documentation

Before proceeding, fetch the official connector docs for prerequisites, config reference, and limitations.

Load the docs page: https://docs.estuary.dev/reference/Connectors/capture-connectors/alpaca/

Use WebFetch to load this page. It covers:

  • The dual-API model (Trades REST API for backfill + Data API websocket for real-time)
  • Supported symbols (8000+ stocks/ETFs, max 20 per capture)
  • Plan requirements (Free/iex vs. Unlimited/sip)
  • Full config property reference
  • The historical/real-time overlap and how to reconcile duplicates

Search Kapa for tribal knowledge (if the Estuary MCP is configured):

Search kapa ai knowledge sources for "capture alpaca common issues"

If Kapa MCP is not configured, the user can set it up: https://docs.estuary.dev/features/mcp-integration/

This skill provides the flowctl workflow and troubleshooting that docs don't cover.

How this connector works

Alpaca captures trade data using two APIs at once:

  • Trades REST API — performs a historical backfill from your start_date forward until it catches up to the present.
  • Data API websocket — opens a real-time stream from the present moment and runs indefinitely until you stop the capture.

All symbols in a capture land in a single collection via one binding (trades). Because the backfill catches up to where the live stream began, the two streams overlap and produce some duplicate trade documents — this is expected and reconcilable (see Limitations and Troubleshooting).

Step 1: Gather Requirements

Before writing any YAML, ask the user:

  1. Alpaca account + API credentials? — They need an Alpaca account and its API Key ID and Secret Key (generate in the Alpaca dashboard under API Keys). Unlike OAuth connectors, this is plain key auth, so the whole flow can be completed from the CLI.
  2. Which plan — Free or Unlimited? This drives the feed and is_free_plan settings:
    • Free plan → feed: iex, advanced.is_free_plan: true. Data is a smaller sample and delayed 15 minutes.
    • Unlimited plan → feed: sip for complete, real-time SIP data.
  3. Which symbols? — A comma-separated list, maximum 20 per capture. To track more than 20, set up multiple captures and split symbols between them.
  4. Start date for the backfill? — Must be no earlier than 2016-01-01T00:00:00Z (Alpaca's earliest available data). Note this has no effect if changed after the capture has started.
  5. Stop date? (optional) — Set advanced.stop_date to halt the historical backfill at a fixed date (e.g. for a bounded one-time load).
  6. Backfill-only or real-time-only? (optional, advanced) — By default the connector runs both. advanced.disable_real_time: true gives a backfill-only load; advanced.disable_backfill: true gives a stream-only capture.
  7. Non-default data plane? — Most users use the default. Ask if they need a non-default data plane.

Read the full file on GitHub · 279 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed b4af09cbdc09
  2. 3mo ago First seen · 279 lines · 72 tokens per session scan A a43ca706a5a3

Subscribe to this mod's changes

capture-alpaca-create is a skill published in the GitHub repository estuary/agent-skills (7 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 3,496 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

capture-alpaca-create compared with skills from other repositories

capture-alpaca-create next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capture-alpaca-createestuary/agent-skillsSkill71mo agoApache-2.0A72Claude Code
change-data-capture-adminBanibrataChatterjee/AwesomeSalesforceSkillsSkill57mo agoApache-2.0B50Claude Code, Codex
stream-processing-designerbookforge-ai/bookforge-skillsSkill437mo agoCC-BY-SA-4.0A240Claude Code
fs-creative-voltagenexu-io/open-designSkill111kyesterdayApache-2.0A49Claude Code, Codex
ml-strategyHKUDS/Vibe-TradingSkill40kyesterdayMITA30Claude Code, Codex
ai-readinessanthropics/financial-servicesSkill42k4d agoApache-2.0A112Claude Code
technical-basicHKUDS/Vibe-TradingSkill40kyesterdayMITA48Claude Code, Codex