Specify a webhook-driven task for OpenClaw
Describe event inputs, validation, deduplication, and intended actions before integration work.
5,487,579 AI resources indexedWorking toward the world’s largest AI resource index.
Add dynamic skills to orxhestra agents. Covers Skill, InMemorySkillStore, and skill discovery/loading tools.
---
name: agent-skills-7c31a053bf8c
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
```python
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), # lets agent discover available skills
make_load_skill_tool(store), # lets agent load a skill's full content
],
)
```
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).
---
name: agent-skills-7c31a053bf8c
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
```python
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), # lets agent discover available skills
make_load_skill_tool(store), # lets agent load a skill's full content
],
)
```
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).
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.