From get-my-context
Reports the current Claude Code context window usage. Use when the user asks how full your context is, how much room is left, or whether to compact — and use proactively before starting a long-horizon task (multi-file refactor, extended debugging, multi-step plan) to decide pacing. Returns used percentage, remaining percentage, token counts, and active model.
How this skill is triggered — by the user, by Claude, or both
Slash command
/get-my-context:get-my-contextThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
!`bash "${CLAUDE_SKILL_DIR}/get-context.sh" "${CLAUDE_SESSION_ID}"`
!bash "${CLAUDE_SKILL_DIR}/get-context.sh" "${CLAUDE_SESSION_ID}"
Treat the line above as ground truth for this session. Report it directly when asked, or use it to decide whether to start new work, wrap up, or suggest /compact. Do not estimate or hedge.
The script defaults to a 200,000-token window because plan info isn't exposed to skills. If the active model is a 1M-context variant (model id ends in [1m], or the user has stated they're on Max/Team/Enterprise with Opus, or any other 1M-eligible setup), the reading will be ~5× too high.
Your job is to detect this and fix it for the user, not to make them do it.
When you detect a mismatch:
echo 1000000 > "${CLAUDE_SKILL_DIR}/window.conf"
Detection signals (any one is enough; the first is usually the strongest):
claude-opus-4-7, no [1m] suffix, even when 1M is active via Max/Team/Enterprise auto-upgrade — so the script can't see this, but you can.)[1m] (Pro/API explicit-suffix case).Do not write window.conf preemptively. Only after the user confirms. The 200k default is correct for API users, Pro without [1m], and any model with no 1M variant — so don't assume 1M without a positive signal.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub sdi2200262/cc-get-my-context --plugin get-my-context