Логотип Context Decay

Context Decay

Спільнота
pskoett
context-decay

Повторно перевіряє актуальність знань агента, які зберігаються постійно: визначає, чому вони можуть застаріти й наскільки швидко змінюються, а потім зберігає, оновлює, виносить назовні або вилучає їх. Використовуйте під час перегляду навичок, збережених інструкцій, фактів, уподобань, припущень або робочих процесів; коли змінюється відповідальна особа, рішення чи залежність; або коли self-improvement фіксує, переглядає чи просуває отримані знання. Працює незалежно від self-improvement. Не призначено для погіршення контекстного вікна під час виконання, незбережених спостережень за завданням або видалення за віком.

Add to TypingMind

Огляд

Видавецьpskoett
Репозиторійpskoett-ai-skills
Назва навичкиcontext-decay
Зірки
321
Форки
48
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: pskoett. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Context Decay у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/pskoett/pskoett-ai-skills/tree/main/agent-plugin/skills/context-decay
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pskoett/pskoett-ai-skills.git /tmp/pskoett-ai-skills
mkdir -p .claude/skills
cp -r /tmp/pskoett-ai-skills/agent-plugin/skills/context-decay .claude/skills/context-decay
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Context Decay в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Context Decay, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Context Decay не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Context Decay

Persistent context needs a theory of how it could stop being useful. Decay type determines how to revalidate. Decay rate determines when. Age alone proves neither that context is wrong nor that it should be removed. Truth and usefulness must be assessed separately.

Install

bash
gh skill install pskoett/pskoett-skills context-decay

Fallback using the Agent Skills CLI:

bash
npx skills add pskoett/pskoett-skills/skills/context-decay

Scope and activation

Work on the context the user selected, context affected by an observed change, or a learning being saved, reviewed, or promoted, including one-off entries. Do not inventory the whole repository on every turn or classify unsaved observations. For a broad audit, prioritize context whose staleness could affect the current work.

Standalone inputs can be authored or installed skills, instruction files, project facts, product priorities, research assumptions, user preferences, or workflow guidance. No learning log, memory service, hook, or scheduled process is required.

For skills, review both whole-skill applicability and individual instructions, references, scripts, and dependencies. They need not share one decay rate. Read references/skill-review.md for the review and approval workflow; no source learning is required. Skill changes are proposals until the user explicitly approves the scoped changes. A general maintenance, learning, or repair request is not approval to rewrite a skill.

  • self-improvement captures and promotes knowledge; this skill maintains its validity and representation after selection for persistent use.
  • context-surfing handles coherence and context-window degradation during a session. It does not determine whether stored knowledge is still correct.
  • An active runtime failure belongs to self-healing; do not replace its diagnosis and verification workflow with a context audit.

1. Identify the claim and its authority

Read the exact claim, its scope, and any existing evidence or contract. Split mixed claims when their sources or invalidation triggers differ. A dated historical measurement remains a historical observation; it becomes misleading when reused as a current value.

Identify the authoritative source and the person or role accountable for it when known. Record unknown authority or ownership honestly; do not invent an owner or treat a copied instruction as independent proof of itself. Follow existing source precedence. If equally authoritative sources conflict, report the conflict rather than silently choosing the newest timestamp.

Distinguish the accountable owner from the page's author or last editor. When known, link downstream decisions, automations, or derived outputs to the specific source claim they rely on; a page link alone does not explain the dependency. Keep these links in the existing context contract or inventory, and state when downstream coverage is unknown or incomplete.

2. Classify cause and cadence

Choose the primary decay type; add another only when it changes the check.

TypeWhat changesHow to revalidate
realityThe underlying environment or factsRead the authoritative source; retrieve live values when needed
decisionA later decision supersedes an earlier oneFind an applicable superseding decision from the responsible authority
dependencyA model, tool, API, schema, or platform changesCompare the relevant version/configuration and check the claim against current behavior or documentation
relevanceContext stays true but its value in the current scope changesCheck task applicability, usage evidence, recurrence, and cost of omitting it
RateDefault timing
fastCheck at use; prefer retrieving a value to storing it
mediumSet a source-appropriate review point or cadence; check earlier on a trigger
slowCheck at relevant maintenance milestones or when affected work resumes
durableNo passive expiry; reconsider on contradiction, explicit review, or an invalidating event

Rates are qualitative planning judgments, not measured probabilities. Explain the basis briefly. Use an exact interval only when an actual source policy or operational need supports it. Do not assign universal half-lives.

Durable is a rate, not a fifth cause: a preference can be decision + durable. Events override cadence. A new ownership decision invalidates an old one immediately even if its periodic review is months away. Where change events cannot be observed reliably, use a source check at use or a review fallback.

On an observed ownership change, verify the handoff against the authoritative source and record the new owner, evidence, and affected scope. Flag known downstream uses that rely on the previous owner or their authority as needing revalidation, even if their documents were recently updated. A handoff is not proof that every policy or output is wrong: check whether the relied-on claim still holds. Preserve prior validation evidence; leave unconfirmed ownership or downstream checks unresolved rather than silently assigning an owner or rewriting dependent decisions and automations.

Use the consequence of staleness to choose urgency and unavailable-source behavior. High-consequence actions need current evidence before relying on a questionable claim. Low-consequence, reversible work may proceed with an explicitly stated assumption. Neither frequency of use nor a durable label proves correctness. Lack of use alone does not justify removing a rare safeguard.

3. Check and choose an outcome

Perform the smallest check that can answer the claim. Record the evidence, scope/version checked, and actual check date. A file modification date, repeated quotation, or elapsed review interval is not validation.

For dependency-bound behavioral instructions, a changed model or tool is a reason to test the guidance, not proof it is obsolete. Use a representative check before removing a workaround. If a source or evaluation is unavailable, leave validation pending and name the missing evidence; never advance the last validated date or present a proposed change as verified.

OutcomeUse whenResult
RetainStill supported, useful, and appropriately storedKeep the content; update evidence only if checked
ReviseUseful but contradicted or superseded by evidenceReplace the affected claim and link its replacement/source
ExternalizeBetter obtained from a maintained source when neededReplace the copied value or bulky detail with a precise retrieval instruction
RetireSuperseded, inapplicable, or demonstrably unnecessaryRemove from active context while preserving provenance/history

Externalization must say where to look, when to retrieve, and what to do if the source is unavailable. Verify the pointer is usable; moving a stale claim to a different file does not make it authoritative. A fact may stay in historical records even when its current-value copy is externalized or retired.

When evidence is missing or conflicted, record an unresolved check rather than forcing one of the four outcomes. State whether use can proceed under an assumption or the dependent action must wait for evidence.

4. Keep a lightweight context contract

Keep maintenance metadata beside the source learning or in an existing context inventory. Keep active instructions short. Do not create a second registry when one already exists. For a standalone audit without a storage convention, return the contract in the audit response; persist it with the maintained artifact when the request includes maintaining that artifact.

Use only the fields needed to make the next check actionable:

yaml
context_id: tooling.node-version
target: AGENTS.md#runtime
claim: Read .nvmrc when selecting the Node runtime.
decay_type: reality
decay_rate: slow
authority: .nvmrc
owner: unknown
revalidation:
  method: source-check
  triggers: [runtime-change, repository-migration]
  when: before choosing a runtime
  unavailable: report missing source; do not guess a version
validation:
  status: pending
  last_validated: null
  evidence: []
disposition: externalize
application: proposed

This example is a proposed contract, not proof that .nvmrc exists. After an actual check, use verified with a date and concrete evidence; after an applied edit, set application to applied. Record relevant dependency versions for dependency decay, and the superseding decision for decision decay. Preserve past validation evidence when a subsequent check becomes unresolved.

For worked examples and review cases, read references/examples.md.

5. Apply within scope and report

For skill assets, use the approval boundary above, including changes to skill metadata, activation, and installation. Evidence or a passing eval does not grant permission to edit, disable, or remove a skill.

An audit request produces findings and proposed changes. A maintenance or edit request authorizes relevant non-skill edits within that scope; it does not authorize changing user preferences, weakening policies, or changing the source system's decisions. Apply supported updates without adding an extra approval step where authorization already exists. A policy's age or absence from recent tasks is never authority to override it.

Preserve unrelated edits and existing provenance. Update mirrored instruction files together when the repository requires it. After editing, reread the affected claims and check their source links and consistency. Do not delete learning history or increase recurrence counts just because an audit ran.

Report each reviewed claim's type/rate, evidence or gap, disposition, whether it was proposed or applied, and next check trigger. Group identical decisions to keep large audits readable. Do not claim ongoing monitoring: this skill runs when invoked or selected for relevant work. Scheduling is separate and requires a user request.

Self-improvement handoff

When both skills are available, self-improvement retains ownership of capture, deduplication, recurrence, and promotion eligibility. At capture, pass the learning ID or Pattern-Key, claim, and available evidence to this skill. Store the contract under ### Context Maintenance in that same learning, even if it never recurs or is promoted. Unknown classifications remain explicit; untested claims start pending with no validation date or assumed disposition. Capture classifies available evidence; do not delay logging for full revalidation. At promotion, refine the existing contract for its target; keep only the rule or retrieval pointer in active instructions.

During review, select saved entries, including unpromoted ones, affected by a trigger or due review point. Update the existing contract rather than creating a fresh learning for each check. Keep learning status (promoted, etc.) separate from validation status and maintenance disposition. A retirement records what left active context and why; the original learning still records its promotion history.

Neither skill requires the other to be installed. Without self-improvement, use the standalone workflow above. Without this skill, self-improvement can still record capture-time maintenance using its own guidance.

Skill findings from learning and healing

Self-improvement can surface a skill-review candidate from a correction or learning even on its first occurrence. Self-healing can surface one when a skill instruction contributed to an observed failure. Record the skill path, affected instruction, dependency scope, evidence, and proposed change in the existing LRN or HEAL entry; show the proposal to the user rather than merely burying it in the log. This review handoff is independent of promotion thresholds.

Keep runtime recovery verification separate from proposed skill repair. A successful task workaround does not mean a skill was changed or validated. If context-decay is unavailable, each originating skill still enforces the approval boundary and presents the proposal itself.

Provider use

Use the host's available file, search, and verification tools; no provider API or hook is required. In GitHub Copilot, ask in chat: “Use context-decay to review these instructions against their sources and propose maintenance changes.” For edits, name the files or claims to maintain in the request.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Context Decay?

Повторно перевіряє актуальність знань агента, які зберігаються постійно: визначає, чому вони можуть застаріти й наскільки швидко змінюються, а потім зберігає, оновлює, виносить назовні або вилучає їх. Використовуйте під час перегляду навичок, збережених інструкцій, фактів, уподобань, припущень або робочих процесів; коли змінюється відповідальна особа, рішення чи залежність; або коли self-improvement фіксує, переглядає чи просуває отримані знання. Працює незалежно від self-improvement. Не призначено для погіршення контекстного вікна під час виконання, незбережених спостережень за завданням а...

Навіщо використовувати Context Decay у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Context Decay — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Context Decay у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/pskoett/pskoett-ai-skills/tree/main/agent-plugin/skills/context-decay. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Context Decay?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Context Decay?

Зі скількома забажаєте. У TypingMind ви можете використовувати Context Decay із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Context Decay?

На GitHub цю навичку публікує pskoett. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип paperclipai

Create Agent Adapter

paperclipai
ОрганізаціяПопулярне

Створюйте або змінюйте адаптери агентів Paperclip для сервера, інтерфейсу й CLI. Використовуйте, щоб додати підтримку нового агента CLI, агента API, власного процесу або пакета адаптера.

16.2K
95.4K
Інструкції
Відкрити
Логотип paperclipai

Create Paperclip Bundled Skill

paperclipai
ОрганізаціяПопулярне

Перетворюйте ідею, твіт або завдання на навичку в каталозі навичок Paperclip (packages/skills-catalog). Використовуйте, коли вас просять ЗНАЙТИ або СТВОРИТИ навичку й опублікувати її як вбудовану чи додаткову навичку каталогу: вивчіть…

16.2K
95.4K
Файлів: 2
Відкрити
Логотип openclaw

Tavily

openclaw
ОрганізаціяПопулярне

Інструменти Tavily для пошуку в інтернеті, вилучення вмісту та досліджень.

82.2K
391K
Інструкції
Відкрити
Логотип affaan-m

Deep Research

affaan-m
СпільнотаПопулярне

Проводьте глибокі дослідження за кількома джерелами за допомогою MCP firecrawl і exa. Шукайте в інтернеті, узагальнюйте результати й створюйте звіти з посиланнями на джерела. Для ретельного дослідження будь-якої теми…

40.4K
270.2K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇