hermes - 💡(How to fix) Fix cron create: positional [prompt] documented as optional but rejected at runtime

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The hermes cron create CLI help shows [prompt] as an optional positional argument (square brackets), but omitting it fails with create requires either prompt or at least one skill.

Root Cause

The hermes cron create CLI help shows [prompt] as an optional positional argument (square brackets), but omitting it fails with create requires either prompt or at least one skill.

Fix Action

Workaround

Provide a prompt or use --skill:

hermes cron create "0 9 * * *" "Run the scheduled task"
hermes cron create "0 9 * * *" --skill some-skill

Code Example

hermes cron create "0 9 * * *"

---

usage: hermes cron create [-h] [--name NAME] [--deliver DELIVER]
                          [--repeat REPEAT] [--skill SKILLS] [--script SCRIPT]
                          [--no-agent] [--workdir WORKDIR] [--profile PROFILE]
                          schedule [prompt]

---

hermes cron create "0 9 * * *" "Run the scheduled task"
hermes cron create "0 9 * * *" --skill some-skill
RAW_BUFFERClick to expand / collapse

Summary

The hermes cron create CLI help shows [prompt] as an optional positional argument (square brackets), but omitting it fails with create requires either prompt or at least one skill.

Steps to reproduce

hermes cron create "0 9 * * *"

Expected vs actual

Expected: Either the argument should be documented as required, or a default should be generated.

Actual: Failed to create job: create requires either prompt or at least one skill

Help text (misleading)

usage: hermes cron create [-h] [--name NAME] [--deliver DELIVER]
                          [--repeat REPEAT] [--skill SKILLS] [--script SCRIPT]
                          [--no-agent] [--workdir WORKDIR] [--profile PROFILE]
                          schedule [prompt]

Workaround

Provide a prompt or use --skill:

hermes cron create "0 9 * * *" "Run the scheduled task"
hermes cron create "0 9 * * *" --skill some-skill

Suggested fix

Make the [prompt] truly optional by either:

  1. Generating a default prompt when none is provided (e.g., "Run the scheduled task")
  2. Updating the argparse definition to show it as required (remove brackets from help text)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING