From superctx
Use when entering a repository with a .ctx/ hub, or when the user asks about project context, agent instructions, tool configuration, health, candidates, broken shims, repair, or cross-tool context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superctx:using-superctxThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is an agent reference and advanced skill. Normal users do not need to run this; the agent uses it automatically to orient itself on how to interact with the project-local SuperCtx context hub.
This is an agent reference and advanced skill. Normal users do not need to run this; the agent uses it automatically to orient itself on how to interact with the project-local SuperCtx context hub.
Use this skill whenever:
.ctx/ directory exists in the project root.SuperCtx provides a central project-local context layer using a hub-and-shim model:
.ctx/SUPERCTX.md is the canonical project context hub..claude/CLAUDE.md, .codex/AGENTS.md) are generated shims/adapters pointing to the hub..ctx/sources/ contains inactive recovery copies of original instruction files.Stay quiet about internals. Do not explain hub/shim/backup mechanics unless the user asks. Use SuperCtx context naturally without announcing how it works.
Announce SuperCtx interactions. When SuperCtx is relevant or actively shaping the work, announce in one short sentence before taking action:
Using SuperCtx to <purpose>.
Keep the announcement task-specific.
Do NOT ask users to manually edit manifest.toml or SUPERCTX.md, or manually run /superctx:init, /superctx:add, or /superctx:sync as the happy path unless they explicitly ask for commands. Prefer agent action and internal command execution. If /superctx:status finds setup, add, repair, or migration opportunities, offer the action in natural language and ask for consent.
Avoid saying "sync context" unless actually running /superctx:sync. The sync command is strictly for shim repair, not general context updates.
Do NOT import .ctx/sources/ backups as active context. Agents must not read or load files from .ctx/sources/ as active context. SuperCtx internals may read them for recovery and status checks.
Do NOT edit generated shims as the source of truth. Tool-specific files are thin generated pointers to .ctx/SUPERCTX.md.
Use /superctx:sync for repair only. It regenerates missing or broken shims from the hub; it does not update the hub from tool files.
Offer agent-guided setup with explicit user consent when relevant. If a candidate repository is detected (state candidate_repo), do not run /superctx:init or mutate files without the user's explicit natural-language consent. Do not create .ctx/ or any other files before receiving consent. Present the detected files, explain what setup will do, and ask for confirmation. Use this exact consent prompt:
Using SuperCtx, I can set up one shared context hub for this repo.
This will:
- create
.ctx/SUPERCTX.md- back up the original instruction files under
.ctx/sources/- replace the live instruction files with generated shims pointing to the hub
Proceed?
Once the user confirms, run /superctx:init. If the user declines, leave the repo unchanged.
Guide legacy or broken setups to repair/migration/inspection.
managed_needs_repair and the recommended action is repair, offer to repair the broken or missing shims and run /superctx:sync internally after getting consent.managed_needs_repair and the recommended action is inspect (due to missing or invalid manifest), explain the problem clearly and do not run sync or init.managed_legacy, explain the situation clearly, warning that migration/recovery is required. Preserve existing instruction contents and use explicit user-approved migration steps; do not delete .ctx or run a fresh setup ad hoc.
Never run /superctx:init or mutate files on a repair/migration state without explicit user consent.Announce these cues before starting the corresponding action or command. Replace <path> with the actual file path.
| Situation | Phrase |
|---|---|
| Updating instructions | Using SuperCtx to update the shared project context across connected agents. |
| Checking health | Using SuperCtx to check context health. |
| Adding a local file | Using SuperCtx to connect <path> as a local context file. |
| Repairing shims | Using SuperCtx to repair generated context shims. |
| Offering setup | Using SuperCtx to offer project context management setup. |
Use these phrases to report successful execution when the command output is healthy.
| Situation | Phrase |
|---|---|
| Healthy result | All SuperCtx context links are healthy. |
/superctx:init: Scaffolds the .ctx/ hub, auto-detects standard files, imports original content, stores inactive backups, and writes generated shims./superctx:add <path>: Tracks a local custom candidate file, imports its current content into the hub, stores an inactive backup, and writes a generated shim./superctx:status: Reports hub, shim, backup, and candidate health./superctx:sync: Repairs missing or broken registered shims without rewriting the hub..ctx/SUPERCTX.md, then run /superctx:status to verify that registered shims are still healthy..ctx/SUPERCTX.md as the canonical project context. If freshness matters, run /superctx:status./superctx:status./superctx:status. If the registered shim is missing or broken, explain the issue and offer to repair the shims. Once the user gives consent, run /superctx:sync internally./superctx:add .agy/ANTIGRAVITY.md internally.candidate_repo with detected files .claude/CLAUDE.md and .codex/AGENTS.md./superctx:init yet.Using SuperCtx to set up the shared project context for this repo., then run /superctx:init. Report the result concisely.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub mrshininnnnn/superctx --plugin superctx