amxv

Session Start Action — Productivity skill for Claude Code

Productivity community

Start Claude Code and Codex 5-hr sessions on a schedule.

How to install Session Start Action

This entry records only its repository, not the path inside it, so there is no exact command to give. Open amxv/session-start-action and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Session Start Action does

Start Claude Code and Codex 5-hr sessions on a schedule.

Alternatives in Productivity

  • Trio — Force a trio review of the task that follows — pm, designer, and engineer weigh in in parallel before any acti 324 ★
  • Session Log — Log and track development sessions 289 ★
  • Q Handoff — Generate a session handoff note for continuity across Claude Code sessions 50 ★

README

session-start-action

GitHub Actions workflows for starting Claude Code or Codex sessions on a schedule with a tiny `hi` prompt.

What this repo does

  • Claude Session Start sends a short prompt through Claude Code using your Claude OAuth token.
  • Codex Session Start sends the same kind of prompt through Codex using a base64-encoded auth.json secret.
  • Both workflows can also be run manually from the GitHub Actions tab.
  • Both workflows run every 5 hours by default. GitHub cron schedules use UTC.
  • Each workflow is gated by a GitHub repository variable:
    • CLAUDE_SESSION_START_ENABLED
    • CODEX_SESSION_START_ENABLED

Enable or disable

Set the matching repo variable to `true` to enable a workflow. Delete the variable to disable it.

gh variable set CLAUDE_SESSION_START_ENABLED --body true
gh variable set CODEX_SESSION_START_ENABLED --body true
gh variable delete CLAUDE_SESSION_START_ENABLED
gh variable delete CODEX_SESSION_START_ENABLED

Why this is useful

Claude Code and Codex sessions are easiest to use when the clock starts before you do.

For example, if your scheduled start times are `10:00 a.m.`, `3:00 p.m.`, and `8:00 p.m.`, then a session that begins at `10:00 a.m.` is already counting down by the time you start coding at `12:00 p.m.`. If you hit the session limit before `3:00 p.m.`, the `3:00 p.m.` start gives you a fresh window right away. Without this repo, you would not reset until `5:00 p.m.` instead.

That is the point: you can move the session window earlier in the day so the reset happens when you need it, not only when you happen to sit down at the keyboard.

Secrets you need

Claude

From the repo root, run:

claude setup-token

Copy the token that `claude setup-token` prints, then run:

gh secret set CLAUDE_CODE_OAUTH_TOKEN

Paste the token when `gh` prompts you. That stores it in the current repository.

Codex

From the repo root, run:

gh secret set CODEX_CONFIG_B64 --