jonnysteedman683-wq/vorpal/20260826-024101
Claude Code and agent skill by jonnysteedman683-wq/vorpal
- community
Checking that the SKILL.md file is still in the repository.
Stand up recurring Hermes loops (cron + verify + safe-stop).
Install
npx vskill@latest install jonnysteedman683-wq/vorpal/20260826-024101SKILL.md
The same SKILL.md was published earlier as jonnysteedman683-wq/vorpal/20260826-024101.
Loop Creation (recurring autonomous Hermes loops)
When to Use
- User wants a task to repeat on a cadence (upgrade, optimize, review, digest, monitor)
- Standing up a 24/7 autonomous refinement/optimization loop
- Chaining a data-collect loop into a processing loop
- Designing a loop that must be safe to leave running unattended
NOTE: For raw cron authoring syntax/flags, see hermes-cron-patterns. This skill is the DESIGN layer — what makes a loop correct, safe, and self-aware.
DESIGN PRINCIPLES (apply before writing the prompt)
- Self-contained prompt. The loop fires in a FRESH session with zero chat
context. Inline every path, command, model/provider, and success predicate. A loop that assumes "you remember last time" will silently no-op.
- Idempotency. Re-running must not double-apply or corrupt state.
- Use git idempotent ops; prefer
git pull --ff-onlyovergit merge. - Guard with a state file / last-run marker so a re-fire skips if already done.
- Upgrades:
hermes updateis idempotent; a rawgit reset --hardis not.
- Bounded retry. One retry on failure, then REPORT and STOP. Never an
unbounded retry loop (the loop itself is the cadence — don't nest another).
- Verify inside the loop. End the prompt with a verification step that reads
real state, not the tool's stdout. See verify-after-mutation. If the predicate fails, the loop should say so in its delivery — not claim success.
- Safe-stop / auto-pause. A loop that completes its mission should pause
itself (cronjob(action='pause')) or flip a flag. Loops that run forever "just in case" burn tokens and risk drift. Prefer repeat=N for one-shot-ish jobs or a clear terminal condition.
- Deliver the result. Set
deliverso the loop's finding reaches you:
deliver='local' on desktop/local sessions (read output at ~\AppData\Local\hermes\cron\output\<job_id>\) — deliver='all' resolves to nothing there; use it only with a gateway-connected platform (see hermes-cron-patterns). A loop with no delivery is a black hole.
- Never recursively schedule. A loop prompt MUST NOT call
cronjob(action='create'). The tool forbids it and it would fork-bomb.
CHAINING LOOPS
Use context_from: [<upstream_job_id>] so job B receives job A's latest output as context. Pattern:
- Job A (collector,
every 30m): gathers data, writes a stable-shape summary. - Job B (processor,
every 1h,context_from=[A]): consumes A's output, acts.
Both must emit STABLE output (no timestamps/random ordering) or every tick looks "changed" and wastes a run.
STEP-BY-STEP (creation)
- Define the loop's single job + success predicate (from DESIGN principles).
- Write the self-contained prompt (commands + verify + report + safe-stop).
- `cronjob(action='create', name=<id>, schedule=<expr>, prompt=<...>,
skills=[...], deliver='all')`.
cronjob(action='run', job_id=<id>)once to smoke-test immediately (result
re-enters as a new message — do not poll).
- Inspect the test run's output; if it no-ops or errors, fix the prompt and re-run.
- Leave it scheduled; set
repeat=Nor a pause condition if it has an end state.
REAL AEGIS EXAMPLES (from user's setup)
continuous-upgrade-refinement—every 30m, runs upgrade/refinement passes.hermes-review-ag-cadence—every 30m, review cadence.hermes-offpeak-upgrade(this session) —0 3 * * *, `hermes update
--force-venv --yes --backup from a fresh process to dodge venv .pyd` locks.
All enforce a safety gate: npm test + tsc --noEmit + zero forbidden patterns before any merge/apply.
END OF LIFE
When a loop finishes its mission or drifts: self-pause per principle 5, then hand off to loop-retirement (pause → archive → remove → record) for teardown, or loop-reversal first if its side effects must be undone.
PITFALLS
- No delivery → symptom: loop ran for days, you never saw output.
Fix: set deliver per your session type at creation (hermes-cron-patterns deliver gotcha).
- Non-idempotent step → symptom: re-fire duplicates commits / corrupts state.
Fix: guard with state marker; prefer ff-only pulls.
- Recursive scheduling → forbidden; a loop must never create cron jobs.
- Unbounded inner retry → symptom: a stuck step hammers the API every tick.
Fix: one retry, then report+stop.
- Prompt assumes context → symptom: loop fails because it references "the
repo we discussed". Fix: inline absolute paths and commands.
- Lock-holding → if the loop needs exclusive file access (e.g. venv update),
run it off-peak from a fresh process (cron is already fresh) — see hermes-cron-patterns off-peak trick.
VERIFICATION
- Smoke test via
cronjob(action='run')returns a result that proves the
predicate (e.g. "version now v0.20.4" / "0 findings, paused").
cronjob(action='list')shows the loopenabled: truewith sanenext_run_at.- A correctly designed loop leaves a trail: its delivery states what it did AND
whether the verify step passed.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingEVOLVE/SKILLCLAW/backups/live/loop-creation/20260826_024101/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jonnysteedman683-wq/vorpal/20260826-024101)