Skip to content
Skill

Night shift

Runs an overnight autonomous work session on a separate branch while you are away

Night shift is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Night shift

Night Shift lets an AI coding agent keep building a project while the owner is offline, working only inside the scope and rules the owner has already written down. The agent acts as an orchestrator: it picks stories from the project plan, hands each one to a builder agent, and has a separate verifier check the result before anything is counted as done. Every judgment question is routed to an owner-proxy agent that returns a ruling such as decide, assume, branch, park or stop, so the session never waits for a reply. All work is kept on a dedicated night branch, leaving the main branch untouched until the owner merges it.

The skill sets limits before it starts: a fixed story budget or an absence window with a per-cycle cap, a preflight check that refuses to run on an unset-up project, and a stop after repeated verification failures. It also covers approval settings for the chosen tool so a long run does not stall on permission prompts, and it can prepare but not apply irreversible changes. It ends with a morning briefing that lists what was built, what was verified, what awaits the owner's manual check, and what was decided on their behalf.

The skill is a single SKILL.md file with no bundled scripts. It depends on the surrounding project structure it expects, including a project status document, a decisions log and a delegation rules file, and it is meant to be used inside a repository set up with the BuildWithAI template.

When your agent uses it

Autonomous work session for outside business hours — runs as an orchestrator on a dedicated night branch, delegating stories to tiered builders while the owner-proxy answers every judgment question (deciding, assuming, or implementing on provisional feature branches — never waking the owner). Supports multi-day absence windows. Ends with a morning briefing; ratification happens by merge. User-invoked only; never triggers automatically.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (21 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the buildwithai-team plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add drbojlergyula/BuildWithAI
/plugin install buildwithai-team@buildwithai

Or copy only this skill to ~/.claude/skills/night-shift:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/night-shift &&
cp -R "$tmp/.claude/skills/night-shift" ~/.claude/skills/night-shift &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/night-shift inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/night-shift to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/night-shift &&
cp -R "$tmp/.claude/skills/night-shift" ~/.agents/skills/night-shift &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/night-shift inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/night-shift to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/night-shift &&
cp -R "$tmp/.claude/skills/night-shift" ~/.cursor/skills/night-shift &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/night-shift inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/drbojlergyula/BuildWithAI.git --path .claude/skills/night-shift

Or copy the folder to ~/.gemini/skills/night-shift yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/night-shift:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/night-shift &&
cp -R "$tmp/.claude/skills/night-shift" ~/.copilot/skills/night-shift &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/night-shift inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git

Then copy BuildWithAI/.claude/skills/night-shift into your agent's skills folder as night-shift. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Orchestrated overnight build loop
Selects planned stories, delegates them to builder agents and checks each result with a verifier.
Owner-proxy judgment rulings
Routes every open question to a proxy that returns decide, assume, branch, park or stop verdicts.
Night branch isolation
Keeps all overnight commits on a dedicated branch so the main branch changes only on owner merge.
Budgeted and windowed scope
Limits each session by story count or an absence window with a per-cycle cap.
Preflight and scorecard gates
Refuses to start on an unready project and sizes future nights from past acceptance rates.
Morning briefing for review
Produces a plain-language report of built work, decisions taken and items needing the owner's call.

Good for

  • Work through the next few planned stories while I am away for the night
  • Keep building during a multi-day absence with a cap of stories per night
  • Review what the overnight session built and decide what to merge
  • Prepare but hold irreversible changes until I confirm them in the morning

Night shift FAQ

Does Night shift run automatically?

No. It is user-invoked only and never starts a night session on its own initiative.

Where do the overnight changes go?

All commits stay on a separate night branch, and the main branch is only changed when the owner merges it.

What does the session need before Night shift starts?

A set-up project with a plan and a scorecard section; if the project is an untouched template, it stops and suggests running the start command instead.

Does Night shift deploy or spend money?

No. The skill states that nothing is deployed, deleted, purchased or sent to external services.

How do I install Night shift in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/night-shift to use it in all your projects, or to .claude/skills/night-shift in one project. Or install the buildwithai-team plugin, which includes it: /plugin marketplace add drbojlergyula/BuildWithAI, then /plugin install buildwithai-team@buildwithai.

Does Night shift run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Night shift?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Night shift?

The closest alternatives to Night shift are Autopilot, Nightly docs and changelog, Spec driven dev v2, Spec driven develop and Doubt driven development.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from drbojlergyula/BuildWithAI

  1. Turns a single-project repo into a multi-project portfolio and scaffolds new projects

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Brings an existing codebase into a docs-based project memory by reverse-engineering it

    • Open source
    • 7 GitHub stars
    • Documentation review
  3. Builds the next planned feature from a project status doc, then verifies and records it

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Audits project docs for stale status, contradictions and leftover placeholder text

    • Open source
    • 7 GitHub stars
    • Documentation review
  5. Guides the agent through reproducing, diagnosing, fixing and verifying a bug

    • Open source
    • 7 GitHub stars
    • Developer tools
  6. Rewinds a git project to an earlier save point, keeping a rescue copy first

    • Open source
    • 7 GitHub stars
    • Developer tools