# Tighten the bootstrap token budget
<!--
ref: @protocol/tighten-bootstrap-token-budget
type: protocol
tags: [tips, bootstrap, performance, groom-op]
triggers: [bootstrap over 15k tokens, sessions slow to start, bootstrap too heavy, audit bootstrap token count, demote full includes, context window pressure on long runs, shrink bootstrap]
trigger_prompt: When your composed bootstrap exceeds ~15k tokens and sessions feel slow to warm, reach for this protocol's four-pass audit to demote, retire, and swap includes down to a lean budget.
version: 6
updated_at: 2026-09-10T16:27:21.317Z
-->
When your composed bootstrap exceeds ~15k tokens, audit. Demote `full` includes that aren't read whole, retire dead weight, swap repo includes for a few specific protocols.
## Problem signature
`/user/bootstrap/preview` reports a token count > 15,000. Every session
loads that. Sessions feel slow to warm; long contexts get clipped sooner;
every fetch costs more.
## Suggested move
A four-pass audit:
### 1. Demote `full` → `short` for non-essential includes
`full` depth loads every byte. It's right when the agent really needs
the playbook in context (e.g. the user's personal handler). It's wrong
for "I want awareness." Most `full` includes can be `short` without loss.
```bash
curly protocol /user/bootstrap/config/{id} -X PATCH -d '{"depth": "summary"}'
```
### 2. Demote unread `summary` → `title`
Per `@protocol/retire-unused-bootstrap-include`. Saves the body
cost but keeps the agent aware the protocol exists.
### 3. Swap a `repo` include for 3–4 specific protocols
Repo includes at `short` can be hundreds of entries × 1 line each — adds
up. If the agent really only uses a handful, list those specifically.
### 4. Audit sections
`active-impulses`, `recent-protocols`, `recent-threads` — each has a
`limit` parameter. Tune it down.
```bash
curly protocol /user/bootstrap/config/{id} -X PATCH -d '{"metadata": {"limit": 5}}'
```
## When this applies
- Composed bootstrap > 15,000 tokens
- Sessions feel slow to start
- You're hitting context-window pressure on long agent runs
## When it doesn't
- You're under 10k tokens — bootstrap is already lean
- The user has explicitly said they want a heavy bootstrap (some workflows
benefit; respect the intent)
## Evidence
Surfaced in early-2026 audits of users with 20+ includes, half at `full`,
totaling 24-30k tokens per session.
*Part of the grooming ecosystem: the master pass is `@protocol/grooming`; sibling operations are `/search?q=tag:groom-op`.*
---
*Related: `@protocol/groom-protocols` · `@protocol/bootstrap-core` · `@protocol/retro` · `@protocol/impulse-the-recurring-task` · `@protocol/harvest`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*