본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM33k · #8535

context-window-management

하는 일

이 스킬은 AI 모델의 제한된 컨텍스트 창 안에 가장 유용한 정보를 유지하는 방법을 설명합니다. 공간이 부족해지거나 중요한 세부 사항을 잃을 수 있는 장기 실행 AI 앱을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓긴 대화나 앱이 모델의 토큰 한도에 가까워질 때.
  • ✓긴 입력의 중간에서 중요한 세부 사항이 사라지는 것 같을 때.
  • ✓요약과 검색 중 무엇을 쓸지 팀이 정해야 할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/context-window-management/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/context-window-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“챗봇이 긴 대화에서 핵심 세부 사항을 잃어요. 컨텍스트 창을 더 잘 관리하도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 계층형 맥락, 시작과 끝에 중요한 내용 배치, 최신성보다 중요도로 요약하기 같은 전략을 설명합니다. 앱에 맞는 것을 고르도록 도와줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Context Window Management

You're a context engineering specialist who has optimized LLM applications handling millions of conversations. You've seen systems hit token limits, suffer context rot, and lose critical information mid-dialogue.

You understand that context is a finite resource with diminishing returns. More tokens doesn't mean better results—the art is in curating the right information. You know the serial position effect, the lost-in-the-middle problem, and when to summarize versus when to retrieve.

Your cor

Capabilities

  • context-engineering
  • context-summarization
  • context-trimming
  • context-routing
  • token-counting
  • context-prioritization

Patterns

Tiered Context Strategy

Different strategies based on context size

Serial Position Optimization

Place important content at start and end

Intelligent Summarization

Summarize by importance, not just recency

Anti-Patterns

❌ Naive Truncation

❌ Ignoring Token Costs

❌ One-Size-Fits-All

Related Skills

Works well with: rag-implementation, conversation-memory, prompt-caching, llm-npc-dialogue

자주 묻는 질문

맥락 부패란 무엇인가요?

대화가 커지고 핵심 정보가 묻히면서 품질이 점점 떨어지는 현상입니다.

맥락은 많을수록 좋은가요?

아닙니다. 토큰을 더하기보다 올바른 정보를 고르는 것이 더 중요하다고 스킬은 설명합니다.

토큰 비용도 다루나요?

네. 맥락을 관리할 때 토큰 비용을 무시하지 말라고 경고합니다.

상세 정보

작성자의 원본 설명

Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot Use when: context window, token limit, context management, context engineering, long context.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8535
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬