context-window-management
/context-window-management
Ogranicza wyniki zwracane przez serwery narzędzi, żeby kontekst starczył na rozumowanie i na procedurę, którą agent właśnie wykonuje.
- Autor
- Wsh7Ash ↗
- Repozytorium
- skillmcp ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 29.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Ogranicza wyniki zwracane przez serwery narzędzi, żeby kontekst starczył na rozumowanie i na procedurę, którą agent właśnie wykonuje.
Oryginalny opis (EN)
Spend context on the procedure you will follow, not on everything the server could return. Use when a session accumulates tool output and the budget for reasoning is shrinking
Jak działa
- Procedure
- Signals
- Patterns
- Pitfalls
- Done when
- References
Podgląd SKILL.md
--- name: context-window-management description: "Spend context on the procedure you will follow, not on everything the server could return. Use when a session accumulates tool output and the budget for reasoning is shrinking" pack: skillmcp version: 1.0.0 category: ai-tool tags: [invoke, context, efficiency] --- # Context Window Management > Spend context on the procedure you will follow, not on everything the server could return **Use when:** a session accumulates tool output and the budget for reasoning is shrinking **Avoid when:** the session is short and every returned document is used immediately ## Procedure 1. Track roughly how much text each tool call returned 2. Prefer summaries and counts over full documents when deciding 3. Fetch full text only for the item you will act on 4. Drop or summarise earlier output that no longer affects the task 5. Re-fetch a needed detail by id rather than keeping it in context 6. Record the identifiers you will need later, not the bodies ## Signals - the working notes contain identifiers rather than full documents - each fetch is followed by an action - summaries replace full listings once a decision is made - no document is fetched twice ## Patterns **1. Identifiers not bodies** ```text keep skillmcp slug list, not 50 SKILL.md files ``` **2. Summarise** ```text 10 matches -> 2 candidates and why ``` **3. Re-fetch by id** ```text get_skill(slug) when the detail is needed again ``` ## Pitfalls - Fetching a whole pack to answer one question - Keeping every response verbatim and running out of room for reasoning - Re-fetching the same document because the identifier was not recorded ## Done when - only the acted-on documents are kept in full - identifiers are recorded so any document can be re-fetched ## References - [Anthropic - context windows](https://docs.anthropic.com/en/docs/build-with-claude/context-windows) - [MCP - tools](https://modelcontextprotocol.io/specification/2025-03-26/server/tools)
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Wsh7Ash/skillmcp | 100 | MIT |
| seyhunak/skilldeck | 100 | MIT |
| fabiensalles/claude-marketplace | 100 | MIT |
| charlieviettq/awesome-agent-skill | 100 | MIT |
| rootcastleco/rei-skills | 90 | MIT |
| Amey-Thakur/AI-SKILLS | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8229a7111337 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100bounded-output-design
Ogranicza odpowiedzi narzędzi, żeby jedno wywołanie nie zapełniło okna kontekstu agenta, przy długich listach, całych plikach i dużych treściach. - 100agent-context-budget-management-strategies
Monitoruje i optymalizuje budżet tokenów okna kontekstu w złożonych, wieloetapowych zadaniach technicznych. - 96context-management-context-save
Prawdopodobnie zapisuje kontekst sesji do późniejszego użycia, na podstawie nazwy skilla. - 100filesystem-context
Przenosi kontekst agenta do plików: dynamiczne odkrywanie kontekstu, pamięć w systemie plików, trwałe wyniki narzędzi i brudnopisy ograniczające rozmiar okna kontekstu. - 96context-management-context-restore
Prawdopodobnie przywraca wcześniej zapisany kontekst pracy agenta do bieżącej sesji. - 96context-management-context-restore
Prawdopodobnie przywraca wcześniej zapisany kontekst pracy agenta do bieżącej sesji.