
Manage context
Shows and switches which skills, plugins and MCP servers load into Claude Code context
Manage context is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Manage context
This skill audits what a Claude Code project loads at session start. It reports each skill's role (automatic, name only, slash only or off), whether it was installed globally, per project or by a plugin, and how the setting was resolved across settings layers. It can also switch skills, plugins, MCP servers and built-in tools on or off without editing config by hand.
The workflow is built around scripts. A quick switch command previews changes as a dry run, lists any rejected or ignored settings, and applies them only after an explicit confirmation. A full scan measures the token cost of the starting context from the session's first turn, mines roughly 90 days of usage for recommendations, and writes an HTML report with tabs for the baseline, skills, recommendations, ignored settings and a pending plan. Changes are backed up first and can be reverted with an undo file.
It expects Python 3 and Claude Code with access to the project's settings files and the local session history. Token counts are estimates.
When your agent uses it
Show the role every skill plays in a project (Auto, name-only, /slash only, off; installed globally, per project or by a plugin; switched differently in other projects) and switch skills, plugins, MCP servers and built-in tools on or off. Measures what fills a session's starting context, mines 90 days of usage for recommendations, and applies changes with a dry run and undo.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 9 files (171 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/manage-context to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/manage-context &&
cp -R "$tmp/manage-context" ~/.claude/skills/manage-context &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/manage-context inside it instead.
Copy the skill folder to ~/.agents/skills/manage-context to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/manage-context &&
cp -R "$tmp/manage-context" ~/.agents/skills/manage-context &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/manage-context inside it instead.
Copy the skill folder to ~/.cursor/skills/manage-context to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/manage-context &&
cp -R "$tmp/manage-context" ~/.cursor/skills/manage-context &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/manage-context inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ccomkhj/skills.git --path manage-contextOr copy the folder to ~/.gemini/skills/manage-context yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/manage-context:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/manage-context &&
cp -R "$tmp/manage-context" ~/.copilot/skills/manage-context &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/manage-context inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ccomkhj/skills.gitThen copy skills/manage-context into your agent's skills folder as manage-context. Agents that support SKILL.md read one folder per skill.
What it does
- Skill role overview
- Shows whether each skill is automatic, name only, slash only or off, and where that setting comes from.
- Quick on and off switch
- Changes skill, plugin or scope settings with a dry run before anything is written.
- Starting context measurement
- Estimates the tokens that skills, plugins and tools add to a session's first turn.
- Usage-based recommendations
- Suggests setting changes based on roughly 90 days of tool calls and typed commands.
- Ignored settings detection
- Finds configuration that has no effect and explains the cause and fix.
- Safe apply and undo
- Backs up config before atomic writes and produces an undo command.
Good for
- Show me which skills are active in this project
- Trim my session's starting context and tell me what uses the most tokens
- Make the deploy workflow skill slash-only
- Turn off a plugin I no longer use in this project
- Recommend skills to disable based on my recent usage
Manage context FAQ
What does Manage context need to run?
It runs Python scripts, so Python 3 is required, and it reads Claude Code's project and global settings and session history.
Does Manage context change my settings without asking?
No. It shows a dry run of every change and applies it only after an explicit yes, and it writes a backup and undo file.
Where does Manage context apply changes?
Changes go to the project settings by default, or to global settings if you pass the global scope.
When do changes take effect?
Changes take effect in the next session, not the current one.
How do I install Manage context in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/manage-context to use it in all your projects, or to .claude/skills/manage-context in one project.
Does Manage context run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Manage context?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Manage context?
The closest alternatives to Manage context are Config hygiene edho ferdian, Context budget, Organize skill MCP, Claude settings audit and Ck.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ccomkhj/skills

Audits AGENTS.md project memory files and proposes targeted, approved updates
- Open source
- 10 GitHub stars
- Developer tools

Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases
- Open source
- 10 GitHub stars
- Education and exam prep

Runs a project and builds an interactive walkthrough from what actually executed
- Open source
- 10 GitHub stars
- Developer tools

Turns a clear improvement target into a measurable Claude Code /goal condition
- Open source
- 10 GitHub stars
- Developer tools

Races Claude against Codex in separate git worktrees until a measurable goal is met
- Open source
- 10 GitHub stars
- Developer tools

Runs a per-turn race between two coding agents and keeps the better diff
- Open source
- 10 GitHub stars
- Developer tools




