| name | agent-skills |
| description | Add dynamic skills to orxhestra agents. Covers Skill, InMemorySkillStore, and skill discovery/loading tools. |
Agent Skills
Skills are reusable instruction blocks that an agent can load dynamically at runtime.
Setup
from orxhestra import Skill, InMemorySkillStore
from orxhestra.skills.load_skill_tool import make_load_skill_tool, make_list_skills_tool
store = InMemorySkillStore([
Skill(
name="summarization",
description="How to write concise summaries.",
content="Extract the 3-5 most important points. Use bullet points. Be concise.",
),
Skill(
name="code_review",
description="How to conduct a thorough code review.",
content="Check correctness, readability, test coverage, and security.",
),
])
agent = LlmAgent(
name="SkillfulAgent",
model=model,
tools=[
make_list_skills_tool(store),
make_load_skill_tool(store),
],
)
The agent calls list_skills to discover what's available, then load_skill("summarization") to get the full instruction text.
Custom backends
Implement BaseSkillStore for any backend (database, file system, API).