crypto-daily-brief
БесплатноБез исполняемых скриптовНе проверенUse when building a daily crypto market brief.
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Daily crypto market brief
When to Use
User asks for a recurring market read: "riset pasar crypto tiap pagi", "news BTC 24 jam + verdict",
"kasih screenshot chart + link berita + pdf", or asks to fix/extend the brief that already runs at 06:00.
Not for portfolio allocation questions → crypto-portfolio-advisory. Not for cron mechanics in general →
hermes-cron-automation.
The pipeline that exists (reuse it, do not rebuild)
| Piece | Path |
|---|---|
| Data + chart + PDF + JSON | ~/.hermes/scripts/crypto_morning_research.py |
| Output per day | ~/.hermes/data/morning_research/<YYYY-MM-DD>/{chart_btc.png, brief.pdf, data.json} |
| Cache global mcap/BTC.D | ~/.hermes/data/morning_research/cache_global.json |
| Cron | Crypto Morning Brief 06:00, script: crypto_morning_research.py, deliver origin |
Run it directly and read stdout before scheduling anything:
timeout 180 python3 ~/.hermes/scripts/crypto_morning_research.py 2>&1 | head -20
Sections, in order: macro (total mcap, BTC.D) → BTC snapshot (24j/7j/30j, position in 30d range, EMA20/50/200,
funding, OI) → mechanical verdict with the reason list → top 10 mcap → 24h news digest → FILES line.
Every section is failure-tolerant: a dead source prints an ERROR line instead of killing the run.
Rules that make the output trustworthy
- The verdict is mechanical and its reasons are printed. Score from position vs EMA20/50/200, 24j/7j momentum, RSI, funding. Never let the chat message invent a verdict the data does not support, and never drop the reason list — the user checks the reasoning, not just the label.
- Every news item carries its real link. Dedup across feeds, tag which coin each item is about. A digest without links is unfalsifiable, and this user is comparing it against another agent that produces prose.
- Numbers come from the run, not from memory. If a section errored, say which source failed. Padding a failed section with numbers from yesterday's read is the one unforgivable failure here.
- Chart is drawn from klines, not screenshotted from a website. matplotlib candlestick + volume + EMA,
dpi=165, dark facecolor — a rendered chart survives the PDF embed and stays legible at 90 dpi. - Verify generated artifacts before announcing them.
pymupdfopens the PDF, prints page count, image count per page and text length; render page 1 to PNG and actually look at it. A PDF that exists but shows a broken image or a cut-off table is not delivered.
Scheduling shape (delivery is the hard part)
Cron prompt must be self-contained and must own the delivery, because nobody can answer a cron question:
- Tell the agent the script output is injected above and to build the message from it.
- Fix the shape: verdict line → BTC snapshot → 2–3 lines on top-10 winners/losers → 4–5 news items with links → one "yang gw pantau hari ini" line with concrete levels (7d low, EMA20d).
- Bullets use
•, never-(user preference, applies to every chat deliverable). - End the message with two
MEDIA:lines using the paths verbatim from theFILESline (PNG then PDF). Without that instruction the job runs, produces files, and delivers text only. - Cap length (~22 lines before attachments) so the brief stays a morning brief.
- Fire the job once right after creating it (
cronjob_manage action=run) and label itUJI COBAin the prompt, so attachment delivery is proven end-to-end before the first real 06:00 send. - The first fire may report a
Script Errorwhile still delivering text: the cron runner's/usr/bin/python3does not carry the tool venv, soimport matplotlibdies there. The script must self-heal (probe~/.hermes/tools/python-*/bin/python3andos.execvthe first one that imports matplotlib) — seehermes-cron-automation. Prove the fix by running the script with/usr/bin/python3explicitly, not with the session python; only then is the 06:00 path clean. - Quote the daily token cost from
~/.hermes/cron/usage_audit.jsonl(total_tokensfor the job_id), not from intuition. The floor for a script-plus-short-message job is ~40k; a brief like this lands ~60–90k when the script succeeds, and a run that had to debug a broken script costs ~200k. Say which number you measured and which one you expect.
Pitfalls
- CoinGecko 429 is per-IP and sticks for hours. Do not read it as "source down":
/v1/tickersand/v1/globalon CoinPaprika are keyless and generous, and they cover price, 24h/7d/30d change, mcap, volume and BTC.D in one or two requests. Send a browserUser-Agent(Paprika 403s without one), keep CoinGecko as fallback, and cache the last good global so a bad morning degrades to a labelledstaleline. Pindah sumber lengkapnya ada di skillcrypto-portfolio-advisory, filedata-source-fallback-ladder.mdbagian 1 (CoinGecko 429 → CoinPaprika → cache). - A feed that returns 200 is not a feed that has items. Parse, ded
Установить crypto-daily-brief в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл crypto-daily-brief?
Use when building a daily crypto market brief.
Как установить скилл crypto-daily-brief?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл crypto-daily-brief запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic