Sub topic 7
Step 2: Isolate the cue
This chapter assumes you know the habit loop (cue, routine, reward) and that you have already named the routine you want to change, as described in Step 1. You also need a few days of willingness to observe your own behavior. The goal here is to find the one trigger that reliably starts the habit, so the replacement routine can be tied to it later.
Why the cue is hard to see
A cue is the signal that starts the routine. You usually cannot name it, because a habit runs fast and the trigger is mixed in with a lot of other background detail. At 3 pm you are in your office, you are tired, a colleague has just left, and your phone has buzzed. Any of these could be the trigger. If you guess wrong, your new plan will be attached to something that is not actually present when the urge arrives.
The method is to collect evidence at the moment of the urge and then look for what stays the same across episodes. The cue is the detail that is present almost every time. Details that change from day to day are noise.
The five-question record
Each time you notice the urge, or notice that you have already started the routine, write down five things as soon as you can. Keep the note short. A phone note or an index card is enough.
- Time: what time is it?
- Location: where are you?
- Emotional state: how do you feel right now?
- Other people: who is nearby, or who just left?
- Preceding action: what did you do or what happened immediately before?
These five questions map onto the common categories of cues: a time, a place, a feeling, other people, and an action that came just before. Most habit cues fall into one of these groups, so asking each question in turn covers the likely candidates.
| Category | Example for a 3 pm snack habit | Question it answers |
|---|---|---|
| Time | It is 3:05 pm | When does it start? |
| Location | At my desk, facing the window | Where am I? |
| Emotional state | Restless, a little bored | How do I feel? |
| Other people | The colleague next to me just left | Who is around? |
| Preceding action | I closed a long spreadsheet | What did I just do? |
A worked example
Suppose you are working on the 3 pm snack habit that appears in the code examples of this tutorial. You collect records for five days.
| Day | Time | Location | Emotion | People | Preceding action |
|---|---|---|---|---|---|
| Mon | 3:10 pm | Desk | Restless | Alone | Finished a report |
| Tue | 2:55 pm | Desk | Bored | Colleague left | Ended a call |
| Wed | 3:30 pm | Meeting room | Calm | In a meeting | Meeting ended |
| Thu | 3:05 pm | Desk | Restless | Alone | Closed email |
| Fri | 3:15 pm | Desk | Tired | Colleague left | Finished a task |
Now compare the columns, one at a time.
- Time ranges from 2:55 to 3:30. It is close to 3 pm but not fixed, so it is a weak candidate.
- Location is the desk in four of five days. Wednesday, in the meeting room, still produced the snack, so location is not required.
- Emotion is restless or bored on three days, tired on one, and calm on one. This is a partial match.
- People varies.
- Preceding action is the same kind of event every day: you finished a task or ended something. In all five cases, a piece of work had just ended.
The best candidate is the preceding action: finishing a block of work. It appears in every record, including Wednesday, when the other details differed. The restless feeling is probably a consequence of finishing the task and having nothing assigned to the next few minutes. A reasonable statement of the cue is "I finish a task and have an unstructured gap."
Notice that the answer is not "3 pm." The clock time is where the cue usually happens, but the trigger is the end of a task. If you tied your plan to the clock, it would fail on days when your work ends at a different time.
Reading the evidence
Looking for the constant detail is simple in principle. A few rules keep you from fooling yourself.
- Count matches, not impressions. After a week, tally how often each answer appears. A detail that appears in four of five records beats one that you feel is important.
- Look for the detail that appears when other details change. The Wednesday record is useful because it removes the desk and the colleague as explanations.
- Check the opposite case. Note a few moments when the same detail was present and the urge did not appear. If you finish tasks often and do not snack after most of them, the cue is more specific than "finishing a task," and you need to find what is different on the days when the habit fires.
- Keep the cue narrow. "Feeling stressed" is a poor cue because it is present all day. "Opening my inbox after a meeting and seeing an unread message from my manager" is specific enough to anchor a plan.
- Prefer something observable. Another person could, in principle, see a time, a place, an action, or the people present. A feeling is real but hard to detect at the right moment, so use it only when nothing else matches.
Recording with a small script
If you prefer to keep records in a file and let a script do the counting, the following Python program does it. It reads simple entries, tallies each answer for each question, and prints the most common one. It uses only the standard library.
from collections import Counter
records = [
{"time": "afternoon", "location": "desk", "emotion": "restless",
"people": "alone", "before": "finished a task"},
{"time": "afternoon", "location": "desk", "emotion": "bored",
"people": "colleague left", "before": "finished a task"},
{"time": "afternoon", "location": "meeting room", "emotion": "calm",
"people": "in a meeting", "before": "finished a task"},
{"time": "afternoon", "location": "desk", "emotion": "restless",
"people": "alone", "before": "finished a task"},
{"time": "afternoon", "location": "desk", "emotion": "tired",
"people": "colleague left", "before": "finished a task"},
]
for question in ["time", "location", "emotion", "people", "before"]:
counts = Counter(r[question] for r in records)
answer, hits = counts.most_common(1)[0]
print(f"{question:9} -> {answer!r} in {hits} of {len(records)} records")Running it prints one line per question. Here the before line shows 5 of 5 and the others show fewer, which points to the preceding action. The script only counts. You must still decide whether the winning answer is a real trigger, using the opposite-case check above.
Note that the time field here is coarse ("afternoon") on purpose. Exact minutes such as 3:05 and 3:10 would count as different answers and hide the pattern. Group values into categories that match how you would act on them.
Common errors
- Recording too late. If you write the note hours after the event, you reconstruct a tidy story rather than what happened. Write it within a few minutes.
- Recording only the successful days. If you note only the times you gave in, you will never see the occasions when the same detail was present and nothing happened.
- Choosing the cause you already believe in. People often decide the cue is stress or boredom before collecting data. Let the counts decide.
- Confusing the cue with the reward. "I want to feel less restless" describes what you get afterward, not what began the habit. The cue is what was present before the routine began. The reward is tested in the next step.
- Stopping after one day. One record shows an episode, not a pattern. Collect at least five episodes, and more if the habit is irregular.
Summary of the process
The flow below shows the full procedure for this step.
Finish the step by writing the cue as one sentence in plain, observable language, for example: "I finish a task and have no next item scheduled." Keep that sentence. In Step 3 you will test which reward the routine is delivering, and in Step 5 you will use this sentence as the "when" part of your if-then plan.
Exercise
You log six episodes of a habit of checking social media. The location is the sofa in four episodes and the kitchen in two. The time ranges from 8 pm to 11 pm. In all six, the phone had just buzzed with a notification. In two other evenings on the sofa, you did not check social media, and the phone did not buzz. Which detail is the best candidate for the cue, and what does the opposite-case check tell you?
Show answer
The best candidate is the phone buzzing with a notification, because it appears in all six episodes while location and time vary. The two evenings on the sofa without a buzz show that location alone does not trigger the habit, since the habit did not happen there without the notification. This supports the notification as the cue.
Exercise
Your record for a late-night eating habit shows that the exact time varies between 9:40 pm and 10:50 pm, but you always are on the couch watching TV when it starts. Why might it be a mistake to write the cue as "10 pm"?
Show answer
The clock time is not constant, so a plan tied to 10 pm would not fire on nights when the urge comes at 9:40 or 10:50. The constant detail is the location and activity, being on the couch watching TV, so the cue should be written that way.