Set up the restore-context hook so skills can survive /clear and /compact. Detects .claude/ vs .agents/ layout automatically.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Manage restore context files so skills can survive /clear and /compact. Use to write, delete, check, or list .agent-restore-context-* files.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Manage .agent-restore-context-<skill-name> files in the project root. These
files are automatically injected into context after /clear or /compact by
a SessionStart hook, allowing skills to resume where they left off.
action (required): One of write, delete, check, or statusskill-name (required for write/delete): The skill name used as the file suffixcontent (required for write): The full prompt content to inject after a
context reset/agent-restore-context write jira-implement-task — create or overwrite a
restore context file with the provided content/agent-restore-context delete jira-implement-task — remove the file when
the workflow is complete/agent-restore-context check — verify the hook is set up, offer to install
if not/agent-restore-context status — list all active restore context filesRead .claude/settings.json and .claude/settings.local.json (if it exists).
Search both for restore-context. If not found:
check, invoke /agent-restore-context-setup and stop./agent-restore-context-setup first. Do not proceed
with write until the hook is confirmed.write <skill-name>Write .agent-restore-context-<skill-name> to the project root with the
provided content (creates or overwrites). The content should be a complete,
self-contained prompt that tells the model how to resume. Recommended
structure (callers may use any format):
=== <SKILL-NAME> — RESUMED AFTER CONTEXT RESET ===
<Key state: ticket, branch, current task, etc.>
You MUST do the following before any other work:
1. Invoke /<skill-name> <arguments> to reload the full skill instructions.
2. <Read relevant plan/state files>
3. <Read relevant source/test files>
4. Continue from where you left off.
Do NOT start any work until you have completed the above steps.
=== END RESUMED CONTEXT ===
Confirm the file was written and its path.
delete <skill-name>.agent-restore-context-<skill-name> from the project root.check.agent-restore-context-* files in the project root./agent-restore-context-setup.status.agent-restore-context-* files in the project root..agents/ directories — only use them if they already existAgent restore context: $ARGUMENTS
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Set up the restore-context hook so skills can survive /clear and /compact. Detects .claude/ vs .agents/ layout automatically.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Archive a completed change. Use when the user wants to finalize and archive a change after implementation is complete.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.