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

Function findSkill

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

Source from the content-addressed store, hash-verified

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