{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alpaca-markets",
    "name": "Alpaca Markets CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/oscraters/alpaca-markets",
    "canonicalUrl": "https://clawhub.ai/oscraters/alpaca-markets",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/alpaca-markets",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alpaca-markets",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      ".github/workflows/validate-registry-metadata.yml",
      "README.md",
      "SKILL.md",
      "agents/openai.yaml",
      "references/api_reference.md",
      "registry-metadata.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/alpaca-markets"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/alpaca-markets",
    "agentPageUrl": "https://openagent3.xyz/skills/alpaca-markets/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alpaca-markets/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alpaca-markets/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "This skill enables programmatic access to Alpaca Markets for automated trading, portfolio management, and market data retrieval via their REST API. It supports both live and paper trading accounts for stocks, options, and crypto."
      },
      {
        "title": "Authentication",
        "body": "To use the Alpaca API, you need an API key and secret. Obtain these from your Alpaca account dashboard.\n\nPaper trading: https://paper-api.alpaca.markets\nLive trading: https://api.alpaca.markets\n\nSet environment variables:\n\nALPACA_API_KEY\nALPACA_API_SECRET\nALPACA_BASE_URL (optional; defaults to paper trading URL)"
      },
      {
        "title": "Security / Credential Use",
        "body": "Use paper trading credentials by default.\nDo not use live trading credentials until you have audited the code path you plan to run.\nKeep ALPACA_BASE_URL unset unless you intentionally need a non-default environment.\nConsider running the helper scripts in an isolated container or VM during evaluation."
      },
      {
        "title": "Example Usage",
        "body": "Place a stock or crypto order: POST /v2/orders\nFetch account balance: GET /v2/account\nGet positions (stocks/options/crypto): GET /v2/positions\nList orders: GET /v2/orders"
      },
      {
        "title": "Trading API",
        "body": "Get Account: GET /v2/account\nPlace Order: POST /v2/orders (stocks, options, crypto)\nList Orders: GET /v2/orders\nGet Order: GET /v2/orders/{order_id}\nReplace Order: PATCH /v2/orders/{order_id}\nCancel Order: DELETE /v2/orders/{order_id}\nCancel All Orders: DELETE /v2/orders\nGet Positions: GET /v2/positions\nClose Position: DELETE /v2/positions/{symbol}\nClose All Positions: DELETE /v2/positions\nGet Assets: GET /v2/assets"
      },
      {
        "title": "Market Data",
        "body": "Use Alpaca Market Data API endpoints for crypto quotes and bars (see references/api_reference.md)."
      },
      {
        "title": "Included Files",
        "body": "scripts/alpaca_api.py: command-line helper for calling Alpaca endpoints with robust error handling and exit codes.\nscripts/example.py: sample script showing account and order calls.\nagents/openai.yaml: Clawhub/OpenClaw interface manifest for display name and default prompt metadata.\nreferences/api_reference.md: concise endpoint reference and payload examples."
      }
    ],
    "body": "Alpaca\nOverview\n\nThis skill enables programmatic access to Alpaca Markets for automated trading, portfolio management, and market data retrieval via their REST API. It supports both live and paper trading accounts for stocks, options, and crypto.\n\nQuick Start\nAuthentication\n\nTo use the Alpaca API, you need an API key and secret. Obtain these from your Alpaca account dashboard.\n\nPaper trading: https://paper-api.alpaca.markets\nLive trading: https://api.alpaca.markets\n\nSet environment variables:\n\nALPACA_API_KEY\nALPACA_API_SECRET\nALPACA_BASE_URL (optional; defaults to paper trading URL)\nSecurity / Credential Use\nUse paper trading credentials by default.\nDo not use live trading credentials until you have audited the code path you plan to run.\nKeep ALPACA_BASE_URL unset unless you intentionally need a non-default environment.\nConsider running the helper scripts in an isolated container or VM during evaluation.\nExample Usage\nPlace a stock or crypto order: POST /v2/orders\nFetch account balance: GET /v2/account\nGet positions (stocks/options/crypto): GET /v2/positions\nList orders: GET /v2/orders\nAPI Operations\nTrading API\nGet Account: GET /v2/account\nPlace Order: POST /v2/orders (stocks, options, crypto)\nList Orders: GET /v2/orders\nGet Order: GET /v2/orders/{order_id}\nReplace Order: PATCH /v2/orders/{order_id}\nCancel Order: DELETE /v2/orders/{order_id}\nCancel All Orders: DELETE /v2/orders\nGet Positions: GET /v2/positions\nClose Position: DELETE /v2/positions/{symbol}\nClose All Positions: DELETE /v2/positions\nGet Assets: GET /v2/assets\nMarket Data\nUse Alpaca Market Data API endpoints for crypto quotes and bars (see references/api_reference.md).\nIncluded Files\nscripts/alpaca_api.py: command-line helper for calling Alpaca endpoints with robust error handling and exit codes.\nscripts/example.py: sample script showing account and order calls.\nagents/openai.yaml: Clawhub/OpenClaw interface manifest for display name and default prompt metadata.\nreferences/api_reference.md: concise endpoint reference and payload examples."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/oscraters/alpaca-markets",
    "publisherUrl": "https://clawhub.ai/oscraters/alpaca-markets",
    "owner": "oscraters",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alpaca-markets",
    "downloadUrl": "https://openagent3.xyz/downloads/alpaca-markets",
    "agentUrl": "https://openagent3.xyz/skills/alpaca-markets/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alpaca-markets/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alpaca-markets/agent.md"
  }
}