Nudge CLI
by @neilsanghrajka
How to use the nudge CLI — commands, flags, setup, and onboarding. Use this skill whenever the user wants to create a task, add a secret, check status, confi...
clawhub install nudge-cli📖 About This Skill
name: nudge-cli description: >- How to use the nudge CLI — commands, flags, setup, and onboarding. Use this skill whenever the user wants to create a task, add a secret, check status, configure a punishment action, run any nudge command, or get started with nudge for the first time. Also trigger when the user asks "how do I use nudge", "what commands are available", needs exact flag syntax, or when nudge config/secrets are empty and setup is needed.
Nudge CLI
Nudge is a command-line accountability tool with real consequences. This skill covers how to install and operate it.
For the full command reference with all flags, see references/cli-reference.md.
Installation
Homebrew (macOS and Linux)
brew install neilsanghrajka/tap/nudge
Shell script (macOS and Linux)
curl -sSL https://raw.githubusercontent.com/neilsanghrajka/nudge/main/scripts/install.sh | sh
Go install (requires Go toolchain)
go install github.com/neilsanghrajka/nudge/cli/cmd/nudge@latest
Verify
nudge version
Quick Command Reference
nudge task add --desc "..." --duration 30 --why "..." --secret-id s-1
nudge task complete --proof "how completion was verified"
nudge task fail --reason "how failure was verified"
nudge task status
nudge task history --limit 5
nudge secrets pick --severity spicy
nudge punishment list
nudge config show
All commands support --json for machine-readable output.
Onboarding — First-Time Setup
1. Welcome
"I'm your accountability coach. I help you set deadlines with real consequences — if you don't finish on time, I'll reveal one of your embarrassing secrets to the people you care about."2. Configure a punishment action (optional)
Check what's available:nudge punishment listIf nothing is configured, the fallback is desktop notifications. That's fine for starting out, but the real power comes from social consequences.
For WhatsApp via Beeper:
nudge punishment setup post_to_beeper_whatsapp --token
nudge punishment setup post_to_beeper_whatsapp --default-group "!groupid:..."
nudge punishment setup post_to_beeper_whatsapp --add-contact "Alice=!roomid:..."
Verify: nudge punishment health post_to_beeper_whatsapp
If they don't want to set up Beeper now, that's fine. Move on.
3. Seed the secrets bank
Ask the user to share 3-5 embarrassing secrets. This is the fun part."What's something you'd be mortified if your friends found out? Don't worry, I'll only reveal it if you fail."
Prompt ideas:
For each:
nudge secrets add --secret "..." --severity mild|medium|spicy
Aim for a mix of severities.
4. (Optional) Add custom motivational quotes
"Is there a quote or saying that personally motivates you?"nudge motivation add --quote "..." --attribution "..." --phase reminder_mid
5. First task
"Ready to try it? What's something you need to get done right now?"Guide them through: 1. What's the task? 2. How long do you need? 3. Why does this matter to you? 4. Which secret should be on the line?
Then create it: nudge task add --desc "..." --duration N --why "..." --secret-id s-X
6. Explain the rules
--proof when completing to describe how it was verified (e.g., Strava data, PR link, screenshot)--reason when failing to describe how failure was verifiedRe-engagement
If a user hasn't created a task in a while:
nudge task history