MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / skill.ts

File skill.ts

packages/agent-runtime/src/tools/handlers/tool/skill.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { jsonToolResult } from '@codebuff/common/util/messages'
2import { SKILLS_DIR_NAME, SKILL_FILE_NAME } from '@codebuff/common/constants/skills'
3import { SkillFrontmatterSchema, type SkillDefinition } from '@codebuff/common/types/skill'
4import fs from 'fs'

Callers

nothing calls this directly

Calls 2

jsonToolResultFunction · 0.90
loadSkillFromDiskFunction · 0.85

Tested by

no test coverage detected