Jakob Christensen / Agent Skills

/fresh

Spots when a session gets too long and hands the work to a fresh one

Featured in Case #001: A Study in Tokens

Featured in Case #003: His Last Commit

The longer a session runs, the more context piles up. Context is all the text the agent carries along and reads again with every request, and the more of it there is, the slower, more expensive and less precise the agent gets.

This skill moves your work to a fresh agent session at a natural break, such as after a long conversation, a long pause, a change of topic or a finished task.

At that point it writes a summary of the work so far, called the handoff. It also recommends a model and an effort level (how much the model thinks) for the next session and offers to start it. Four of its rules for the summary come from Matt Pocock's fantastic /handoff skill.

It also works the other way round. When you continue from a handoff file, or after a crash or a stop, it first checks the real state of the files and lists everything that differs from the summary. Once the next session has picked up the handoff, it puts a ✓ check mark on the old session, if your app lets it rename sessions.

You can start it with /fresh, but it also notices by itself when a handoff is due. In Claude Code an optional hook, a small script that Claude Code runs automatically, reminds it. The hook is set up only after your yes.

Download SKILL.md Read SKILL.md

When the agent uses it

Ends a long or finished session cleanly - writes a handoff file without asking, names the model and effort for the next session, numbers the sessions of one task (part 1, part 2, ...) so the newest is always clear, and offers a fresh one. Also resumes work from a handoff file or after a crash or stop: it checks the real state first, names every difference from the handoff, then continues. Use at a natural break when the context is large (about 150k tokens), after a pause of over an hour on a context of 60k tokens or more, when the user moves to a different task with unfinished work behind, after image-heavy work, or when a task is merged and other work follows. Also use it to resume, when a session starts from a handoff file or the user says to continue after a crash or stop. Not for sessions with nothing to carry over, and never before the current request is done.

Install

Download the skill, drag it into your AI's chat and write "Install this skill."