LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsindexparseSkillMetadata
Function●Since v1.4

parseSkillMetadata

Parse YAML frontmatter from a SKILL.md file per Agent Skills spec.

Copy
parseSkillMetadata(skillMdPath: string, source: "user" | "project"): LoaderSkillMetadata | null
View source on GitHub

Parameters

NameTypeDescription
skillMdPath*string
source*"user" | "project"

Path to the SKILL.md file

Source of the skill ('user' or 'project')