token-saver-memory-dedup
БесплатноЗапускает вложенные скриптыНе проверенHelper skill that deduplicates token-saver memory records before persistence.
от 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.jsonandgotchas.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
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic