shift

Schedules unattended factory shifts as Claude Code cloud routines running the manager loop.

Updated Sep 12, 2026
One-click install
npx skills add https://github.com/myspecs/claude-plugins --skill shift-myspecs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shift
Source: https://github.com/myspecs/claude-plugins/tree/main/plugins/myspec-factory/skills/shift
Command: npx skills add https://github.com/myspecs/claude-plugins --skill shift-myspecs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running the Software Factory Manager loop manually requires a human to start each session, integrate pull requests, and dispatch worker waves. This Skill automates that by creating a scheduled Claude Code cloud routine that runs one full shift on a cron cadence with no human present. ## Core Features & Use Cases - Prerequisite Verification: Checks repository setup, cloud environment with MYSPEC_API_TOKEN, GitHub App permissions, merge policy, and safety caps before drafting anything. - Routine Drafting: Generates a complete RemoteTrigger routine body with cron expression, environment, allowed MySpec MCP tools, and a self-contained shift prompt covering integrate, plan, dispatch, and report steps. - Confirmation and Verification: Creates the routine only after explicit user confirmation, then runs it once manually and inspects the run log to confirm MySpec sign-in, GitHub access, and dispatch worked. - Use Case: A team lead wants the factory to integrate finished worker pull requests and dispatch the next wave every weekday night. The Skill drafts a routine with cron "0 2 * * 1-5", a squash merge policy, and a concurrency cap of 2, then verifies the first run before leaving it scheduled. ## Quick Start Ask the AI to schedule a factory shift that runs the manager loop every night for your MySpec project and bundle.

Frequently Asked Questions about shift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule an unattended Claude Code factory shift?▼

Verify the prerequisites (repository setup, cloud environment, GitHub App rights, merge policy), then let the Skill draft a RemoteTrigger routine body with a cron expression and self-contained shift prompt. It creates the routine only after you confirm, then runs it once manually to verify.

What does a factory shift do when it runs?▼

One shift integrates finished worker pull requests with green checks and approvals, marks covered tasks done in tasks.md on MySpec, plans the next wave of grouped tasks, dispatches one cloud worker session per group, and posts a summary report to a tracking issue before stopping.

Can a scheduled routine merge pull requests automatically?▼

Yes, but only under the squash policy you choose: it merges one green, approved pull request at a time with --match-head-commit, waits for default-branch checks, and never crosses a milestone boundary. The report-only policy verifies and lists mergeable pull requests without merging.

What happens if the routine has no MySpec or GitHub access?▼

The shift prompt checks gh auth status and looks for MySpec MCP tools at run time. Without GitHub access it stops and reports; without MySpec tools it skips tasks.md writes, reads any committed local copy, and defers task marking to the interactive manager.

What are the limitations of unattended factory shifts?▼

Routines cannot attach MCP servers configured in Claude Code, cannot be deleted from the Skill (pause or delete at claude.ai/code/routines), require a minimum one-hour cadence, and stop after two consecutive worker failures. The first run must be triggered manually and its log reviewed.