MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / clearCommandsCache

Function clearCommandsCache

src/commands.ts:621–626  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619}
620
621export function clearCommandsCache(): void {
622 clearCommandMemoizationCaches()
623 clearPluginCommandCache()
624 clearPluginSkillsCache()
625 clearSkillCaches()
626}
627
628/**
629 * Filter AppState.mcp.commands to MCP-provided skills (prompt-type,

Callers 11

clearAllCachesFunction · 0.85
scheduleReloadFunction · 0.85
clearSessionCachesFunction · 0.85
runHeadlessStreamingFunction · 0.85
writeLearnedAgentFunction · 0.85
writeLearnedCommandFunction · 0.85
clearRuntimeSkillCachesFunction · 0.85
writeLearnedSkillFunction · 0.85
prefetch.test.tsFile · 0.85
useSkillsChangeFunction · 0.85

Calls 4

clearPluginCommandCacheFunction · 0.85
clearPluginSkillsCacheFunction · 0.85
clearSkillCachesFunction · 0.85

Tested by

no test coverage detected