Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hermes-cron-automation

БесплатноБез исполняемых скриптовНе проверен

Use when creating Hermes cron jobs for recurring automation.

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

Hermes Cron Automation

Use when creating/updating recurring cron jobs on Hermes (content posting, outreach, digests, watchdogs, improvement loops). Patterns proven in this user's Threads/lynk.id business stack.

Core rules

  • Prompts must be self-contained — cron runs in a FRESH isolated session with no chat history. Every run needs: exact file paths, exact commands, token locations, output language/style, and what to report.
  • Read tokens from files, never inline them — tell the agent to read THREADS_API_TOKEN from ~/.hermes/.env via grep '^THREADS_API_TOKEN=' and NEVER print it.
  • Verify side effects, don't assume — instruct publish-then-readback (e.g. is_reply, media_id, success:true) before reporting success.
  • continuity=true for incremental jobs (daily recap/improvement loops): each run sees its own previous output, so it can dedupe recommendations and judge the effect of yesterday's changes.
  • enabled_toolsets — restrict to what the job needs (terminal,web,file) to cut token overhead.
  • deliver: origin sends the final response to the originating chat; local saves silently. no_agent=true + script = silent watchdog (empty stdout = no message). Splitting output across SEVERAL bots: deliver can only use the main bot, so a job aimed at another bot must push via that bot's token itself (news_send.py → @HermsNews_Bot, perf_report_send.py → @memescallsbot) with deliver=local + failure_deliver=origin, and make the wrapper exit non-zero when the send fails — || echo …; exit 0 makes that failure notice unreachable. Also: pick the msgstyle --kind deliberately — news truncates at 8 lines. Audit a lane move by grepping for the SENDER, never by reading the deliver field: a job flipped to deliver=local with no news_send.py/lane_send.py call in its script or prompt keeps succeeding while its text dies in ~/.hermes/cron/output/ — and a prompt that merely says "kirim via bot X" is not a route. See references/per-bot-delivery-routing.md.
  • Notifications are a budget, not a log. Default every scan/planner/monitor that writes state to deliver=local; send ONE scheduled digest per day (no_agent, deliver=origin, fixed hour, always prints — a digest that prints nothing is a blind lane). failure_deliver defaults to deliver, so a local job also hides its own failures: set it back to origin where a silent outage is dangerous, and to local where the failure is scheduler-side noise. Matrix, digest script shape, and the jobs.json audit: references/notification-noise-budget.md.
  • The cron script= runner is /usr/bin/python3, which lacks the Hermes tool venv packages (matplotlib, pandas, etc.). A script that works when you run it by hand can still die on every fire with ModuleNotFoundError: No module named 'matplotlib'. Make the script self-healing instead of documenting the workaround: wrap the heavy import in a _ensure() that, on ImportError, probes glob(~/.hermes/tools/python-*/bin/python3) with -c "import <mod>" and os.execvs the first interpreter that has it (also MPLCONFIGDIR → ~/.hermes/cache/mplconfig). Verify by running the script with /usr/bin/python3 explicitly, not with your session's python. For a small pure-Python dependency, re-execing is the wrong fix: precompute what you need once in an interactive session (keccak selectors, ABI function ids, format strings) and paste it as constants so the cron script needs only stdlib plus requests. Crypto (pycryptodome) is the common trap: present in the agent's interpreter, absent from /usr/bin/python3, so a selector hashed at runtime kills the job on every fire.
  • script= must be a bare filename living in ~/.hermes/scripts/ — absolute and ~/ paths are refused by the cron tool. When the real script belongs to a project dir, drop a 2-line wrapper in ~/.hermes/scripts/ (exec bash "$HOME/<project>/run_x.sh") and point the job at the wrapper. Run the wrapper by hand right after creating the job (bash ~/.hermes/scripts/<wrapper>.sh) — a wrong inner filename (real case: wrapper exec'd run_up.sh while the file was up.sh) exits 127 on EVERY fire, so the alert fires 38 times over 6 hours before anyone looks, while the service it guards stays up and looks healthy. In that wrapper: pipe the child's stdout through ~/.hermes/scripts/msgstyle.py for a consistent message look, and on non-zero exit print ONE line deduped against the last error text stored in logs/last_<job>_err.txt — otherwise a chronic failure either stays invisible or spams every tick.
  • A hit-only detector must be proven with a known positive before you trust its silence. A watcher that prints nothing unless the event fires is indistinguishable from one with a broken selector or wrong id. Replay a real hit from the same source through the same code path (the historical prize winner, yesterday's alert record, a past filing) and confirm the message renders
Полный SKILL.md на GitHub

Установить hermes-cron-automation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yamlreferences/agent-run-silence-and-backfill-rules.mdreferences/alert-script-testing-safe.mdreferences/artifact-writing-agent-cron.mdreferences/channel-redirect-push-pattern.mdreferences/content-rule-changes-and-doc-bloat.mdreferences/cron-drift-skip-and-repeat-bugs.mdreferences/cron-fleet-triage.mdreferences/cron-schedule-edits-and-doc-bloat.mdreferences/cron-tz-migration.mdreferences/deadline-reminder-jobs.mdreferences/delta-gated-alerts-and-member-removal.mdreferences/extending-a-live-alert-script.mdreferences/external-source-pollers.mdreferences/failed-job-output-triage.mdreferences/funding-chain-follow-and-script-tests.mdreferences/grade-band-deadband-and-label-jitter.mdreferences/grounded-report-crons.mdreferences/holdings-watchlist-thresholds.mdreferences/incremental-scorecards-and-shift-alerts.mdreferences/job-role-changes-and-delivery-verification.mdreferences/jobs-json-direct-injection.mdreferences/jobs-json-schedule-desync.mdreferences/lane-build-without-cron.mdreferences/level-crossing-entry-zone-alerts.mdreferences/mailbox-reply-watch.mdreferences/monitor-script-gated-agent-runs.mdreferences/notification-noise-budget.mdreferences/output-style-layer-and-lane-wiring.mdreferences/per-bot-delivery-routing.mdreferences/per-run-token-cap-guard.mdreferences/position-watchdog-onchain.mdreferences/post-entry-sltp-wiring.mdreferences/provider-stall-recovery.mdreferences/push-card-compaction-and-dryrun.mdreferences/regulatory-filing-watch-edgar.mdreferences/report-format-and-scope-lifecycle.mdreferences/report-source-robustness-and-claim-verification.md

FAQ

Что делает скилл hermes-cron-automation?

Use when creating Hermes cron jobs for recurring automation.

Как установить скилл hermes-cron-automation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hermes-cron-automation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hermes-cron-automation с