forge-nightshift

forge-nightshift is a skill for Claude Code from ForgeyClap/claude-forge. It costs 0 tokens per session (1,983 once invoked), scanned A, original, MIT.

An opt-in pattern for running a large software-building work queue across overnight interruptions. It plans work packages, records progress, resumes unfinished work, and creates a morning briefing, but it does not start work by itself.

In plain words
What is it for?
Use it to prepare an overnight run, resume unfinished work in a later session, and review the resulting status in the morning.
Why use it?
It helps a long build continue after session or usage limits without losing track of what was completed or left unfinished.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code.

Good fit Use it to prepare an overnight run, resume unfinished work in a later session, and review the resulting status in the morning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forgeyclap/claude-forge/forge-nightshift
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ForgeyClap/claude-forge --skill forge-nightshift
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forge-nightshift

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-nightshift/github.svg)](https://agentmods.dev/skills/forgeyclap/claude-forge/forge-nightshift)
Your own site
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-nightshift"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-nightshift/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forge-nightshift

Your own site · 80×15
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-nightshift"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-nightshift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01983
Opus 5.5 $0.00000 $0.00793
Sonnet 5.5 $0.00000 $0.00397
Haiku 4.5 $0.00000 $0.00198

Measured 1mo ago against content hash 17824c26f038, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forge-nightshift scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/forge-nightshift/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Forge playbook — Nightshift (overnight self-resuming builder)

Do not duplicate existing tools — defer to: forge-manifest.cjs (ARM/RECONCILE per-WP manifest), forge-swarm-resume.cjs (re-dispatch plan for unfinished WPs), forge-checkpoint.cjs (idempotency for any side-effecting WP), forge-actiongate.cjs (hard-gates — deploy/push/spend/DNS/etc.), usage-guard.cjs (the real, already-built session/usage-limit watchdog + auto-resume signal), and forge-briefing.cjs (piece J5 — the real, tested morning-briefing generator this skill's output depends on). This file is doctrine/orchestration only: it explains how those pieces compose into an overnight run, it does not reimplement any of them.

What Nightshift actually is (and is not)

Nightshift is not a new autonomous scheduler and not a background daemon that decides on its own to start work. It is a documented pattern for composing four already-real, already-tested pieces so a large swarm can survive a session/usage-limit interruption and resume honestly the next time a session runs:

  1. Plan the work queue up front and ARM it (forge-manifest.cjs::arm()) so every work package's exact scope (narrowed_prompt, deps) is persisted BEFORE dispatch — never re-derived from memory later.
  2. Dispatch normally (Agent-tool subagents, per this project's real-agents-only governance). Each WP's real completion/failure is logged as an ordinary event (wp_completed/check_passed or wp_failed/check_failed) — Nightshift adds no new event-logging mechanism of its own.
  3. Survive the interruption. If the session ends (session-limit pause, usage-limit pause, or the owner simply closes the laptop), nothing is lost: the manifest + events.jsonl already on disk are the complete record. The NEXT session that runs calls forge-swarm-resume.cjs::resume({run_id}) to get back exactly the unfinished WPs (with their original scoping) — never a fabricated "pick up where I think I left off".
  4. Report honestly. Before (or instead of) resuming, run forge-briefing.cjs --run <id> to generate the MORNING BRIEFING — a markdown of what ran, what's blocked, and what only the owner can decide (retry/reassign/drop a failure, resume/reprioritize/drop an unfinished WP), derived purely from the run's own logged manifest + events. This is a real, hermetically-tested tool (forge-bin/forge-briefing.cjs + forge-briefing.test.cjs), not a scaffold.

Read the full file on GitHub · 100 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -43 tokens per session 17824c26f038
  2. 3mo ago First seen · 100 lines · 43 tokens per session scan A 5be2aac7d528

Subscribe to this mod's changes

forge-nightshift is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,983 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

forge-nightshift compared with skills from other repositories

forge-nightshift next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-nightshiftForgeyClap/claude-forgeSkill22mo agoMITA0Claude Code
scout-briefingRaven-Scout/ScoutSkill20todayMITA40Claude Code
scout-consolidationRaven-Scout/ScoutSkill20todayMITA36Claude Code
scout-respondRaven-Scout/ScoutSkill20todayMITA24Claude Code
scout-dreamRaven-Scout/ScoutSkill20todayMITA29Claude Code
scout-consolidationRaven-Scout/scout-pluginSkill171mo agoMITA36Claude Code
scout-briefingRaven-Scout/scout-pluginSkill171mo agoMITA40Claude Code