from upsonic import Agent
from upsonic.skills import Skills, Skill, InlineSkills
base_skill = Skill(
name="formatting",
description="Output formatting standards",
instructions="Use consistent formatting...",
source_path="",
scripts=[],
references=[],
)
advanced_skill = Skill(
name="report-writing",
description="Professional report writing",
instructions="Write professional reports following formatting standards...",
source_path="",
scripts=[],
references=[],
dependencies=["formatting"],
)
skills = Skills(loaders=[InlineSkills([base_skill, advanced_skill])])
agent = Agent(
model="anthropic/claude-sonnet-4-6",
name="Report Writer",
role="Business Writer",
goal="Create professional reports",
skills=skills,
)
result = agent.print_do("Write a quarterly business report for Q4 2025.")