mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-16 05:56:30 +03:00
Greenfield SkillOpt: 3 epochs for CrewAI skill. Role/Goal/Backstory agent model, sequential/hierarchical processes. 11 files: SKILL.md, 6 references, 3 templates, 1 script.
28 lines
652 B
Python
28 lines
652 B
Python
#!/usr/bin/env python3
|
|
"""Verify CrewAI installation."""
|
|
|
|
import sys
|
|
|
|
REQUIRED = ["crewai"]
|
|
OPTIONAL = ["crewai_tools"]
|
|
|
|
for pkg in REQUIRED:
|
|
try:
|
|
__import__(pkg.replace("-", "_"))
|
|
print(f" [OK] {pkg}")
|
|
except ImportError:
|
|
print(f" [FAIL] {pkg} — install with pip install {pkg}")
|
|
sys.exit(1)
|
|
|
|
for pkg in OPTIONAL:
|
|
try:
|
|
__import__(pkg.replace("-", "_"))
|
|
print(f" [OK] {pkg} (optional)")
|
|
except ImportError:
|
|
print(f" [—] {pkg} (optional, not installed)")
|
|
|
|
from crewai import Agent
|
|
print(" [OK] CrewAI imports work")
|
|
|
|
print("\nCrewAI setup check: ALL REQUIRED PACKAGES OK")
|