Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

token-saver-memory-dedup

БесплатноЗапускает вложенные скриптыНе проверен

Helper skill that deduplicates token-saver memory records before persistence.

oimiragieoот oimiragieo★ 48 звёзд на GitHub

Об этом скилле

Token Saver Memory Dedup

Deduplicates memory records against existing memory files to prevent duplicate entries.

Purpose

This skill provides the deduplicateAgainstMemory function that filters out memory records that already exist in the memory system:

  • Compares incoming records against patterns.json and gotchas.json
  • Case-insensitive matching for deduplication
  • Returns statistics about total, kept, and filtered records
  • Handles corrupt or missing memory files gracefully

Usage

const { deduplicateAgainstMemory } = require('./scripts/main.cjs');

const records = {
  patterns: [{ text: 'Use canonical transitions', timestamp: '2026-01-01', source: 'test' }],
  gotchas: [{ text: 'Avoid shell: true for spawn', timestamp: '2026-01-01', source: 'test' }],
  issues: [],
  decisions: [],
};

const { dedupedRecords, stats } = deduplicateAgainstMemory(records, '/path/to/memory');

When to Use

  • Before persisting memory records to avoid duplicates
  • As part of the token-saver-context-compression workflow
  • When syncing memory records between sessions

Implementation

Re-exports the deduplicateAgainstMemory function from token-saver-context-compression for module resolution and testing purposes.

Установить token-saver-memory-dedup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

commands/token-saver-memory-dedup.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/token-saver-memory-dedup.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

FAQ

Что делает скилл token-saver-memory-dedup?

Helper skill that deduplicates token-saver memory records before persistence.

Как установить скилл token-saver-memory-dedup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл token-saver-memory-dedup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить token-saver-memory-dedup с