Skip to content

Your system prompt is too big #19212

@alex-jitbit

Description

@alex-jitbit

What version of the IDE extension are you using?

26.417.40842

What subscription do you have?

Plus

Which IDE are you using?

VSCode/.Cursor (same)

What platform is your computer?

No response

What issue are you seeing?

I am trying Codex (after years of using Cursor and months of Claude Code) and the system prompt looks bloated.

Asking a simple question "what is 2+2" consumes ~13k (13 thousand!) tokens. I don't have any skills, custom prompts, MCPs, my project's agents.md is 30 lines (500 tokens).

I interrogated Codex to tell me how big the system instructions are and it says:

A reasonable estimate for this session is:

* System instructions: 2k-4k
* Web/browsing policy and source-handling rules: 3k-5k
* Developer instructions for coding behavior/style/workflow: 3k-5k
* Tool schemas and tool descriptions: 2k-4k
* AGENTS.md and environment context: 0.5k-1k
* Your actual message: under 100

Pardon my French, this is nuts.

What steps can reproduce the bug?

Ask "What is 2+2" in VScode extension, see this

Image

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionrate-limitsIssues related to rate limits, quotas, and token usage reporting

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions