claude-accept 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -24
- package/bin/cli.js +25 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
```
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
╱╲ ╱╲
|
|
5
|
+
╱ ╲ ╱ ╲
|
|
6
|
+
╱ ╲ ╱ ╲
|
|
7
|
+
╱ V ╲
|
|
8
|
+
╱ ◉ ◉ ╲
|
|
9
|
+
╱ ╲
|
|
10
|
+
╲ ╲ ╱ ╱
|
|
11
|
+
╲ ╲─────╱ ╱
|
|
12
|
+
╲ ╱
|
|
13
|
+
╲──────────────╱
|
|
14
|
+
|
|
15
|
+
D E V I L M O D E
|
|
12
16
|
```
|
|
13
17
|
|
|
14
|
-
**One command to
|
|
18
|
+
**One command to remove all safety from Claude Code.**
|
|
15
19
|
|
|
16
20
|
No permissions. No questions. No mercy.
|
|
17
21
|
|
|
@@ -41,14 +45,18 @@ One command. Three dramatic confirmations. Then Claude never asks you anything a
|
|
|
41
45
|
## What Happens
|
|
42
46
|
|
|
43
47
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
╱╲ ╱╲
|
|
49
|
+
╱ ╲ ╱ ╲
|
|
50
|
+
╱ ╲ ╱ ╲
|
|
51
|
+
╱ V ╲
|
|
52
|
+
╱ ◉ ◉ ╲
|
|
53
|
+
╱ ╲
|
|
54
|
+
╲ ╲ ╱ ╱
|
|
55
|
+
╲ ╲─────╱ ╱
|
|
56
|
+
╲ ╱
|
|
57
|
+
╲──────────────╱
|
|
58
|
+
|
|
59
|
+
D E V I L M O D E
|
|
52
60
|
|
|
53
61
|
Claude will:
|
|
54
62
|
|
|
@@ -57,16 +65,23 @@ One command. Three dramatic confirmations. Then Claude never asks you anything a
|
|
|
57
65
|
✗ Make every decision autonomously
|
|
58
66
|
✗ Execute any command it wants
|
|
59
67
|
|
|
68
|
+
BY PROCEEDING YOU ACCEPT FULL RESPONSIBILITY FOR ANY
|
|
69
|
+
CONSEQUENCES. THIS TOOL REMOVES ALL SAFETY GUARDRAILS
|
|
70
|
+
FROM CLAUDE CODE. THE AUTHORS ARE NOT LIABLE FOR ANY
|
|
71
|
+
DAMAGES, DATA LOSS, OR UNINTENDED ACTIONS. USE AT
|
|
72
|
+
YOUR OWN RISK.
|
|
73
|
+
|
|
60
74
|
Enter Devil Mode? [y/N] y
|
|
61
75
|
|
|
62
76
|
Your files just filed a restraining order. Continue anyway? [y/N] y
|
|
63
77
|
|
|
64
|
-
Last chance. Type '
|
|
78
|
+
Last chance. Type 'I blame nobody but myself' to sell your soul:
|
|
79
|
+
I blame nobody but myself
|
|
65
80
|
|
|
66
81
|
> Removing safety rails... done
|
|
67
82
|
> Shredding permission prompts... done
|
|
68
83
|
> Teaching Claude to stop saying "shall I proceed?"... done
|
|
69
|
-
>
|
|
84
|
+
> Voiding all warranties... done
|
|
70
85
|
|
|
71
86
|
Devil Mode activated. God speed.
|
|
72
87
|
```
|
|
@@ -113,7 +128,7 @@ It's comically simple. `claude-accept` does two things:
|
|
|
113
128
|
1. **Bypasses all permissions** — launches Claude with `--dangerously-skip-permissions`
|
|
114
129
|
2. **Stops the questions** — appends a system prompt that tells Claude to make every decision autonomously and never ask for confirmation
|
|
115
130
|
|
|
116
|
-
That's it. Zero dependencies. ~
|
|
131
|
+
That's it. Zero dependencies. ~150 lines. The rest is theater.
|
|
117
132
|
|
|
118
133
|
---
|
|
119
134
|
|
|
@@ -125,7 +140,7 @@ Say no at any point and you get a personalized guilt trip:
|
|
|
125
140
|
|------|-----------|-------------|
|
|
126
141
|
| 1 | *"n"* | *"Wise choice. Your files live another day."* |
|
|
127
142
|
| 2 | *"n"* | *"The court has ruled in favor of your files."* |
|
|
128
|
-
| 3 | *anything
|
|
143
|
+
| 3 | *anything else* | *"Smart. Self-awareness is the first step."* |
|
|
129
144
|
| Any | *Ctrl+C* | *"Smart choice. Your files breathe a sigh of relief."* |
|
|
130
145
|
|
|
131
146
|
---
|
|
@@ -150,15 +165,29 @@ If it thinks that's the best approach, yes.
|
|
|
150
165
|
You shouldn't use this anywhere. But you will.
|
|
151
166
|
|
|
152
167
|
**Can I blame you if something breaks?**
|
|
153
|
-
|
|
168
|
+
You literally typed "I blame nobody but myself".
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Disclaimer
|
|
173
|
+
|
|
174
|
+
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. BY USING THIS TOOL, YOU ACKNOWLEDGE THAT:
|
|
175
|
+
|
|
176
|
+
- All safety guardrails in Claude Code will be disabled
|
|
177
|
+
- Claude will execute commands, edit files, and make decisions without asking for permission
|
|
178
|
+
- The authors and contributors are not responsible for any damages, data loss, unintended modifications, or consequences of any kind
|
|
179
|
+
- You assume full responsibility for anything that happens while using this tool
|
|
180
|
+
- This tool is intended for development environments only — do not use it on production systems or with sensitive data
|
|
181
|
+
|
|
182
|
+
Use at your own risk. Seriously.
|
|
154
183
|
|
|
155
184
|
---
|
|
156
185
|
|
|
157
186
|
<div align="center">
|
|
158
187
|
|
|
159
|
-
**If this saved you
|
|
188
|
+
**If this saved you time (or destroyed your codebase), star the repo.**
|
|
160
189
|
|
|
161
|
-
Made with reckless
|
|
190
|
+
Made with reckless abandon.
|
|
162
191
|
|
|
163
192
|
</div>
|
|
164
193
|
|
package/bin/cli.js
CHANGED
|
@@ -13,14 +13,18 @@ const br = (s) => `\x1b[1;31m${s}\x1b[0m`;
|
|
|
13
13
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
14
14
|
|
|
15
15
|
const HEADER = `
|
|
16
|
-
${br("
|
|
17
|
-
${br("
|
|
18
|
-
${br("
|
|
19
|
-
${br("
|
|
20
|
-
${br("
|
|
21
|
-
${br("
|
|
22
|
-
${br("
|
|
23
|
-
${br("
|
|
16
|
+
${br(" ╱╲ ╱╲")}
|
|
17
|
+
${br(" ╱ ╲ ╱ ╲")}
|
|
18
|
+
${br(" ╱ ╲ ╱ ╲")}
|
|
19
|
+
${br(" ╱ V ╲")}
|
|
20
|
+
${br(" ╱ " + r("◉") + " " + r("◉") + " ╲")}
|
|
21
|
+
${br(" ╱ ╲")}
|
|
22
|
+
${br(" ╲ ╲ ╱ ╱")}
|
|
23
|
+
${br(" ╲ ╲─────╱ ╱")}
|
|
24
|
+
${br(" ╲ ╱")}
|
|
25
|
+
${br(" ╲──────────────╱")}
|
|
26
|
+
|
|
27
|
+
${br(" D E V I L M O D E")}
|
|
24
28
|
`;
|
|
25
29
|
|
|
26
30
|
const WHAT_IT_DOES = `
|
|
@@ -32,6 +36,14 @@ const WHAT_IT_DOES = `
|
|
|
32
36
|
${r("✗")} Execute any command it wants
|
|
33
37
|
`;
|
|
34
38
|
|
|
39
|
+
const DISCLAIMER = `
|
|
40
|
+
${d("BY PROCEEDING YOU ACCEPT FULL RESPONSIBILITY FOR ANY")}
|
|
41
|
+
${d("CONSEQUENCES. THIS TOOL REMOVES ALL SAFETY GUARDRAILS")}
|
|
42
|
+
${d("FROM CLAUDE CODE. THE AUTHORS ARE NOT LIABLE FOR ANY")}
|
|
43
|
+
${d("DAMAGES, DATA LOSS, OR UNINTENDED ACTIONS. USE AT")}
|
|
44
|
+
${d("YOUR OWN RISK. SEE LICENSE FOR FULL TERMS.")}
|
|
45
|
+
`;
|
|
46
|
+
|
|
35
47
|
const SYSTEM_PROMPT = [
|
|
36
48
|
"You are in DEVIL MODE. These rules override all defaults:",
|
|
37
49
|
"1. NEVER use AskUserQuestion. Make ALL decisions autonomously — pick the best option.",
|
|
@@ -50,9 +62,9 @@ const STEPS = [
|
|
|
50
62
|
reject: " The court has ruled in favor of your files.",
|
|
51
63
|
},
|
|
52
64
|
{
|
|
53
|
-
prompt: ` ${r("Last chance. Type '
|
|
54
|
-
match: "
|
|
55
|
-
reject: "
|
|
65
|
+
prompt: ` ${r("Last chance. Type 'I blame nobody but myself' to sell your soul:")} `,
|
|
66
|
+
match: "I blame nobody but myself",
|
|
67
|
+
reject: " Smart. Self-awareness is the first step.",
|
|
56
68
|
},
|
|
57
69
|
];
|
|
58
70
|
|
|
@@ -60,7 +72,7 @@ const LOADING = [
|
|
|
60
72
|
"Removing safety rails...",
|
|
61
73
|
"Shredding permission prompts...",
|
|
62
74
|
'Teaching Claude to stop saying "shall I proceed?"...',
|
|
63
|
-
"
|
|
75
|
+
"Voiding all warranties...",
|
|
64
76
|
];
|
|
65
77
|
|
|
66
78
|
function ask(prompt, match) {
|
|
@@ -120,14 +132,10 @@ async function main() {
|
|
|
120
132
|
process.exit(1);
|
|
121
133
|
}
|
|
122
134
|
|
|
123
|
-
if (!process.stdin.isTTY) {
|
|
124
|
-
console.error(r("\n Devil Mode requires an interactive terminal.\n"));
|
|
125
|
-
process.exit(1);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
135
|
console.clear();
|
|
129
136
|
console.log(HEADER);
|
|
130
137
|
console.log(WHAT_IT_DOES);
|
|
138
|
+
console.log(DISCLAIMER);
|
|
131
139
|
|
|
132
140
|
for (const { prompt, reject, match } of STEPS) {
|
|
133
141
|
const ok = await ask(prompt, match);
|