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

Function getSkillToolInfo

src/tools/SkillTool/prompt.ts:198–208  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

196})
197
198export async function getSkillToolInfo(cwd: string): Promise<{
199 totalCommands: number
200 includedCommands: number
201}> {
202 const agentCommands = await getSkillToolCommands(cwd)
203
204 return {
205 totalCommands: agentCommands.length,
206 includedCommands: agentCommands.length,
207 }
208}
209
210// Returns the commands included in the SkillTool prompt.
211// All commands are always included (descriptions may be truncated to fit budget).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected