Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 2.21 KB

File metadata and controls

69 lines (54 loc) · 2.21 KB

sc-delay-tasks

Publisher Verified Security Scanned License MIT Version 0.6.0

Scope: Global or Local Requires: python3

Schedule delayed one-shot waits or bounded polling with minimal heartbeats. Provides a /delay command and agents reusable by other skills (e.g., CI check delays).

Security: See SECURITY.md for security policy and practices.

Summary

  • delay-once: single wait, emit a final action
  • delay-poll: bounded polling, optional stop-on-success hook
  • git-pr-check-delay: poll PR required checks using the delay helper

Quick Start (Global install)

python3 tools/sc-install.py install sc-delay-tasks --dest /Users/<you>/Documents/.claude

Then use /delay anywhere.

Repo-local install (optional)

python3 tools/sc-install.py install sc-delay-tasks --dest /path/to/your-repo/.claude

Usage

  • /delay --once --minutes 2 --action "go"
  • /delay --poll --every 60 --for 5m --action "done"

Agents

  • delay-once (v0.5.0)
  • delay-poll (v0.5.0)
  • git-pr-check-delay (v0.5.0)

All agents call the helper script:

python3 .claude/scripts/delay-run.py ...

Install / Uninstall

  • Install (global):
    python3 tools/sc-install.py install sc-delay-tasks --dest /Users/<you>/Documents/.claude
  • Uninstall:
    python3 tools/sc-install.py uninstall sc-delay-tasks --dest /Users/<you>/Documents/.claude

Troubleshooting

  • Ensure python3 is available in PATH
  • For polling, minimum interval is 60 seconds

Components

  • Command: commands/delay.md
  • Agents: delay-once, delay-poll, git-pr-check-delay
  • Script: scripts/delay-run.py

Version & Changelog

  • 0.5.0 — Initial v0.x publication (three agents)

Support