Agent skills

From NicolaiLassen/orxhestra · View interactive version

Agent skills is an AI agent skill from the GitHub repository NicolaiLassen/orxhestra. Add dynamic skills to orxhestra agents. Covers Skill, InMemorySkillStore, and skill discovery/loading tools.

How to use this skill

Skill file

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),   # 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).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.