[BUG] `/claude-api` immediately fails with "Context limit reached" in a fresh session

Status Closed — duplicate
Reported on v2.1.221
Maintainer reply None cached
Activity 1 comment · opened Aug 4, 2026 · closed Aug 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In a brand new Claude Code session with no prior conversation history, typing /claude-api immediately fails with:

Context limit reached · /compact or /clear to continue

What Should Happen?

claude should use claude-api skills successful ............

Error Messages/Logs

Steps to Reproduce

  1. Start a new Claude Code session
  2. In the empty session, enter: /claude-api
  3. Observe the error: Context limit reached · /compact or /clear to continue

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.221 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗