habit-builder

A guide for building or breaking everyday habits with small actions, reminders, changes to the environment, and tracking. It uses the idea that a cue starts a routine and a reward helps reinforce it.

In plain words
What is it for?
Use it to plan behaviors such as exercising, reading, sleeping better, focusing, reducing screen time, or changing routines; it is not clinical treatment for addiction or other serious compulsions.
Why use it?
It turns a vague intention into a realistic plan that can survive missed days and common obstacles.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jayrha/agentskills/habit-builder
Any agent
npx skills add JayRHa/AgentSkills --skill habit-builder
Clone the repo
git clone --depth 1 https://github.com/JayRHa/AgentSkills

Made for: Claude Code, Codex.

Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,123 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00095 $0.01123
Opus 5 $0.00048 $0.00562
Sonnet 5 $0.00019 $0.00225
Haiku 4.5 $0.00010 $0.00112

Measured 2d ago against content hash 8a11b6346f31, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

habit-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

habit-builder/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Habit Builder

Overview

This skill turns a vague intention ("I want to read more / stop doomscrolling") into a concrete behavior-change plan grounded in habit science — the cue→routine→reward loop, making good habits obvious/easy/attractive/satisfying and bad ones the opposite, habit stacking, environment design, and a tracking system that survives slip-ups.

Keywords: habit, routine, behavior change, consistency, habit stacking, atomic habits, morning routine, break a habit, accountability, streak, willpower, motivation.

When to use vs. not

Use this for everyday behavior change (exercise, reading, sleep, focus, screen time, diet habits). This is coaching, not clinical treatment — for addiction, self-harm, eating disorders, or compulsions causing real harm, recommend a qualified professional rather than a habit tracker.

Inputs to gather first

  1. The target behavior — specific and observable ("read 10 pages", not "be smarter").
  2. Build or break? And the why behind it (the identity/goal it serves).
  3. Current context: when/where it would happen, what's blocking it, past attempts.
  4. Existing routines to anchor onto (habit stacking).
  5. Realistic capacity — time, energy, competing demands.

Workflow

  1. Define the behavior tiny and specific. Shrink it until it's almost impossible to fail ("one push-up", "read one page"). Consistency first, scale later. The goal is to cast a vote for an identity ("I'm a reader"), not hit a number.
  2. Find the cue. Anchor the new habit to an existing one — habit stacking: "After I pour my morning coffee, I will write one sentence." Time + location + preceding action are the most reliable cues. See references/habit-loop.md.
  3. Design the environment. Make good habits obvious and easy (book on the pillow, gym clothes laid out) and bad habits invisible and hard (phone in another room, delete the app, unplug the TV). Environment beats willpower. See references/environment-design.md.
  4. Engineer the reward. Make it immediately satisfying — a tracker checkmark, a tiny celebration, pairing the habit with something enjoyable (temptation bundling). The brain repeats what feels good now.
  5. For breaking a habit, invert the loop. Make the cue invisible, the routine hard/unattractive, and remove the reward; replace the routine with a substitute that serves the same craving.
  6. Set up tracking + the never-miss-twice rule. A simple visual streak; missing once is fine, missing twice is the start of a new (bad) habit. Plan in advance for the obstacle that will break the streak (an if-then plan). See references/tracking.md.
  7. Schedule a review. Weekly check: did it happen? what got in the way? Adjust the cue, size, or environment — not your self-worth. Scale the habit up only once it's automatic.

Read the full file on GitHub · 60 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 60 lines · 95 tokens per session scan A 8a11b6346f31

Subscribe to this mod's changes

habit-builder is a skill published in the GitHub repository JayRHa/AgentSkills (4 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 1,123 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.