← 返回 Skills 市场
georgetao730

stock-cache-utils

作者 George Tao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
157
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install shared
功能描述
股票技能通用缓存工具模块。支持交易时间检测、自动缓存、有效期管理。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install shared
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /shared 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug shared
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

stock-cache-utils 是什么?

股票技能通用缓存工具模块。支持交易时间检测、自动缓存、有效期管理。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。

如何安装 stock-cache-utils?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install shared」即可一键安装,无需额外配置。

stock-cache-utils 是免费的吗?

是的,stock-cache-utils 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

stock-cache-utils 支持哪些平台?

stock-cache-utils 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 stock-cache-utils?

由 George Tao(@georgetao730)开发并维护,当前版本 v1.0.0。

💬 留言讨论