All the context, in one place.
SuperCtx keeps AI coding assistants aligned on one shared project context. It creates a project-local .ctx/ hub from files like CLAUDE.md, AGENTS.md, and GEMINI.md, then keeps tool-specific instruction files as thin generated shims pointing back to that hub.
Many coding tools use their own project instruction files:
CLAUDE.md
AGENTS.md
GEMINI.md
.github/copilot-instructions.md
When you use more than one tool, those files can drift apart. SuperCtx gives the project one context layer and exposes it consistently across Claude Code, Codex, Gemini, Antigravity, Copilot, Cursor, and other AI coding tools.
Use SuperCtx when a repository has more than one AI coding tool and you want those tools to share the same project assumptions.
SuperCtx helps you:
- reduce repeated copy-paste between tool-specific instruction files
- keep context project-local instead of sending it to a cloud memory service
- inspect which instruction files are connected to the shared context hub
- detect missing or broken generated shims and missing inactive backups
- dogfood project context workflows across Claude Code, Codex, Gemini, and related tools
SuperCtx uses a project-local context folder:
.ctx/
The .ctx/ folder is the centralized hub for project context. SuperCtx makes .ctx/SUPERCTX.md the canonical hub, and generates thin shims pointing back to it:
┌─> CLAUDE.md (shim)
.ctx/SUPERCTX.md ┼─> AGENTS.md (shim)
└─> GEMINI.md (shim)
SUPERCTX.md is a version-controlled Markdown file and the canonical shared context hub. You can inspect or edit it directly if needed, but the normal workflow is to ask the agent to update project context. Original tool instruction files are backed up and converted to thin referential shims.
A built-in write guard also intercepts direct edits/writes to protected instruction files, guiding the agent to update the shared context hub instead.
SuperCtx includes a built-in agent reference skill, /using-superctx. This is an agent reference / advanced skill. Normal users do not need to run this command; the agent uses it automatically to orient itself on the project's context boundaries and active files.
When SuperCtx is active, the agent uses .ctx/SUPERCTX.md as shared project context through generated shims. You normally ask the agent to update project context naturally instead of managing Markdown or TOML by hand.
When SuperCtx is actively helping, the agent may use a short cue such as:
Using SuperCtx to check context health.
The cue should stay task-specific and brief. SuperCtx should not explain hub, shim, or backup internals unless you ask.
SuperCtx scans the project directory during setup, status checks, session start, and protected instruction-file writes:
- Verified Instruction Files (Auto-connected):
Root-level
CLAUDE.md,AGENTS.md,GEMINI.md, and hidden standard paths like.claude/CLAUDE.md,.codex/AGENTS.md, and.github/copilot-instructions.md. These are automatically added to.ctx/manifest.toml. - Supported Folder Candidates (Surfaced, not auto-connected):
Known standard folder layouts like
.agents/rules/andagents/skills/are surfaced as candidates for future connection work. - Legacy or Uncertain Candidates (Surfaced, not auto-connected):
Legacy layouts such as
.agent/rules/or.agents/skills/are reported. - Unverified Local Candidates (Surfaced, not auto-connected):
Local conventions such as
.agy/or.agy/ANTIGRAVITY.mdare surfaced and labeled as unverified local candidates (not official support).
SuperCtx is early software. Today, install it directly from GitHub for Claude Code or run the Python CLI from a source checkout.
From inside Claude Code, add this repository as a plugin marketplace and install the superctx plugin:
/plugin marketplace add MrShininnnnn/SuperCtx
/plugin install superctx@superctx
Claude Code copies marketplace plugins into Claude's local plugin cache. After installing or updating the plugin, restart Claude Code if the new skills do not appear immediately.
After installation, the primary command to check context health is:
/superctx:status
Note
SuperCtx is fully agent-guided. Use /superctx:status to check health. The agent will guide setup, add, and repair when needed. Normal users do not need to operate the other commands directly.
For advanced troubleshooting or developer verification, the following commands are available:
/superctx:init: Scaffold/migrate the context hub./superctx:sync: Repair generated shims./superctx:add <path>: Register a new local instruction file.
If accepted into the Claude community marketplace, SuperCtx will be installable with:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install superctx@claude-community
Until then, use the GitHub installation path above.
If you suspect a cached or stale version is running, or if you need to force-update SuperCtx to the latest version, run the following troubleshooting commands inside Claude Code:
/plugin marketplace update superctx
/plugin update superctx
/reload-plugins
To force-clear the local cache and reinstall the plugin:
/plugin uninstall superctx
/plugin install superctx@superctx
/reload-plugins
As a last resort if plugin caches persist, you can manually clear the Claude plugin cache directories under your user home profile.
SuperCtx is fully agent-guided. Under normal operation, the user does not need to run setup, add, or repair commands. The agent handles these operations internally after obtaining your explicit consent before making any changes.
- Setup: When a session starts in a candidate repository with standard instruction files, the agent automatically detects it, explains what changes will be made, and asks for your consent to set up SuperCtx.
- Connecting Files: If you add new local context files (such as
.agy/ANTIGRAVITY.md), the agent will notice them and ask if you want to connect them. - Repairing Shims: If a generated shim is broken or missing, the agent will detect the issue and ask for your consent to repair it.
If you want to manually verify the state of SuperCtx at any time, run /superctx:status. Advanced or agent-guided commands like /superctx:sync and /superctx:add will output details when actions are required.
SuperCtx commands are registered under the superctx: namespace to avoid colliding with Claude Code built-in slash commands such as /init, /status, and /sync.
After installing or reloading the plugin (/reload-plugins), you can verify command discovery:
Type /superctx in Claude Code — the command palette will show available SuperCtx operations. While normal users only need to operate /superctx:status, you will see:
Normal SuperCtx command:
/superctx:status - Check shared context health
Advanced SuperCtx operations:
/superctx:init - Scaffold/migrate the context hub
/superctx:sync - Repair generated shims
/superctx:add - Register a new local instruction file
Type /using — the agent reference skill will appear:
/using-superctx - Agent reference guide; normal users do not need to run this
Type /status — only the Claude Code built-in status command should appear. SuperCtx does not register an unprefixed /status command.
Run /superctx:status — SuperCtx confirms health or reports specific problems with actionable next steps.
SuperCtx uses different naming rules for different kinds of skills:
superctx:prefix — SuperCtx product operations that mutate or inspect SuperCtx state (e.g./superctx:status,/superctx:init,/superctx:add,/superctx:sync). The namespace prevents collisions with Claude Code built-ins.- Plain process-style names — Agent behavior and reference skills that teach the agent how to behave (e.g.
/using-superctx). These follow the same pattern as other process/reference skills like/using-superpowers.
SuperCtx also ships a Python CLI. From a source checkout with the package installed:
superctx init
superctx sync
superctx status
superctx add <path>superctx sync is a repair/recovery command for registered shims. It does not rewrite .ctx/SUPERCTX.md from tool-specific files.
The same commands can be run without the console script:
python -m superctx init
python -m superctx sync
python -m superctx status
python -m superctx add <path>SuperCtx is in early development. The first version focuses on one practical task:
Keep project-specific AI coding context in one local hub and expose it through tool-specific shims.
The current implementation includes:
- agent-guided setup/add/repair operations plus
/superctx:statusas the normal health command - auto-detection of known tool instruction files
- a deterministic Python engine using the standard library
- shim repair for missing or broken registered instruction files
- snapshot tests for generated demo project files
- CI for the Python test suite
- a Claude Code plugin manifest and marketplace catalog installable from GitHub
SuperCtx is:
- a project-context hub and shim tool
- a shared context layer for AI coding tools
- a way to reduce repeated copy-paste
- a way to keep coding assistants aligned
- a project-local system, not a cloud service
SuperCtx is not:
- a coding assistant
- an agent framework
- a task orchestration system
- a replacement for Claude Code, Codex, Gemini, Cursor, Copilot, or Antigravity
- a cloud memory database
- a secret manager
- One project context.
- Keep context project-local.
- Start simple.
- Treat generated files as disposable.
- Avoid storing secrets, credentials, caches, and local sessions.
- Support one implementation path first, but design for many tools.
- Stay focused on shared project context and shim repair.
SuperCtx requires Python 3.9 or newer (3.11+ recommended).
From a fresh clone:
python -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[test]'
python -m pytest tests/ -vUse the editable install for local CLI development:
superctx init
superctx sync
superctx statusProject-local agent folders and workflow notes are gitignored to prevent committing local setups, but SuperCtx scans and reports files inside them as candidates:
.claude/
.codex/
.agy/
docs/
Keep those local-only files out of commits.
Contributions, bug reports, examples, and use cases are welcome.
SuperCtx is still early, so please open an issue before making large design changes, adding new skills, or changing generated file conventions.
For contribution details, see CONTRIBUTING.md.
SuperCtx is created and maintained by Ning Shi (Shining).
MIT