본문으로 건너뛰기
cccskills
무료GitHub에 공개

resume-at

Schedule a future resume of work - e.g. '/gsd:resume-at 09:00', '/gsd:resume-at +2h', or '/gsd:resume-at 04:00 --cmd /gsd:execute-phase 9'

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<objective> Schedule a future Claude Code session that automatically resumes the current GSD project at the requested time. Useful for: coming back after a usage/token cap, kicking off work overnight so HANDOFF restores the morning session, or queuing a future GSD command (e.g. `/gsd:execute-phase 9` at 04:00) for off-peak quota use.

No-token fallback. If you've hit your usage cap and the skill itself won't run (it needs tokens to parse args and call CronCreate), /exit the rate-limited session and invoke the shell wrapper from a plain terminal:

/exit                                 # leave the rate-limited Claude session first
gsd-resume-at 17:41                   # then schedule from your shell — no tokens consumed
# or with explicit duration / project:
gsd-resume-at +3h --project ~/code/myproject
# if `gsd-resume-at` isn't on PATH:
$CLAUDE_PLUGIN_ROOT/bin/gsd-resume-at +3h
# or fully absolute:
~/.claude/plugins/cache/gsd-plugin/gsd/<version>/bin/gsd-resume-at +3h

Pure shell — uses nohup sleep for an OS-level timer, no Claude tokens consumed. macOS only for v1; the script reports if you're on another platform. Does NOT survive a reboot — for durable cross-reboot scheduling, use this skill (/gsd:resume-at) when tokens are available. The plugin's Stop hook surfaces this hint automatically when it detects a rate-limit message in the transcript.

Thin wrapper: the plugin already covers the resume itself (HANDOFF.json + /gsd:resume-work); this skill provides the scheduling on-ramp, and Claude Code's /schedule (or CronCreate primitive) does the durable cron storage. </objective>

<process>
  1. Parse the time argument. The first positional argument is the target time. Accept three forms:

    • HH:MM — today at that local clock time. If the time has already passed today, schedule for tomorrow at the same time.
    • ISO 8601 (e.g. 2026-04-28T08:00, 2026-04-28T08:00:00-04:00) — absolute timestamp. Use as-is.
    • +<duration> — relative offset from now. Accept +30m, +2h, +90m, +1d. Compute absolute target as now + duration.

    If no argument is provided, ask the user via AskUserQuestion: "When should I resume? (e.g. 09:00, +2h, or 2026-04-28T08:00)". If parsing fails, surface the input and the supported forms; do not guess.

  2. Resolve the command to schedule. Default is /gsd:resume-work (the plugin's standard resumption entry point — restores HANDOFF.json + STATE.md and routes to next action). If the user passed --cmd "<command>", use that command instead. Useful overrides:

    • --cmd "/gsd:next" — resume by jumping to the next workflow step (skips the status-print phase of resume-work)
    • --cmd "/gsd:execute-phase 9" — resume directly into a specific phase
    • --cmd "/gsd:quick <task description>" — schedule a quick task for later
  3. Schedule via Claude Code's scheduling primitive. Use the Skill tool to invoke /schedule if the host CLI exposes it; otherwise fall back to CronCreate directly. Pass:

    • prompt: the resolved command (default /gsd:resume-work)
    • time: the absolute timestamp computed in step 1 (ISO 8601, with the local timezone)
    • working directory: the current GSD project root, so the new session opens with HANDOFF.json visible

    When /schedule/CronCreate isn't available in the current Claude Code build, surface that explicitly — don't silently no-op. Tell the user the plugin's resume-at skill needs the host's scheduling support, and link them to /schedule documentation.

  4. Confirm what was scheduled. Print:

    • Absolute time (local + UTC)
    • The exact command that will fire
    • The project directory the future session will open in
    • A reminder that HANDOFF.json is checkpointed every ≤60s during active work, so the resume reflects state from at most ~60s before this scheduling call (or from the most recent /compact if the session is currently idle)
  5. Optional safety nudge. If the user did not pass --cmd and the current session has uncommitted dirty state (a non-empty git status -s), warn that a future /gsd:resume-work will pick up whatever HANDOFF reflects at scheduling time — they may want to /gsd:pause-work explicitly first to capture intent before scheduling.

</process>

<output_format> After scheduling, emit a confirmation block:

✓ Resume scheduled
  When:    2026-04-27 22:00 PDT (2026-04-28 05:00 UTC)
  Command: /gsd:resume-work
  Project: /Users/you/your-project
  HANDOFF: written 47s ago (auto-postool)

If a /clear boundary makes sense (long session, scheduling at the end of an active day), suggest /clear per references/continuation-format.md. Otherwise, just confirm and stop — the user is presumably about to step away. </output_format>

<rules> - This skill **never** advances or deletes HANDOFF.json. The scheduled session does that via `/gsd:resume-work`. - The skill **does not poll, sleep, or block** — it returns immediately after scheduling. - If the user passes `--cmd` with a non-`/gsd:` command (e.g. `/help`), pass it through anyway. Resume-at schedules; it does not gatekeep what runs. - Times in the past (after parsing) are an error — surface the parsed timestamp and ask for a new value. Do not silently round up to "now + 1m". - When scheduling uses CronCreate directly, prefer **one-shot** scheduling (single fire), not recurring. Recurring resume is a separate use case (`/loop` covers that). </rules> <notes> - Wrapper, not reimplementation: `/schedule` and `CronCreate` already handle persistence-across-restarts, timezone math, and authorization. Resume-at only translates GSD-flavored input (`+2h`, default `/gsd:resume-work`) into the form `/schedule` expects. - Default `/gsd:resume-work` (prints status and routes) over `/gsd:next` (jumps straight to action): the safer choice when you might forget where you were. Override via `--cmd`. - Complement skills: `/gsd:resume-work` restores (deletes HANDOFF after), `/gsd:pause-work` captures (writes HANDOFF on demand). resume-at schedules. </notes>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add an idea to the backlog parking lot (999.x numbering)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-phase

무료

Add phase to end of current milestone in roadmap

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-tests

무료

Generate tests for a completed phase based on UAT criteria and implementation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-todo

무료

Capture idea or task as todo from current conversation context

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

Generate AI design contract (AI-SPEC.md) for phases that involve building AI systems — framework selection, implementation guidance from official docs, and evaluation strategy

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

Analyze phase dependencies and suggest Depends on entries for ROADMAP.md

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

buildomator의 스킬 모두 보기

이 스킬의 문제 신고