claude-code - 💡(How to fix) Fix Skill invocation fails with '1M context extra usage required' even when already on 1M model [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46817Fetched 2026-04-12 13:32:18
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

When invoking a custom skill via /pds-test (a Playwright MCP-based E2E integration test skill), the following error is consistently thrown:

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

Error Message

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

Root Cause

When invoking a custom skill via /pds-test (a Playwright MCP-based E2E integration test skill), the following error is consistently thrown:

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

Code Example

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context
RAW_BUFFERClick to expand / collapse

Description

When invoking a custom skill via /pds-test (a Playwright MCP-based E2E integration test skill), the following error is consistently thrown:

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

Environment

  • Claude Code version: Latest (CLI)
  • Model: claude-opus-4-6[1m] (already on 1M context)
  • OS: Windows 11 Pro 10.0.26200
  • Shell: bash (Git Bash)

Steps to reproduce

  1. Start Claude Code with Opus 4.6 (1M context) model
  2. Have a custom skill defined in .claude/skills/pds-test/
  3. Run /pds-test in the conversation

Expected behavior

The skill should load and execute normally, since the session is already running on the 1M context model.

Actual behavior

The error API Error: Extra usage is required for 1M context is thrown immediately when the skill is invoked. The skill file itself is ~200 lines of markdown instructions with references to other files — it should not trigger a context limit issue on invocation alone.

Notes

  • The skill works conceptually — it reads reference files and drives Playwright MCP tools
  • The error appears to be a billing/entitlement gate, not an actual context overflow
  • Running /extra-usage is not always an option depending on the plan
  • The error message suggests switching models, but the skill requires 1M context to function properly with Playwright MCP snapshots

extent analysis

TL;DR

The error is likely due to a billing or entitlement issue, and switching to a different model or enabling extra usage may resolve the issue.

Guidance

  • Verify that the current plan supports 1M context and extra usage is enabled, as the error message suggests a billing/entitlement gate rather than an actual context overflow.
  • Check the documentation for the claude-opus-4-6 model to see if there are any specific requirements or limitations for using the 1M context.
  • Consider reaching out to support to clarify the entitlement requirements for the current plan and to see if there are any alternative solutions that do not require running /extra-usage.
  • Review the skill code to ensure that it is not inadvertently triggering the context limit, although the issue seems to be related to the model and plan rather than the skill itself.

Example

No code snippet is provided as the issue seems to be related to the model and plan rather than the code.

Notes

The solution may depend on the specific plan and entitlements, and it may be necessary to contact support to resolve the issue.

Recommendation

Apply workaround: Reach out to support to clarify the entitlement requirements and explore alternative solutions, as running /extra-usage may not always be an option depending on the plan.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The skill should load and execute normally, since the session is already running on the 1M context model.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING