Best fit
- 임의의 자동 컴팩션 대신 논리적 간격에서 수동 컨텍스트 압축을 제안하여 작업 단계를 통해 컨텍스트를 보존합니다.
affaan-m/ECC
임의의 자동 컴팩션 대신 논리적 간격에서 수동 컨텍스트 압축을 제안하여 작업 단계를 통해 컨텍스트를 보존합니다.
npx skills add https://github.com/affaan-m/ECC --skill "docs/ko-KR/skills/strategic-compact"Source checked Jul 28, 2026·Refresh due Oct 26, 2026
Reorganized from the pinned upstream SKILL.md
According to the pinned SKILL.md from affaan-m/ECC: 임의의 자동 컴팩션에 의존하지 않고 워크플로우의 전략적 지점에서 수동 /compact를 제안합니다.
npx skills add https://github.com/affaan-m/ECC --skill "docs/ko-KR/skills/strategic-compact"Best fit
Bring this context
Expected outputs
Key source sections
Sections are extracted automatically from the pinned SKILL.md and link back to the source.
컨텍스트 제한에 근접하는 긴 세션을 실행할 때 (200K+ 토큰)
자동 컴팩션은 임의의 지점에서 실행됩니다: - 종종 작업 중간에 실행되어 중요한 컨텍스트를 잃음 - 논리적 작업 경계를 인식하지 못함 - 복잡한 다단계 작업을 중단할 수 있음
suggest-compact.js 스크립트는 PreToolUse (Edit/Write)에서 실행되며 다음을 수행합니다:
플러그인으로 설치한 경우: 별도 설정이 필요 없습니다. 플러그인의 hooks/hooks.json이 이미 suggest-compact.js를 등록합니다(훅 ID pre:edit-write:suggest-compact, standard 및 strict 훅 프로파일에서 활성). 아래 블록을 /.claude/settings.json에 복사하지 마세요 — 플러그인 설치에는 /.claude/scripts/가 존재하지 않으며, 플러그인 훅을 중복하면 이중 실행이 발생합니다(${CLAUDEPLUGINROOT}…
환경 변수: - COMPACTTHRESHOLD -- 첫 번째 제안까지의 도구 호출 횟수 (기본값: 50)
SkillSignal prompt templates
These prompts were written by SkillSignal from the source structure; they are not upstream text.
Task-start prompt
Confirm source fit, inputs, and outputs before acting.
Use strategic-compact to help me with: [specific task]. Context: [files, data, or background]. Constraints: [environment, scope, and prohibited actions]. Before acting, check the pinned SKILL.md and explain which sections apply, what inputs are still missing, and what you will deliver.
Source-guided execution
Make the Agent explicitly follow the key extracted sections.
Apply the pinned strategic-compact source to [task]. Pay particular attention to these source sections: “활성화 시점”, “전략적 컴팩션이 필요한 이유”, “작동 방식”, “Hook 설정”, “구성”. Preserve the important decision at each step. Mark facts not covered by the source as “needs confirmation” instead of inventing them. Then verify the result against my acceptance criteria: [criteria].
Result-review prompt
Check omissions, permissions, and source drift before delivery.
Review the current strategic-compact result: (1) does it satisfy the original task; (2) were any applicable steps or limits in the pinned SKILL.md missed; (3) did it perform any unauthorized file, command, network, or data action; and (4) which conclusions remain unverified? List issues first, then fix only what the source or user authorization supports.
Output checklist
The task matches the purpose documented in the SKILL.md.
The source section “활성화 시점” has been checked.
The source section “전략적 컴팩션이 필요한 이유” has been checked.
The source section “작동 방식” has been checked.
The source section “Hook 설정” has been checked.
Inputs, constraints, and acceptance criteria are explicit.
Unverified facts, compatibility, and outcome claims are clearly marked.
Any file, command, network, or data action has been reviewed.
Choose a different workflow
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailSuggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailSuggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailFAQ
임의의 자동 컴팩션에 의존하지 않고 워크플로우의 전략적 지점에서 수동 /compact를 제안합니다.
The catalog detected this source-specific install command: npx skills add https://github.com/affaan-m/ECC --skill "docs/ko-KR/skills/strategic-compact". Inspect the command and pinned source before running it.
No dedicated Agent platform is declared in the pinned source record.
Quality breakdown
Based on traceable docs and repository signals; stars are not treated as quality.
Compare before choosing
These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
建议在逻辑间隔处手动压缩上下文,以在任务阶段中保留上下文,而非任意的自动压缩。
任意の自動コンパクションではなく、タスクフェーズを通じてコンテキストを保持するための論理的な間隔での手動コンパクションを提案します。
임의의 자동 컴팩션에 의존하지 않고 워크플로우의 전략적 지점에서 수동 /compact를 제안합니다.
자동 컴팩션은 임의의 지점에서 실행됩니다:
논리적 경계에서의 전략적 컴팩션:
suggest-compact.js 스크립트는 PreToolUse (Edit/Write)에서 실행되며 다음을 수행합니다:
플러그인으로 설치한 경우: 별도 설정이 필요 없습니다. 플러그인의 hooks/hooks.json이 이미 suggest-compact.js를 등록합니다(훅 ID pre:edit-write:suggest-compact, standard 및 strict 훅 프로파일에서 활성). 아래 블록을 ~/.claude/settings.json에 복사하지 마세요 — 플러그인 설치에는 ~/.claude/scripts/가 존재하지 않으며, 플러그인 훅을 중복하면 이중 실행이 발생합니다(${CLAUDE_PLUGIN_ROOT}는 사용자 settings.json에서 해석되지 않습니다).
수동 설치(./install.sh)인 경우 ~/.claude/settings.json에 추가합니다:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit",
"hooks": [{ "type": "command", "command": "node ~/.claude/scripts/hooks/suggest-compact.js" }]
},
{
"matcher": "Write",
"hooks": [{ "type": "command", "command": "node ~/.claude/scripts/hooks/suggest-compact.js" }]
}
]
}
}
환경 변수:
COMPACT_THRESHOLD -- 첫 번째 제안까지의 도구 호출 횟수 (기본값: 50)컴팩션 시기를 결정하기 위해 이 표를 사용하세요:
| 단계 전환 | 컴팩션? | 이유 |
|---|---|---|
| 조사 -> 계획 | 예 | 조사 컨텍스트는 부피가 크고, 계획이 증류된 결과물 |
| 계획 -> 구현 | 예 | 계획은 TodoWrite 또는 파일에 있으므로 코드를 위한 컨텍스트 확보 |
| 구현 -> 테스트 | 경우에 따라 | 테스트가 최근 코드를 참조하면 유지; 포커스 전환 시 컴팩션 |
| 디버깅 -> 다음 기능 | 예 | 디버그 추적이 관련 없는 작업의 컨텍스트를 오염시킴 |
| 구현 중간 | 아니오 | 변수명, 파일 경로, 부분 상태를 잃는 비용이 큼 |
| 실패한 접근 후 | 예 | 새 접근을 시도하기 전에 막다른 길의 추론을 정리 |
무엇이 유지되는지 이해하면 자신 있게 컴팩션할 수 있습니다:
| 유지됨 | 손실됨 |
|---|---|
| CLAUDE.md 지침 | 중간 추론 및 분석 |
| TodoWrite 작업 목록 | 이전에 읽은 파일 내용 |
메모리 파일 (~/.claude/memory/) | 다단계 대화 컨텍스트 |
| Git 상태 (커밋, 브랜치) | 도구 호출 기록 및 횟수 |
| 디스크의 파일 | 구두로 언급된 세밀한 사용자 선호도 |
/compact 사용 -- 커스텀 메시지 추가: /compact Focus on implementing auth middleware nextcontinuous-learning 스킬 -- 세션 종료 전 패턴 추출