OmniscioGuidesAgent descriptions over the limit
Claude Code: Agent descriptions are over the 15.0k-token limit
The number in the warning is the combined size of your subagents' descriptions, which load before you type anything. It is the part of a subagent that cannot wait until you need it.
Last checked against Anthropic's documentation on November 25, 2026. By the Omniscio team. Updated .
What is the exact message?
Agent descriptions are over the 15.0k-token limit (~16.2k tokens) · ask Claude to trim agent descriptions in .claude/agents/The figure in parentheses is the total Claude Code estimated, so yours will differ. The path at the end is the one it suggests starting with.
Anthropic's error reference says this appears as a startup notice in the conversation view rather than on stderr, which is why it can look like ordinary session output rather than a problem to fix.
What does it mean?
The combined descriptions of your subagents, apart from the built-in ones, exceed 15,000 tokens as Claude Code estimates them. Each agent counts its name plus its description frontmatter.
Nothing was refused and nothing was dropped. Claude Code loads every agent whether or not the total is over the limit, so the warning is about cost rather than failure.
The cost is context. Anthropic's subagent page says those descriptions take up context, so keep them short. They are loaded at the start of a session, before you have asked for anything.
Why descriptions cost more than they look
A subagent's description is not documentation. Claude reads it to decide when to delegate, so it should describe the trigger rather than repeat the instructions.
The system prompt, by contrast, loads only when that subagent runs. That is the split Anthropic recommends: the description carries the trigger, and the detail lives in the prompt where it costs nothing until it is used.
Claude Code looks in two places for the agents you write: your project's .claude/agents/ folder and your personal ~/.claude/agents/ folder. It scans them, and their subfolders, every time a session starts.
How do I fix it?
- Shorten the descriptions. Trim the
descriptionfrontmatter of your agent files, or ask Claude to trim them for you. Keep the words that say when the agent should be used. - Move detail into the system prompt. Put the how-to, the constraints and the reference material in the Markdown body below the frontmatter. It loads only when that subagent runs.
- Delete agents you no longer use. Anthropic's second step is removing agent files you no longer need. An unused agent's description is still counted every time a session starts.
- Look in both agent folders. Check the project's
.claude/agents/, including nested folders, and your own~/.claude/agents/. Those are the two places Anthropic documents for subagents you write; the message names the project folder.
What does not help
- Shortening the system prompts instead. Those load only when an agent runs, so the startup total does not move at all.
- Compacting the conversation. It shrinks the conversation. The fix Anthropic documents here is on the agent files, not on the transcript.
- Ignoring it because nothing broke. Nothing broke, but those descriptions still take context from every session, and the warning is Anthropic's signal that the set has grown past its intended size.
- Deleting an agent you rely on. Deleting a file is the right call only for agents you no longer use; for the rest, trim the description.
How do I know it is fixed?
- A new session starts without the notice in the conversation view.
- Ask Claude for a task one of the trimmed subagents handles, and it still hands the task to that agent, which shows the shorter description still names the trigger.
- The agents you kept are still listed, and only the description text got smaller.
Where these answers come from
- Anthropic's error reference, read November 25, 2026: the message, the startup notice in the conversation view, what counts, that every agent still loads, and both fixes.
- Anthropic's subagents page: that descriptions take up context, the 15,000-token warning, trimming the description and moving detail into the system prompt, which loads only when the subagent runs.
- Anthropic's subagents page, Choose the subagent scope:
.claude/agents/,~/.claude/agents/, recursive scanning and the--add-dirfolder.
Common questions
Did any of my subagents stop loading?
No. Anthropic says Claude Code loads every agent whether or not the total is over the limit, so the warning does not change what loads. It tells you the descriptions cost more context than intended.
Should I shorten the system prompt or the description?
The description. System prompts load only when that subagent runs, so trimming one does not reduce what every session starts with. Descriptions load at startup and are what the limit counts.
What counts toward the 15,000 tokens?
Each agent counts its name plus its description frontmatter, added up across your subagents apart from the built-in ones. Anthropic describes the 15,000-token figure as Claude Code's own estimate of that total.
Is this an error I have to fix before working?
No. It is a startup notice in the conversation view rather than on stderr, and the session runs normally. Trimming is about giving the conversation more room and keeping delegation sharp.