Quick Start
1
Skills: Load Knowledge
Create a skill to provide specialized knowledge to agents:
2
Tools: Execute Actions
Create a tool to perform runtime actions:
Conceptual Difference
Comparison Table
Skills: Declarative Knowledge Packages
Skills are SKILL.md files that provide specialized knowledge and instructions to agents without bloating the system prompt.Skills in PraisonAI
SKILL.md Format
Tools: Executable Functions
Tools are Python functions that agents can call to perform actions and interact with external systems.Tools in PraisonAI
Tool Categories
PraisonAI Integration Paths
Discovery & Invocation
CLI Commands
When to Use Each
Use Skills When:
- Providing specialized knowledge
- Sharing best practices
- Template instructions
- Domain-specific guidance
- Static reference material
Use Tools When:
- Executing dynamic actions
- Interacting with APIs
- Processing data
- File operations
- Real-time information
Best Practices
Skills: Keep Context Focused
Skills: Keep Context Focused
Write skills that provide specific, actionable knowledge. Use progressive disclosure - put essential info in SKILL.md, detailed references in
references/ folder.Tools: Design for Reliability
Tools: Design for Reliability
Create tools with clear interfaces, proper error handling, and type hints. Each tool should have a single responsibility.
Security: Validate Inputs & Outputs
Security: Validate Inputs & Outputs
Skills: Don’t put secrets in SKILL.md files. Use environment variables for sensitive data.Tools: Always validate inputs and sanitize outputs. Use approval decorators for high-risk operations.
Related
Agent Skills
Load declarative knowledge from SKILL.md files
Toolsets
Add callable Python functions as agent tools

