MCPcopy Index your code
hub / github.com/garrytan/gstack / generateOpenAIYaml

Function generateOpenAIYaml

scripts/resolvers/codex-helpers.ts:54–62  ·  view source on GitHub ↗
(displayName: string, shortDescription: string)

Source from the content-addressed store, hash-verified

52}
53
54export function generateOpenAIYaml(displayName: string, shortDescription: string): string {
55 return `interface:
56 display_name: ${JSON.stringify(displayName)}
57 short_description: ${JSON.stringify(shortDescription)}
58 default_prompt: ${JSON.stringify(`Use ${displayName} for this task.`)}
59policy:
60 allow_implicit_invocation: true
61`;
62}
63
64/** Compute skill name for external hosts (Codex, Factory, etc.) */
65export function externalSkillName(skillDir: string): string {

Callers 1

processExternalHostFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected