微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Massive.com CLI

Massive.com CLI · v1.0.1
安全 unknown 级 作者 oscraters 公开目录收录
964 下载 0 安装 3.6k 收藏 4 浏览

简介

Massive.com CLI

原始描述

Bash CLI wrapper and OpenClaw skill for Massive's public REST API. Use when Codex or an OpenClaw agent needs to query Massive market-data endpoints from a sh...

通过你的 Agent 添加

安装目录:massive-com/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/massive-com-cli/
Codex CLI~/.codex/skills/massive-com-cli/
DeepSeek Harness~/.agents/skills/massive-com-cli/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: massive-com description: Bash CLI wrapper and OpenClaw skill for Massive's public REST API. Use when Codex or an OpenClaw agent needs to query Massive market-data endpoints from a shell workflow, align authentication to OpenClaw-style secret references, keep logs free of secrets, or integrate Massive responses into agent pipelines and other CLI tools.

Massive CLI for OpenClaw

Use the bundled CLI before writing ad hoc curl commands. Keep requests deterministic, resolve credentials through OpenClaw-compatible secret references when available, and prefer narrow queries over broad scans.

Quick Start

  • Read references/openclaw-secrets.md before configuring credentials.
  • Read references/massive-api.md when choosing endpoints or query shapes.
  • Read references/security.md before changing logging, auth, or error handling.
  • Run scripts/massive health to validate local prerequisites and auth configuration.
  • Run scripts/massive get /v3/reference/tickers/AAPL for a generic REST request.
  • If you package or publish this skill, include every path listed in BUNDLE_MANIFEST.md.

Workflow

  1. Resolve credentials through MASSIVE_API_KEY_REF when possible.
  2. Fall back to MASSIVE_API_KEY only when a secret ref is not available.
  3. Use a domain shortcut when it matches a documented Massive endpoint.
  4. Use get for any other documented REST path.
  5. Pipe JSON into downstream tools instead of enabling verbose logging.

Commands

  • scripts/massive health
  • scripts/massive get <path-or-next-url> [--query key=value ...]
  • scripts/massive next to read next_url from stdin JSON and fetch the next page
  • scripts/massive stocks ticker-details <ticker>
  • scripts/massive stocks previous-close <ticker>
  • scripts/massive options contract-details <options-ticker>
  • scripts/massive forex currencies
  • scripts/massive crypto currencies
  • scripts/massive indices ticker-details <ticker>

Agent Rules

  • Keep output in JSON unless a human-readable mode is explicitly needed.
  • Send diagnostics to stderr; treat stdout as data.
  • Never print resolved secrets, auth headers, or raw secret-ref payloads.
  • Avoid --verbose in shared logs.
  • Feed next_url back into get or next instead of reconstructing pagination manually.
  • Treat non-api.massive.com absolute URLs as invalid unless MASSIVE_BASE_URL was explicitly changed to another HTTPS origin.

Resources

  • scripts/massive: main Bash CLI
  • BUNDLE_MANIFEST.md: required file list for packaged artifacts
  • references/openclaw-secrets.md: credential and secret-ref contract used by this skill
  • references/massive-api.md: endpoint selection and request patterns
  • references/security.md: redaction and operational safety constraints

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill