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

Function findSkill

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

Source from the content-addressed store, hash-verified

636
637/** Look up a skill by its exact name within a session's catalog. */
638export const findSkill = (name: string, catalog: readonly Skill[] = SKILLS): Skill | undefined =>
639 catalog.find((skill) => skill.name === name);
640
641/** The index the `skills` tool returns when called without a name (or with an
642 * 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