Skill Repository

An AgentSkill is AgentScope’s Markdown + resource-file format for describing a reusable “skill” (see Harness · Skill). The AgentSkillRepository interface loads skills from external storage and hands them to the Toolkit / ReActAgent.

The agentscope-extensions-* repository ships two ready-to-use implementations:

Extension

Backend

Best for

Git Repository

Remote Git repo

Git-based versioning and review

MySQL Repository

MySQL database

Online editing via admin console / business systems

Nacos also provides an AgentSkillRepository implementation: see Nacos.

Wiring

AgentSkillRepository repo = ...;        // any implementation
List<AgentSkill> skills = repo.getAllSkills();

Toolkit toolkit = new Toolkit();
skills.forEach(toolkit::registerSkill);

ReActAgent agent = ReActAgent.builder()
    .name("Assistant")
    .model(model)
    .toolkit(toolkit)
    .build();

Choosing one

  • Want Git PR flow, reviewable text → Git

  • Want admin console / live config edits → MySQL or Nacos

  • Mix multiple sources → implement AgentSkillRepository, or register multiple repos to the same toolkit