refactor: change data directory from .coin-hunter to .coinhunter
- Update SKILL.md references to use ~/.coinhunter/ - Update user-data-layout.md with new directory paths - Update init_user_state.py ROOT path - Unify naming convention with .stockbuddy style
This commit is contained in:
10
SKILL.md
10
SKILL.md
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: coin-hunter
|
name: Coin Hunter
|
||||||
description: Hunt, triage, and compare speculative crypto coins — especially meme coins, 妖币-style runners, fake-hype pumps, and possible rug/scam setups. Use when a user wants to actively search for coins with breakout potential, rank a shortlist, ask whether a coin still has "妖性", or check whether a token looks late, fragile, manipulated, or likely to be a scam.
|
description: Hunt, triage, and compare speculative crypto coins — especially meme coins, 妖币-style runners, fake-hype pumps, and possible rug/scam setups. Use when a user wants to actively search for coins with breakout potential, rank a shortlist, ask whether a coin still has "妖性", or check whether a token looks late, fragile, manipulated, or likely to be a scam.
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ Preferred source order:
|
|||||||
- **CoinGecko** for market-cap, rank, and metadata cross-check
|
- **CoinGecko** for market-cap, rank, and metadata cross-check
|
||||||
- **web_search** for discovery, narratives, and scam-discussion context
|
- **web_search** for discovery, narratives, and scam-discussion context
|
||||||
|
|
||||||
Private user state must live outside the skill directory under `~/.coin-hunter/`, not inside `skills/coin-hunter/`.
|
Private user state must live outside the skill directory under `~/.coinhunter/`, not inside `skills/coinhunter/`.
|
||||||
Read `references/provider-playbook.md` when choosing which source to trust first.
|
Read `references/provider-playbook.md` when choosing which source to trust first.
|
||||||
Read `references/user-data-layout.md` when adding or updating personal accounts, positions, watchlists, or notes.
|
Read `references/user-data-layout.md` when adding or updating personal accounts, positions, watchlists, or notes.
|
||||||
Use `scripts/market_probe.py` for deterministic provider lookups.
|
Use `scripts/market_probe.py` for deterministic provider lookups.
|
||||||
@@ -217,8 +217,8 @@ If the user wants runners, meme coins, or small-cap candidates:
|
|||||||
`market_probe.py birdeye-token <address>` requires `BIRDEYE_API_KEY` in the environment. If it is not configured, say so briefly and continue with DexScreener + CoinGecko + web search.
|
`market_probe.py birdeye-token <address>` requires `BIRDEYE_API_KEY` in the environment. If it is not configured, say so briefly and continue with DexScreener + CoinGecko + web search.
|
||||||
|
|
||||||
### Private portfolio state
|
### Private portfolio state
|
||||||
If the user wants account, position, watchlist, or thesis tracking for coin-hunter:
|
If the user wants account, position, watchlist, or thesis tracking for coinhunter:
|
||||||
1. initialize `~/.coin-hunter/` with `python3 scripts/init_user_state.py`
|
1. initialize `~/.coinhunter/` with `python3 scripts/init_user_state.py`
|
||||||
2. store private data only there
|
2. store private data only there
|
||||||
3. never place personal holdings inside the skill folder
|
3. never place personal holdings inside the skill folder
|
||||||
4. treat the skill folder as logic only, and the user-data directory as state only
|
4. treat the skill folder as logic only, and the user-data directory as state only
|
||||||
@@ -289,7 +289,7 @@ If the user wants more depth, expand in this order:
|
|||||||
## References
|
## References
|
||||||
|
|
||||||
Read `references/provider-playbook.md` for source selection and provider roles.
|
Read `references/provider-playbook.md` for source selection and provider roles.
|
||||||
Read `references/user-data-layout.md` for private state layout under `~/.coin-hunter/`.
|
Read `references/user-data-layout.md` for private state layout under `~/.coinhunter/`.
|
||||||
Read `references/radar-checklist.md` for a quick scoring framework.
|
Read `references/radar-checklist.md` for a quick scoring framework.
|
||||||
Read `references/search-workflow.md` for active discovery.
|
Read `references/search-workflow.md` for active discovery.
|
||||||
Read `references/output-templates.md` for compact response structure.
|
Read `references/output-templates.md` for compact response structure.
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
# User Data Layout
|
# User Data Layout
|
||||||
|
|
||||||
Store private coin-hunter data outside the skill directory.
|
Store private coinhunter data outside the skill directory.
|
||||||
|
|
||||||
## Root directory
|
## Root directory
|
||||||
|
|
||||||
Use:
|
Use:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
~/.coin-hunter/
|
~/.coinhunter/
|
||||||
```
|
```
|
||||||
|
|
||||||
This keeps personal accounts, positions, and watchlists out of packaged skill artifacts.
|
This keeps personal accounts, positions, and watchlists out of packaged skill artifacts.
|
||||||
@@ -15,7 +15,7 @@ This keeps personal accounts, positions, and watchlists out of packaged skill ar
|
|||||||
## Layout
|
## Layout
|
||||||
|
|
||||||
```text
|
```text
|
||||||
~/.coin-hunter/
|
~/.coinhunter/
|
||||||
├── config.json
|
├── config.json
|
||||||
├── accounts.json
|
├── accounts.json
|
||||||
├── positions.json
|
├── positions.json
|
||||||
@@ -136,8 +136,8 @@ Store disposable API results or normalized snapshots. Never treat this as source
|
|||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
|
||||||
- Keep personal data only under `~/.coin-hunter/`
|
- Keep personal data only under `~/.coinhunter/`
|
||||||
- Never write personal account or position data into `skills/coin-hunter/`
|
- Never write personal account or position data into `skills/coinhunter/`
|
||||||
- Treat `cache/` as disposable
|
- Treat `cache/` as disposable
|
||||||
- Prefer stable IDs for accounts like `bybit-main`
|
- Prefer stable IDs for accounts like `bybit-main`
|
||||||
- For meme coins, include `chain` and `contract_address` when known
|
- For meme coins, include `chain` and `contract_address` when known
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import json
|
|||||||
from datetime import datetime, timezone
|
from datetime import datetime, timezone
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
ROOT = Path.home() / ".coin-hunter"
|
ROOT = Path.home() / ".coinhunter"
|
||||||
CACHE_DIR = ROOT / "cache"
|
CACHE_DIR = ROOT / "cache"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user