Better HN
topnewbestaskshowjobs
Log inSign up

Kai20211111

1 karma · joined Mar 6, 2026 (9mo ago) · 4 submissions

Submissions

comment 8mo ago · link · parent

I kept mashing 1 to accept changes in Claude Code, so I automated it. It spawns your command in a PTY and pipes "1" into stdin on a loop.

  npm install -g press-one
  press-one --delay 3000 claude "fix all the bugs"

  Known "features": a slow stream of 11111 appears while the model is thinking, and you can't type because stdin belongs to the machine now. Zero dependencies (just Node + Python for PTY allocation). MIT licensed.

2.

Auto-accept everything and nothing else(github.com ↗)

3 points · by Kai20211111 · 8mo ago · 2 comments

comment 9mo ago · link · parent

Interesting - sounds similar to what OpenClaw is doing?