Skip to main content

from_frontmatter

Method
This is a method of the SkillRequirements class in the models module.
Parse requirements from skill frontmatter. Normalizes various naming conventions:
  • requires_servers, requires_tools (Hermes/OpenClaw style)
  • allowed-tools (existing PraisonAI convention)
  • openclaw (OpenClaw-specific hints)

Signature

Parameters

dict
required
Raw frontmatter dict

Returns

'SkillRequirements'
SkillRequirements instance

Uses

  • cls

Used By

Source

View on GitHub

praisonaiagents/skills/models.py at line 54