MCPcopy Create free account
hub / github.com/codeaashu/claude-code / clearInvokedSkillsForAgent

Function clearInvokedSkillsForAgent

src/bootstrap/state.ts:1557–1563  ·  view source on GitHub ↗
(agentId: string)

Source from the content-addressed store, hash-verified

1555}
1556
1557export function clearInvokedSkillsForAgent(agentId: string): void {
1558 for (const [key, skill] of STATE.invokedSkills) {
1559 if (skill.agentId === agentId) {
1560 STATE.invokedSkills.delete(key)
1561 }
1562 }
1563}
1564
1565// Slow operations tracking for dev bar
1566const MAX_SLOW_OPERATIONS = 10

Callers 3

executeForkedSkillFunction · 0.85
runAsyncAgentLifecycleFunction · 0.85
callFunction · 0.85

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected