context-placement
/context-placement
Pomaga zdecydować, gdzie w prompcie umieścić dokumenty, historię i instrukcje, skoro modele nierówno uwzględniają długi kontekst, na przykład gdy środek jest ignorowany.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.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
Pomaga zdecydować, gdzie w prompcie umieścić dokumenty, historię i instrukcje, skoro modele nierówno uwzględniają długi kontekst, na przykład gdy środek jest ignorowany.
Oryginalny opis (EN)
Decide where in a prompt to put documents, history, and instructions, given that models attend unevenly across a long context. Use when prompts are long and the model ignores material in the middle.
Jak działa
- Method
- Boundaries
Podgląd SKILL.md
--- name: context-placement description: Decide where in a prompt to put documents, history, and instructions, given that models attend unevenly across a long context. Use when prompts are long and the model ignores material in the middle. --- # Context placement Attention across a long context is not uniform. Material at the beginning and end is used more reliably than material in the middle, which means placement is a real variable and not a formatting preference. ## Method 1. **Put instructions at both ends for long prompts.** Task at the top, restated requirements at the bottom, with the bulk of material between. 2. **Place the most relevant material closest to the question.** Retrieval results ordered with the best last, adjacent to the instruction that uses them (see retrieval-reranking). 3. **Keep the total short.** Filling a large window degrades attention even within the limit, so relevance filtering beats inclusion (see context-compression). 4. **Delimit sections clearly.** Explicit boundaries let the model locate material rather than searching prose, and they also mark data as data (see prompt-structure). 5. **Put stable content first for caching.** Prefix caching rewards putting unchanging instructions ahead of variable input, which is a cost win at no quality cost (see prompt-caching). 6. **Summarise the middle when it must be long.** A brief index of what the long section contains helps the model use it. 7. **Test with material deliberately placed in the middle.** It is the position that fails, and it is invisible unless tested for. ## Boundaries Placement effects vary by model and change between versions, so conclusions need re-testing. Optimising placement cannot compensate for including the wrong material. Very long contexts degrade regardless of arrangement.
Wersje
W bazie nie ma innych skilli o nazwie context-placement.
Migawka bazy z 13.11.2026 · wersja paczki 27fa541de9cd (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
- 100prompt-and-context-engineering
Pomaga układać prompty systemowe, zarządzać budżetem okna kontekstu i decydować, co umieścić w prompcie systemowym, opisie narzędzia, pobranej treści lub historii rozmowy agenta. - 100long-context-vs-rag
Pomaga zdecydować, kiedy długi kontekst wygrywa z RAG, i opisuje podejścia hybrydowe, kompromisy kosztu, jakości i opóźnień, zjawisko lost in the middle oraz ekonomię cache promptów. - 86agent-context
Pomaga przygotować lub przejrzeć instrukcje dla agentów w projekcie. - 95system-vs-user-prompt
Wyjaśnia, co umieszczać w system prompt, a co w user prompt, i uzasadnia ten podział przy projektowaniu wywołań API. - 100placement-picker
Rozstrzyga, gdzie umieścić nową regułę, skill, hook, wpis bazy wiedzy, agenta, regułę CLAUDE.md lub pamięć, wybierając między poziomem użytkownika, projektu, pluginu i pamięci. - 100context-compression
Kompresuje wybrany kontekst do docelowego budżetu tokenów, zachowując decyzje, dowody, ograniczenia i nierozstrzygnięte pytania, gdy materiał jest już dobrany, ale zbyt długi.