Get Available Skills • AI Agent SDK

get_available_skills: Get metadata for all available skills.

get_available_skills

Method

</div>

This is a method of the SkillManager class in the manager module.

Get metadata for all available skills.

This is used for system prompt injection. Skills are filtered by:

  1. disable-model-invocation: true (excluded)
  2. Capability enforcement (if strict mode, exclude UNAVAILABLE skills)
  3. Graceful-degradation fallbacks: a skill that declares
  4. `fallback_for_tools / fallback_for_servers` is offered only
  5. when the referenced capability is ABSENT.

Signature

python
def get_available_skills() -> List[SkillMetadata]

Returns

ResponseField List[SkillMetadata]

The result of the operation.

Uses

  • validate_skill_capabilities
  • logger.warning

Used By

Source

View on GitHub

praisonaiagents/skills/manager.py at line 439


Related Documentation