MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _read_body

Function _read_body

openkb/skill/evaluator.py:160–163  ·  view source on GitHub ↗

Return SKILL.md without the YAML frontmatter.

(skill_dir: Path)

Source from the content-addressed store, hash-verified

158
159
160def _read_body(skill_dir: Path) -> str:
161 """Return SKILL.md without the YAML frontmatter."""
162 skill_md = skill_dir / "SKILL.md"
163 return extract_body(skill_md.read_text(encoding="utf-8")).lstrip()
164
165
166def _read_references_preview(skill_dir: Path) -> str:

Callers 1

_skill_content_blockFunction · 0.85

Calls 1

extract_bodyFunction · 0.90

Tested by

no test coverage detected