Sub topic 3
Cues: What Triggers the Behavior
This chapter assumes you know the three parts of the habit loop (cue, routine, reward) at a basic level. It also assumes you are comfortable reading short Python examples. Here the focus is the first part: what a cue is, how it works, and the mistakes that make a cue fail.
What a cue is
A cue is a signal that starts a behavior with little or no deliberate decision. You notice the signal, and the routine begins. The signal can be something you see, a time of day, a place, a feeling, or something you just did.
A cue is not the same as a reason. A reason is something you think through: "I should exercise because it is good for my health." A cue is something you meet: "My running shoes are by the door when I get home." The reason may have motivated you to start. The cue is what triggers the behavior on an ordinary Tuesday when you are not thinking about your health.
This difference matters because habits run when your attention is elsewhere. If your plan depends on remembering a goal, it relies on effortful thinking. If your plan depends on a cue, the environment does the remembering for you.
How a cue works inside the loop
When a routine is repeated in the same situation, your brain links the situation to the routine. After enough repetitions, the situation alone brings the routine to mind, and you feel an urge to act. The cue becomes a shortcut that skips deliberation.
Two points follow from this model.
- A cue only works if it is noticed. A sticky note hidden behind a monitor is present but not effective.
- A cue works through a learned link. The same signal triggers different routines in different people, because each person has practiced a different response to it.
Properties of a good cue
A cue that reliably starts a routine tends to have these properties:
- Specific. You can tell exactly when it has occurred. "After I pour my coffee" is specific. "In the morning" is loose.
- Observable. Someone watching you could confirm it happened. "When I feel motivated" cannot be observed, so it is hard to catch.
- Consistent. It shows up in nearly the same form each time. A cue that appears on some days and not others gives the habit only partial practice.
- Timely. It occurs right before the time you want the routine to start. A cue that fires hours earlier gives you time to forget.
- Separate from other triggers. If one cue could start two different routines, the behavior that follows becomes unpredictable.
Auditing a cue in code
You can treat a cue as a piece of text and check it against these properties. The following program flags common problems in a cue description. It is a rough aid for thinking, not a measure of a real habit.
VAGUE_PHRASES = (
"when i can",
"when i have time",
"whenever",
"sometimes",
"later",
"when i feel like",
"when i am motivated",
)
def audit_cue(cue: str) -> list[str]:
"""Return a list of problems found in a cue description."""
problems = []
text = cue.strip().lower()
if not text:
return ["The cue is empty."]
for phrase in VAGUE_PHRASES:
if phrase in text:
problems.append(f"Vague wording: '{phrase}'. Name a concrete event.")
if len(text.split()) < 3:
problems.append("Too short to describe a specific moment.")
return problems
examples = [
"when I have time",
"morning",
"I finish my morning coffee",
]
for cue in examples:
issues = audit_cue(cue)
status = "OK" if not issues else "needs work"
print(f"{cue!r}: {status}")
for issue in issues:
print(f" - {issue}")Running this shows the first two cues are flagged and the third passes. The third is the cue that already works: it names an event you can see happen.
Common errors
Using a goal as a cue
"When I want to get fit" is a goal. It does not point to a moment. Replace it with an event, such as "when I put on my work shoes after my last meeting."
Using a vague time
"In the evening" spans several hours and many activities. A cue like "when I close my laptop for the day" fires once, at a recognizable moment. Clock times work well only if your schedule is steady. If your day varies, an event is more reliable than a number on the clock.
Relying on a cue that is easy to miss
If the cue is subtle, you will often fail to notice it. A phone reminder you have learned to swipe away has stopped working as a cue. Move the signal to a place you cannot avoid, such as the bathroom mirror or the top of your keyboard.
Choosing a cue that does not happen every day
"When I go to the post office" may occur twice a month. You cannot build a daily habit on a cue that appears twice a month. Pick something that happens as often as you want the routine to happen.
Overlooking the cue of an existing habit
When you want to change a habit, people often describe the behavior but not what starts it. Without the cue, you cannot redesign the habit. Chapter-length detail on this comes later. For now, learn to ask: what happened just before I did this?
Finding the cue in a habit you already have
Working backward from the routine is the most reliable method. After you notice yourself doing the behavior, write down what was true in the moments before it started. Do this for several occurrences, not just one. A single occurrence may be coincidence. A pattern across several is the cue.
Useful prompts include where you were, what time it was, what you had just done, who was nearby, and how you felt. The next chapter organizes these into common cue types. Here, the goal is simply to practice collecting evidence.
| Observation | Occurrence 1 | Occurrence 2 | Occurrence 3 |
|---|---|---|---|
| Where I was | At my desk | At my desk | In a meeting room |
| Time | 3:05 pm | 3:20 pm | 11:00 am |
| Just before | Finished an email | Finished a call | Meeting ended |
| Feeling | Tired | Tired | Restless |
In this example, location and time vary. The shared elements are finishing a task and feeling a dip in energy. Those are the candidate cues. The next step is to test them by watching whether the behavior follows the next time they appear.
Cue strength and competition
A cue is not on or off. Its pull depends on how often it has been paired with the routine and how clearly it stands out. When two cues are present at once, the stronger link usually wins. For example, if you pass the kitchen (cue for a snack) and also see your water bottle (cue for drinking), your history of snacking in that spot will often override the new water habit.
That is why a new cue should be placed where no older cue competes with it. It should also be placed where the old cue is absent or weaker. A later chapter on friction covers how to reduce the strength of unwanted cues.
Summary of the working model
- A cue is a noticed signal that starts a routine without deliberate decision.
- It works through a learned link, so it must be noticed and must occur reliably.
- Good cues are specific, observable, consistent, and timely.
- The usual failures are goals mistaken for cues, vague timing, easy-to-miss signals, and rare events.
- To find a cue, collect several occurrences of the behavior and look for what they share.
Exercise
A learner writes the cue "whenever I feel stressed" for a new habit of stretching for two minutes. Give two problems with this cue and rewrite it as a better one.
Show answer
Problems: "whenever" and "stressed" are vague and hard to observe, so the learner cannot tell exactly when the cue has occurred, and stress may not occur at a consistent moment each day. A better cue names an event that happens daily, for example: "When I close my laptop at the end of the workday, I stretch for two minutes."
Exercise
You notice that you check social media at 10:15 am on Monday at your desk, at 2:40 pm on Tuesday on the sofa, and at 8:00 pm on Wednesday in bed. Time and place differ each time. What kind of evidence would you collect next to find the cue?
Show answer
Look at what is shared across occurrences that is not time or place: what you did just before (for example, finishing a task or ending a conversation), how you felt (for example, bored or restless), and who was nearby. Record these for several more occurrences. The element that appears in most of them is the likely cue.