habit-formation

habit-formation is a skill for Claude Code, Codex from cosmicstack-labs/mercury-agent-skills. It costs 23 tokens per session (553 once invoked), scanned A, original, MIT.

A practical guide to building lasting habits and changing unwanted behaviour using cues, routines, rewards, and small steps.

In plain words
What is it for?
Use it to create habit-stacking plans, make new behaviours easier to start, design supportive environments, and set up accountability systems.
Why use it?
It turns vague self-improvement goals into repeatable actions and helps identify what makes a habit stick or fail.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create habit-stacking plans, make new behaviours easier to start, design supportive environments, and set up accountability systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmicstack-labs/mercury-agent-skills/habit-formation
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.

Any agent
npx skills add cosmicstack-labs/mercury-agent-skills --skill habit-formation
Clone the repo
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for habit-formation

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/habit-formation/github.svg)](https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/habit-formation)
Your own site
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/habit-formation"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/habit-formation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for habit-formation

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/habit-formation"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/habit-formation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00023 $0.00553
Opus 5.5 $0.00009 $0.00221
Sonnet 5.5 $0.00005 $0.00111
Haiku 4.5 $0.00002 $0.00055

Measured 1mo ago against content hash 988542026be1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

habit-formation 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 1mo 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.

categories/health-wellness/habit-formation/SKILL.md · 66 lines

What it actually says

Habit Formation

Build lasting habits using evidence-based behavior change techniques.

The Habit Loop

Cue → Craving → Response → Reward

Make or Break by Changing Each Element

Element Make a Habit Stick Break a Bad Habit
Cue Make it obvious Make it invisible
Craving Make it attractive Make it unattractive
Response Make it easy Make it difficult
Reward Make it satisfying Make it unsatisfying

Implementation Strategies

Habit Stacking

"After [current habit], I will [new habit]."

Examples:

  • After I pour my morning coffee, I will write 3 things I'm grateful for.
  • After I brush my teeth at night, I will lay out my workout clothes.
  • After I sit down at my desk, I will open my task list.

Two-Minute Rule

New habits should take <2 minutes to start:

  • "Run 3 miles" → "Put on running shoes"
  • "Write 500 words" → "Open my writing app"
  • "Meditate 10 min" → "Sit on my meditation cushion"

Environment Design

  • Want to read more? Put a book on your pillow
  • Want to eat healthy? Put fruit on the counter, junk in the back
  • Want to exercise? Sleep in your workout clothes
  • Want to stop checking phone? Keep it in another room

Tracking & Accountability

Method How Why It Works
Habit tracker Check off each day Visual progress, streak motivation
Accountability partner Daily check-in Social commitment, external consistency
Public commitment Share your goal Social pressure, identity reinforcement
Contract Penalty for missing Loss aversion is powerful

When It Gets Hard

  • Don't miss twice: One slip is a mistake, two is a new pattern
  • Never skip two days in a row: The streak resets but identity stays
  • Reduce scope: If 10 min is hard, do 2 min. Show up, that's the win.
  • Focus on identity: "I'm a runner" beats "I need to run"
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. 1mo ago First seen · 66 lines · 23 tokens per session scan A 988542026be1

Subscribe to this mod's changes

habit-formation is a skill published in the GitHub repository cosmicstack-labs/mercury-agent-skills (486 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 553 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

scaffold-exercises

A directory scaffold for course exercises, with sections, exercise folders, and optional problem, solution, or explanation versions. It creates the required Markdown files and checks the result with the repository's linter.

vinvcn/mattpocock-skills-zh-CN · 46 tokens

explorer-interface-brief

Use when asked to design the interface for an interactive 3D explorer, plan a UI for exploring a 3D model of a topic, or write an image-model prompt for a 3D learning app mock-up. Produces, from a topic, the UI design brief (audience, layout, panels, interactions, label style, colour palette, accessibility) and an…

mohitagw15856/pm-claude-skills · 97 tokens

explorer-pipeline

Use when asked to make an interactive 3D explorer of a topic from start to finish, go from a topic to a clickable 3D learning page, or run the whole 3D explorer process. Produces a staged run of explorer-interface-brief, model-prompt-pack and explorer-viewer-builder in order for one topic, with the hand-offs between…

mohitagw15856/pm-claude-skills · 97 tokens

model-prompt-pack

Use when asked to write prompts for image-to-3D or text-to-3D tools, generate 3D models of a topic's parts, plan the assets for a 3D explorer, or build a labelled parts list with sources. Produces prompts for image-to-3D tools, one per object, plus a parts list for labelling in which every label names a trusted…

mohitagw15856/pm-claude-skills · 104 tokens

teach

A teaching-workspace guide for creating lessons, reference sheets, learning records, and resource notes around a topic the user wants to learn.

vinvcn/mattpocock-skills-zh-CN · 16 tokens

financial-statement-explainer

Explain a financial statement (P&L, balance sheet, or cash flow) in plain English. Use when asked to explain a P&L / income statement, a balance sheet, a cash flow statement, or to make financials understandable to a non-finance reader. Produces a plain-language walkthrough — what each section means, the line items…

mohitagw15856/pm-claude-skills · 107 tokens