[FEATURE] Add skills metadata to /context command summary

Resolved 💬 5 comments Opened Dec 20, 2025 by PaulRBerg Closed Feb 27, 2026

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.

<img width="300" src="https://github.com/user-attachments/assets/2fc26967-802e-41c9-9c52-226553ba488a" />

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: https://github.com/anthropics/claude-code/issues/14834

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗