cc-skill-strategic-compact
전략적 컨텍스트 압축 시점 제안
긴 Claude Code 세션은 시간이 지나면서 성능 저하를 일으키는 컨텍스트가 누적됩니다. 이 스킬은 작업 흐름을 방해하지 않으면서 컨텍스트를 압축할 최적의 시점을 식별합니다.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "cc-skill-strategic-compact". Tool call threshold reached (50 calls)
Résultat attendu:
[StrategicCompact] 50 tool calls reached - consider /compact if transitioning phases
Utilisation de "cc-skill-strategic-compact". Periodic checkpoint at 75 tool calls
Résultat attendu:
[StrategicCompact] 75 tool calls - good checkpoint for /compact if context is stale
Utilisation de "cc-skill-strategic-compact". User runs /compact after seeing suggestion
Résultat attendu:
Conversation summary created with key decisions and code changes preserved. Context reduced from 50 messages to 12 summary points.
Audit de sécurité
SûrAll static analysis findings are false positives. The skill is a benign shell script that tracks tool call counts in a temp file and outputs suggestions to stderr. No network access, no credential handling, no command injection vectors. The temp file usage is for local state tracking only.
Problèmes à risque faible (1)
Facteurs de risque
📁 Accès au système de fichiers (1)
Score de qualité
Ce que vous pouvez construire
장시간 개발 세션
복잡한 다중 파일 리팩토링 작업에서 작업하는 개발자는 탐색 단계를 완료한 후 구현으로 이동하기 전에 컨텍스트를 압축하라는 적시에 알림을 받습니다.
연구에서 구현으로의 전환
데이터 과학자와 분석가는 데이터 탐색에서 코드 생성으로 전환할 때 체크포인트 알림을 받아 관련 컨텍스트가 보존되도록 합니다.
다중 작업 워크플로우 관리
여러 Concurrent 작업을 동시에 처리하는 프로젝트 관리자는 새 마일스톤을 시작하기 전에 완료된 작업을 압축하라는 주기적인 제안을 받습니다.
Essayez ces prompts
대화 내용을 검토하고 주요 결정 사항, 코드 변경 사항, 미결 질문을 간결하게 요약하세요. 현재 작업을 계속하는 데 필요한 내용만 보존하세요.
탐색 단계에서 구현 단계로 전환하고 있습니다. 발견된 요구 사항과 제약을 요약한 후 구현 단계용으로 컨텍스트를 재설정하세요.
현재 마일스톤을 완료하고 아카이브 요약を作成하세요. 달성된 사항, 수정된 파일, 후속 작업을 문서화하세요. 그런 다음 다음 마일스톤을 위해 압축하세요.
현재 대화 컨텍스트를 분석하세요. 작업 연속성을 유지하면서 안전하게 제거할 수 있는 중복된 대화, 해결된 질문, 오래된 정보를 식별하세요.
Bonnes pratiques
- Compact context after completing logical workflow phases, not during active problem-solving
- Review compaction suggestions and manually verify important context is preserved before compacting
- Set COMPACT_THRESHOLD environment variable to match your typical session complexity and attention span
Éviter
- Do not compact context in the middle of debugging sessions where full history is essential
- Avoid setting thresholds too low (under 25) which causes premature compaction suggestions
- Do not rely solely on automated suggestions - use judgment about task criticality before compacting
Foire aux questions
How does this skill track tool call counts?
Does this skill automatically compact my context?
Can I customize when suggestions appear?
What happens if I delete the temp counter file?
Is this skill safe to use with sensitive projects?
Do I need to configure hooks manually?
Détails du développeur
Auteur
affaan-mLicence
MIT
Dépôt
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/cc-skill-strategic-compactRéf
main
Structure de fichiers