Delay

From Takazudo/claude-resources · View interactive version

Delay is an AI agent skill from the GitHub repository Takazudo/claude-resources. Schedule instructions to run once later in this session via a one-shot cron job. Use for /delay, 'in N minutes do X', 'do this at 16:30'. Not for recurring work (/loop) or schedules that must outlive the session.

How to use this skill

Skill file

Delay

Schedule the given instructions to fire exactly once at a future time in this session. Scheduling is the entire task of this turn — do NOT start executing the instructions now, even partially. That is the failure mode this skill exists to prevent: the task running immediately AND again at fire time.

Arguments: $ARGUMENTS

Steps

  1. Parse arguments. Split at the first comma: everything before it is the time spec ("1 hour later", "in 30 min", "at 16:30", "tomorrow 9am"), everything after is the instructions to run later (pass through verbatim — including slash commands like /x-wt-teams foo bar). If either part is missing or the time spec is ambiguous, ask instead of guessing.
  1. Compute the fire time. Run date '+%Y-%m-%d %H:%M' for the current local time, then compute the target:
  1. Create exactly one job with the CronCreate tool:

```

[One-shot task scheduled earlier via /delay, firing now as planned. Do not reschedule or delay again — execute directly:]

<instructions verbatim>

```

  1. Confirm to the user (and stop — no other tool calls after this):

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.