Skip to content

Commit 2076d70

Browse files
committed
Autofix markdown lint + disable unfixable style rules
Ran markdownlint --fix for blank lines around headings/lists. Disabled MD013/033/034/036/040/041/060 (inline HTML, bare URLs, code block language, emphasis-as-heading are intentional in this project).
1 parent a3935f4 commit 2076d70

4 files changed

Lines changed: 97 additions & 3 deletions

File tree

.markdownlint.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"MD013": false,
3-
"MD022": false,
4-
"MD032": false,
53
"MD033": false,
64
"MD034": false,
75
"MD036": false,
86
"MD040": false,
9-
"MD041": false
7+
"MD041": false,
8+
"MD060": false
109
}

LAUNCH.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Launch copy
2+
3+
## Hacker News
4+
5+
**Title:** Show HN: Nonstop, two files that keep Claude Code working while you sleep
6+
7+
**Text:**
8+
9+
I use Claude Code for big tasks overnight maybe twice a week. About 70% of the time I come back to nothing. It stopped in the first few minutes because it had a question. Or hit a permission error on step 2 of 47 and just sat there. All night.
10+
11+
nonstop is my fix. Two files, no dependencies.
12+
13+
Before you walk away, /nonstop makes Claude do a pre-flight. It thinks through the whole task, asks every question it might have, and you approve or deny anything destructive (rm -rf, force pushes, posting PRs, calling paid APIs). All the "would block me at 3am" stuff gets resolved while you're still at the keyboard.
14+
15+
Then a stop hook keeps it from quitting. If it gets stuck: try to solve it, try to work around it, or mark it blocked and move on to the next thing. No spinning.
16+
17+
There are other tools for this (Ralph is a ~2k line bash orchestrator that wraps the CLI, taskmaster uses completion tokens). nonstop is deliberately minimal. Skill file + shell script. Felt like the right tradeoff for something I want to trust overnight.
18+
19+
Repo: https://github.com/andylizf/nonstop
20+
21+
**First comment:**
22+
23+
TL;DR: /nonstop = pre-flight that asks all questions + approves dangerous ops NOW, then a stop hook that blocks premature halting. Two files. Curious if anyone's tried a different approach to the "Claude stops while I sleep" problem.
24+
25+
---
26+
27+
## Reddit (r/ClaudeAI)
28+
29+
**Title:** anyone else wake up to Claude Code having done nothing all night?
30+
31+
**Body:**
32+
33+
Twice a week I set Claude up with a big task before bed. Refactor, migration, whatever. And like 70% of the time I come back and it stopped in the first few minutes. Had a question. Hit one error. Just sat there.
34+
35+
Finally got annoyed enough to build something. It's called nonstop.
36+
37+
/nonstop before you leave. Claude thinks through everything, asks all its questions while you're still there, you say yes or no to anything destructive. Then a stop hook keeps it running. Gets stuck? Figure it out or skip it, don't sit there.
38+
39+
It's two files. A skill file and a shell script. Install:
40+
41+
```
42+
curl -fsSL https://raw.githubusercontent.com/andylizf/nonstop/main/install.sh | bash
43+
```
44+
45+
Or tell Claude to install it:
46+
47+
```
48+
Fetch and follow the instructions at https://raw.githubusercontent.com/andylizf/nonstop/main/INSTALL.md
49+
```
50+
51+
https://github.com/andylizf/nonstop
52+
53+
What do you guys do for overnight tasks? Curious if I'm the only one with this problem or if everyone just accepts it.
54+
55+
---
56+
57+
## Twitter/X
58+
59+
**1/**
60+
I give Claude Code a big task before bed maybe twice a week.
61+
62+
70% of the time I wake up and it stopped in the first few minutes because it had a question.
63+
64+
8 hours. Just sitting there.
65+
66+
**2/**
67+
Made a thing. /nonstop before you leave. Claude asks everything now, you approve anything dangerous, then it actually works overnight.
68+
69+
Gets stuck? Solve it or skip it. Two files total.
70+
71+
github.com/andylizf/nonstop
72+
73+
**3/**
74+
"Why do you write like you're running out of time?"
75+
76+
---
77+
78+
## LinkedIn
79+
80+
I use Claude Code for big tasks overnight. Most of the time I come back to nothing. It stopped in the first few minutes because it had a question, or hit one error and sat idle until morning.
81+
82+
So I built nonstop. You type /nonstop, it thinks through the whole plan, asks everything upfront, you approve anything risky. Then it works. Gets stuck, it figures it out or moves on.
83+
84+
Two files. Took a weekend. Honestly surprised nobody made this already.
85+
86+
github.com/andylizf/nonstop

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Long-running ops (builds, tests) get delegated to background agents. Claude does
113113
### When you're back
114114

115115
`/nonstop off`, or just check the task list:
116+
116117
- **Completed**: done
117118
- **Workaround**: done, but verify the approach
118119
- **Blocked**: needs you

SKILL.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ When the user triggers nonstop mode, complete a **pre-flight sequence** before d
1616
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.
1717

1818
**How to think:**
19+
1920
1. Break the task into concrete steps (what will you actually do, in order?)
2021
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?"
2122
3. Think about the environment: what machines, services, credentials, permissions does this touch?
2223
4. Think about dependencies between steps: if step 3 fails, can step 4 still run?
2324
5. Think about the edges: what if the test fails? what if the build takes 30 minutes? what if a file doesn't exist?
2425

2526
**Surface to the user:**
27+
2628
- Anything that would make you stop and ask — surface it NOW
2729
- Ambiguous requirements where you'd need to make a judgment call — clarify NOW
2830
- Credentials, tokens, permissions you might need — confirm NOW
@@ -86,12 +88,14 @@ Say: "Nonstop mode ON. Go rest — I've got this."
8688
When you encounter something that would normally make you stop and ask the user, follow this decision tree:
8789

8890
### Level 1: Can I solve it myself?
91+
8992
- Missing info → search the codebase, read docs, check git history
9093
- Test failing → read the error, fix it
9194
- Build error → diagnose and fix
9295
- **If yes → solve it and move on. Don't stop.**
9396

9497
### Level 2: Can I work around it?
98+
9599
- Permission denied → check if there's an alternative path (different API, different approach)
96100
- External service down → skip that part, continue with other tasks
97101
- Ambiguous requirement → pick the most reasonable interpretation, document your choice
@@ -100,21 +104,25 @@ When you encounter something that would normally make you stop and ask the user,
100104
- If the result would be materially different → do NOT proceed, mark the task as blocked
101105

102106
### Level 3: Truly blocked
107+
103108
- Update the task status to blocked, noting: what you tried, why it failed, what the user needs to do
104109
- Move on to the next task. Do NOT spin on unsolvable problems.
105110
- **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.
106111

107112
### Subagent Delegation
113+
108114
- For long-running operations (builds, tests, deploys), spawn a background Agent to monitor
109115
- Don't block the main thread waiting for results
110116
- Continue with other work while subagents run
111117

112118
## Deactivation — `/nonstop off`
113119

114120
1. Remove the flag:
121+
115122
```bash
116123
rm -f ~/.claude/hooks/state/nonstop-$SESSION_ID.active ~/.claude/hooks/state/nonstop-$SESSION_ID.count
117124
```
125+
118126
2. Present a summary from the task list:
119127
- Tasks completed
120128
- Tasks where you took workarounds (and why)

0 commit comments

Comments
 (0)