- Remove 4 legacy shim files; only the unified coinhunter_shim.py remains - Move the remaining shim from templates/ to scripts/ per skill best practices - Update all docs (README, CLAUDE, shim-templates) to reference scripts/
25 lines
867 B
Markdown
25 lines
867 B
Markdown
# 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 examples:
|
|
- `coinhunter_shim.py pre`
|
|
- `coinhunter_shim.py gate`
|
|
- `coinhunter_shim.py review`
|
|
- `coinhunter_shim.py rotate-log`
|
|
|
|
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/`
|