Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

habit

Latest version: v0e7732c53804a76f61f8af79b7bf0474f99f4b22

Overview

Last scanned
10 Nov 2026
Plugin Publisher: Prog-Jacob
0 Stars
0 Forks
1 Versions
Shell Repo language

Scan summary

habit was last scanned on 10 Nov 2026 at version 0e7732c53804a76f61f8af79b7bf0474f99f4b22. Risk score 10 of 100 (low). No malicious behavior was detected.

  • Findings: No rules are listed for version 0e7732c53804a76f61f8af79b7bf0474f99f4b22.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0e7732c53804a76f61f8af79b7bf0474f99f4b22 LATEST No rules fired

No rules fired in 0e7732c53804a76f61f8af79b7bf0474f99f4b22

Findings

Findings for v0e7732c53804a76f61f8af79b7bf0474f99f4b22. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0e7732c53804a76f61f8af79b7bf0474f99f4b22; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Install · Commands · How It Works · Privacy · Development · Report a Bug


Habit saves the prompts you type. When you run /habit:distill, it turns the patterns in them into habits:

  • A rule is a short preference, such as "run the tests before you say done". Every new session starts with your rules loaded.
  • A procedure is a workflow, such as how you review a PR. It loads when a request needs it.

Habits are plain Markdown files. You can read them, edit them, and commit them with your code.

flowchart LR
  A["Your prompts"] -->|saved| B[("Local inbox")]
  B -->|"/habit:distill"| C["Rules and procedures"]
  C -->|"loaded"| D["Every new session"]

A week with Habit

During the week, across three repos, you type things like:

> don't add comments that just repeat the code
> run the related tests before you tell me it's done
> review this PR: read the whole diff, check edge cases, then naming and style
> again, no comments that repeat the code

On Friday, you run /habit:distill. It reports something like:

Created 2 rules and 1 procedure:
  no-obvious-comments  (rule)       Write no comment that only repeats the code.
  tests-before-done    (rule)       Run the related tests before you call a change done.
  pr-review            (procedure)  Review a PR: the full diff, then edge cases, then naming and style.
Skipped 1 pattern that your CLAUDE.md already states.

From Monday, every new session starts with both rules. You stop typing them. To review a PR your way, run the procedure, and add an override if you want one:

/habit pr-review focus on the auth changes

Install

Install one copy per machine.

You use Do this
Claude Code Run /plugin marketplace add https://github.com/Prog-Jacob/habit.git, then /plugin install habit@habit.
Claude Code and Cursor Install in Claude Code only. Cursor imports Claude Code plugins.
Cursor only Install Habit from Cursor's plugin marketplace.

Then:

  1. Turn on auto-update for the habit marketplace (in Claude Code, open /plugin). Neither host does this for you.
  2. Cursor only: add bash ~/.claude/habits/bin/habit-tools.sh preload rules to the command allowlist. Habit runs it at the start of each conversation to load your rules.
  3. Start a new session. Habit saves prompts from then on.

Habit needs jq 1.6 or later, and Claude Code or Cursor 2.5 or later.

  • Claude Code: no action. The first session after the upgrade imports your typed prompts from the last 30 days.
  • Cursor: 3.0 does not import Cursor sessions that you never distilled under 2.x. If you have not upgraded yet, run /habit:distill project in each active project first.

Your habits and learnings carry over. Habit does not change the old settings.local.json files, and /habit:watch tells you when you can delete them.

Commands

Command What it does
/habit:distill Turn the saved prompts into new or merged habits.
/habit:distill maintain Distill, then tidy all habits: classify, tighten, merge, and archive.
/habit:distill undo Undo the last distill. Run it again to go back one more run.
/habit:suggest <request> Do the request with the procedures that fit it.
/habit <id> [override] Run one habit. The override applies to this run only.
/habit [search] List or search your habits.
/habit:edit <id> [change] Create, change, or delete a habit in plain words.
/habit:watch Show the health report.
/habit:watch off [hours] Pause saving prompts (8 hours by default). on resumes it.
/habit:watch snooze [days] Stop the distill reminder (7 days by default).
/habit:watch forget <n> Remove a learning by its number.

On Cursor, ask in plain words ("distill my recent prompts") or use the skill names: habit, habit-distill, habit-suggest, habit-edit, habit-watch.

How it works

Capture. A prompt hook saves each prompt you type to a local inbox, from every project and both hosts. It removes leading slash commands and drops prompts of fewer than three words. A short reply keeps the end of the message it answers, so "yes, and no hyphens either" still makes sense later.

Distill. It runs only when you start it. It keeps the prompts that show how you work and skips what your habits, CLAUDE.md, AGENTS.md, or memory already say. Then it writes new habits or merges them into existing ones. Each run takes a snapshot first, so you can undo it.

Rules. Each new session loads your active rules: global rules first, then the current project's rules, which win a conflict. A rule is at most 600 characters, and all rules together stay within 8,000. If a rule does not fit, the session gets its id, so it can still load when needed.

Reminders. Distill is due when at least 30 prompts wait and the oldest is a week old, or when at least 300 wait. A new session then reminds you, at most once a day. Cursor shows the reminder before it compacts the context.

Learnings. When you complain about Habit itself, distill writes a note for the skill concerned. That skill follows the note from its next run. /habit:watch lists the notes.

Scope. Global habits are in ~/.claude/habits/. Project habits are in <repo>/.claude/habits/, and they replace a global habit with the same id.

Privacy

  • Your prompts stay on your machine. Habit makes no network calls.
  • Inbox files have mode 600, so only you can read them.
  • Habit replaces common secrets with [redacted] before it saves a prompt: API keys (sk-, ghp_, github_pat_, xox?-, AKIA), private key blocks, and password=, secret=, and token= values.
  • /habit:watch off pauses saving in all sessions.
  • Habit deletes distilled prompts after 90 days.

Platforms

macOS and Linux, also as root in containers. Windows through WSL only. Habit needs bash 3.2 or later, jq 1.6 or later, awk, sed, and tar.

CI tests macOS with bash 3.2 (Homebrew jq and the macOS jq), Ubuntu, and Debian 12 with jq 1.6, as a normal user and as root.

~/.claude/habits/
  *.md                      global habits
  learnings.jsonl           learnings
  log/YYYY-MM.jsonl         usage log, kept 6 months
  inbox/                    saved prompts, one file per session
  snapshots/                the last 10 distill snapshots, for undo
  bin/habit-tools.sh        the CLI path that skills call
  paused, nudge.next        pause and reminder times
<repo>/.claude/habits/*.md  project habits, safe to commit

A rule:

---
id: tests-before-done
tags: [testing]
description: Run the related tests before you call a change done.
kind: rule
---

Before you call a change done, run the tests that cover it and report the result.

A procedure:

---
id: pr-review
tags: [git, review]
description: Review a PR for correctness first, then naming and style.
kind: procedure
---

## Instruction

1. Read the full diff.
2. Check edge cases and error paths in each changed function.
3. Check naming and style last.

Uninstall

In Claude Code, run /plugin uninstall habit@habit. In Cursor, remove Habit in the plugin settings.

Your habits stay in ~/.claude/habits/. To delete them too, run rm -rf ~/.claude/habits/.

Development

git clone https://github.com/Prog-Jacob/habit.git && cd habit
claude --plugin-dir .   # use this checkout as the plugin
make check              # ShellCheck, then the bats suite

make check needs ShellCheck, bats-core 1.5 or later, and jq.

The skills do the thinking. The CLI only reads and writes files, and it checks each habit before it saves it.

Path Contents
skills/ The five skills, and the rules and command reference they share.
bin/ The CLI that skills and hooks call, with one library per concern.
hooks/ Hook configs for both hosts, and the script they run.
rules/habit.mdc The Cursor rule that loads your rules.
test/ The bats suite.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • Claude Community Plugins habit

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229