Skip to main content
skill CX Codex

install-nightshift — Claude Code skill: what it does and how to install

The install-nightshift Claude Code skill installs the Nightshift plugin with its hooks and runtime. It checks Claude Code, Codex, and Cursor before guiding the setup.

MIT ★ 571 updated 2026-11-16

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add orwa-mahmoud/nightshift --skill install-nightshift -a claude-code
Open on GitHub

What install-nightshift does

The skill checks which of the three hosts are installed and looks for Nightshift on each one. It can install the plugin on the active host or update an older version. Claude Code and Codex use marketplace commands; Cursor opens its plugin window to import the repository.

It asks before installing on any other detected host. The skill also checks for duplicate copies: both copies run their hooks, and Start refuses to begin the shift. After installation, Claude Code and Cursor need Setup; Codex needs the hooks trusted through /hooks and a new conversation.

What it helps with

  • install Nightshift from its marketplace in Claude Code
  • check which hosts already have the plugin
  • update an older Nightshift version
  • find duplicate plugin copies across hosts
  • run Setup after installing Nightshift

Example prompts for the agent

  • Install Nightshift in Claude Code and check whether it is already present.
  • Check Nightshift in Codex and Cursor, then install it on the active host.
  • Update my old Nightshift version and tell me what to do after installation.

How to install install-nightshift

1Skills CLI (Vercel)

npx skills add orwa-mahmoud/nightshift --skill install-nightshift -a claude-code

2Manually: put the files in place

~/.claude/skills/install-nightshift/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/install-nightshift/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about install-nightshift

How do I install install-nightshift in Claude Code?

Run npx skills add orwa-mahmoud/nightshift --skill install-nightshift -a claude-code. The skill file is at ~/.claude/skills/install-nightshift/SKILL.md.

What does install-nightshift do?

It checks Claude Code, Codex, and Cursor for Nightshift, installs or updates the plugin, and gives the next steps for starting it.

What happens if Nightshift has two installed copies?

Both copies run their hooks, and Start refuses to begin the shift. The skill detects duplicates and keeps the nightshift@nightshift copy.

Source text

SKILL.md · MIT
---
name: install-nightshift
description: Install the full Nightshift plugin, with its hooks and runtime, into Claude Code, Codex or Cursor.
---

# Install Nightshift

Nightshift is a plugin, not a standalone skill. Its skills call a bundled runtime and depend on
hooks: the clock-out gate, the guard and the usage accounting. A copied skill folder carries none
of that, so this skill installs the real plugin from its marketplace,
`https://github.com/orwa-mahmoud/nightshift`, on each host the user wants it on.

## 1. Read what is installed

Check each host that exists on this machine. A host whose CLI is not on `PATH` and whose folder is
absent is not installed. Skip it.

| Host | Present when | Nightshift installed when |
| --- | --- | --- |
| Claude Code | `claude` runs | `claude plugin list` shows `nightshift@nightshift` |
| Codex | `codex` runs | `codex plugin list` shows a `nightshift@…` entry `installed` |
| Cursor | `~/.cursor` exists | `~/.cursor/plugins/cache/` holds a folder with `nightshift` in its name |

On Windows, `~` is `%USERPROFILE%`. Report each host on one line: absent, present without
Nightshift, or present with Nightshift and its version.

**One copy per host.** Codex can hold two Nightshift copies, for example a directory install and
the marketplace one. Two enabled copies both run their hooks, and Start refuses the shift. When a
host shows two, name both with their versions, keep the `nightshift@nightshift` copy, and give the
user the command to remove the other, such as `codex plugin remove nightshift@<other-marketplace>`.
Never add a copy beside an existing one.

## 2. Install on this host first

Install on the host you are running in, unless it already has Nightshift. For an older version,
update it instead.

- **Claude Code**

  ```bash
  claude plugin marketplace add orwa-mahmoud/nightshift
  claude plugin install nightshift@nightshift
  ```

  Update: `claude plugin marketplace update nightshift`, then
  `claude plugin update nightshift@nightshift`.

- **Codex**

  ```bash
  codex plugin marketplace add orwa-mahmoud/nightshift
  codex plugin add nightshift@nightshift
  ```

  Update: `codex plugin marketplace upgrade nightshift`.

- **Cursor** installs plugins in its own window. Give the user these steps: open
  **Customize → Add → From GitHub Repository**, paste `https://github.com/orwa-mahmoud/nightshift`,
  choose a scope, select **Import**, then select Nightshift from the imported marketplace.

A marketplace that is already added makes `marketplace add` report it. That is not a failure;
continue with the install.

## 3. Offer the other hosts

For each other host that is present without Nightshift, ask once whether to set it up as well,
and install only on a yes. Never install on a host the user did not agree to.

## 4. Say what each host still needs

Finish with one line per host you touched:

- **Claude Code:** restart Claude Code to load the plugin.
- **Codex:** review and trust the plugin's hooks with `/hooks`, then start a new conversation.
- **Cursor:** start a new agent chat once Nightshift shows as installed.

Then name the first step: open the project Nightshift should work on, and run Setup
(`/nightshift:setup` on Claude Code and Cursor, `$nightshift:setup` on Codex).

If a command fails, show its output and stop on that host. Do not retry with other flags.

© orwa-mahmoud · MIT · orwa-mahmoud/nightshift

Similar skills

SKILL.md skills catalog →

From the same set17

The whole set →
plan This Claude Code skill opens a planning room to explore a project and shape the work with its owner. Implementation waits until the owner deliberately leaves the room. CX Codex +1 ★ 571repo stars plan-exit The plan-exit Claude Code skill checks whether plan mode is closed and names the next step toward implementation. It reads the room status and staged items. CX Codex +1 ★ 571repo stars nightshift The nightshift Claude Code skill works through a project punch list during an autonomous shift. Start it with a request to work on the project, with or without a time budget. CX Codex +1 ★ 571repo stars import-issues The import-issues Claude Code skill stages selected GitHub issues as project drafts. It previews each issue before asking which ones to add. CX Codex +1 ★ 571repo stars hunt The hunt Claude Code skill builds a Nightshift work shift from a project request. Give it a task and a number of hours, and it starts without asking for catalog choices. CX Codex +1 ★ 571repo stars doctor The doctor Claude Code skill diagnoses a Nightshift project and reports detected issues. Run it to inspect the workspace, shift state, markers, and deadlines. CX Codex +1 ★ 571repo stars customize The customize Claude Code skill displays Nightshift settings, templates, and catalog entries on one screen. It changes only the values the project owner names. CX Codex +1 ★ 571repo stars archive Files completed Nightshift records into structured archive folders. Active project directories keep only open tasks and unresolved records. CX Codex +1 ★ 571repo stars

Project sponsors

Companies that keep this analytics open