- Home
- Skills
- Agents & Orchestration
- Fix Claude Code Routines That Stall, Hang, or Clobber Main
More screenshots
Works with the AI Agents you already use
Fix Claude Code Routines That Stall, Hang, or Clobber Main
Rules, prompt template and preflight checklist that stop scheduled Claude Code routines from stalling, clobbering main, or leaking secrets.
$11.99
Fix Claude Code Routines That Stall, Hang, or Clobber Main
Example session with this skill installed
My scheduled routine shows idle and never finishes after a subagent step. Review my routine prompt with claude-routine-guard.
- Read your context and instructions
- Compiled the fix claude code
Summary
Your routine stalled after a subagent step. This is the background-subagent pattern from Rule 1, so the fix is to call subagents in the foreground.
| Symptom | Likely cause | Rule |
|---|---|---|
| Run shows idle and never finishes after a subagent step | A background spawn that nobody consumes | 1 |
What to change
- Find every subagent call in the routine prompt.
- Set each one to run in the foreground, so the run waits for its result.
- Make sure the final report is the last step, and that it gets written after the subagent returns.
Call each subagent in the foreground and wait for its result before the next step.
Do not spawn background agents in an unattended run.
Connects securely to your tools. The creator never sees your data.
About this skill
Your scheduled Claude Code routine hung, lost commits, or got a proxy 403? This skill has the symptom-to-cause table, a fill-in routine prompt, and a preflight checklist from real unattended runs.
Scheduled Claude Code routines fail quietly: a background subagent hangs the run, a stale checkout overwrites main, a secret lands in a log. This pack gives your agent the rules to prevent that.
What's included:
- SKILL.md: triggers when you write or debug a routine, with a symptom-to-cause table and hard stops
- Six rule files: foreground subagents, reset before edit, commit and push, egress and secrets, one consolidated report, parallel agents in worktrees
- A fill-in routine prompt template with the rules built in
- A pass/fail preflight checklist
- Scripted test scenarios with expected answers
Honest limits: built from real runs, not official Anthropic guidance. It stops recurring failures; it won't make a weak prompt good.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 16 days ago
- Passed all security checks, Safe to install