SkillScope is an enum that identifies whether a skill belongs to the project or user scope. Skill discovery uses the selected scope to locate skills. section 6.2.1 section 6.3.1
Listing 6.2 Implementing SkillScope
# llm_agents_from_scratch/data_structures/skill.py
… #A
from enum import Enum
class SkillScope(str, Enum):
"""Skill scope enum."""
PROJECT = "project"
USER = "user"
… #BThe enum defines PROJECT as "project" and USER as "user". section 6.2.1
For each scope, the framework scans .agents/skills under a different base directory:
- Project scope uses the current working directory. section 6.3.1
- User scope uses the home directory. section 6.3.1
