본문으로 건너뛰기
cccskills
무료GitHub에 공개

superctx:add

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

SuperCtx Add

Add a local candidate file to the SuperCtx manifest to begin tracking it.

If SuperCtx is not set up yet (no .ctx/ directory exists), do not run this command first. Use /superctx:sync for the global setup/check/repair flow, then use /superctx:add <path> for targeted file connection after the shared context hub exists.

If .ctx/ exists but the configuration manifest is missing or invalid, the command will raise an error with inspect guidance.

Before Running (Consent Boundary)

  1. Direct User Invocation: If the user explicitly typed /superctx:add <path> or asked you to connect a file, you have consent. Announce the action:

    Using SuperCtx to connect <path> as a local context file.

  2. Agent-Initiated Flow: If you detect an untracked candidate file during a task and want to add it, you MUST obtain explicit natural-language user consent first. Offer to connect it, explain what it does, and run the command internally only after getting consent.

Check File Existence First

Before running the add command, check whether the file exists in the project.

If the file exists: Run the add command normally:

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

If the file does not exist and is a known standard convention (e.g. GEMINI.md, .claude/CLAUDE.md, .codex/AGENTS.md, .github/copilot-instructions.md):

Explain that the file does not exist yet, and offer to create it as a generated shim:

I do not see an existing <path>. I can create it as a generated shim pointing to .ctx/SUPERCTX.md. Proceed?

After the user confirms, run with --create-shim:

PYTHONPATH="${CLAUDE_PLUGIN_ROOT}/scripts" python3 -m superctx add --create-shim "$ARGUMENTS"

Do not create any file before receiving the user's explicit consent.

If the file does not exist and is not a known standard convention:

Explain clearly that the file must exist before it can be tracked:

<path> does not exist yet. SuperCtx tracks existing instruction files. Please create the file first or let me know if you would like me to create and connect it for you.

Then report to the user

Present the result printed by the command. On the healthy path, keep the report concise: confirm the file is now connected and that .ctx/SUPERCTX.md is the canonical context.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

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의 스킬 모두 보기

이 스킬의 문제 신고