跳到正文
cccskills
免费在 GitHub 公开

superctx:sync

Use when the user wants to set up, check, repair, or report the SuperCtx state for this repository. Consolidated command for global context convergence.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

Before Running (Consent Boundary)

  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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when the user wants to start tracking a local custom instruction file (like .agy/ANTIGRAVITY.md or .github/copilot-instructions.md) in SuperCtx. Requires a path argument.

中文简介正在准备中。当前显示原文说明。

MrShininnnnn/SuperCtx22026年6月28日 更新

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.

中文简介正在准备中。当前显示原文说明。

MrShininnnnn/SuperCtx22026年6月28日 更新

查看 MrShininnnnn 的全部技能

报告此技能的问题