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 healthto validate local prerequisites and auth configuration. - Run
scripts/massive get /v3/reference/tickers/AAPLfor a generic REST request. - If you package or publish this skill, include every path listed in
BUNDLE_MANIFEST.md.
Workflow
- Resolve credentials through
MASSIVE_API_KEY_REFwhen possible. - Fall back to
MASSIVE_API_KEYonly when a secret ref is not available. - Use a domain shortcut when it matches a documented Massive endpoint.
- Use
getfor any other documented REST path. - Pipe JSON into downstream tools instead of enabling verbose logging.
Commands
scripts/massive healthscripts/massive get <path-or-next-url> [--query key=value ...]scripts/massive nextto readnext_urlfrom stdin JSON and fetch the next pagescripts/massive stocks ticker-details <ticker>scripts/massive stocks previous-close <ticker>scripts/massive options contract-details <options-ticker>scripts/massive forex currenciesscripts/massive crypto currenciesscripts/massive indices ticker-details <ticker>
Agent Rules
- Keep output in JSON unless a human-readable mode is explicitly needed.
- Send diagnostics to
stderr; treatstdoutas data. - Never print resolved secrets, auth headers, or raw secret-ref payloads.
- Avoid
--verbosein shared logs. - Feed
next_urlback intogetornextinstead of reconstructing pagination manually. - Treat non-
api.massive.comabsolute URLs as invalid unlessMASSIVE_BASE_URLwas explicitly changed to another HTTPS origin.
Resources
scripts/massive: main Bash CLIBUNDLE_MANIFEST.md: required file list for packaged artifactsreferences/openclaw-secrets.md: credential and secret-ref contract used by this skillreferences/massive-api.md: endpoint selection and request patternsreferences/security.md: redaction and operational safety constraints