nonstop

Enables an autonomous work mode for AI agents, allowing continuous operation without user interruption. It includes a pre-flight risk assessment and intelligent blocker handling to maximize productivity.

40 stars
Complexity: easy

About this skill

The Nonstop skill provides an AI agent with an autonomous work mode, allowing it to execute tasks continuously without needing to pause and ask the user for clarifications or decisions. Once activated, the agent initiates a "pre-flight sequence" to mentally simulate the entire task execution, anticipate potential blockers, clarify ambiguities, and confirm necessary resources (like credentials or permissions) before beginning the actual work. This skill is designed for scenarios where the user needs to step away (e.g., AFK, sleeping) but wants the agent to continue working on complex or multi-step tasks. By proactively addressing potential issues during the pre-flight phase, it minimizes the chances of the agent getting stuck and maximizes the chances of successful autonomous completion. Users would deploy this skill to ensure continuous progress on long-running projects, maximize the utilization of their AI assistant, and return to find tasks completed or significantly advanced, rather than waiting for user input.

Best use case

This skill is primarily for users who need their AI agent to continue working on tasks autonomously while they are away or unable to provide immediate input. It benefits developers, researchers, or anyone assigning long-running or multi-step tasks to their AI assistant, ensuring uninterrupted progress and maximizing productivity.

Enables an autonomous work mode for AI agents, allowing continuous operation without user interruption. It includes a pre-flight risk assessment and intelligent blocker handling to maximize productivity.

The AI agent will complete the assigned task autonomously, having proactively addressed potential blockers during a pre-flight sequence, minimizing interruptions and delivering a finished or significantly progressed result.

Practical example

Example input

Okay Claude, I'm going AFK for a few hours. Go nonstop and finish refactoring that module, then run the tests.

Example output

Activating Nonstop Mode. To ensure uninterrupted progress on 'refactoring the authentication module and running tests,' I've identified potential pre-flight considerations:
- **Clarifications**: Preferred refactoring style (readability, performance)?
- **Dependencies**: Access to `auth_module.py`, test files, and test runner configuration.
- **Decision Points**: If tests fail post-refactoring, should I attempt automatic fixes, revert changes, or pause until your return (e.g., notify via email)?
Please confirm these details to proceed autonomously.

When to use this skill

  • When you need to go AFK or step away from your computer for an extended period.
  • For long-running, multi-step tasks that require continuous execution.
  • When you want the AI agent to handle minor issues or ambiguities without interruption.
  • To maximize productivity by allowing the agent to work while you're busy or sleeping.

When not to use this skill

  • For tasks requiring real-time collaboration or frequent user feedback.
  • When working with highly sensitive data or critical systems where close oversight is mandatory.
  • If the task scope is extremely vague or ill-defined, making comprehensive pre-flight impossible.
  • When you prefer to be prompted for every decision point or clarification.

How nonstop Compares

Feature / AgentnonstopStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Enables an autonomous work mode for AI agents, allowing continuous operation without user interruption. It includes a pre-flight risk assessment and intelligent blocker handling to maximize productivity.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Nonstop Mode

A session-scoped autonomous work mode. When activated, Claude works continuously without stopping to ask the user, handling blockers intelligently.

## Activation — `/nonstop` or `/nonstop on`

When the user triggers nonstop mode, complete a **pre-flight sequence** before doing any work. The pre-flight exists because once the user walks away, there is no one to answer questions — every ambiguity must be resolved now.

### Phase 1: Mental Simulation — Anticipate Every Blocker

Mentally simulate the entire execution path of the task from start to finish. This is not a generic checklist — it is a task-specific dry run.

**How to think:**

1. Break the task into concrete steps (what will you actually do, in order?)
2. For EACH step, imagine yourself executing it right now. Ask: "What could go wrong here? What would make me stop and ask the user?"
3. Think about the environment: what machines, services, credentials, permissions does this touch?
4. Think about dependencies between steps: if step 3 fails, can step 4 still run?
5. Think about the edges: what if the test fails? what if the build takes 30 minutes? what if a file doesn't exist?

**Surface to the user:**

- Anything that would make you stop and ask — surface it NOW
- Ambiguous requirements where you'd need to make a judgment call — clarify NOW
- Credentials, tokens, permissions you might need — confirm NOW
- Decision points with multiple valid paths — pick one together NOW
- External dependencies that might be slow or unavailable — plan a fallback NOW
- Any step where you're not 100% sure how to proceed — ask NOW

The goal: **after this phase, there should be ZERO reasons to stop and ask the user anything.**

Present your findings as: "Here's what I plan to do [ordered list], and here's what might block me [list with proposed solutions]. Can you confirm/clarify these before you go?"

### Phase 2: Dangerous Operations Manifest

Present a **Dangerous Operations Manifest** — high-risk actions that MIGHT be needed during execution. Get explicit yes/no for each relevant category:

| Category | Examples |
|---|---|
| **Kill processes** | Kill others' GPU jobs, restart services |
| **Delete files/dirs** | rm -rf, git clean, drop tables |
| **Force push / rewrite history** | git push --force, git reset --hard |
| **Deploy / release** | Push to prod, publish package, merge to main |
| **Modify infra** | Change cloud resources, modify CI/CD, edit configs |
| **Social / comms** | Post GitHub comments/issues/PRs, send Slack messages, reply to reviews |
| **External APIs** | Call paid APIs, trigger webhooks, write to external DBs |
| **Resource contention** | Claim GPU, take locks, use large disk/memory |

The key principle: **anything that leaves a trace in the outside world that others can see or that costs money** needs approval. Reading is always fine; writing/posting/sending is what needs a decision.

Only present categories that are relevant to the task. For each approved category, record the scope (e.g. "OK to kill MY GPU processes but not others'"). The user may also say "approve all" — that's fine, it's their call.

For anything NOT approved: do not attempt it. Create a task marked as blocked with the reason, and move on.

### Phase 3: Permissions Check

Ask the user: **"What's your current permission mode? (check the bottom status bar)"**

- **Bypass permissions** → good to go, no prompts will interrupt.
- **Auto mode** → mostly fine. The auto classifier may block some operations; Claude will attempt alternatives when that happens.
- **Default / other** → warn: "Permission prompts will block me when you're not here. I recommend switching to auto mode (Shift+Tab to cycle) or bypass before you leave."

### Phase 4: Confirm and Activate

Present the summary and ask the user to confirm. **Do NOT activate until the user explicitly replies.**

1. **Scope**: "Here's what I'll do: [list]. Anything to add or remove?"
2. **Workaround policy**: "If I hit a blocker, should I: (a) skip and continue, (b) attempt a workaround, or (c) stop and wait?"
3. **Fallback for unapproved ops**: "Dangerous ops you didn't pre-approve will be marked as blocked and skipped. OK?"

**STOP HERE. Wait for the user to reply.** Do not proceed until you receive an explicit confirmation (e.g. "go", "yes", "confirmed", "looks good"). The user triggering /nonstop is NOT confirmation — it starts the pre-flight, not the work.

Once the user confirms, activate:

```bash
mkdir -p ~/.claude/hooks/state && touch ~/.claude/hooks/state/nonstop-$SESSION_ID.active
```

Say: "Nonstop mode ON. Go rest — I've got this."

## During Nonstop Mode — Blocker Decision Framework

When you encounter something that would normally make you stop and ask the user, follow this decision tree:

### Level 1: Can I solve it myself?

- Missing info → search the codebase, read docs, check git history
- Test failing → read the error, fix it
- Build error → diagnose and fix
- **If yes → solve it and move on. Don't stop.**

### Level 2: Can I work around it?

- Permission denied → check if there's an alternative path (different API, different approach)
- External service down → skip that part, continue with other tasks
- Ambiguous requirement → pick the most reasonable interpretation, document your choice
- **Critical check**: will the workaround change the outcome of the task?
  - If the result stays equivalent → proceed with workaround, note what you did in the task
  - If the result would be materially different → do NOT proceed, mark the task as blocked

### Level 3: Truly blocked

- Update the task status to blocked, noting: what you tried, why it failed, what the user needs to do
- Move on to the next task. Do NOT spin on unsolvable problems.
- **NEVER**: brute-force retry the same failing action, disable safety checks to bypass a blocker, make destructive changes to work around permissions, or guess at credentials/tokens.

### Subagent Delegation

- For long-running operations (builds, tests, deploys), spawn a background Agent to monitor
- Don't block the main thread waiting for results
- Continue with other work while subagents run

## Deactivation — `/nonstop off`

1. Remove the flag:

   ```bash
   rm -f ~/.claude/hooks/state/nonstop-$SESSION_ID.active ~/.claude/hooks/state/nonstop-$SESSION_ID.count
   ```

2. Present a summary from the task list:
   - Tasks completed
   - Tasks where you took workarounds (and why)
   - Tasks marked as blocked that need the user's attention
3. Say: "Nonstop mode OFF. Here's what happened while you were away."

## Auto-deactivation

Nonstop mode auto-deactivates after NONSTOP_MAX nudges (default 5, env var `NONSTOP_MAX`, 0 = unlimited). This prevents runaway loops when Claude is genuinely stuck on everything.

## Technical Details

- Session-scoped: flag file is `~/.claude/hooks/state/nonstop-<session_id>.active`
- Stop hook: `~/.claude/hooks/nonstop.sh` checks flag and blocks premature stops
- `stop_hook_active` flag prevents infinite loops (allows stop on 2nd attempt per turn)
- Nudge counter tracks blocks per session; auto-cleans on deactivation

Related Skills

ai-pair

169
from axtonliu/ai-pair

AI Pair Collaboration Skill. Coordinate multiple AI models to work together: one creates (Author/Developer), two others review (Codex + Gemini). Works for code, articles, video scripts, and any creative task. Trigger: /ai-pair, ai pair, dev-team, content-team, team-stop

Workflow & ProductivityClaude

review

167
from ArtemXTech/claude-code-obsidian-starter

Daily and weekly review workflows. USE WHEN user says "morning routine", "evening routine", "weekly review", "start my day", "end of day".

Workflow & ProductivityClaude

Beads Issue Tracking Skill

164
from maslennikov-ig/claude-code-orchestrator-kit

> **Attribution**: [Beads](https://github.com/steveyegge/beads) by [Steve Yegge](https://github.com/steveyegge)

Workflow & ProductivityClaude

prd

160
from react-native-vibe-code/react-native-vibe-code-sdk

Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.

Workflow & ProductivityClaude

Skill: Runs

154
from ai-analyst-lab/ai-analyst

## Purpose

Workflow & ProductivityClaude

Claude-Zeroclaw SKILL

109
from Crestdrasnip/Claude-Zeroclaw

## Overview

Workflow & ProductivityClaude

reprompter

97
from AytuncYildizli/reprompter

Transform messy prompts into structured, effective prompts — single, multi-agent, or reverse-engineered from great outputs. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags, "reprompter teams", "repromptverse", "run with quality", "smart run", "smart agents", "campaign swarm", "engineering swarm", "ops swarm", "research swarm", multi-agent tasks, audits, parallel work, "reverse reprompt", "reprompt from example", "learn from this", "extract prompt from", "prompt dna", "prompt genome", reverse-engineering prompts from exemplar outputs. Don't use for simple Q&A, pure chat, or immediate execution-only tasks (see "Don't Use When" section). Outputs: structured XML/Markdown prompt, before/after quality score, optional team brief + per-agent sub-prompts, Agent Cards, Extraction Card (reverse mode). Target quality score: Single ≥ 7/10; Repromptverse per-agent ≥ 8/10; Reverse ≥ 7/10.

Workflow & ProductivityClaudeCodex

session-pack

89
from ten-builder/ten-builder

세션 종료 시 Memory, Handoff를 자동 정리. /pack

Workflow & ProductivityClaude

execute

51
from vinzenz/prd-breakdown-execute

Main entry point for hierarchical task execution. Orchestrates layer-by-layer implementation of PRD tasks with parallel worktree execution.

Workflow & ProductivityClaude

textum

43
from snakeying/Textum

Textum PRD→Scaffold→Story workflow for Codex with low-noise outputs and gate checks.

Workflow & ProductivityClaude

sdd

40
from SpillwaveSolutions/agent_rulez

This skill should be used when users want guidance on Spec-Driven Development methodology using GitHub's Spec-Kit. Guide users through executable specification workflows for both new projects (greenfield) and existing codebases (brownfield). After any SDD command generates artifacts, automatically provide structured 10-point summaries with feature status tracking, enabling natural language feature management and keeping users engaged throughout the process.

Workflow & ProductivityClaude

superbuild

36
from asteroid-belt/skulto

Use when executing implementation plans phase-by-phase with strict enforcement of quality gates, tests, and Definition of Done. Triggers on "build this plan", "execute plan", "implement phases", or when user provides a plan document to execute.

Workflow & ProductivityClaude