← Back to Skills Marketplace
georgetao730

stock-cache-utils

by George Tao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
157
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install shared
Description
股票技能通用缓存工具模块。支持交易时间检测、自动缓存、有效期管理。
Usage Guidance
This module appears coherent and limited in scope: it checks trading hours and reads/writes a local cache file (cache.json) in the cache_dir you pass. Before installing or using it, pick a safe cache_dir (avoid system or sensitive directories), and be aware cached data will be written to disk and printed to stdout by the module’s print statements. The shebang references a Homebrew Python path (non-portable but not harmful); run it in your Python 3.10+ environment or inspect the file locally before use if you want to be extra cautious.
Capability Analysis
Type: OpenClaw Skill Name: shared Version: 1.0.0 The skill bundle is a legitimate utility module providing caching logic and trading time detection for stock-related applications. The code in cache_utils.py implements standard file I/O for JSON caching and date-time calculations without any network access, sensitive data exfiltration, or suspicious execution patterns.
Capability Assessment
Purpose & Capability
Name/description promise a stock-cache utility and the code implements trading-time checks, cache save/load/clear, and expiry management. There are no unrelated environment variables, binaries, or external services requested.
Instruction Scope
SKILL.md instructs the agent to import and use StockDataCache and check_trading_status only. The instructions do not direct the agent to read unrelated files, environment variables, or send data externally. They do instruct local cache reads/writes as expected.
Install Mechanism
No install spec; the package is instruction-only but includes a Python module. The module is pure Python and does not download or execute remote code. Note: the module writes a local cache file (cache.json) into the provided cache_dir, which is expected for this functionality.
Credentials
The skill requests no environment variables, credentials, or config paths. The code uses only local filesystem and system time, which is proportionate to its stated purpose.
Persistence & Privilege
The skill is not always-enabled, does not request elevated privileges, and does not modify other skills or system-wide settings. It only creates/reads a cache file in the configured directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install shared
  3. After installation, invoke the skill by name or use /shared
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of stock-cache-utils: - Provides a unified cache utility module for stock trading skills. - Supports A-share trading time detection. - Includes automatic caching with 24-hour expiration management. - Offers graceful fallback to cache when outside trading hours. - Simple Python API with no external dependencies.
Metadata
Slug shared
Version 1.0.0
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is stock-cache-utils?

股票技能通用缓存工具模块。支持交易时间检测、自动缓存、有效期管理。 It is an AI Agent Skill for Claude Code / OpenClaw, with 157 downloads so far.

How do I install stock-cache-utils?

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

Is stock-cache-utils free?

Yes, stock-cache-utils is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does stock-cache-utils support?

stock-cache-utils is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created stock-cache-utils?

It is built and maintained by George Tao (@georgetao730); the current version is v1.0.0.

💬 Comments