# How to focus (despite AI agents)

Published: 2026-08-12T00:00:00.000Z
Canonical: https://wow.pjh.is/journal/how-to-focus-despite-ai-agents

My days now run from the terminal. In [July](https://wow.pjh.is/journal/what-my-morning-looks-like), they often looked like this:

![A terminal-based daily briefing showing the morning schedule, priorities and work sessions](https://wow.pjh.is/static/images/blog/mitl-1.jpeg)

Tabs, notifications, agents waiting... this interface is not good for focussed work. It's like keeping Slack open with a large human team, who are constantly waiting on me to unblock them.

## Preface: how to change behaviour

BJ Fogg [says](https://www.behaviormodel.org/):

1. To do something less, avoid triggers and make it harder.
2. To do something more, increase triggers and make it easier.

If you want to drink less coffee, don't keep it in the house. To eat more apples, keep some on your desk.

## Why my July environment was terrible

What I want:

1. Do less: engage distracting tasks during deep work sessions.
2. Do more: capture tasks for later (à la [GTD](https://www.todoist.com/productivity-methods/getting-things-done)).

My July environment did not support this. There were unhelpful triggers:

* Many tabs in flight, constantly visible. Within each tab, many panes. Each one has a strong pull ("I'll just unblock the agent on this one, so it continues making progress while I do other stuff").
* [Notifications](https://wow.pjh.is/journal/coding-agent-notifications) whenever an agent has questions, needs permission, or finishes a turn.

And the wrong thing was easy:

* It was much too easy to start or resume tasks. This was actually easier than the desired behaviour: capture the task for later.

## Changes for August

First, go nuclear: I'm back to [starting the morning with pen and paper](https://wow.pjh.is/journal/i-start-my-mornings-with-pen-and-paper).

Second, remove unhelpful triggers:

* I now close all agent tabs before deep work sessions.
  * I always wanted to do this, but resuming threads was too hard. So I made that easy. This involves: a `park` hook that closes the tab and adds the thread to an inbox;[^1] my [/pane](https://wow.pjh.is/journal/pane-skill) skill for resuming sessions; my [cr](https://wow.pjh.is/journal/search-agent-conversations) tool as a backup.
* I've added a "do not disturb" mode to disable agent notifications.
* I've fixed the morning briefing. My preferred work pattern is: deep work first thing; avoid non-urgent inboxes until at least 11am. My briefing now reflects that, with the non-urgent stuff moved to a `/desk` skill, which I run later in the day.

[^1]: The hook closes the tab instantly. In the background, it gives the task a clear title and description (via LLM call). The description includes the session ID, working directory and command needed to resume.

Third, adjust difficulty:

* I've made starting tasks harder: [if I get distracted, an agent yells at me](https://wow.pjh.is/journal/if-i-get-distracted-an-agent-yells-as-me).
* I've made capturing tasks easier:
  * In Todoist, I've made a dedicated inbox for agents.[^2]
  * To add to the agent inbox, I type `#a` in the prompt box (or Todoist).
  * If an in-flight session spirals, I type `#p` to add to a separate "in flight" inbox.
  * (Of course, the Todoist "add" dialog is a single button on my phone, and a single shortcut on my MacBook.)

[^2]: Linear is overkill for me, but a good choice for teams.

## Thoughts

*Phew.* The fundamentals are no longer broken.

I've been into [deep work](https://chatgpt.com/share/6a7b1f70-0664-83eb-a266-c39ec243fcfd) and [attention design](https://inboxwhenready.org/) since forever—it's odd that I let things get so bad in the past few months. Two things I'd have expected to catch this:

* My own reflection, during my week reviews
* My AI manager/coach feedback (also during week reviews)

If I were coaching someone with this problem, I'd have seen it quickly and yelled at them. My AI manager/coach really dropped the ball here.

But how did *I* miss this? Honestly, I'm mystified—and a little shocked. Some ideas:

* Frog-boil: my AI agents have gradually become much more like a (big) human team. There was not a discrete moment to trigger "ok, I'm about to hire 10 people, obviously I need to look at attention design".
* Independent work: I've done much more solo work lately, with fewer rock-solid deadlines. If I'd missed a client deadline, there would have been a careful post-mortem.
* Cognitive compromise: a vague label, but I do have the sense that—amidst the uplift—my intense collaboration with AI agents is causing some diffuse cognitive problem(s).
  * It might mostly be that I've recently had a hard time with "[while you wait, think for yourself](https://wow.pjh.is/journal/while-you-wait-think-for-yourself)"—precisely due to the distraction issue I'm fixing here.
  * In general my mind feels more unsettled and distractible, even when I'm not at my desk. It feels like I need to meditate more, to train myself back to a calmer default state.
