← Back to Skills Marketplace
oscraters

EODHD CLI

by oscraters · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
339
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install eodhd
Description
Plan, build, review, or extend a stateless Bash CLI wrapper for the publicly documented EODHD API, intended for OpenClaw agents and Clawhub.ai distribution....
README (SKILL.md)

EODHD

Overview

Build the wrapper as a small, stateless Bash CLI that translates stable subcommands into EODHD HTTPS requests and emits machine-friendly output. Keep secrets outside the repo and outside the CLI's own persistence model by aligning auth to OpenClaw-managed environment injection.

Workflow

  1. Confirm the task shape.

  2. Hold the contract steady.

    • Prefer eodhd as the binary name.
    • Default to JSON on stdout and diagnostics on stderr.
    • Exit non-zero on HTTP, auth, or argument errors.
    • Do not create config files, caches, token stores, or hidden state.
  3. Keep auth OpenClaw-native.

    • Expect EODHD_API_KEY to be injected by OpenClaw.
    • Allow a one-shot explicit override like --api-key only if the user asks for it or the implementation already exposes it.
    • Do not read plaintext secrets from repo files, sample configs, shell history helpers, or generated artifacts.
    • Keep the publish metadata aligned with that contract by declaring EODHD_API_KEY as the primary required credential.
  4. Enforce redaction and logging hygiene.

    • Never print the raw API key to stdout or stderr.
    • Redact secrets in debug output, dry-run output, request traces, and test snapshots.
    • Avoid set -x unless xtrace output is redirected through a sanitizer.
    • Treat query strings, headers, and copied curl commands as sensitive if they can contain api_token.
  5. Prefer a narrow, agent-friendly surface.

    • Start with stable commands such as eod, fundamentals, real-time, search, exchanges, and raw.
    • Add generic --query key=value support before adding many bespoke flags.
    • Use a raw escape hatch for unsupported endpoints instead of blocking new EODHD API coverage.
  6. Preserve public-distribution constraints.

    • Assume the repo is public.
    • Use only public EODHD docs and public sample symbols in examples.
    • Avoid local-machine assumptions, personal data, or environment-specific artifacts.
    • Verify the release bundle contains scripts/eodhd and the metadata that declares it.

Implementation Rules

  • Keep the CLI dependency-light: Bash plus curl as the baseline.
  • Use deterministic argument parsing and stable exit codes.
  • Separate URL construction, request execution, error translation, and output handling into small shell functions.
  • Make debug behavior opt-in with --verbose or --dry-run.
  • If tests are added, prefer smoke tests around URL generation, argument validation, and redaction.

Deliverables

  • scripts/eodhd for the CLI entrypoint when implementation starts
  • scripts/check-package.sh for package and manifest consistency checks
  • references/implementation-plan.md for milestones and acceptance criteria
  • references/openclaw-secrets.md for secret and logging constraints
  • agents/openai.yaml for Clawhub/OpenAI-facing metadata

Validation

  • Check that examples never expose a real token.
  • Check that debug or dry-run output replaces token values with a fixed mask such as ***REDACTED***.
  • Check that auth failure, HTTP failure, and usage failure produce distinct exit codes or clearly distinct stderr messages.
  • Check that the manifest declares EODHD_API_KEY and includes scripts/eodhd in the packaged files.
  • Check that the repo contains no .env, token snapshots, or generated local artifacts.
Usage Guidance
Do not install or publish this skill as-is. Key issues to resolve before trusting it: 1) scripts/eodhd (the claimed CLI entrypoint) is referenced throughout the docs and manifest but is missing from the provided file set — request or inspect that file and review its code for networking, endpoints, and any data exfiltration. 2) Fix metadata mismatches: ensure the registry/packaging metadata declares EODHD_API_KEY as a required credential and lists bash/curl as runtime dependencies so deployers know the true runtime contract. 3) Run ./scripts/check-package.sh and ./scripts/test-smoke.sh locally after adding scripts/eodhd; the check script will fail while the entrypoint is missing. 4) Verify the implementation follows the documented redaction rules (dry-run masks, no raw token in logs) and that no hidden endpoints or unexpected environment reads are present. If the owner provides the missing entrypoint and aligns the manifest with the docs, re-evaluate — the current issues look like sloppy packaging rather than intentional malice, but they must be fixed before installation.
Capability Analysis
Type: OpenClaw Skill Name: eodhd Version: 1.0.1 The skill bundle is designed with a strong emphasis on security and preventing data leakage. All documentation (SKILL.md, README.md, references/*.md) consistently instructs the AI agent to follow secure practices, redact API keys from all outputs, and avoid storing secrets. The `scripts/check-package.sh` and `scripts/test-smoke.sh` actively validate these security requirements, ensuring no local secret files are present and that API keys are redacted in dry-run and verbose outputs. There is no evidence of malicious intent, data exfiltration, unauthorized execution, or prompt injection designed to subvert the agent for harmful purposes; instead, the instructions explicitly guide the agent towards secure and responsible behavior.
Capability Assessment
Purpose & Capability
The SKILL.md, README, agents/openai.yaml, and reference docs consistently describe a Bash+curl CLI that requires EODHD_API_KEY and provides scripts/eodhd as the entrypoint. However the registry-level 'Requirements' summary at the top of the package metadata lists no required env vars and no required binaries, and the actual package file list in this submission does not include the referenced scripts/eodhd file. Requiring an API key and bash/curl is appropriate for the stated purpose, but the mismatch between declared requirements and the provided files is a coherence problem.
Instruction Scope
The SKILL.md instructions are narrowly scoped to building a stateless Bash CLI: they describe auth handling, redaction, exit codes, command surface, and tests. They do not instruct the agent to read unrelated system files or exfiltrate data. The instructions explicitly forbid printing secrets and storing persistent state.
Install Mechanism
This is an instruction-only skill with no install spec, which is low-risk. The included scripts are simple shell smoke/test/check scripts. There is no download/install mechanism that would fetch arbitrary remote code.
Credentials
The skill's docs and agents/openai.yaml declare EODHD_API_KEY as the primary required credential (and recommend OpenClaw injection). However the top-level registry 'Requirements' reported with the skill says no required env and no primary credential. This discrepancy is significant: the runtime contract (requires EODHD_API_KEY) is appropriate, but the published metadata failing to list it is incoherent and could lead to misconfiguration or surprising behavior if installed as-is.
Persistence & Privilege
The skill does not request persistent presence (always: false) and the SKILL.md explicitly requires stateless behavior (no config, caches, or token stores). There is no evidence the skill attempts to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install eodhd
  3. After installation, invoke the skill by name or use /eodhd
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added scripts/check-package.sh for package and manifest consistency checks. - Updated SKILL.md to reference scripts/check-package.sh as a deliverable. - Clarified that metadata must declare EODHD_API_KEY as the primary required credential. - Improved validation steps to check that packaged files and declared credentials are included in the manifest.
v1.0.0
Initial release of the eodhd skill for OpenClaw agents. - Provides a framework and guidelines to build a stateless Bash CLI wrapper around the public EODHD API. - Enforces OpenClaw secrets management: API keys are passed via injected environment variables and never logged or written to disk. - Defines command structure, error handling, redaction rules, packaging, and validation requirements for public distribution. - Sets best practices for argument parsing, URL construction, diagnostics, and secure debug output. - Specifies starting subcommands, output/defaults, and constraints for open source, agent-centric integration.
Metadata
Slug eodhd
Version 1.0.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is EODHD CLI?

Plan, build, review, or extend a stateless Bash CLI wrapper for the publicly documented EODHD API, intended for OpenClaw agents and Clawhub.ai distribution.... It is an AI Agent Skill for Claude Code / OpenClaw, with 339 downloads so far.

How do I install EODHD CLI?

Run "/install eodhd" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is EODHD CLI free?

Yes, EODHD CLI is completely free (open-source). You can download, install and use it at no cost.

Which platforms does EODHD CLI support?

EODHD CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created EODHD CLI?

It is built and maintained by oscraters (@oscraters); the current version is v1.0.1.

💬 Comments