What problem does it solve? Setting up a project for long unattended AI coding runs requires consistent state files, quality gates, permissions, and rules; doing this by hand is error-prone and easy to get wrong. This Skill scaffolds the entire .nightshift/ workspace and walks the owner through every configuration choice without imposing defaults. ## Core Features & Use Cases - Workspace scaffolding: Creates the .nightshift/ state files idempotently, detects repository vs artifact work mode, and never clobbers an existing shift. - Quality gate configuration: Detects the project stack, proposes verification gates, and lets the owner accept, edit, or decline them. - Permissions and rules setup: Configures frictionless permissions for unattended runs, copies the rules.json template, and optionally creates a local receipts repo or Cursor CLI hooks. - Use Case: A developer wants Claude Code or Codex to work through a punch list overnight; they run setup once to scaffold state, approve gates, and enable permissions so the shift never stalls on a prompt. ## Quick Start Ask the agent to set up Nightshift in this project and follow its prompts to confirm the work mode, gates, and permissions.