Skip to content

[FEATURE] Add skills metadata to /context command summary #14839

@PaulRBerg

Description

@PaulRBerg

Problem

The /context command provides a helpful breakdown of context window usage, but it currently omits skills metadata from the summary. The command shows:

  • System prompt
  • System tools
  • MCP Tools
  • Custom agents
  • Memory files
  • Messages
  • Free Space

However, skills (SKILL.md files) also consume context tokens since their name and description metadata are loaded at startup. Users have no visibility into how much context their installed skills are using.

Proposed solution

Add a "Skills" category to the /context command output that shows:

  • Number of skills loaded
  • Approximate tokens consumed by skill metadata (names + descriptions)

Example output:

Skills:          12 skills (~1,200 tokens)

Alternatives considered

None - this seems like a straightforward addition to the existing context summary.

Priority

Medium

Category

CLI commands and flags

Related issue: #14834

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions