MCPcopy
hub / github.com/claude-code-best/claude-code / resetSentSkillNames

Function resetSentSkillNames

src/utils/attachments.ts:2681–2685  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2679// change on disk) so new skills get announced. NOT called on compact —
2680// post-compact re-injection costs ~4K tokens/event for marginal benefit.
2681export function resetSentSkillNames(): void {
2682 sentSkillNames.clear()
2683 suppressNext = false
2684 suppressNextDiscovery = false
2685}
2686
2687/**
2688 * Suppress the next skill-listing injection. Called by conversationRecovery

Callers 3

clearAllCachesFunction · 0.85
scheduleReloadFunction · 0.85
clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected