superctx:sync

superctx:sync is a skill for Claude Code, Codex from MrShininnnnn/SuperCtx. It costs 36 tokens per session (469 once invoked), scanned A, original, MIT.

A repository context-management tool that keeps shared instructions in one place for coding assistants such as Claude Code, Codex, and Gemini. It can check and report the state of that shared context, and may repair it when explicitly authorized.

In plain words
What is it for?
Use it to set up, check, repair, or report shared assistant instructions for a repository.
Why use it?
It reduces conflicting or outdated instruction files across different coding tools. It also makes missing or broken context links easier to identify.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the superctx plugin — 3 skills, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mrshininnnnn/superctx/sync
Any agent
npx skills add MrShininnnnn/SuperCtx --skill sync
Clone the repo
git clone --depth 1 https://github.com/MrShininnnnn/SuperCtx

Made for: Claude Code, Codex.

Or install superctx, the plugin that ships this one along with the rest of its 3 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for superctx:sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrshininnnnn/superctx/sync.svg)](https://agentmods.dev/skills/mrshininnnnn/superctx/sync)
Your own site
<a href="https://agentmods.dev/skills/mrshininnnnn/superctx/sync"><img src="https://agentmods.dev/badge/skills/mrshininnnnn/superctx/sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.00469
Opus 5 $0.00018 $0.00234
Sonnet 5 $0.00007 $0.00094
Haiku 4.5 $0.00004 $0.00047

Measured 4d ago against content hash 83e76f981d8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

superctx:sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sync/SKILL.md · 42 lines

What it actually says

SuperCtx Sync

Converge this repository into the correct SuperCtx state. /superctx:sync is the global setup, check, repair, and report command.

It checks the health of registered shims, initializes candidate repos, repairs missing or broken shims when safe, and reports healthy, repaired, unresolved, and warning states.

  1. Direct User Invocation: If the user explicitly typed /superctx:sync or asked you to sync/repair/setup the repo, you have consent. Announce the action:

    Using SuperCtx to synchronize and verify project context.

  2. Agent-Initiated Flow: If you detect a setup opportunity (no .ctx/ folder but candidate files exist) or shim issues during a task, you MUST obtain explicit natural-language user consent before running the command. Use this consent prompt for setup:

    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?

Do not run /superctx:sync or make any mutations until you have explicit consent.

Run

PYTHONPATH="${CLAUDE_PLUGIN_ROOT}/scripts" python3 -m superctx sync

Then report to the user

Present the output from the command:

  • On the healthy path (exit 0), confirm concisely that all shims are healthy:

    All SuperCtx context links are healthy.

  • On initialization (exit 0), confirm the initialized files, hub location, and any backups.
  • On repair (exit 0), list the repaired shims.
  • On legacy or inspection warning/stops (exit 1), explain the warning and explain what needs to be inspected. Do not attempt automatic repair.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 42 lines · 36 tokens per session scan A 83e76f981d8e

Subscribe to this mod's changes

superctx:sync is a skill published in the GitHub repository MrShininnnnn/SuperCtx (2 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 469 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agentic-awesome-skills · 26 tokens

agent-memory

A hybrid memory system that provides persistent, searchable knowledge management for AI agents.

sickn33/agentic-awesome-skills · 18 tokens

agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/agentic-awesome-skills · 51 tokens

accint-solve

Route a goal through acc's scored-memory loop via accact(runtime="solve"); deliberate any returned brainframe and submit via continue.

sickn33/agentic-awesome-skills · 31 tokens

golang-benchmark

Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production performance with…

samber/cc-skills-golang · 104 tokens

golang-security

Security best practices and vulnerability prevention for Golang — injection (SQL, command, XSS), cryptography, path traversal, SSRF and HTTP security headers, cookies, secrets management, memory safety, PII in logs, STRIDE/DREAD threat modeling, plus gosec SAST, race detection, and fuzz testing. Apply when writing…

samber/cc-skills-golang · 197 tokens