Differed Task Execution
Delays execution of a task until a specified time or after a duration. Use when the user asks to run something later, in X minutes/hours, at a specific time, schedule a command, or defer work to a future point.
What this skill does
# Differed Task Execution Delays agent work until a user-specified time using a background timer script, then proceeds with the deferred task. ## Script Location `~/.claude/skills/deferred-task-execution/scripts/wait-until.sh` ## Supported Input Formats The script accepts one argument in either format: **Duration** - relative delay from now: - `30s`, `5m`, `1h`, `90m`, `2h30m`, `1h15m30s` **Clock time** - specific time of day: - `14:30`, `9:00`, `3pm`, `3:30pm` - If the time has already passed today, it waits until that time tomorrow ## Workflow ### Step 1: Confirm the user's intent Confirm what task to perform and when. Parse their natural language into a wait-until argument: | User says | Argument | |-----------|----------| | "in 30 minutes" | `30m` | | "in an hour" | `1h` | | "in 2 and a half hours" | `2h30m` | | "at 3pm" | `3pm` | | "at 14:30" | `14:30` | | "at half past 9" | `9:30am` | The script self-handles timezone via the `USER_TZ` variable defined at the top of `wait-until.sh` (defaults to `Australia/Melbourne`). Clock-time arguments are interpreted in that zone regardless of host TZ. Don't ask the user about timezones unless they mention travelling. Tell the user exactly what will happen and when the timer will fire. Ask them to confirm before starting. ### Step 2: Launch the timer in background Run the wait script using Bash with `run_in_background: true`: ``` ~/.claude/skills/deferred-task-execution/scripts/wait-until.sh <argument> ``` Note the task ID from the response -- you need it for the next step. ### Step 3: Wait for the timer Use the `TaskOutput` tool to block until the timer completes: - Set `block: true` - Set `timeout: 600000` (maximum: 10 minutes / 600000ms) - Use the task ID from Step 2 **If the wait exceeds 10 minutes**: TaskOutput will return before the timer completes because the maximum timeout is 600000ms. Check the output -- if it does not contain "Timer complete", call TaskOutput again with the same task ID and `block: true`. Repeat until the timer finishes. ### Step 4: Execute the deferred task Once TaskOutput returns output containing "Timer complete. Proceed with deferred task.", carry out whatever work the user requested. ## Important Notes - The agent session must remain open for the timer to work. If the user closes the session, the deferred task will not execute. Warn the user about this. - For very long waits (multiple hours), remind the user that the session needs to stay active. - If the user asks to cancel, use `TaskStop` with the background task ID. - Always tell the user the calculated wake time so they know when to expect the action.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.