Skill Requirements • AI Agent SDK
SkillRequirements: Capability requirements for a skill.
SkillRequirements
Defined in the models module.
AI Agent
Capability requirements for a skill.
This represents the parsed and normalized requirements from skill frontmatter. Supports both Hermes/OpenClaw conventions and PraisonAI-specific extensions.
Attributes: servers: Required MCP servers or service endpoints tools: Required tool names (from tool registry) env_vars: Required environment variables (use sparingly) openclaw_hints: OpenClaw-specific metadata (passthrough) fallback_for_tools: Tools this skill is a graceful fallback for. The skill is offered only when none of these tools are present, keeping capable agents free of redundant fallback guidance. fallback_for_servers: MCP servers this skill is a graceful fallback for. The skill is offered only when none of these servers are present.
Properties
List[str]No description available.
List[str]No description available.
List[str]No description available.
dictNo description available.
List[str]No description available.
List[str]No description available.
Methods
Parse requirements from skill frontmatter.
is_empty()Check if no requirements are specified.
Source
View on GitHubpraisonaiagents/skills/models.py at line 28