stock-cache-utils
v1.0.0股票技能通用缓存工具模块。支持交易时间检测、自动缓存、有效期管理。
⭐ 0· 115·3 current·3 all-time
byGeorge Tao@georgetao730
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & 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.
Assessment
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.Like a lobster shell, security has layers — review code before you run it.
latestvk97540fqqqqh12evgp8z3ddffx839g4r
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
