# CoinHunter shim templates These files are tiny compatibility shims for cron-based platforms (Hermes, OpenClaw, etc.) that expect scripts under a scripts directory such as `~/.hermes/scripts/` or `~/.openclaw/scripts/`. ## Unified shim `scripts/coinhunter_shim.py` is the cross-platform wrapper. It takes the subcommand as its first argument and delegates to the installed `coinhunter` CLI: ```bash cp scripts/coinhunter_shim.py ~/.hermes/scripts/coinhunter_shim.py # or cp scripts/coinhunter_shim.py ~/.openclaw/scripts/coinhunter_shim.py ``` Usage in platform cron configs: - `"script": "coinhunter_shim.py pre"` — lightweight gate / precheck - `"script": "coinhunter_shim.py gate"` — external gate runner - `"script": "coinhunter_shim.py review"` — review context generator - `"script": "coinhunter_shim.py rotate-log"` — log rotation helper The real business logic lives in the external `coinhunter` CLI package (installed from PyPI). This shim only delegates to it. The user runtime data stays under: - `~/.coinhunter/`