MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / findSkill

Function findSkill

packages/core/execution/src/skills.ts:626–627  ·  view source on GitHub ↗
(name: string, catalog: readonly Skill[] = SKILLS)

Source from the content-addressed store, hash-verified

624
625/** Look up a skill by its exact name within a session's catalog. */
626export const findSkill = (name: string, catalog: readonly Skill[] = SKILLS): Skill | undefined =>
627 catalog.find((skill) => skill.name === name);
628
629/** The index the `skills` tool returns when called without a name (or with an
630 * unknown one): every skill's name and one-line summary, plus how to fetch

Callers 2

skills.test.tsFile · 0.90
skillsResultFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected