# Claude Code Window Primer

> Optimize Claude Code Pro/Max usage by starting the 5-hour rolling window early morning, giving you more resets during waking hours.

- **Type:** Skill
- **Install:** `agentstack add skill-zocomputer-skills-claude-code-window-primer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zocomputer](https://agentstack.voostack.com/s/zocomputer)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [zocomputer](https://github.com/zocomputer)
- **Source:** https://github.com/zocomputer/skills/tree/main/Community/claude-code-window-primer

## Install

```sh
agentstack add skill-zocomputer-skills-claude-code-window-primer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Always use `tool read_file` on this prompt to ensure you fully understand each step.

# Help User Set Up Claude Code Window Priming

## What This Does

Claude Code Pro/Max plans have a 5-hour rolling usage window. This skill sets up an automated early-morning ping to start that window while you sleep, so resets happen during your productive hours instead of mid-evening.

**Example with 6:30am primer:**
- 6:30am: Window starts (you're asleep)
- 11:30am: First reset (mid-morning)
- 4:30pm: Second reset (afternoon)
- 9:30pm: Third reset (evening if needed)

Without priming, your first real usage at 9am means resets at 2pm and 7pm — less aligned with typical work patterns.

## Step 1: Clarify the Details

Ask the user:

- **Wake time**: When do they typically start working? (Default: 9am)
- **Primer time**: Suggest 2.5-3 hours before their wake time for optimal alignment
- **Timezone**: Confirm their timezone for scheduling

## Step 2: Set Up the Automation

Create a scheduled agent that makes a trivial Opus call:

```
Use tool create_agent with:
- rrule: FREQ=DAILY;BYHOUR=6;BYMINUTE=30 (adjust for their timezone)
- instruction: "Make a single trivial call to Claude Opus: ask it to return either 0 or 1 at random. This starts the 5-hour rolling window. No response needed."
- delivery_method: silent (or "none")
```

## Step 3: Confirm Setup

Tell them:

> Your Claude Code window primer is set for [TIME]. You can test, edit, or delete this automation in the **Agents** tab.
>
> **How it helps:** Your 5-hour windows will now reset at [RESET_TIME_1] and [RESET_TIME_2] — better aligned with your work hours.

## Key Tips

- **Weekly limits unchanged**: This only optimizes *when* resets happen, not total weekly usage
- **Minimal cost**: Each primer is ~10 tokens — negligible against your usage
- **Adjust as needed**: If your schedule changes, edit the agent timing

## Technical Note

The primer works because Claude Code's rate limit is based on a rolling 5-hour window from your *first* usage. By making that first usage happen early, subsequent resets align better with active work hours.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zocomputer](https://github.com/zocomputer)
- **Source:** [zocomputer/skills](https://github.com/zocomputer/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zocomputer-skills-claude-code-window-primer
- Seller: https://agentstack.voostack.com/s/zocomputer
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
